canonical / wordpress-k8s-operator

wordpress-k8s-operator - charm repository.
Apache License 2.0
13 stars 7 forks source link

feat(cves): Remove ignored CVEs #159

Closed merkata closed 1 year ago

merkata commented 1 year ago

Applicable spec: ISD-084

Overview

Removes outdated ignored CVEs in the .trivyignore file

Rationale

Entries in the .trivyignore can get stale, this step ensures fixed/resolved CVEs are removed

Juju Events Changes

n/a

Module Changes

n/a

Library Changes

n/a

Checklist

merkata commented 1 year ago

Note I tested this locally and wanted to test outside of the org, though I can't seem to get the permissions required, hence I'm opening this for testing (that's why it points to a feature branch on operator-workflows and has a cron entry that runs repeatedly within the hour).

github-actions[bot] commented 1 year ago

Test coverage for db5e960ab45b89a094652d063e1005cf7f151904

Name                Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------------------
src/charm.py          530     41    172     31    89%   189-192, 356-357, 557, 588, 594, 637, 672-673, 724-731, 736, 838->843, 842, 844, 849-850, 910, 928, 935, 1025, 1034, 1046, 1067, 1076, 1095, 1099, 1128, 1181, 1313, 1335, 1342->1344, 1387->exit, 1399, 1415, 1452, 1461-1462
src/cos.py             15      0      0      0   100%
src/exceptions.py      17      1      2      1    89%   41
src/types_.py          16      0      0      0   100%
---------------------------------------------------------------
TOTAL                 578     42    174     32    90%

Static code analysis report

Run started:2023-10-31 09:47:39.764100

Test results:
    No issues identified.

Code scanned:
    Total lines of code: 4294
    Total lines skipped (#nosec): 1
    Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
    Total issues (by severity):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
    Total issues (by confidence):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
Files skipped (0):