# PluginReportJson

A report from a single validation plugin.

- Source: [`lib/cloud-assembly/validation-report-schema.ts`](https://github.com/aws/aws-cdk-cli/blob/HEAD/packages/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/validation-report-schema.ts)
- Type last changed: v2.271.0 · 25 Sep 2026

## Example

TypeScript:

```ts
import { PluginReportJson } from '@aws-cdk/cloud-assembly-schema';

const report: PluginReportJson = {
  pluginName: 'my-plugin',
  conclusion: 'success',
  violations: [],
};
```

Python:

```python
from aws_cdk.cloud_assembly_schema import PluginReportJson
from aws_cdk.cloud_assembly_schema import PluginReportJson

report = PluginReportJson(
    plugin_name="my-plugin",
    conclusion="success",
    violations=[]
)
```

Java:

```java
import software.amazon.awscdk.cloudassembly.schema.PluginReportJson;

PluginReportJson report = PluginReportJson.builder()
        .pluginName("my-plugin")
        .conclusion("success")
        .violations(List.of())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
using Amazon.CDK.CloudAssembly.Schema;

var report = new PluginReportJson {
    PluginName = "my-plugin",
    Conclusion = "success",
    Violations = new [] {  }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
import "github.com/cdklabs/cloud-assembly-schema-go/awscdkcloudassemblyschema"

report := &PluginReportJson{
	PluginName: jsii.String("my-plugin"),
	Conclusion: jsii.String("success"),
	Violations: []PolicyViolationJson{
	},
}
```

## Properties

- `conclusion`: string (required) — Whether the plugin's validation passed or failed.

- `metadata`: { [key: string]: string } — Additional plugin-specific metadata.

  **Default:** no metadata

- `pluginName`: string (required) — The name of the plugin that produced this report.

- `pluginVersion`: string — Version of the plugin that produced this report.

  **Default:** no version

- `preamble`: string — Any preamble text that the plugin wants to include in the report that is not a violation itself.

  **Default:** no preamble

- `suppressedViolations`: [SuppressedViolationJson](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.SuppressedViolationJson.html)[] — Violations that were suppressed via acknowledgement.

  **Default:** no suppressed violations

  These violations matched an acknowledged rule ID and were excluded
  from the active violations list. They are retained for audit
  trail and reporting purposes.

- `violations`: [PolicyViolationJson](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.PolicyViolationJson.html)[] (required) — Violations found by this plugin.
