forked from mirrors/kingfisher
v1.80.0
This commit is contained in:
parent
2866367c2e
commit
209f7611ef
2 changed files with 10 additions and 1 deletions
|
|
@ -370,6 +370,10 @@ kingfisher scan /path/to/repo --rule kingfisher.aws
|
|||
# Display rule performance statistics
|
||||
kingfisher scan /path/to/repo --rule-stats
|
||||
|
||||
# Include full validation response bodies (not truncated to 512 characters)
|
||||
# Useful for parsing complete validation responses (e.g., GitHub token metadata)
|
||||
kingfisher scan /path/to/repo --full-validation-response
|
||||
|
||||
# Exclude specific paths
|
||||
kingfisher scan ./my-project \
|
||||
--exclude '*.py' \
|
||||
|
|
|
|||
|
|
@ -171,14 +171,19 @@ kingfisher scan /path/to/code --validation-timeout 15
|
|||
# Set number of retry attempts (default: 1, range: 0-5)
|
||||
kingfisher scan /path/to/code --validation-retries 2
|
||||
|
||||
# Include full validation response bodies without truncation
|
||||
kingfisher scan /path/to/code --full-validation-response
|
||||
|
||||
# Combine options
|
||||
kingfisher scan /path/to/code \
|
||||
--validation-timeout 20 \
|
||||
--validation-retries 3
|
||||
--validation-retries 3 \
|
||||
--full-validation-response
|
||||
```
|
||||
|
||||
- `--validation-timeout SECONDS`: per-request and per-match timeout for validation (default: 10, range: 1-60).
|
||||
- `--validation-retries N`: number of retry attempts for validation requests (default: 1, range: 0-5).
|
||||
- `--full-validation-response`: include complete validation response bodies without truncation. By default, validation responses are truncated to 512 characters for readability. This flag is useful when you need to parse full validation responses (e.g., GitHub token validation responses that include user metadata beyond the first 512 characters).
|
||||
|
||||
## Scanning in CI Pipelines
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue