One-of input mirroring the RuleBody union. Exactly one variant field must be non-null; the variant set determines the rule's RuleType.
Fields
| Input Field | Description |
|---|---|
configuration - RuleBodyConfigurationInput
|
The body of a CONFIGURATION rule. |
file - RuleBodyFileInput
|
The body of a FILE rule. |
proprietary - RuleBodyProprietaryInput
|
The body of a PROPRIETARY rule. |
search - RuleBodySearchInput
|
The body of a SEARCH rule. |
threshold - RuleBodyThresholdInput
|
The body of a THRESHOLD rule. |
vulnerability - RuleBodyVulnerabilityInput
|
The body of a VULNERABILITY rule. |
Used by
RuleInputinput: Input variant of Rule carrying its writable fields.
Example
Example
{
"configuration": RuleBodyConfigurationInput,
"file": RuleBodyFileInput,
"proprietary": RuleBodyProprietaryInput,
"search": RuleBodySearchInput,
"threshold": RuleBodyThresholdInput,
"vulnerability": RuleBodyVulnerabilityInput
}