lacework/lw-scanner

Scan container images for vulnerabilities with Lacework's Inline Scanner

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Feb 28, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: lacework/lw-scanner-action@b46cfd9875886f1e28860980aa05b468f87bc1fd # v1.4.5

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

namedescriptionrequireddefault
LW_ACCOUNT_NAMEYour Lacework account name. For example, if your login URL is mycompany.lacework.net, the account name is mycompany.yes
LW_ACCESS_TOKENAuthorization token. Copy and paste the token from the inline scanner integration created in the Lacework console.yes
IMAGE_NAMEName of the container image you want to scan, for example, `node`.yes
IMAGE_TAGTag of the container image you want to scan, for example, `12.18.2-alpine`.yes
SCAN_LIBRARY_PACKAGESAlso scan software packages. (Default: true)notrue
SAVE_RESULTS_IN_LACEWORKSave results to Lacework. (Default: false)nofalse
SAVE_BUILD_REPORTSaves the evaluation report as a local HTML file. (Default: false)nofalse
BUILD_REPORT_FILE_NAMESpecify custom file name for the HTML evalutation report, by default the name is OS_TYPE-IMAGE_DIGEST_SHA256.html.no
DEBUGGINGEnable debug logging for scannernofalse
PRETTY_OUTPUTRenders table borders and adds color to Severity column in the output of the evaluation results. (Default: true)notrue
SIMPLE_OUTPUTDisplays evaluation results without Introduced in `Layer` and `File Path` columns. (Default: true)notrue
COLOR_OUTPUTColors are rendered in evaluation results when the `PRETTY_OUTPUT` option is enabled. (Default: true)notrue
ADDITIONAL_PARAMETERSAdditional parameters/flags. Only global and `image evalute` flags are supported.no
RESULTS_IN_GITHUB_SUMMARYDisplay results in github summary. (Default: true)notrue

no outputs