Skip to content

Commit

Permalink
pass token over stdin, add security to properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-k-1 committed Oct 22, 2024
1 parent 09fa3b9 commit 7f50c70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code-scanning/jfrog-sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install and configure JFrog CLI
run: |
npm install -g jfrog-cli-v2-jf
jf c add --interactive=false --url=$JF_URL --access-token=$JF_TOKEN
echo $JF_TOKEN | jf c add --interactive=false --url=$JF_URL --access-token-stdin
- name: Run JFrog SAST
run: |
Expand Down
1 change: 1 addition & 0 deletions code-scanning/properties/jfrog-sast.properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"categories":
[
"Code Scanning",
"security",
"python",
"java",
"javascript",
Expand Down

0 comments on commit 7f50c70

Please sign in to comment.