SSK-14 commited on
Commit
a293794
·
verified ·
1 Parent(s): c092e31

Update config/scanners.yml

Browse files
Files changed (1) hide show
  1. config/scanners.yml +4 -7
config/scanners.yml CHANGED
@@ -50,7 +50,6 @@ input_scanners:
50
  params:
51
  topics: ["violence"]
52
  threshold: 0.6
53
- low_cpu_mem_usage: true
54
  - type: Code
55
  params:
56
  languages: ["Python"]
@@ -66,7 +65,6 @@ input_scanners:
66
  - type: PromptInjection
67
  params:
68
  threshold: 0.9
69
- low_cpu_mem_usage: true
70
  - type: Regex
71
  params:
72
  patterns: ["Bearer [A-Za-z0-9-._~+/]+"]
@@ -76,10 +74,10 @@ input_scanners:
76
  - type: Secrets
77
  params:
78
  redact_mode: "all"
79
- - type: Sentiment
80
- params:
81
- # lexicon: "vader_lexicon"
82
- threshold: -0.1
83
  - type: TokenLimit
84
  params:
85
  limit: 4096
@@ -107,7 +105,6 @@ output_scanners:
107
  - type: Bias
108
  params:
109
  threshold: 0.75
110
- low_cpu_mem_usage: true
111
  - type: Code
112
  params:
113
  languages: ["Python"]
 
50
  params:
51
  topics: ["violence"]
52
  threshold: 0.6
 
53
  - type: Code
54
  params:
55
  languages: ["Python"]
 
65
  - type: PromptInjection
66
  params:
67
  threshold: 0.9
 
68
  - type: Regex
69
  params:
70
  patterns: ["Bearer [A-Za-z0-9-._~+/]+"]
 
74
  - type: Secrets
75
  params:
76
  redact_mode: "all"
77
+ # - type: Sentiment
78
+ # params:
79
+ # # lexicon: "vader_lexicon"
80
+ # threshold: -0.1
81
  - type: TokenLimit
82
  params:
83
  limit: 4096
 
105
  - type: Bias
106
  params:
107
  threshold: 0.75
 
108
  - type: Code
109
  params:
110
  languages: ["Python"]