Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom metadata fields #3923

Closed
jchrisfarris opened this issue May 4, 2024 · 2 comments · Fixed by #3976
Closed

Support for custom metadata fields #3923

jchrisfarris opened this issue May 4, 2024 · 2 comments · Fixed by #3976
Assignees
Labels
feature-request New feature request for Prowler. status/needs-triage Issue pending triage

Comments

@jchrisfarris
Copy link
Contributor

New feature motivation

I'd love to be able to override the various elements of a check's metadata. Right now we can override Severity, but I'd also like to override:

  1. CheckTitle so I can align specific CheckIDs to my policy statements
  2. Description & Risk so I can also reference internal documentation
  3. RelatedUrl so I can point to internal wikis and KBs
  4. Remedation.Code.Terraform / NativeIAC to point to my internal golden modules
  5. Same for Recommendation

I'm not sure what the "Notes" element is for, so perhaps that can be left off the list

Solution Proposed

Extend support in the metadata.yaml file for the above elements

Describe alternatives you've considered

I could create my own lookup table and decorate/replace going into reports, but that wouldn't allow me to adjust what is sent to SecurityHub.

Additional context

IIRC we discussed this awhile back when the custom severities were implemented. Not sure if the Issue made it over into the v4 list of issues.

@jchrisfarris jchrisfarris added feature-request New feature request for Prowler. status/needs-triage Issue pending triage labels May 4, 2024
@pedrooot
Copy link
Member

pedrooot commented May 7, 2024

Hi! @jchrisfarris this task is really interesing, we are working on it. I'll reach you when it's done. Thanks for using Prowler! 🚀

@pedrooot
Copy link
Member

Hi! @jchrisfarris in the pr above you can check the new fields!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request for Prowler. status/needs-triage Issue pending triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants