{% include "base.html" %}
{% set run = runs[-1] %} {% set invocation = run.invocations[-1] %} {% set results = run.results %} {% set tool = run.tool %} {% set rules = tool.driver.rules %} {% set isError = True if metrics.critical > 0 or metrics.high > 0 or metrics.medium > 5 else False %} {% set versionControlProvenance = run.versionControlProvenance[-1] if run.versionControlProvenance else {} %}Report from the scan performed on {{ invocation.endTimeUtc|replace("T", " at ")|replace("Z", "") }} for {{ versionControlProvenance.repositoryUri|default('local')}}
This report was generated by ShiftLeft from the SAST Scan invocation on {{ invocation.endTimeUtc|replace("T", " at ")|replace("Z", "") }}. The scan used the tool {{ tool.driver.name }} to scan the source code repository {{ versionControlProvenance.repositoryUri|default('local')|urlize(None, target='_blank') }}.
{% if metrics.total %}Below is a summary of the issues identified:
Severity | Count |
---|---|
{{ sev|upper }} | {{ metrics.get(sev)|default('NA') }} |
ShiftLeft recommends immediate remediation of the key issues identified before using this application in a live environment.
{% else %}
Based on this report, the application is certified as ready for deployment to test and production environments. Please refer to the dependency and container scan reports (if available) for additional context.
{% endif %}{% if result.message.markdown %}{{ result.message.markdown|remove_end_period|markdown }}{% else %}{{ result.message.text|auto_text_highlight|safe }}{% endif %}
{{ contextRegion.startLine }}: {{ firstLine|safe }}
{{ remLines|safe }}
{% endif %}
{{ firstLine|safe }}
{{ remLines|safe }}
{% endif %}