|
| 1 | + |
| 2 | +--- |
| 3 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 4 | +kind: CustomResourceDefinition |
| 5 | +metadata: |
| 6 | + annotations: |
| 7 | + controller-gen.kubebuilder.io/version: v0.2.4 |
| 8 | + creationTimestamp: null |
| 9 | + name: cascadingrules.cascading.experimental.securecodebox.io |
| 10 | +spec: |
| 11 | + additionalPrinterColumns: |
| 12 | + - JSONPath: .spec.scanSpec.scanType |
| 13 | + description: Which Scanner is started when the CascadingRule applies |
| 14 | + name: Starts |
| 15 | + type: string |
| 16 | + - JSONPath: .metadata.labels.securecodebox\.io/invasive |
| 17 | + description: Indicates how invasive the Scanner is. Can be either 'invasive' or |
| 18 | + 'non-invasive' |
| 19 | + name: Invasiveness |
| 20 | + type: string |
| 21 | + - JSONPath: .metadata.labels.securecodebox\.io/intensive |
| 22 | + description: Indicates how much ressource the Scanner consumes. Can be either |
| 23 | + 'light' or 'medium' |
| 24 | + name: Intensiveness |
| 25 | + type: string |
| 26 | + group: cascading.experimental.securecodebox.io |
| 27 | + names: |
| 28 | + kind: CascadingRule |
| 29 | + listKind: CascadingRuleList |
| 30 | + plural: cascadingrules |
| 31 | + singular: cascadingrule |
| 32 | + scope: Namespaced |
| 33 | + subresources: {} |
| 34 | + validation: |
| 35 | + openAPIV3Schema: |
| 36 | + description: CascadingRule is the Schema for the cascadingrules API |
| 37 | + properties: |
| 38 | + apiVersion: |
| 39 | + description: 'APIVersion defines the versioned schema of this representation |
| 40 | + of an object. Servers should convert recognized schemas to the latest |
| 41 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 42 | + type: string |
| 43 | + kind: |
| 44 | + description: 'Kind is a string value representing the REST resource this |
| 45 | + object represents. Servers may infer this from the endpoint the client |
| 46 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 47 | + type: string |
| 48 | + metadata: |
| 49 | + type: object |
| 50 | + spec: |
| 51 | + description: CascadingRuleSpec defines the desired state of CascadingRule |
| 52 | + properties: |
| 53 | + matches: |
| 54 | + description: Matches defines to which findings the CascadingRule should |
| 55 | + apply |
| 56 | + properties: |
| 57 | + anyOf: |
| 58 | + items: |
| 59 | + description: MatchesRule is a generic map which is used to model |
| 60 | + the structure of a finding for which the CascadingRule should |
| 61 | + take effect |
| 62 | + properties: |
| 63 | + attributes: |
| 64 | + additionalProperties: |
| 65 | + anyOf: |
| 66 | + - type: integer |
| 67 | + - type: string |
| 68 | + x-kubernetes-int-or-string: true |
| 69 | + type: object |
| 70 | + category: |
| 71 | + type: string |
| 72 | + description: |
| 73 | + type: string |
| 74 | + location: |
| 75 | + type: string |
| 76 | + name: |
| 77 | + type: string |
| 78 | + osi_layer: |
| 79 | + type: string |
| 80 | + severity: |
| 81 | + type: string |
| 82 | + type: object |
| 83 | + type: array |
| 84 | + type: object |
| 85 | + scanSpec: |
| 86 | + description: ScanSpec defines how the cascaded scan should look like |
| 87 | + properties: |
| 88 | + cascades: |
| 89 | + description: A label selector is a label query over a set of resources. |
| 90 | + The result of matchLabels and matchExpressions are ANDed. An empty |
| 91 | + label selector matches all objects. A null label selector matches |
| 92 | + no objects. |
| 93 | + properties: |
| 94 | + matchExpressions: |
| 95 | + description: matchExpressions is a list of label selector requirements. |
| 96 | + The requirements are ANDed. |
| 97 | + items: |
| 98 | + description: A label selector requirement is a selector that |
| 99 | + contains values, a key, and an operator that relates the |
| 100 | + key and values. |
| 101 | + properties: |
| 102 | + key: |
| 103 | + description: key is the label key that the selector applies |
| 104 | + to. |
| 105 | + type: string |
| 106 | + operator: |
| 107 | + description: operator represents a key's relationship |
| 108 | + to a set of values. Valid operators are In, NotIn, Exists |
| 109 | + and DoesNotExist. |
| 110 | + type: string |
| 111 | + values: |
| 112 | + description: values is an array of string values. If the |
| 113 | + operator is In or NotIn, the values array must be non-empty. |
| 114 | + If the operator is Exists or DoesNotExist, the values |
| 115 | + array must be empty. This array is replaced during a |
| 116 | + strategic merge patch. |
| 117 | + items: |
| 118 | + type: string |
| 119 | + type: array |
| 120 | + required: |
| 121 | + - key |
| 122 | + - operator |
| 123 | + type: object |
| 124 | + type: array |
| 125 | + matchLabels: |
| 126 | + additionalProperties: |
| 127 | + type: string |
| 128 | + description: matchLabels is a map of {key,value} pairs. A single |
| 129 | + {key,value} in the matchLabels map is equivalent to an element |
| 130 | + of matchExpressions, whose key field is "key", the operator |
| 131 | + is "In", and the values array contains only "value". The requirements |
| 132 | + are ANDed. |
| 133 | + type: object |
| 134 | + type: object |
| 135 | + parameters: |
| 136 | + items: |
| 137 | + type: string |
| 138 | + type: array |
| 139 | + scanType: |
| 140 | + type: string |
| 141 | + type: object |
| 142 | + required: |
| 143 | + - matches |
| 144 | + - scanSpec |
| 145 | + type: object |
| 146 | + status: |
| 147 | + description: CascadingRuleStatus defines the observed state of CascadingRule |
| 148 | + type: object |
| 149 | + type: object |
| 150 | + version: v1 |
| 151 | + versions: |
| 152 | + - name: v1 |
| 153 | + served: true |
| 154 | + storage: true |
| 155 | +status: |
| 156 | + acceptedNames: |
| 157 | + kind: "" |
| 158 | + plural: "" |
| 159 | + conditions: [] |
| 160 | + storedVersions: [] |
0 commit comments