Skip to content

Conversation

HugoPBrito
Copy link
Member

Context

We have defined new metadata format that implies changes in the fields, that now must be validated.

Description

This PR enhances the CheckMetadata Pydantic model with custom validators to enforce the new format constraints defined.

Steps to review

Please add a detailed description of how to review this PR.

Checklist

API

  • Verify if API specs need to be regenerated.
  • Check if version updates are required (e.g., specs, Poetry, etc.).
  • Ensure new entries are added to CHANGELOG.md, if applicable.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label Aug 27, 2025
@github-actions github-actions bot added output/csv Issues/PRs related with the CSV output format output/ocsf Issues/PRs related with the OCSF output format output/asff Issues/PRs related with the ASFF output format integration/security-hub Issues/PRs related with the AWS Security Hub integration labels Aug 27, 2025
…o PRWLR-7706-add-pydantic-validators-to-check-metadata-model-per-rfc-specification
Copy link
Contributor

github-actions bot commented Aug 27, 2025

✅ All necessary CHANGELOG.md files have been updated. Great job! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration/security-hub Issues/PRs related with the AWS Security Hub integration output/asff Issues/PRs related with the ASFF output format output/csv Issues/PRs related with the CSV output format output/ocsf Issues/PRs related with the OCSF output format provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants