Question 21
What YAML syntax do you use to exclude certain files from secret scanning?
- paths-ignore:
- secret_scanning.yml
- branches-ignore:
- decrypt_secret.sh
Question 22
Secret scanning will scan:
- a continuous integration system.
- the GitHub repository.
- any Git repository.
- external services.
Question 23
Which of the following features helps to prioritize secret scanning alerts that present an immediate risk?
- non-provider patterns
- push protection
- secret validation
- custom pattern dry runs
Question 24
What do you need to do before you can define a custom pattern for a repository?
- Add a secret scanning custom pattern.
- Provide match requirements for the secret format.
- Enable secret scanning on the repository.
- Provide a regular expression for the format of your secret pattern
Question 25
Which of the following statements most accurately describes push protection for secret scanning custom patterns?
- Push protection is enabled by default for new custom patterns.
- Push protection must be enabled for all, or none, of a repository’s custom patterns.
- Push protection is not available for custom patterns.
- Push protection is an opt-in experience for each custom pattern.