Skip to content
v2.277.0

ReportFiltersProperty Struct ​

Filters applied when a scan report is published to Confluence.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const reportFiltersProperty: securityagent.CfnPentest.ReportFiltersProperty = {
  annotationNotes: false,
  complianceReport: false,
  confidenceLevels: ['confidenceLevels'],
  findingTypes: ['findingTypes'],
  riskLevels: ['riskLevels'],
  riskTypes: ['riskTypes'],
  statuses: ['statuses'],
  taskStatuses: ['taskStatuses'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityagent as securityagent

report_filters_property = securityagent.CfnPentest.ReportFiltersProperty(
    annotation_notes=False,
    compliance_report=False,
    confidence_levels=["confidenceLevels"],
    finding_types=["findingTypes"],
    risk_levels=["riskLevels"],
    risk_types=["riskTypes"],
    statuses=["statuses"],
    task_statuses=["taskStatuses"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityagent.*;

ReportFiltersProperty reportFiltersProperty = ReportFiltersProperty.builder()
        .annotationNotes(false)
        .complianceReport(false)
        .confidenceLevels(List.of("confidenceLevels"))
        .findingTypes(List.of("findingTypes"))
        .riskLevels(List.of("riskLevels"))
        .riskTypes(List.of("riskTypes"))
        .statuses(List.of("statuses"))
        .taskStatuses(List.of("taskStatuses"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityAgent;

var reportFiltersProperty = new ReportFiltersProperty {
    AnnotationNotes = false,
    ComplianceReport = false,
    ConfidenceLevels = new [] { "confidenceLevels" },
    FindingTypes = new [] { "findingTypes" },
    RiskLevels = new [] { "riskLevels" },
    RiskTypes = new [] { "riskTypes" },
    Statuses = new [] { "statuses" },
    TaskStatuses = new [] { "taskStatuses" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

reportFiltersProperty := &ReportFiltersProperty{
	AnnotationNotes: jsii.Boolean(false),
	ComplianceReport: jsii.Boolean(false),
	ConfidenceLevels: []*string{
		jsii.String("confidenceLevels"),
	},
	FindingTypes: []*string{
		jsii.String("findingTypes"),
	},
	RiskLevels: []*string{
		jsii.String("riskLevels"),
	},
	RiskTypes: []*string{
		jsii.String("riskTypes"),
	},
	Statuses: []*string{
		jsii.String("statuses"),
	},
	TaskStatuses: []*string{
		jsii.String("taskStatuses"),
	},
}

Properties ​

annotationNotesoptionalboolean | IResolvableannotation_notesoptionaltyping.Union[bool, IResolvable]annotationNotesoptionalBooleanAnnotationNotesoptionalboolAnnotationNotesoptionalinterface{}#
Whether to include reviewer annotation notes under each finding.
complianceReportoptionalboolean | IResolvablecompliance_reportoptionaltyping.Union[bool, IResolvable]complianceReportoptionalBooleanComplianceReportoptionalboolComplianceReportoptionalinterface{}#
Whether to include the compliance-ready report additions.
confidenceLevelsoptionalstring[]confidence_levelsoptionaltyping.List[str]confidenceLevelsoptionalList<String>ConfidenceLevelsoptionalstring[]ConfidenceLevelsoptional*[]*string#
Confidence levels to include in the report.
findingTypesoptionalstring[]finding_typesoptionaltyping.List[str]findingTypesoptionalList<String>FindingTypesoptionalstring[]FindingTypesoptional*[]*string#
Finding types to include in the report.
riskLevelsoptionalstring[]risk_levelsoptionaltyping.List[str]riskLevelsoptionalList<String>RiskLevelsoptionalstring[]RiskLevelsoptional*[]*string#
Severity levels to include in the report.
riskTypesoptionalstring[]risk_typesoptionaltyping.List[str]riskTypesoptionalList<String>RiskTypesoptionalstring[]RiskTypesoptional*[]*string#
Risk types to include in the report.
statusesoptionalstring[]statusesoptionaltyping.List[str]statusesoptionalList<String>Statusesoptionalstring[]Statusesoptional*[]*string#
Finding statuses to include in the report.
taskStatusesoptionalstring[]task_statusesoptionaltyping.List[str]taskStatusesoptionalList<String>TaskStatusesoptionalstring[]TaskStatusesoptional*[]*string#
Task execution statuses to include in the report's task table.