> ## 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.

# Get Policy

Get details about a single LQL policy.

<Note>
  External Documentation

  To learn more, visit the [Lacework documentation](https://api.lacework.net/api/v2/docs#tag/Policies/paths/~1api~1v2~1Policies~1\{policyId}/get).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                               |
  | --------- | ----------------------------------------------------------------------------------------- |
  | Policy ID | The ID if the policy to get details of. Can be retrieved from the 'List Policies' action. |
</div>

## Example Output

```json theme={"dark"}
{
  "data": {
    "evaluatorId": "Cloudtrail",
    "policyId": "lacework...",
    "policyType": "Violation",
    "queryId": "LW_Custom_AWS_CTA_AuroraPasswordChange",
    "queryText": "LW_Custom_AWS_CTA_AuroraPasswordChange { SOURCE { CloudTrailRawEvents } FILTER ...",
    "title": "Cloudtrail Policy 2",
    "enabled": false,
    "description": "Cloudtrail Policy 2",
    "remediation": "Policy remediation 2",
    "severity": "medium",
    "limit": 100,
    "evalFrequency": "Hourly",
    "alertEnabled": true,
    "alertProfile": "LW_CloudTrail_Alerts.CloudTrailDefaultAlert_AwsResource",
    "owner": "user@example.com",
    "lastUpdateTime": "2022-10-03T16:23:38.915Z",
    "lastUpdateUser": "user@example.com",
    "tags": [
      "domain:Host",
      "subdomain:Container"
    ]
  }
}ExecuteQueries
```

## Workflow Library Example

[Get Policy with Lacework and Send Results Via Email](https://library.blinkops.com/workflows/get-policy-with-lacework-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/get-policy-with-lacework-and-send-results-via-email/canvas" />
</div>
