Class DefenderForContainersAwsOffering
java.lang.Object
com.azure.resourcemanager.security.models.CloudOffering
com.azure.resourcemanager.security.models.DefenderForContainersAwsOffering
The Defender for Containers AWS offering.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.Get the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.Get the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.Get the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.Get the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.Get the kinesisToS3 property: The kinesis to s3 connection configuration.Get the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.Get the kubernetesScubaReader property: The kubernetes to scuba connection configuration.Get the kubernetesService property: The kubernetes service connection configuration.Get the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.void
validate()
Validates the instance.withAutoProvisioning
(Boolean autoProvisioning) Set the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.withCloudWatchToKinesis
(DefenderForContainersAwsOfferingCloudWatchToKinesis cloudWatchToKinesis) Set the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.withContainerVulnerabilityAssessment
(DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment) Set the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.withContainerVulnerabilityAssessmentTask
(DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask) Set the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.withEnableContainerVulnerabilityAssessment
(Boolean enableContainerVulnerabilityAssessment) Set the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.Set the kinesisToS3 property: The kinesis to s3 connection configuration.withKubeAuditRetentionTime
(Long kubeAuditRetentionTime) Set the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.withKubernetesScubaReader
(DefenderForContainersAwsOfferingKubernetesScubaReader kubernetesScubaReader) Set the kubernetesScubaReader property: The kubernetes to scuba connection configuration.withKubernetesService
(DefenderForContainersAwsOfferingKubernetesService kubernetesService) Set the kubernetesService property: The kubernetes service connection configuration.withScubaExternalId
(String scubaExternalId) Set the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.Methods inherited from class com.azure.resourcemanager.security.models.CloudOffering
description
-
Constructor Details
-
DefenderForContainersAwsOffering
public DefenderForContainersAwsOffering()
-
-
Method Details
-
kubernetesService
Get the kubernetesService property: The kubernetes service connection configuration.- Returns:
- the kubernetesService value.
-
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.
-
kubernetesScubaReader
Get the kubernetesScubaReader property: The kubernetes to scuba connection configuration.- Returns:
- the kubernetesScubaReader value.
-
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.
-
cloudWatchToKinesis
Get the cloudWatchToKinesis property: The cloudwatch to kinesis connection configuration.- Returns:
- the cloudWatchToKinesis 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.
-
kinesisToS3
Get the kinesisToS3 property: The kinesis to s3 connection configuration.- Returns:
- the kinesisToS3 value.
-
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.
-
containerVulnerabilityAssessment
public DefenderForContainersAwsOfferingContainerVulnerabilityAssessment containerVulnerabilityAssessment()Get the containerVulnerabilityAssessment property: The container vulnerability assessment configuration.- Returns:
- the containerVulnerabilityAssessment value.
-
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.
-
containerVulnerabilityAssessmentTask
public DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask()Get the containerVulnerabilityAssessmentTask property: The container vulnerability assessment task configuration.- Returns:
- the containerVulnerabilityAssessmentTask value.
-
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.
-
enableContainerVulnerabilityAssessment
Get the enableContainerVulnerabilityAssessment property: Enable container vulnerability assessment feature.- Returns:
- the enableContainerVulnerabilityAssessment value.
-
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.
-
autoProvisioning
Get the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.- Returns:
- the autoProvisioning value.
-
withAutoProvisioning
Set the autoProvisioning property: Is audit logs pipeline auto provisioning enabled.- Parameters:
autoProvisioning
- the autoProvisioning value to set.- Returns:
- the DefenderForContainersAwsOffering object itself.
-
kubeAuditRetentionTime
Get the kubeAuditRetentionTime property: The retention time in days of kube audit logs set on the CloudWatch log group.- Returns:
- the kubeAuditRetentionTime value.
-
withKubeAuditRetentionTime
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.
-
scubaExternalId
Get the scubaExternalId property: The externalId used by the data reader to prevent the confused deputy attack.- Returns:
- the scubaExternalId value.
-
withScubaExternalId
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.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCloudOffering
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-