> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Rule Groups To File Integrity Policy

Assign, unassign, or set precedence to a file integrity policy.

<Note>
  External Documentation

  To learn more, visit the [CrowdStrike documentation](https://falcon.us-2.crowdstrike.com/documentation/page/d5448e4f/falcon-filevantage-apis#v003ae8b).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                                             |
  | --------------- | ----------------------------------------------------------------------- |
  | Action          | Specify whether to assign, unassign, or set precedence for rule groups. |
  | Policy ID       | The unique identifier of the policy.                                    |
  | Rule Groups IDs | A comma-separated list of rule group IDs to configure with.             |
</div>

## Example Output

```json theme={"dark"}
{
	"meta": {
		"query_time": 1.006257,
		"powered_by": "filevantage-api",
		"trace_id": "a3f44413-e567-475f-9bef-d46e171a0f48"
	},
	"resources": [
		{
			"id": "<ID1>",
			"name": "FIM Policy",
			"platform": "Windows",
			"enabled": true,
			"precedence": 1,
			"description": "FIM Policy for windows",
			"rule_groups": [
				{
					"id": "<rid1>",
					"href": "/filevantage/entities/rule-groups/v1&ids=<rid1>"
				},
				{
					"id": "<rid2>",
					"href": "/filevantage/entities/rule-groups/v1&ids=<rid2>"
				}
			],
			"host_groups": [
				{
					"id": "<hgid1>",
					"href": "/deviceapi/entities/host-groups/v1&ids=<hgid1>"
				},
				{
					"id": "<hgid2>",
					"href": "/deviceapi/entities/host-groups/v1&ids=<hgid2>"
				}
			],
			"created_by": "[email_address | bearer_token_id]",
			"created_timestamp": "2022-10-18T13:24:03Z",
			"modified_by": "[email_address | bearer_token_id]",
			"modified_timestamp": "2023-06-28T20:15:16Z"
		}
	]
}
```

## Workflow Library Example

[Configure Rule Groups to File Integrity Policy with Crowdstrike and Send Results Via Email](https://library.blinkops.com/workflows/configure-rule-groups-to-file-integrity-policy-with-crowdstrike-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/configure-rule-groups-to-file-integrity-policy-with-crowdstrike-and-send-results-via-email/canvas" />
</div>
