-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: add bearer ignore to commands page * docs: replace exclude-fingerprint with bearer ignore * fix: update stale snapshots * docs: add warning message in security report if legacy ignore functionality is used * fix: remove unused doc page * docs: add ignore migrate page * fix: prefer sprintf to concatenation * fix: mark exclude-fingerprints flag as deprecated * fix: replace space with underscore for ignore docs
- Loading branch information
Showing
18 changed files
with
154 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: ' ignore add' | ||
synopsis: Add an ignored fingerprint | ||
usage: ' ignore add <fingerprint> [flags]' | ||
options: | ||
- name: author | ||
shorthand: a | ||
usage: | | ||
Specify report format (json, yaml, sarif, gitlab-sast, rdjson, html) | ||
- name: comment | ||
usage: Add a comment to this ignored finding. | ||
- name: force | ||
default_value: "false" | ||
usage: Overwrite an existing ignored finding. | ||
- name: help | ||
shorthand: h | ||
default_value: "false" | ||
usage: help for add | ||
example: |- | ||
# Add an ignored fingerprint to your bearer.ignore file | ||
$ bearer ignore add <fingerprint> --author Mish --comment "Possible false positive" | ||
see_also: | ||
- ' ignore - Manage ignored fingerprints' | ||
aliases: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: ' ignore migrate' | ||
synopsis: | | ||
Migrate ignored fingerprints from bearer.yml to bearer.ignore | ||
usage: ' ignore migrate [flags]' | ||
options: | ||
- name: config-file | ||
default_value: bearer.yml | ||
usage: Load configuration from the specified path. | ||
- name: force | ||
default_value: "false" | ||
usage: Overwrite an existing ignored finding. | ||
- name: help | ||
shorthand: h | ||
default_value: "false" | ||
usage: help for migrate | ||
example: |- | ||
# Migrate existing ignored (excluded) fingerprints from bearer.yml file to bearer.ignore | ||
$ bearer ignore migrate | ||
see_also: | ||
- ' ignore - Manage ignored fingerprints' | ||
aliases: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: ' ignore show' | ||
synopsis: Show an ignored fingerprint | ||
usage: ' ignore show <fingerprint> [flags]' | ||
options: | ||
- name: help | ||
shorthand: h | ||
default_value: "false" | ||
usage: help for show | ||
example: |- | ||
# Show the details of an ignored fingerprint from your bearer.ignore file | ||
$ bearer ignore show <fingerprint> | ||
see_also: | ||
- ' ignore - Manage ignored fingerprints' | ||
aliases: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
disable-version-check: false | ||
report: | ||
exclude-fingerprint: [] | ||
format: "" | ||
no-color: false | ||
output: "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.