Skip to content

Commit

Permalink
refactor: remove Trivy scanner from Docker workflow and update Analyt…
Browse files Browse the repository at this point in the history
…icsBlackList with additional entries
  • Loading branch information
LeonardoMeireles55 committed Jan 30, 2025
1 parent 33b6c1b commit 34f5578
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/bk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: trivy.yaml
cache-dir: '/tmp/trivy-cache'
8 changes: 0 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: trivy.yaml
cache-dir: '/tmp/trivy-cache'

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import java.util.List;

public class AnalyticsBlackList {
public static final List<String> BLACK_LIST = List.of("%IMG", "#IMG");
}
public static final List<String> BLACK_LIST = List.of("%IMG", "#IMG, BAS%, BAS#");
}

0 comments on commit 34f5578

Please sign in to comment.