DefenderForContainersAwsOffering Class

public final class DefenderForContainersAwsOffering
extends CloudOffering

The Defender for Containers AWS offering.

Constructor Summary

Constructor Description
DefenderForContainersAwsOffering()

Creates an instance of DefenderForContainersAwsOffering class.

Method Summary

Modifier and Type Method and Description
Boolean autoProvisioning()

Get the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.

DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis()

Get the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.

DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment()

Get the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.

DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask()

Get the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.

Boolean enableContainerVulnerabilityAssessment()

Get the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.

DefenderForContainersAwsOfferingKinesisToS3 kinesisToS3()

Get the kinesisToS3 property: The kinesis to s3 connection configuration.

Long kubeAuditRetentionTime()

Get the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.

DefenderForContainersAwsOfferingKubernetesScubaReader kubernetesScubaReader()

Get the kubernetesScubaReader property: The kubernetes to scuba connection configuration.

DefenderForContainersAwsOfferingKubernetesService kubernetesService()

Get the kubernetesService property: The kubernetes service connection configuration.

DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S()

Get the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender container agentless discovery K8s configuration.

DefenderForContainersAwsOfferingMdcContainersImageAssessment mdcContainersImageAssessment()

Get the mdcContainersImageAssessment property: The Microsoft Defender container image assessment configuration.

String scubaExternalId()

Get the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.

void validate()

Validates the instance.

DefenderForContainersAwsOffering withAutoProvisioning(Boolean autoProvisioning)

Set the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.

DefenderForContainersAwsOffering withCloudWatchToKinesis(DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis)

Set the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.

DefenderForContainersAwsOffering withContainerVulnerabilityAssessment(DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment)

Set the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.

DefenderForContainersAwsOffering withContainerVulnerabilityAssessmentTask(DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask)

Set the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.

DefenderForContainersAwsOffering withEnableContainerVulnerabilityAssessment(Boolean enableContainerVulnerabilityAssessment)

Set the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.

DefenderForContainersAwsOffering withKinesisToS3(DefenderForContainersAwsOfferingKinesisToS3 kinesisToS3)

Set the kinesisToS3 property: The kinesis to s3 connection configuration.

DefenderForContainersAwsOffering withKubeAuditRetentionTime(Long kubeAuditRetentionTime)

Set the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.

DefenderForContainersAwsOffering withKubernetesScubaReader(DefenderForContainersAwsOfferingKubernetesScubaReader kubernetesScubaReader)

Set the kubernetesScubaReader property: The kubernetes to scuba connection configuration.

DefenderForContainersAwsOffering withKubernetesService(DefenderForContainersAwsOfferingKubernetesService kubernetesService)

Set the kubernetesService property: The kubernetes service connection configuration.

DefenderForContainersAwsOffering withMdcContainersAgentlessDiscoveryK8S(DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S)

Set the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender container agentless discovery K8s configuration.

DefenderForContainersAwsOffering withMdcContainersImageAssessment(DefenderForContainersAwsOfferingMdcContainersImageAssessment mdcContainersImageAssessment)

Set the mdcContainersImageAssessment property: The Microsoft Defender container image assessment configuration.

DefenderForContainersAwsOffering withScubaExternalId(String scubaExternalId)

Set the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.

Methods inherited from CloudOffering

Methods inherited from java.lang.Object

Constructor Details

DefenderForContainersAwsOffering

public DefenderForContainersAwsOffering()

Creates an instance of DefenderForContainersAwsOffering class.

Method Details

autoProvisioning

public Boolean autoProvisioning()

Get the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.

Returns:

the autoProvisioning value.

cloudWatchToKinesis

public DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis()

Get the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.

Returns:

the cloudWatchToKinesis value.

containerVulnerabilityAssessment

public DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment()

Get the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.

Returns:

the containerVulnerabilityAssessment value.

containerVulnerabilityAssessmentTask

public DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask()

Get the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.

Returns:

the containerVulnerabilityAssessmentTask value.

enableContainerVulnerabilityAssessment

public Boolean enableContainerVulnerabilityAssessment()

Get the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.

Returns:

the enableContainerVulnerabilityAssessment value.

kinesisToS3

public DefenderForContainersAwsOfferingKinesisToS3 kinesisToS3()

Get the kinesisToS3 property: The kinesis to s3 connection configuration.

Returns:

the kinesisToS3 value.

kubeAuditRetentionTime

public Long kubeAuditRetentionTime()

Get the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.

Returns:

the kubeAuditRetentionTime value.

kubernetesScubaReader

public DefenderForContainersAwsOfferingKubernetesScubaReader kubernetesScubaReader()

Get the kubernetesScubaReader property: The kubernetes to scuba connection configuration.

Returns:

the kubernetesScubaReader value.

kubernetesService

public DefenderForContainersAwsOfferingKubernetesService kubernetesService()

Get the kubernetesService property: The kubernetes service connection configuration.

Returns:

the kubernetesService value.

mdcContainersAgentlessDiscoveryK8S

public DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S()

Get the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender container agentless discovery K8s configuration.

Returns:

the mdcContainersAgentlessDiscoveryK8S value.

mdcContainersImageAssessment

public DefenderForContainersAwsOfferingMdcContainersImageAssessment mdcContainersImageAssessment()

Get the mdcContainersImageAssessment property: The Microsoft Defender container image assessment configuration.

Returns:

the mdcContainersImageAssessment value.

scubaExternalId

public String scubaExternalId()

Get the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.

Returns:

the scubaExternalId value.

validate

public void validate()

Validates the instance.

Overrides:

DefenderForContainersAwsOffering.validate()

withAutoProvisioning

public DefenderForContainersAwsOffering withAutoProvisioning(Boolean autoProvisioning)

Set the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.

Parameters:

autoProvisioning - the autoProvisioning value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withCloudWatchToKinesis

public DefenderForContainersAwsOffering withCloudWatchToKinesis(DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis)

Set the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.

Parameters:

cloudWatchToKinesis - the cloudWatchToKinesis value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withContainerVulnerabilityAssessment

public DefenderForContainersAwsOffering withContainerVulnerabilityAssessment(DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment)

Set the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.

Parameters:

containerVulnerabilityAssessment - the containerVulnerabilityAssessment value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withContainerVulnerabilityAssessmentTask

public DefenderForContainersAwsOffering withContainerVulnerabilityAssessmentTask(DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask)

Set the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.

Parameters:

containerVulnerabilityAssessmentTask - the containerVulnerabilityAssessmentTask value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withEnableContainerVulnerabilityAssessment

public DefenderForContainersAwsOffering withEnableContainerVulnerabilityAssessment(Boolean enableContainerVulnerabilityAssessment)

Set the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.

Parameters:

enableContainerVulnerabilityAssessment - the enableContainerVulnerabilityAssessment value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withKinesisToS3

public DefenderForContainersAwsOffering withKinesisToS3(DefenderForContainersAwsOfferingKinesisToS3 kinesisToS3)

Set the kinesisToS3 property: The kinesis to s3 connection configuration.

Parameters:

kinesisToS3 - the kinesisToS3 value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withKubeAuditRetentionTime

public DefenderForContainersAwsOffering withKubeAuditRetentionTime(Long kubeAuditRetentionTime)

Set the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.

Parameters:

kubeAuditRetentionTime - the kubeAuditRetentionTime value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withKubernetesScubaReader

public DefenderForContainersAwsOffering withKubernetesScubaReader(DefenderForContainersAwsOfferingKubernetesScubaReader kubernetesScubaReader)

Set the kubernetesScubaReader property: The kubernetes to scuba connection configuration.

Parameters:

kubernetesScubaReader - the kubernetesScubaReader value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withKubernetesService

public DefenderForContainersAwsOffering withKubernetesService(DefenderForContainersAwsOfferingKubernetesService kubernetesService)

Set the kubernetesService property: The kubernetes service connection configuration.

Parameters:

kubernetesService - the kubernetesService value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withMdcContainersAgentlessDiscoveryK8S

public DefenderForContainersAwsOffering withMdcContainersAgentlessDiscoveryK8S(DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S)

Set the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender container agentless discovery K8s configuration.

Parameters:

mdcContainersAgentlessDiscoveryK8S - the mdcContainersAgentlessDiscoveryK8S value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withMdcContainersImageAssessment

public DefenderForContainersAwsOffering withMdcContainersImageAssessment(DefenderForContainersAwsOfferingMdcContainersImageAssessment mdcContainersImageAssessment)

Set the mdcContainersImageAssessment property: The Microsoft Defender container image assessment configuration.

Parameters:

mdcContainersImageAssessment - the mdcContainersImageAssessment value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withScubaExternalId

public DefenderForContainersAwsOffering withScubaExternalId(String scubaExternalId)

Set the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.

Parameters:

scubaExternalId - the scubaExternalId value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

Applies to