You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+14
Original file line number
Diff line number
Diff line change
@@ -410,6 +410,20 @@ This will report all Medium severity issues and higher (Potential risks that are
410
410
2. By default, the threshold is set to low.
411
411
3. Any custom search patterns you add, are considered to be of high severity.
412
412
413
+
## Configuring custom severities
414
+
415
+
You can customize the [security levels](detector/severity/severity_config.go) of the detectors provided by Talisman in the .talismanrc file:
416
+
417
+
```yaml
418
+
custom_severities:
419
+
- detector: Base64Content
420
+
severity: medium
421
+
- detector: HexContent
422
+
severity: low
423
+
```
424
+
425
+
By using custom severities and a severity threshold, Talisman can be configured to alert only on what is important based on your context. This can be useful to reduce the number of false positives.
426
+
413
427
## Talisman as a CLI utility
414
428
415
429
If you execute `talisman` on the command line, you will be able to view all the parameter options you can pass
0 commit comments