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
DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis()

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

String dataCollectionExternalId()

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

Boolean enableAuditLogsAutoProvisioning()

Get the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

Boolean enableDefenderAgentAutoProvisioning()

Get the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

Boolean enablePolicyAgentAutoProvisioning()

Get the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

static DefenderForContainersAwsOffering fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersAwsOffering from the JsonReader.

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.

DefenderForContainersAwsOfferingKubernetesDataCollection kubernetesDataCollection()

Get the kubernetesDataCollection property: The kubernetes data collection 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.

OfferingType offeringType()

Get the offeringType property: The type of the security offering.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderForContainersAwsOfferingVmScanners vmScanners()

Get the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

DefenderForContainersAwsOffering withCloudWatchToKinesis(DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis)

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

DefenderForContainersAwsOffering withDataCollectionExternalId(String dataCollectionExternalId)

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

DefenderForContainersAwsOffering withEnableAuditLogsAutoProvisioning(Boolean enableAuditLogsAutoProvisioning)

Set the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

DefenderForContainersAwsOffering withEnableDefenderAgentAutoProvisioning(Boolean enableDefenderAgentAutoProvisioning)

Set the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

DefenderForContainersAwsOffering withEnablePolicyAgentAutoProvisioning(Boolean enablePolicyAgentAutoProvisioning)

Set the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

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 withKubernetesDataCollection(DefenderForContainersAwsOfferingKubernetesDataCollection kubernetesDataCollection)

Set the kubernetesDataCollection property: The kubernetes data collection 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 withVmScanners(DefenderForContainersAwsOfferingVmScanners vmScanners)

Set the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

Methods inherited from CloudOffering

Methods inherited from java.lang.Object

Constructor Details

DefenderForContainersAwsOffering

public DefenderForContainersAwsOffering()

Creates an instance of DefenderForContainersAwsOffering class.

Method Details

cloudWatchToKinesis

public DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis()

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

Returns:

the cloudWatchToKinesis value.

dataCollectionExternalId

public String dataCollectionExternalId()

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

Returns:

the dataCollectionExternalId value.

enableAuditLogsAutoProvisioning

public Boolean enableAuditLogsAutoProvisioning()

Get the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

Returns:

the enableAuditLogsAutoProvisioning value.

enableDefenderAgentAutoProvisioning

public Boolean enableDefenderAgentAutoProvisioning()

Get the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

Returns:

the enableDefenderAgentAutoProvisioning value.

enablePolicyAgentAutoProvisioning

public Boolean enablePolicyAgentAutoProvisioning()

Get the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

Returns:

the enablePolicyAgentAutoProvisioning value.

fromJson

public static DefenderForContainersAwsOffering fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersAwsOffering from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DefenderForContainersAwsOffering if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DefenderForContainersAwsOffering.

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.

kubernetesDataCollection

public DefenderForContainersAwsOfferingKubernetesDataCollection kubernetesDataCollection()

Get the kubernetesDataCollection property: The kubernetes data collection connection configuration.

Returns:

the kubernetesDataCollection 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.

offeringType

public OfferingType offeringType()

Get the offeringType property: The type of the security offering.

Overrides:

DefenderForContainersAwsOffering.offeringType()

Returns:

the offeringType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DefenderForContainersAwsOffering.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DefenderForContainersAwsOffering.validate()

vmScanners

public DefenderForContainersAwsOfferingVmScanners vmScanners()

Get the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

Returns:

the vmScanners value.

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.

withDataCollectionExternalId

public DefenderForContainersAwsOffering withDataCollectionExternalId(String dataCollectionExternalId)

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

Parameters:

dataCollectionExternalId - the dataCollectionExternalId value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withEnableAuditLogsAutoProvisioning

public DefenderForContainersAwsOffering withEnableAuditLogsAutoProvisioning(Boolean enableAuditLogsAutoProvisioning)

Set the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

Parameters:

enableAuditLogsAutoProvisioning - the enableAuditLogsAutoProvisioning value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withEnableDefenderAgentAutoProvisioning

public DefenderForContainersAwsOffering withEnableDefenderAgentAutoProvisioning(Boolean enableDefenderAgentAutoProvisioning)

Set the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

Parameters:

enableDefenderAgentAutoProvisioning - the enableDefenderAgentAutoProvisioning value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

withEnablePolicyAgentAutoProvisioning

public DefenderForContainersAwsOffering withEnablePolicyAgentAutoProvisioning(Boolean enablePolicyAgentAutoProvisioning)

Set the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

Parameters:

enablePolicyAgentAutoProvisioning - the enablePolicyAgentAutoProvisioning 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.

withKubernetesDataCollection

public DefenderForContainersAwsOffering withKubernetesDataCollection(DefenderForContainersAwsOfferingKubernetesDataCollection kubernetesDataCollection)

Set the kubernetesDataCollection property: The kubernetes data collection connection configuration.

Parameters:

kubernetesDataCollection - the kubernetesDataCollection 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.

withVmScanners

public DefenderForContainersAwsOffering withVmScanners(DefenderForContainersAwsOfferingVmScanners vmScanners)

Set the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

Parameters:

vmScanners - the vmScanners value to set.

Returns:

the DefenderForContainersAwsOffering object itself.

Applies to