cloudbees-io-gha/Perforce Klocwork SAST scan and publish to Unify Platform

Runs Perforce Klocwork SAST scan to detect vulnerabilities and risks and publishes to the Unify platform.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Nov 17, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: cloudbees-io-gha/perforce-klocwork-sast-publish@1c263e1340620018d631dbe6b1772a878767484e # v1

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

namedescriptionrequireddefault
cloudbees-urlCloudbees API URLnohttps://api.cloudbees.io
enable-agent-scanSpecifies whether to enable the Klocwork Agent scan.no
urlURL of the Klocwork server instance.yes
license-hostHostname of the Klocwork license server.no
license-portPort number used by the Klocwork license server.no
usernameUsername for authenticating with the Klocwork server.yes
tokenApplication token used for Klocwork authentication.no
passwordPassword for the specified Klocwork user account.no
project-nameName of the Klocwork project to be analyzed.no
build-nameUnique name identifying the Klocwork analysis build for the project.no
build-directoryPath to the directory containing the source code to be scanned.no
build-toolBuild tool used to compile the source code.yes
build-spec-filePath to the Klocwork build specification file.no
tables-directoryPath to the Klocwork project tables directory used during the scan.no
build-optionsAdditional options or parameters passed to the build tool during analysis.no
scan-timeoutMaximum scan duration, in seconds, before timing out.no
enable-local-scanEnable Klocwork Local Scanno
build-project-optionsKlocwork scan build project command optionsno
load-result-optionsKlocwork scan load results command optionsno
refFlag to indicate the ref that should be archived (same as supplied to checkout).no""
workspace-dirFlag to mention the path where the checked out code will be present.no""
step-idThe ID of the step in the workflowno""
namedescription
critical-countA string containing the number of Critical security findings discovered during the scan.
very-high-countA string containing the number of Very High security findings discovered during the scan.
high-countA string containing the number of High security findings discovered during the scan.
medium-countA string containing the number of Medium security findings discovered during the scan.
low-countA string containing the number of Low security findings discovered during the scan.