Skip to content
v2.274.0

CfnCodeSecurityScanConfigurationProps Struct ​

Properties for defining a CfnCodeSecurityScanConfiguration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const cfnCodeSecurityScanConfigurationProps: inspectorv2.CfnCodeSecurityScanConfigurationProps = {
  configuration: {
    ruleSetCategories: ['ruleSetCategories'],

    // the properties below are optional
    continuousIntegrationScanConfiguration: {
      supportedEvents: ['supportedEvents'],
    },
    periodicScanConfiguration: {
      frequency: 'frequency',
      frequencyExpression: 'frequencyExpression',
    },
  },
  level: 'level',
  name: 'name',
  scopeSettings: {
    projectSelectionScope: 'projectSelectionScope',
  },
  tags: {
    tagsKey: 'tags',
  },
};

Properties ​

The configuration settings for the code security scan.
levelstringlevelstrlevelStringLevelstringLevel*string#
The security level for the scan configuration.
namestringnamestrnameStringNamestringName*string#
The name of the scan configuration.
scopeSettingsIResolvable | CfnCodeSecurityScanConfiguration.ScopeSettingsPropertyscope_settingstyping.Union[IResolvable, ScopeSettingsProperty]scopeSettingsIResolvableScopeSettingsIResolvableScopeSettingsinterface{}#
The scope settings that define which repositories will be scanned.
tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>Tags*map[string]*string#
The tags to apply to the scan configuration.