Show / Hide Table of Contents

Class CfnInsight

The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub .

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnInsight
Implements
IInspectable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInsight : CfnResource, IInspectable
Syntax (vb)
Public Class CfnInsight Inherits CfnResource Implements IInspectable
Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SecurityHub;

             var cfnInsight = new CfnInsight(this, "MyCfnInsight", new CfnInsightProps {
                 Filters = new AwsSecurityFindingFiltersProperty {
                     AwsAccountId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     AwsAccountName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     CompanyName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ComplianceAssociatedStandardsId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ComplianceSecurityControlId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ComplianceSecurityControlParametersName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ComplianceSecurityControlParametersValue = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ComplianceStatus = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     Confidence = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     CreatedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     Criticality = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     Description = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     FindingProviderFieldsConfidence = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     FindingProviderFieldsCriticality = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     FindingProviderFieldsRelatedFindingsId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     FindingProviderFieldsRelatedFindingsProductArn = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     FindingProviderFieldsSeverityLabel = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     FindingProviderFieldsSeverityOriginal = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     FindingProviderFieldsTypes = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     FirstObservedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     GeneratorId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     Id = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     Keyword = new [] { new KeywordFilterProperty {
                         Value = "value"
                     } },
                     LastObservedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     MalwareName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     MalwarePath = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     MalwareState = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     MalwareType = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     NetworkDestinationDomain = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     NetworkDestinationIpV4 = new [] { new IpFilterProperty {
                         Cidr = "cidr"
                     } },
                     NetworkDestinationIpV6 = new [] { new IpFilterProperty {
                         Cidr = "cidr"
                     } },
                     NetworkDestinationPort = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     NetworkDirection = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     NetworkProtocol = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     NetworkSourceDomain = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     NetworkSourceIpV4 = new [] { new IpFilterProperty {
                         Cidr = "cidr"
                     } },
                     NetworkSourceIpV6 = new [] { new IpFilterProperty {
                         Cidr = "cidr"
                     } },
                     NetworkSourceMac = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     NetworkSourcePort = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     NoteText = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     NoteUpdatedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     NoteUpdatedBy = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ProcessLaunchedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     ProcessName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ProcessParentPid = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     ProcessPath = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ProcessPid = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     ProcessTerminatedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     ProductArn = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ProductFields = new [] { new MapFilterProperty {
                         Comparison = "comparison",
                         Key = "key",
                         Value = "value"
                     } },
                     ProductName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     RecommendationText = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     RecordState = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     Region = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     RelatedFindingsId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     RelatedFindingsProductArn = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceApplicationArn = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceApplicationName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsEc2InstanceIamInstanceProfileArn = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsEc2InstanceImageId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsEc2InstanceIpV4Addresses = new [] { new IpFilterProperty {
                         Cidr = "cidr"
                     } },
                     ResourceAwsEc2InstanceIpV6Addresses = new [] { new IpFilterProperty {
                         Cidr = "cidr"
                     } },
                     ResourceAwsEc2InstanceKeyName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsEc2InstanceLaunchedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     ResourceAwsEc2InstanceSubnetId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsEc2InstanceType = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsEc2InstanceVpcId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsIamAccessKeyCreatedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     ResourceAwsIamAccessKeyPrincipalName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsIamAccessKeyStatus = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsIamAccessKeyUserName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsIamUserUserName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsS3BucketOwnerId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceAwsS3BucketOwnerName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceContainerImageId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceContainerImageName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceContainerLaunchedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     ResourceContainerName = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceDetailsOther = new [] { new MapFilterProperty {
                         Comparison = "comparison",
                         Key = "key",
                         Value = "value"
                     } },
                     ResourceId = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourcePartition = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceRegion = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ResourceTags = new [] { new MapFilterProperty {
                         Comparison = "comparison",
                         Key = "key",
                         Value = "value"
                     } },
                     ResourceType = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     Sample = new [] { new BooleanFilterProperty {
                         Value = false
                     } },
                     SeverityLabel = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     SeverityNormalized = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     SeverityProduct = new [] { new NumberFilterProperty {
                         Eq = 123,
                         Gte = 123,
                         Lte = 123
                     } },
                     SourceUrl = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ThreatIntelIndicatorCategory = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ThreatIntelIndicatorLastObservedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     ThreatIntelIndicatorSource = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ThreatIntelIndicatorSourceUrl = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ThreatIntelIndicatorType = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     ThreatIntelIndicatorValue = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     Title = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     Type = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     UpdatedAt = new [] { new DateFilterProperty {
                         DateRange = new DateRangeProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         End = "end",
                         Start = "start"
                     } },
                     UserDefinedFields = new [] { new MapFilterProperty {
                         Comparison = "comparison",
                         Key = "key",
                         Value = "value"
                     } },
                     VerificationState = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     VulnerabilitiesExploitAvailable = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     VulnerabilitiesFixAvailable = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     WorkflowState = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } },
                     WorkflowStatus = new [] { new StringFilterProperty {
                         Comparison = "comparison",
                         Value = "value"
                     } }
                 },
                 GroupByAttribute = "groupByAttribute",
                 Name = "name"
             });

Synopsis

Constructors

CfnInsight(Construct, string, ICfnInsightProps)

The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub .

Properties

AttrInsightArn

The ARN of a Security Hub insight.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub .

Filters

One or more attributes used to filter the findings included in the insight.

GroupByAttribute

The grouping attribute for the insight's findings.

Name

The name of a Security Hub insight.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub .

Constructors

CfnInsight(Construct, string, ICfnInsightProps)

The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub .

public CfnInsight(Construct scope, string id, ICfnInsightProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnInsightProps

Resource properties.

Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

Properties

AttrInsightArn

The ARN of a Security Hub insight.

public virtual string AttrInsightArn { get; }
Property Value

string

Remarks

CloudformationAttribute: InsightArn

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

CfnProperties

The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub .

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

Filters

One or more attributes used to filter the findings included in the insight.

public virtual object Filters { get; set; }
Property Value

object

Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

GroupByAttribute

The grouping attribute for the insight's findings.

public virtual string GroupByAttribute { get; set; }
Property Value

string

Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

Name

The name of a Security Hub insight.

public virtual string Name { get; set; }
Property Value

string

Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub .

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub in the AWS Security Hub User Guide .

Tags aren't supported for this resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html

CloudformationResource: AWS::SecurityHub::Insight

ExampleMetadata: fixture=_generated

Implements

IInspectable
Back to top Generated by DocFX