View a markdown version of this page

Condition - AWS Continuum for Code Vulnerabilities

Condition

A single condition: a signal, an operator, and a value. The service checks that the operator and value are valid for the signal when the policy is created or updated.

Contents

operator

How the signal is compared with the value.

Type: String

Valid Values: MATCHES | AT_LEAST | EQUALS | NOT_EQUALS | IN | PRESENT

Required: Yes

signal

The package attribute that the condition tests.

Type: String

Valid Values: PACKAGE_IDENTITY | INSPECTOR_SEVERITY | KEV | MALICIOUS

Required: Yes

value

The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.

Type: ConditionValue object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: