-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
{"baseBranch":"master","baseCommit":"531f9cc5ae15c901e23c773c68cd69fb29fac2b0","createdAt":"2025-01-10T20:00:10.788069Z","headSha":"b6534c602f792214b0f6a9fafc1f259960f6b543","id":"e92e3200-cfbb-41af-816b-1fe08a9c70bf","priority":"200","pullRequestNumber":"27035","queuedAt":"2025-01-10T20:00:10.786674Z","status":"STATUS_QUEUED"}
- Loading branch information
Showing
4 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
content/en/infrastructure/resource_catalog/governance/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
title: Governance | ||
description: Learn how to create infrastructure governance policies in Resource Catalog. | ||
further_reading: | ||
- link: "/infrastructure/resource_catalog/" | ||
tag: "Documentation" | ||
text: "Datadog Resource Catalog" | ||
- link: "https://www.datadoghq.com/blog/datadog-resource-catalog/" | ||
tag: "Blog" | ||
text: "Govern your infrastructure resources with the Datadog Resource Catalog" | ||
--- | ||
|
||
{{< callout url="https://www.datadoghq.com/product-preview/infra-governance-policies/" btn_hidden="false" header="Join the Preview!">}} | ||
Governance is in Preview. | ||
{{< /callout >}} | ||
|
||
## Overview | ||
|
||
{{< img src="/infrastructure/resource_catalog/governance/custom-policy-list-1.png" alt="The Resource Catalog page showing the Governance tab and list of custom policies" width="100%">}} | ||
|
||
|
||
In the Resource Catalog's Governance view, you can define policies on your infrastructure resources based on governance best practices in your organization, such as improving ownership tag coverage on resources or ensuring versioning on critical resources is up-to-date. Instead of writing custom scripts or lambdas that scan every resource, Datadog gives you visibility into problematic resources so that you can focus on remediation. | ||
|
||
Specifically, you can: | ||
|
||
- Define a [custom policy](#create-a-custom-policy), which involves choosing a resource type, the attribute on the resource type, and target values the attribute should have. | ||
- Define a [tagging policy](#create-a-tagging-policy), which involves a resource type and the desired tag key and value the resource type should have. | ||
- Access a dedicated view for each policy where you can see its list of non-compliant resources and compliance score. | ||
- Filter, group, and export the list of non-compliant resources for a policy so you can prioritize and assign the work. | ||
|
||
## Create a custom policy | ||
|
||
{{< img src="/infrastructure/resource_catalog/governance/custom-policy-example-1.png" alt="A custom policy reflecting a compliance score of thirty percent." width="100%">}} | ||
|
||
Custom policies require specific values in your cloud resource attributes within Datadog based on your organization's infrastructure best practices. | ||
|
||
To create a custom policy: | ||
|
||
1. Navigate to **Infrastructure > Resource Catalog** and click the [**Governance**][1] tab. | ||
2. Click the **New Custom Policy** button. | ||
3. Select a resource type from the dropdown menu. | ||
4. Optionally, search for additional dataset filters. | ||
5. Select a target resource attribute and desired value. | ||
6. Optionally, add instructions for remediation. | ||
7. A name is automatically generated based on the data entered, but you can modify it. | ||
8. Click **Create Custom Policy**. | ||
|
||
Click the new policy to review all non-compliant resources and filter them by region, environment, account, service, or team. You can also group them by attributes or tags. | ||
|
||
## Create a tagging policy | ||
|
||
Tagging policies require specific tag keys and tag value formats on your infrastructure resources across Datadog. | ||
|
||
To create a tagging policy: | ||
|
||
1. Navigate to **Infrastructure > Resource Catalog** and click the [**Governance**][1] tab. | ||
2. Click the **New Tagging Policy** button. | ||
3. Choose the resource types the policy applies to. | ||
4. Define the required tag key and its allowed values. | ||
5. A name is automatically generated based on the data entered, but you can modify it. | ||
6. Click **Create Tagging Policy**. | ||
|
||
Click the new policy to review all non-compliant resources and filter them by cloud, region, environment, account, service, team, or tag. You can also group them by attributes or tags. | ||
|
||
[1]: https://app.datadoghq.com/infrastructure/catalog/governance | ||
|
||
## Updating policies | ||
|
||
To update a policy, click the policy, then click the **Edit** button and modify as needed. | ||
|
||
## Deleting policies | ||
|
||
To delete a custom or tagging policy, click the policy, then click the **Delete** button. | ||
|
||
## Exporting policies | ||
|
||
To export the list of non-compliant resources for a policy, click the policy, then click the **Export as CSV** button. | ||
|
||
## Further Reading | ||
|
||
{{< partial name="whats-next/whats-next.html" >}} |
Binary file added
BIN
+260 KB
...c/images/infrastructure/resource_catalog/governance/custom-policy-example-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+208 KB
static/images/infrastructure/resource_catalog/governance/custom-policy-list-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.