Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Sanitize and bind "escalations" queries #11213

Merged
merged 1 commit into from
Jun 13, 2022
Merged

Sanitize and bind "escalations" queries #11213

merged 1 commit into from
Jun 13, 2022

Conversation

hyahiaoui-ext
Copy link
Contributor

Description

Sanitizing and binding escalations queries to avoid any sql injection attacks and cleaning up legacy code.

Preview:
image

Fixes # MON-13312

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

  • 21.04.x
  • 21.10.x
  • 22.04.x
  • 22.10.x (master)

Checklist

Community contributors & Centreon team

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (master, maintenance).

@hyahiaoui-ext hyahiaoui-ext requested review from callapa and kduret June 8, 2022 22:00
@hyahiaoui-ext hyahiaoui-ext self-assigned this Jun 8, 2022
@hyahiaoui-ext hyahiaoui-ext requested a review from a team June 8, 2022 22:00
@sonarqube-decoration
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell C 15 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants