Added positive matcher to avoid false positive result. (#4517)

patch-1
Sandeep Singh 2022-05-31 20:13:08 +05:30 committed by GitHub
parent 73b4295011
commit e62a23690d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 32 additions and 0 deletions

View File

@ -20,3 +20,7 @@ file:
words: words:
- "aaa new-model" - "aaa new-model"
negative: true negative: true
- type: word
words:
- "configure terminal"

View File

@ -20,3 +20,7 @@ file:
words: words:
- "service timestamps debug datetime msec show-timezone localtime" - "service timestamps debug datetime msec show-timezone localtime"
negative: true negative: true
- type: word
words:
- "configure terminal"

View File

@ -20,3 +20,7 @@ file:
words: words:
- "service timestamps log datetime msec show-timezone localtime" - "service timestamps log datetime msec show-timezone localtime"
negative: true negative: true
- type: word
words:
- "configure terminal"

View File

@ -20,3 +20,7 @@ file:
words: words:
- "no ip source-route" - "no ip source-route"
negative: true negative: true
- type: word
words:
- "configure terminal"

View File

@ -20,3 +20,7 @@ file:
words: words:
- "no service pad" - "no service pad"
negative: true negative: true
- type: word
words:
- "configure terminal"

View File

@ -20,3 +20,7 @@ file:
words: words:
- "enable secret" - "enable secret"
negative: true negative: true
- type: word
words:
- "configure terminal"

View File

@ -20,3 +20,7 @@ file:
words: words:
- "logging enable" - "logging enable"
negative: true negative: true
- type: word
words:
- "configure terminal"

View File

@ -20,3 +20,7 @@ file:
words: words:
- "service password-encryption" - "service password-encryption"
negative: true negative: true
- type: word
words:
- "configure terminal"