Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
fix: adding default false-positives (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
uoboda-splunk authored Dec 23, 2021
1 parent 05d6651 commit 8877ef9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 39 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/in
COPY earlybird/binaries/go-earlybird-linux /bin/go-earlybird
COPY earlybird/.ge_ignore /
COPY earlybird/config /.go-earlybird
COPY config /.go-earlybird
COPY config/default-false-positives.yaml /.go-earlybird/falsepositives

COPY entrypoint.sh /entrypoint.sh
COPY annotate.py /

ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
using: "docker"
env:
INPUT_SCANDIR: "${{ inputs.ScanDir }}"
image: "docker://ghcr.io/splunk/addonfactory-sample-scanner:v1.3.1"
image: "docker://ghcr.io/splunk/addonfactory-sample-scanner:1.3.2-develop.2"
inputs:
args:
description: Additional arguments to the scanner
Expand Down
21 changes: 21 additions & 0 deletions config/default-false-positives.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
rules:
- Codes:
- 3014
Pattern: "splunk.com"
FileExtensions: []
Description: "ignore splunk sales email"
- Codes:
- 3014
Pattern: "github.com"
FileExtensions: []
Description: "ignore splunk sales email"
- Codes:
- 3019
Pattern: "splunk.com"
FileExtensions: []
Description: "ignore splunk sales email"
- Codes:
- 3019
Pattern: "github.com"
FileExtensions: []
Description: "ignore splunk sales email"
36 changes: 0 additions & 36 deletions config/false-positives.json

This file was deleted.

0 comments on commit 8877ef9

Please sign in to comment.