Export option for reference to ruleset item #4763
-
Hi folks, Is there a general possibility to have a separate export column for a direct reference to the corresponding checked ruleset item (i.e. CIS Benchmark Item and exact numbering)? The prowler documentation for possible output columns according to the csv header mappings from the documentation only lists the columns "CHECK_ID", "FINDINGS_UID", "REQUIREMENTS_ATTRIBUTES_SECTION" which is already close to the ruleset item, but I did not come across a unique mapping attribute so far: https://docs.prowler.com/projects/prowler-open-source/en/latest/tutorials/reporting/ If there is any attribute that will reference it for gcp and azure related audits, can somebody give me a hint on the attribute and if it is possible to integrate it into the csv export format? Additionally, is there a way to get the Finding severity and the conformity attribute ("warning" or "fail") into the csv export format? Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Christian, Regarding the unique attribute that handles the mapping, As for the severity, you can add the column to the CSV output, considering that the attribute information is included in the finding. Take a look at Regarding the conformity attribute, I'm not sure what you mean exactly. Could you explain a bit more or provide an example? Thanks, best regards. |
Beta Was this translation helpful? Give feedback.
Hi Christian,
Regarding the unique attribute that handles the mapping,
REQUIREMENTS_ID
contains the ID of the applicable requirement.As for the severity, you can add the column to the CSV output, considering that the attribute information is included in the finding. Take a look at
prowler/lib/outputs/compliance/cis/cis_azure.py
and add the information you deem necessary for each compliance_row, keeping in mind that you'll need to modify theAzureCISModel
.Regarding the conformity attribute, I'm not sure what you mean exactly. Could you explain a bit more or provide an example?
Thanks, best regards.