# OcsfMapFilterProperty

Enables filtering of security findings based on map field values in OCSF.

- Source: Generated code
- Type last changed: v2.203.0 · 1 Jul 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const ocsfMapFilterProperty: securityhub.CfnAutomationRuleV2.OcsfMapFilterProperty = {
  fieldName: 'fieldName',
  filter: {
    comparison: 'comparison',
    key: 'key',
    value: 'value',
  },
};
```

## Properties

- `fieldName`: string (required) — The name of the field.

- `filter`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAutomationRuleV2.MapFilterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_securityhub.CfnAutomationRuleV2.MapFilterProperty.html) (required) — Enables filtering of security findings based on map field values in OCSF.
