Skip to content

feat(rust-plugins): add --check-format argument#6134

Merged
scresto31 merged 10 commits into
developfrom
CTOR-2210-sortir-en-erreur-si-des-erreurs-sont-presentes-dans-le-json
May 18, 2026
Merged

feat(rust-plugins): add --check-format argument#6134
scresto31 merged 10 commits into
developfrom
CTOR-2210-sortir-en-erreur-si-des-erreurs-sont-presentes-dans-le-json

Conversation

@scresto31
Copy link
Copy Markdown
Contributor

@scresto31 scresto31 commented Apr 22, 2026

Description

Add --check-format argument to check JSON validity

Fixes # CTOR-2210

Type of change

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

Summary by Aikido

Security Issues: 0 🔍 Quality Issues: 1 Resolved Issues: 0

🚀 New Features

  • Added --check-format mode to validate JSON and macro usage.

⚡ Enhancements

  • Extended CLI parsing to store thresholds, help, and json file.
  • Updated default OK output message to a Nagios-style string.

🔧 Refactors

  • Refactored Parser API and evaluation errors to support validation.

More info

@scresto31 scresto31 requested review from omercier and sdepassio April 22, 2026 15:44
@scresto31 scresto31 self-assigned this Apr 22, 2026
@scresto31 scresto31 requested a review from a team as a code owner April 22, 2026 15:44
@scresto31 scresto31 requested a review from Evan-Adam April 22, 2026 15:44
@scresto31 scresto31 requested a review from a team as a code owner April 23, 2026 07:24
Comment thread tests/os/linux/snmp/swap.robot Outdated
Comment thread tests/os/linux/snmp/swap.robot Outdated
Comment thread rust-plugins/src/generic/mod.rs
scresto31 and others added 3 commits April 24, 2026 17:49
Co-authored-by: omercier <32134301+omercier@users.noreply.github.com>
Co-authored-by: omercier <32134301+omercier@users.noreply.github.com>
Comment thread tests/os/linux/snmp/swap.robot Outdated
scresto31 and others added 2 commits May 18, 2026 08:58
Co-authored-by: omercier <32134301+omercier@users.noreply.github.com>
@scresto31 scresto31 merged commit 962f6bd into develop May 18, 2026
49 checks passed
@scresto31 scresto31 deleted the CTOR-2210-sortir-en-erreur-si-des-erreurs-sont-presentes-dans-le-json branch May 18, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants