kartverket/pharos-action

GitHub action for running different Security Scans, that should be run before deploying to SKIP

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 8, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: kartverket/pharos@e5a5cf71dd41384d6d62c7d9b387851c0457e81b # v0.6.4

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
image_urlAn image_url of the form registry/repository:tag or registry/repository@digestno
trivyA boolean which determines whether or not Trivy vulnerability scan will be run. Defaults to truenotrue
tfsecA boolean which determines whether or not TFSec security scan will be run. Defaults to truenotrue
allow_severity_levelA string which determines the highest level of severity the security scans can find while still succeeding workflows. Only `medium`, `high` and `critical` are allowed as input strings. Note that these values are case sensitive.nomedium
disable_severity_checkSkip checking severity of scan results. Useful when running the action ad-hoc to update the Github security status.nofalse
trivy_categoryA category for describing the Trivy action. Useful for differentiating between different runs of different images.noTrivy
scan_platform_modulesIf you need to use terraform platform modules (github.com/kartverket/terraform-modules)nofalse
skip_dirsComma seperated list of directories where traversal is skippedno""
skip_filesComma seperated list of files where traversal is skippednocatalog-info.yaml

no outputs