Inspector Classic

3 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

InspectorAssessmentTarget # CLOUD CONTROL · AWS::Inspector::AssessmentTarget

InspectorAssessmentTarget manages AWS::Inspector::AssessmentTarget through the AWS Cloud Control API.

kubectl get inspectorassessmenttargets · example on GitHub

Example

# InspectorAssessmentTarget — Inspector Classic
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/inspector.html#inspectorassessmenttarget
apiVersion: aws.konfig.io/v1alpha1
kind: InspectorAssessmentTarget
metadata:
  name: example-inspectorassessmenttarget
  namespace: default
spec:
  assessmentTargetName: example-inspectorassessmenttarget
  providerRef:
    name: example-inspectorassessmenttarget
    region: us-east-1
  resourceGroupArn: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
assessmentTargetNamestring—Create-only in AWS: changing it requires replacing the resource.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
resourceGroupArnstring—

Status

FieldTypeRequiredDescription
arnstring—Read-only: reported by AWS after creation.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

InspectorAssessmentTemplate # CLOUD CONTROL · AWS::Inspector::AssessmentTemplate

InspectorAssessmentTemplate manages AWS::Inspector::AssessmentTemplate through the AWS Cloud Control API.

kubectl get inspectorassessmenttemplates · example on GitHub

Example

# InspectorAssessmentTemplate — Inspector Classic
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/inspector.html#inspectorassessmenttemplate
apiVersion: aws.konfig.io/v1alpha1
kind: InspectorAssessmentTemplate
metadata:
  name: example-inspectorassessmenttemplate
  namespace: default
spec:
  assessmentTargetArn: arn:aws:iam::123456789012:role/example-role
  assessmentTemplateName: example-inspectorassessmenttemplate
  durationInSeconds: 300
  providerRef:
    name: example-inspectorassessmenttemplate
    region: us-east-1
  rulesPackageArns:
  - example
  userAttributesForFindings:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
assessmentTargetArnstringyesCreate-only in AWS: changing it requires replacing the resource.
assessmentTemplateNamestring—Create-only in AWS: changing it requires replacing the resource.
durationInSecondsintegeryesCreate-only in AWS: changing it requires replacing the resource.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
rulesPackageArnsarray<string>yesCreate-only in AWS: changing it requires replacing the resource.
userAttributesForFindingsarray<object>—Create-only in AWS: changing it requires replacing the resource.
userAttributesForFindings[].keystringyes
userAttributesForFindings[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—Read-only: reported by AWS after creation.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

InspectorResourceGroup # CLOUD CONTROL · AWS::Inspector::ResourceGroup

InspectorResourceGroup manages AWS::Inspector::ResourceGroup through the AWS Cloud Control API.

kubectl get inspectorresourcegroups · example on GitHub

Example

# InspectorResourceGroup — Inspector Classic
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/inspector.html#inspectorresourcegroup
apiVersion: aws.konfig.io/v1alpha1
kind: InspectorResourceGroup
metadata:
  name: example-inspectorresourcegroup
  namespace: default
spec:
  providerRef:
    name: example-inspectorresourcegroup
    region: us-east-1
  resourceGroupTags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
resourceGroupTagsarray<object>yesCreate-only in AWS: changing it requires replacing the resource.
resourceGroupTags[].keystringyes
resourceGroupTags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—Read-only: reported by AWS after creation.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.