CheckSet class
A conjunction of policy checks, scoped to a particular namespace or Kubernetes service account. In order for evaluation of a CheckSet to return "allowed" for a given image in a given Pod, one of the following conditions must be satisfied: * The image is explicitly exempted by an entry in image_allowlist, OR * ALL of the checks evaluate to "allowed".
Constructors
-
CheckSet({Input<
List< ? checks, Input<Check> >String> ? displayName, Input<ImageAllowlist> ? imageAllowlist, Input<Scope> ? scope}) -
Creates a new CheckSet.
checksOptional. The checks to apply. The ultimate result of evaluating the check set will be "allow" if and only if every check inchecksevaluates to "allow". Ifchecksis empty, the default behavior is "always allow".displayNameOptional. A user-provided name for thisCheckSet. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.imageAllowlistOptional. Images exempted from thisCheckSet. If any of the patterns match the image being evaluated, no checks in theCheckSetwill be evaluated.scopeOptional. The scope to which thisCheckSetapplies. If unset or an empty string (the default), applies to all namespaces and service accounts. See theScopemessage documentation for details on scoping rules.const -
CheckSet.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
checks
→ Input<
List< ?Check> > -
Optional. The checks to apply. The ultimate result of evaluating the check set will be "allow" if and only if every check in
checksevaluates to "allow". Ifchecksis empty, the default behavior is "always allow".final -
displayName
→ Input<
String> ? -
Optional. A user-provided name for this
CheckSet. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
imageAllowlist
→ Input<
ImageAllowlist> ? -
Optional. Images exempted from this
CheckSet. If any of the patterns match the image being evaluated, no checks in theCheckSetwill be evaluated.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scope
→ Input<
Scope> ? -
Optional. The scope to which this
CheckSetapplies. If unset or an empty string (the default), applies to all namespaces and service accounts. See theScopemessage documentation for details on scoping rules.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited