@@ -2,11 +2,6 @@ name: 'lacework-code-security'
22description : " Scan code with Lacework's Code Security offering"
33author : ' Lacework'
44inputs :
5- classpath :
6- description : ' Specify the Java classpath'
7- required : false
8- default : ' '
9- deprecationMessage : ' This option is not used anymore'
105 sources :
116 description : ' Sources directory to analyze'
127 required : false
@@ -25,9 +20,8 @@ inputs:
2520 description : ' A block of Markdown that will be appended to any PR comments posted'
2621 required : false
2722 tools :
28- description : ' Comma separated list of tools to run'
2923 required : false
30- default : ' sca,sast '
24+ deprecationMessage : ' This option is not used anymore '
3125 eval-indirect-dependencies :
3226 description : ' Show vulnerabilities found in transitive dependencies'
3327 required : false
@@ -36,10 +30,6 @@ inputs:
3630 description : ' Set to true to enable automated pull-requests for fix suggestions'
3731 required : false
3832 default : false
39- dynamic :
40- description : ' Set to true to integrate SCA results with dynamic data, such as package activity'
41- required : false
42- default : false
4333outputs :
4434 old-completed :
4535 description : ' If running a target called old, whether the analysis for this was completed'
7161 shell : bash
7262 env :
7363 LACEWORK_ACTION_REF : ' ${{ github.action_ref }}'
74- TOOLS : ' ${{ inputs.tools }}'
7564 run : |
7665 LACEWORK_CONTEXT_ID=`echo $RANDOM | md5sum | head -c 32`
7766 echo "Lacework context ID: $LACEWORK_CONTEXT_ID"
8170 curl https://raw.githubusercontent.com/lacework/go-sdk/main/cli/install.sh | bash
8271 KEY="$(date +'%Y-%m-%d')"
8372 KEY="$KEY-$RUNNER_OS-$RUNNER_ARCH"
84- if [[ $TOOLS == *"sca"* ]]; then
85- KEY="$KEY-sca-$SCA_VERSION"
86- echo "sca-version=$SCA_VERSION" >> $GITHUB_OUTPUT
87- fi
73+ KEY="$KEY-sca-$SCA_VERSION"
74+ echo "sca-version=$SCA_VERSION" >> $GITHUB_OUTPUT
8875 HASH="$(echo $KEY | md5sum | head -c 8)"
8976 echo "cache-key=$HASH" >> $GITHUB_OUTPUT
9077 - id : cache
@@ -129,7 +116,6 @@ runs:
129116 - id : run-analysis
130117 uses : ' ./../lacework-code-security'
131118 with :
132- classpath : ' ${{ inputs.classpath }}'
133119 sources : ' ${{ inputs.sources }}'
134120 target : ' ${{ inputs.target }}'
135121 debug : ' ${{ inputs.debug }}'
@@ -138,4 +124,3 @@ runs:
138124 tools : ' ${{ inputs.tools }}'
139125 eval-indirect-dependencies : ' ${{ inputs.eval-indirect-dependencies }}'
140126 autofix : ' ${{ inputs.autofix }}'
141- dynamic : ' ${{ inputs.dynamic }}'
0 commit comments