audit

ScoreHandler calculates a score for the audited manifest.

This endpoint calculates a score for the provided manifest based on the number and severity of issues detected during the audit.

post/audit/score

Request body

manifeststring

Manifest is the content to be audited.

Response

Score calculation result

issuesTotalinteger

IssuesTotal is the total count of all issues found during the audit. This count can be used to understand the overall number of problems that need to be addressed.

scorenumber

Score represents the calculated score of the audited manifest based on the number and severity of issues. It provides a quantitative measure of the security posture of the resources in the manifest.

severityStatisticobject

SeverityStatistic is a mapping of severity levels to their respective number of occurrences. It allows for a quick overview of the distribution of issues across different severity categories.

severitySuminteger

SeveritySum is the sum of severity scores of all issues, which can be used to gauge the cumulative severity of all problems found.

Changes