Skip to content

Commit f2303ba

Browse files
chore(COD-4237): removing deprecated option --eval-indirect-dependencies (#212)
1 parent 18802bf commit f2303ba

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ inputs:
2020
description: 'A block of Markdown that will be appended to any PR comments posted'
2121
required: false
2222
eval-indirect-dependencies:
23+
deprecationMessage: 'Deprecated in favor of SCA configurations'
2324
description: 'Show vulnerabilities found in transitive dependencies'
2425
required: false
2526
default: false
@@ -95,5 +96,4 @@ runs:
9596
debug: '${{ inputs.debug }}'
9697
token: '${{ inputs.token || github.token }}'
9798
footer: '${{ inputs.footer }}'
98-
eval-indirect-dependencies: '${{ inputs.eval-indirect-dependencies }}'
9999
artifact-prefix: '${{ inputs.artifact-prefix }}'

src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,13 @@ async function runAnalysis() {
4141

4242
info('Analyzing ' + target)
4343
telemetryCollector.addField('tools', 'sca')
44-
const indirectDeps = getInput('eval-indirect-dependencies')
4544
const toUpload: string[] = []
4645

4746
// command to print both sarif and lwjson formats
4847
var args = ['sca', 'scan', '.', '-o', scaDir, '--formats', 'sarif,lw-json', '--deployment', 'ci']
4948
if (target === 'push') {
5049
args.push('--save-results')
5150
}
52-
if (indirectDeps.toLowerCase() === 'false') {
53-
args.push('--eval-direct-only')
54-
}
5551
if (debug()) {
5652
args.push('--debug')
5753
}

0 commit comments

Comments
 (0)