# ReportFiltersProperty

Struct · External

Filters applied when a scan report is published to Confluence.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `annotationNotes`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to include reviewer annotation notes under each finding.

- `complianceReport`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to include the compliance-ready report additions.

- `confidenceLevels`: string[] — Confidence levels to include in the report.

- `findingTypes`: string[] — Finding types to include in the report.

- `riskLevels`: string[] — Severity levels to include in the report.

- `riskTypes`: string[] — Risk types to include in the report.

- `statuses`: string[] — Finding statuses to include in the report.

- `taskStatuses`: string[] — Task execution statuses to include in the report's task table.
