Skip to content

Commit

Permalink
Reverting changes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
diogo-fjrocha committed May 17, 2024
1 parent 85e69cb commit 2e65ca5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Flags:
--report-path strings path to generate report files. The output format will be determined by the file extension (.json, .yaml, .sarif)
--rule strings select rules by name or tag to apply to this scan
--stdout-format string stdout output format, available formats are: json, yaml, sarif (default "yaml")
--validate trigger additional validation to check if discovered secrets are active or invalid
--validate trigger additional validation to check if discovered secrets are active or revoked
-v, --version version for 2ms
Use "2ms [command] --help" for more information about a command.
Expand Down Expand Up @@ -373,7 +373,7 @@ The following table describes the global flags that can be used together with an
|--report-path | strings | | Path to generate report files. The output format will be determined by the file extension (.json, .yaml, .sarif) |
|--rule | strings | | Select rules by name or tag to apply to this scan. |
|--stdout-format | string | yaml | Stdout output format, available formats are: json, yaml, sarif |
|--validate | | | Trigger additional validation to check if discovered secrets are active or invalid. SEE BELOW |
|--validate | | | Trigger additional validation to check if discovered secrets are active or revoked. SEE BELOW |
|-v, --version | | | Version of 2ms that is running. |

### Validity Check
Expand All @@ -385,7 +385,7 @@ The list of services that support the Validity Check feature can be found in the
The result of the validation can be:

- `valid` - The secret is valid
- `invalid` - The secret is invalid
- `revoked` - The secret is revoked
- `unknown` - We failed to check, or we are not checking the validity of the secret at all

If the `--validate` flag is not provided, the validation field will be omitted from the output, or its value will be an empty string.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/checkmarx/2ms

go 1.22
go 1.22.2

require (
github.com/bwmarrin/discordgo v0.27.1
Expand Down

0 comments on commit 2e65ca5

Please sign in to comment.