Skip to content

Commit

Permalink
bump osv scanner to 1.9.2
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <[email protected]>
  • Loading branch information
zhaohuabing committed Dec 20, 2024
1 parent ca2d80b commit 4976a21
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 95 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
runs-on: ubuntu-latest
steps:
- uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@19ec1116569a47416e11a45848722b1af31a857b" # v1.9.0
- uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@e994fd8ab13fe1394942045f5945cd39c6c2d68e" # v1.9.2

Check warning on line 24 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

24:128 [comments] too few spaces before comment

Check warning on line 24 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

24:128 [comments] too few spaces before comment

Check warning on line 24 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

24:128 [comments] too few spaces before comment
with:
scan-args: |-
--skip-git
Expand All @@ -37,10 +37,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.23.4' # The Go version to download (if necessary) and use.
- uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@19ec1116569a47416e11a45848722b1af31a857b" # v1.9.0
- uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@e994fd8ab13fe1394942045f5945cd39c6c2d68e" # v1.9.2

Check warning on line 40 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

40:128 [comments] too few spaces before comment

Check warning on line 40 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

40:128 [comments] too few spaces before comment

Check warning on line 40 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

40:128 [comments] too few spaces before comment
with:
scan-args: |-
--skip-git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,16 +335,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,16 +339,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,16 +339,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,16 +341,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,16 +343,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,16 +340,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,16 +344,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,16 +344,7 @@ spec:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
privileged: true
startupProbe:
failureThreshold: 30
httpGet:
Expand Down

0 comments on commit 4976a21

Please sign in to comment.