Skip to content

Fix: check host id before forwarding to Centreon API - #75

Open
Rom1-B wants to merge 1 commit into
mainfrom
fix_check
Open

Fix: check host id before forwarding to Centreon API#75
Rom1-B wants to merge 1 commit into
mainfrom
fix_check

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes #N/A
  • The Centreon host actions (check, downtime, acknowledgement, timeline) now validate that the
    requested host id actually maps to a GLPI item the current user can access before contacting
    the Centreon API.
  • The HTTP client used to reach the Centreon API now uses default certificate verification
    instead of an explicit override.
  • The composer.json dependency declaration for the HTTP client library was corrected to match
    the convention used by other plugins that rely on the copy bundled with GLPI core.

Screenshots (if appropriate):

@Rom1-B
Rom1-B requested a review from Mary-Clb July 29, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants