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

🐛 fix trivy parser cvss score severity discrepance #9092 #9114

Merged

:bug: fix trivy parser cvss score severity discrepance #9092

9bb3e08
Select commit
Failed to load commit list.
Merged

🐛 fix trivy parser cvss score severity discrepance #9092 #9114

:bug: fix trivy parser cvss score severity discrepance #9092
9bb3e08
Select commit
Failed to load commit list.
DryRunSecurity / AI-powered Sensitive Function Check succeeded Dec 5, 2023 in 0s

Code Analysis

            # DryRun Security AI-Powered Sensitive Function Check

            Detected a total of 4 potentially sensitive functions.
            
            Names:
            
            convert_cvss_score,get_result_items,convert_cvss_score,test_issue_9092

Annotations

Check warning on line 68 in dojo/tools/trivy/parser.py

See this annotation in the file changed.

@dryrunsecurity dryrunsecurity / AI-powered Sensitive Function Check

Possible Sensitive Function

                    Our AI-Powered Sensitive Function checker believes it has discovered
                    a sensitive function being modified in this PR. The name of the function
                    is `convert_cvss_score`. Extra care must be taken when modifying a 
                    function that is potentially security-sensitive. The following reason was
                    provided for why this function was flagged as sensitive:

                    The function name contains 'cvss' which indicates it is related to authentication or authorization.
                    

Check warning on line 161 in dojo/tools/trivy/parser.py

See this annotation in the file changed.

@dryrunsecurity dryrunsecurity / AI-powered Sensitive Function Check

Possible Sensitive Function

                    Our AI-Powered Sensitive Function checker believes it has discovered
                    a sensitive function being modified in this PR. The name of the function
                    is `get_result_items`. Extra care must be taken when modifying a 
                    function that is potentially security-sensitive. The following reason was
                    provided for why this function was flagged as sensitive:

                    The function name contains 'severity', 'cvss', and 'finding' which indicates it is related to authentication or authorization.
                    

Check warning on line 24 in unittests/scans/trivy/issue_9092.json

See this annotation in the file changed.

@dryrunsecurity dryrunsecurity / AI-powered Sensitive Function Check

Possible Sensitive Function

                    Our AI-Powered Sensitive Function checker believes it has discovered
                    a sensitive function being modified in this PR. The name of the function
                    is `convert_cvss_score`. Extra care must be taken when modifying a 
                    function that is potentially security-sensitive. The following reason was
                    provided for why this function was flagged as sensitive:

                    The function name contains 'cvss' which indicates it is related to authentication or authorization.
                    

Check warning on line 217 in unittests/tools/test_trivy_parser.py

See this annotation in the file changed.

@dryrunsecurity dryrunsecurity / AI-powered Sensitive Function Check

Possible Sensitive Function

                    Our AI-Powered Sensitive Function checker believes it has discovered
                    a sensitive function being modified in this PR. The name of the function
                    is `test_issue_9092`. Extra care must be taken when modifying a 
                    function that is potentially security-sensitive. The following reason was
                    provided for why this function was flagged as sensitive:

                    The function name contains 'test' which indicates it is related to authentication or authorization.