Skip to content

Commit

Permalink
Merge pull request #19 from veracode/fixTypo
Browse files Browse the repository at this point in the history
fix a typo
  • Loading branch information
julz0815 authored Jan 12, 2024
2 parents 17b106f + 3093eb4 commit 651b8c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ The basic yml
# run the pipeline scan action
- name: pipeline-scan action step
id: pipeline-scan
uses: veracode/[email protected].11
uses: veracode/[email protected].12
with:
vid: ${{ secrets.VID }}
vkey: ${{ secrets.VKEY }}
Expand Down Expand Up @@ -152,7 +152,7 @@ Rate the findings according to a policy and fail the build
# run the pipeline scan action
- name: pipeline-scan action step
id: pipeline-scan
uses: veracode/[email protected].11
uses: veracode/[email protected].12
with:
vid: ${{ secrets.VID }}
vkey: ${{ secrets.VKEY }}
Expand Down Expand Up @@ -184,7 +184,7 @@ Sort out previous findings using a baseline file
# run the pipeline scan action
- name: pipeline-scan action step
id: pipeline-scan
uses: veracode/[email protected].11
uses: veracode/[email protected].12
with:
vid: ${{ secrets.VID }}
vkey: ${{ secrets.VKEY }}
Expand Down Expand Up @@ -217,7 +217,7 @@ Sort out previous findings using a baseline file, create a new baseline file and
# run the pipeline scan action
- name: pipeline-scan action step
id: pipeline-scan
uses: veracode/[email protected].11
uses: veracode/[email protected].12
with:
vid: ${{ secrets.VID }}
vkey: ${{ secrets.VKEY }}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18644,7 +18644,7 @@ function checkParameters(parameters) {
}
else if (response.data._embedded.policy_versions[0].type == 'CUSTOMER') {
core.info('Custom Policy is required');
core.info('Downloading custom policy file and setting pilicy to ' + parameters.veracode_policy_name);
core.info('Downloading custom policy file and setting policy to ' + parameters.veracode_policy_name);
policyCommand = 'java -jar pipeline-scan.jar -vid ' + parameters.vid + ' -vkey ' + parameters.vkey + ' --request_policy "' + parameters.veracode_policy_name + '"';
const policyDownloadOutput = yield (0, pipeline_scan_1.getPolicyFile)(policyCommand, parameters);
if (parameters.debug == 1) {
Expand Down
2 changes: 1 addition & 1 deletion src/check-parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export async function checkParameters (parameters:any):Promise<string> {
}
else if ( response.data._embedded.policy_versions[0].type == 'CUSTOMER' ){
core.info('Custom Policy is required')
core.info('Downloading custom policy file and setting pilicy to '+parameters.veracode_policy_name)
core.info('Downloading custom policy file and setting policy to '+parameters.veracode_policy_name)


policyCommand = 'java -jar pipeline-scan.jar -vid '+parameters.vid+' -vkey '+parameters.vkey+' --request_policy "'+parameters.veracode_policy_name+'"'
Expand Down

0 comments on commit 651b8c3

Please sign in to comment.