Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POL-1352 Outdated Applied Policies: Deprecated Policy Support #2633

Merged
merged 156 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
732ba5d
update
XOmniverse Mar 28, 2024
c1139d9
fix
XOmniverse Mar 28, 2024
de63c78
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Mar 28, 2024
f31bdcb
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Mar 28, 2024
f1efbe0
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Mar 29, 2024
c7418b0
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Mar 29, 2024
88e9304
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Mar 29, 2024
f245ad7
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Mar 29, 2024
09f7a1d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Mar 29, 2024
738db1b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 1, 2024
e5f6ec4
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 2, 2024
4e71e8b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 2, 2024
1d8b882
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 2, 2024
f52328d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 3, 2024
39e8cb9
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 4, 2024
323df85
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 8, 2024
572d97b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 10, 2024
f0af998
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 10, 2024
a28ec3d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 10, 2024
9bd65b9
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 15, 2024
98ccf43
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 16, 2024
208ddf7
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 16, 2024
e7767f2
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 17, 2024
66fbcb8
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 18, 2024
e2ef148
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 18, 2024
7f4a5a3
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 18, 2024
0e5293d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 19, 2024
1d9a4a4
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 22, 2024
b799cc7
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 22, 2024
02d4aa6
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 23, 2024
5ce4da5
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 24, 2024
a42bf60
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 26, 2024
f98a7f2
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 26, 2024
4a6e6e5
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 29, 2024
368c9da
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 30, 2024
7dfe259
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 30, 2024
1ab7b95
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Apr 30, 2024
0754ff4
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 1, 2024
67a2084
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 2, 2024
a982026
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 3, 2024
9adf853
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 3, 2024
fa45c07
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 6, 2024
9798847
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 6, 2024
98f4443
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 7, 2024
7a86663
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 8, 2024
e3dee38
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 8, 2024
b69e670
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 9, 2024
7cadb9d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 9, 2024
ad1744d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 10, 2024
10dbbc4
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 13, 2024
88fbc95
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 14, 2024
6bcb57c
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 14, 2024
09d2116
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 15, 2024
0158083
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 16, 2024
66bc1c2
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 20, 2024
63e1602
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 20, 2024
e17a02c
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 21, 2024
c1cc974
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 22, 2024
b5bc6f3
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 22, 2024
ec75e97
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 30, 2024
1cb4926
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 30, 2024
4cf06de
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse May 31, 2024
0230fae
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 3, 2024
f3e2031
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 3, 2024
98f4217
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 4, 2024
c17e410
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 5, 2024
b017672
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 7, 2024
ab5629c
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 10, 2024
a82f6b7
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 11, 2024
2025aa5
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 11, 2024
37eef59
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 13, 2024
391c9be
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 13, 2024
d6c63d3
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 14, 2024
7e4a04b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 14, 2024
01aa513
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 17, 2024
75e924f
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 17, 2024
75063a8
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 21, 2024
6c6bcc8
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 21, 2024
95d75c0
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 24, 2024
755e613
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 24, 2024
4c2fe38
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 24, 2024
edc04d3
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 26, 2024
b975488
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 26, 2024
4809927
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 26, 2024
e6d34be
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 26, 2024
35602c4
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 27, 2024
dc20ed5
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 27, 2024
cb2dc12
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jun 28, 2024
209db7b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 1, 2024
b05ff68
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 1, 2024
01b057a
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 2, 2024
e612090
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 2, 2024
088af1b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 8, 2024
f14609a
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 8, 2024
c474f94
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 9, 2024
add397f
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 10, 2024
322c6a5
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 15, 2024
39fe39d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 16, 2024
6f9acad
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 16, 2024
11012e8
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 17, 2024
28fa3e8
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 19, 2024
d281bdd
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 22, 2024
a6c92d3
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 23, 2024
94c5add
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 24, 2024
d1aa94f
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 26, 2024
0ac1e7d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 29, 2024
8a219db
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 29, 2024
6562bed
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 31, 2024
74ae3a4
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Jul 31, 2024
8032a7f
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 1, 2024
4c99ce0
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 1, 2024
6f6ec72
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 2, 2024
fd171a2
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 5, 2024
45630f7
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 9, 2024
4a99d74
update
XOmniverse Aug 9, 2024
3b1c72e
fix
XOmniverse Aug 9, 2024
f0bae6d
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 9, 2024
5526d06
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 12, 2024
5ba0f63
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 12, 2024
149099b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 12, 2024
3d68121
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 12, 2024
e126509
update
XOmniverse Aug 13, 2024
6ddd523
update
XOmniverse Aug 13, 2024
6ae60c3
fix
XOmniverse Aug 13, 2024
cb57b0b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 13, 2024
ce7d180
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 15, 2024
a989c71
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 18, 2024
b423284
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 18, 2024
861baf0
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 20, 2024
cc4b4ba
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 26, 2024
5b6f1de
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 27, 2024
c806617
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 28, 2024
45e0671
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 28, 2024
1d00ed3
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Aug 28, 2024
84f66f2
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 3, 2024
a62b5af
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 3, 2024
9f5d414
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 3, 2024
b271c89
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 3, 2024
02301d1
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 4, 2024
1f7529e
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 4, 2024
f1419be
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 5, 2024
d925789
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 9, 2024
482f80c
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 12, 2024
9c2688b
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 13, 2024
63ff2b6
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 15, 2024
8a63c70
update
XOmniverse Sep 15, 2024
606735f
update
XOmniverse Sep 15, 2024
d48d136
update
XOmniverse Sep 15, 2024
6222c12
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 17, 2024
9ba4d62
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 17, 2024
7436078
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 19, 2024
17c1be7
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 20, 2024
1c55ed0
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 20, 2024
2ba0a42
Merge branch 'master' of github-xomniverse:flexera-public/policy_temp…
XOmniverse Sep 20, 2024
0abcfb0
update
XOmniverse Sep 20, 2024
0dfacfa
fix
XOmniverse Sep 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dangerfile/policy_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def policy_bad_directory?(file)
fail_message += "Policy is not located within a subdirectory specific to the cloud provider or service it is applicable for. For example, AWS cost policies should be in the `/cost/aws` subdirectory, Azure operational policies in the `/operational/azure` subdirectory, etc.\n\n"
end

if (parts[1] == 'flexera' && parts[3].include?('.pt')) && parts[0] != "tools"
if (parts[1] == 'flexera' && parts[3].include?('.pt')) && parts[0] != "tools" && parts[0] != "automation"
fail_message += "Flexera policy is not contained in a subdirectory specific to the Flexera service it is for. For example, Flexera CCO cost policies should be in the `/cost/flexera/cco` subdirectory.\n\n"
end

Expand Down
2 changes: 2 additions & 0 deletions .spellignore
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,8 @@ USD
EUR
CCO
untagged
README
readme
expiryDate
licenseDuration
licenseId
Expand Down
5 changes: 5 additions & 0 deletions automation/flexera/outdated_applied_policies/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v0.2.0

- Policy template now reports both outdated and deprecated policy templates with a parameter to choose which
- Automatic updates for policy templates with a major version change is now supported via parameter

## v0.1.1

- Minor fix to wording in resulting incident detail
Expand Down
40 changes: 23 additions & 17 deletions automation/flexera/outdated_applied_policies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

## What It Does

This policy checks all applied policies against the same policy in the catalog to determine if the applied policy is using an outdated version of the catalog policy. An email is sent and an incident is raised with all outdated policies. Optionally, outdated policies can automatically be updated.
This policy template checks all applied policies for the following:

- Whether the policy template is an older version than the current version in the policy catalog.
- Whether the policy template has been deprecated.

The following policy types will always be ignored and not reported on by this policy:

Expand All @@ -20,39 +23,42 @@ The list of outdated policies is generated as follows:
- The list of catalog policies are obtained using the [Active Policy List JSON file](https://github.com/flexera-public/policy_templates/blob/master/data/active_policy_list/active_policy_list.json) in the [policy-templates Github Repository](https://github.com/flexera-public/policy_templates).
- The list of applied policies is filtered for just those applied policies that were applied from a catalog policy and whose version number does not match the version number in the catalog.

The list of deprecated policies is generated as follows:

- The list of applied policies are obtained using the [Flexera Policy API](https://reference.rightscale.com/governance-policies/).
- The list of catalog policies are obtained using the [Active Policy List JSON file](https://github.com/flexera-public/policy_templates/blob/master/data/active_policy_list/active_policy_list.json) in the [policy-templates Github Repository](https://github.com/flexera-public/policy_templates).
- The list of applied policies is filtered for just those applied policies marked as deprecated in the [Active Policy List JSON file](https://github.com/flexera-public/policy_templates/blob/master/data/active_policy_list/active_policy_list.json).

Updating an outdated policy is done as follows:

- The [major version](https://semver.org/) of the applied policy is compared to the catalog policy. If the major version has changed, an error is raised indicating that the update should be done manually. This is because a major version change usually involves major changes in functionality and input parameters that would require the user to intelligently determine how to apply the updated policy.
- If the major version has not changed, the catalog policy is applied with the exact same configuration and settings as the existing applied policy.
- The [major version](https://semver.org/) of the applied policy is compared to the catalog policy. If the major version has changed, and the `Allow Automated Major Version Updates` parameter is set to "Do Not Allow", an error is raised indicating that the update should be done manually. This is because a major version change usually involves major changes in functionality and input parameters that would require the user to intelligently determine how to apply the updated policy.
- If the major version has not changed, or the `Allow Automated Major Version Updates` parameter is set to "Allow", the catalog policy is applied with the exact same configuration and settings as the existing applied policy.
- If the above action was successful, the existing applied policy is deleted. If the above action failed, an error is raised and the existing applied policy remains in place so that the user can manually update as needed.

## Input Parameters

This policy has the following input parameters required when launching the policy.

- *Email Addresses* - A list of email addresses to notify.
- *Policy Ignore List* - A list of applied policy names and/or IDs to ignore and not report on. Leave blank to assess all applied policies.
- *Policy Templates To Report* - Whether to report outdated policy templates, deprecated policy templates, or both. Separate incidents will be raised/emailed if both are selected and found.
- *Allow Automated Major Version Updates* - Whether to allow actions to automatically update outdated policy templates when there's been a major version change. This is not recommended in most cases.
- *Automatic Actions* - When this value is set, this policy will automatically take the selected action(s).

## Policy Actions

- Send an email report
- Update applied policy to the newest version after approval

## Prerequisites

This Policy Template uses [Credentials](https://docs.flexera.com/flexera/EN/Automation/ManagingCredentialsExternal.htm) for authenticating to datasources -- in order to apply this policy you must have a Credential registered in the system that is compatible with this policy. If there are no Credentials listed when you apply the policy, please contact your Flexera Org Admin and ask them to register a Credential that is compatible with this policy. The information below should be consulted when creating the credential(s).

### Credential Configuration

- [**Flexera Credential**](https://docs.flexera.com/flexera/EN/Automation/ProviderCredentials.htm) (*provider=flexera*) which has the following roles:
- `governance:published_template:index`
- `governance:published_template:show`
- `governance:policy_aggregate:index`
- `governance:policy_aggregate:show`
- `governance:applied_policy:index`
- `governance:applied_policy:show`
- `governance:policy_aggregate:create`*
- `governance:policy_aggregate:delete`*
- `governance:applied_policy:create`*
- `governance:applied_policy:delete`*

\* Only required for taking action (updating applied policies); the policy will still function in a read-only capacity without these permissions.
- `policy_viewer`
- `policy_manager`*

\* Only required for taking action (updating applied policies); the policy will still function in a read-only capacity without these permissions.

The [Provider-Specific Credentials](https://docs.flexera.com/flexera/EN/Automation/ProviderCredentials.htm) page in the docs has detailed instructions for setting up Credentials for the most common providers.

Expand Down
Loading
Loading