mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 19:55:26 +00:00
Auto Generate Syntax Docs + JSONSchema [Thu Feb 10 10:30:58 UTC 2022] 🤖
This commit is contained in:
parent
7d83d3f8c9
commit
d7d896b75a
@ -1694,6 +1694,26 @@ Valid values:
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<div class="dd">
|
||||||
|
|
||||||
|
<code>match-all</code> <i>bool</i>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="dt">
|
||||||
|
|
||||||
|
MatchAll enables matching for all matcher values. Default is false.
|
||||||
|
|
||||||
|
|
||||||
|
Valid values:
|
||||||
|
|
||||||
|
|
||||||
|
- <code>false</code>
|
||||||
|
|
||||||
|
- <code>true</code>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -300,6 +300,11 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"title": "use case insensitive match",
|
"title": "use case insensitive match",
|
||||||
"description": "use case insensitive match"
|
"description": "use case insensitive match"
|
||||||
|
},
|
||||||
|
"match-all": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "match all values",
|
||||||
|
"description": "match all matcher values ignoring condition"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|||||||
@ -599,7 +599,7 @@ func init() {
|
|||||||
FieldName: "matchers",
|
FieldName: "matchers",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
MATCHERSMatcherDoc.Fields = make([]encoder.Doc, 13)
|
MATCHERSMatcherDoc.Fields = make([]encoder.Doc, 14)
|
||||||
MATCHERSMatcherDoc.Fields[0].Name = "type"
|
MATCHERSMatcherDoc.Fields[0].Name = "type"
|
||||||
MATCHERSMatcherDoc.Fields[0].Type = "MatcherTypeHolder"
|
MATCHERSMatcherDoc.Fields[0].Type = "MatcherTypeHolder"
|
||||||
MATCHERSMatcherDoc.Fields[0].Note = ""
|
MATCHERSMatcherDoc.Fields[0].Note = ""
|
||||||
@ -702,6 +702,15 @@ func init() {
|
|||||||
"false",
|
"false",
|
||||||
"true",
|
"true",
|
||||||
}
|
}
|
||||||
|
MATCHERSMatcherDoc.Fields[13].Name = "match-all"
|
||||||
|
MATCHERSMatcherDoc.Fields[13].Type = "bool"
|
||||||
|
MATCHERSMatcherDoc.Fields[13].Note = ""
|
||||||
|
MATCHERSMatcherDoc.Fields[13].Description = "MatchAll enables matching for all matcher values. Default is false."
|
||||||
|
MATCHERSMatcherDoc.Fields[13].Comments[encoder.LineComment] = "MatchAll enables matching for all matcher values. Default is false."
|
||||||
|
MATCHERSMatcherDoc.Fields[13].Values = []string{
|
||||||
|
"false",
|
||||||
|
"true",
|
||||||
|
}
|
||||||
|
|
||||||
MatcherTypeHolderDoc.Type = "MatcherTypeHolder"
|
MatcherTypeHolderDoc.Type = "MatcherTypeHolder"
|
||||||
MatcherTypeHolderDoc.Comments[encoder.LineComment] = " MatcherTypeHolder is used to hold internal type of the matcher"
|
MatcherTypeHolderDoc.Comments[encoder.LineComment] = " MatcherTypeHolder is used to hold internal type of the matcher"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user