Skip to content

Instantly share code, notes, and snippets.

@tylercloke
Created April 4, 2018 16:16
Show Gist options
  • Save tylercloke/3ccbae28086e14d1c578b822f4b1d85b to your computer and use it in GitHub Desktop.
Save tylercloke/3ccbae28086e14d1c578b822f4b1d85b to your computer and use it in GitHub Desktop.
7d6
< Version: 1,
15d13
< Version: 1,
23,31d20
< Version: 1,
< },
< {
< ID: ids[constants.ComplianceWildcardPolicyID],
< Subjects: []string{"*"},
< Resource: "compliance:*",
< Action: "*",
< Effect: "allow",
< Version: 1,
34c23
< ID: ids[constants.LicenseWildcardPolicyID],
---
> ID: ids[constants.AutomateContainerPolicyID],
36c25
< Resource: "license:*",
---
> Resource: "automate",
39d27
< Version: 1,
42c30
< ID: ids[constants.VersionWildcardPolicyID],
---
> ID: ids[constants.AutomateWildcardPolicyID],
44c32
< Resource: "version:*",
---
> Resource: "automate:*",
47d34
< Version: 1,
50c37
< ID: ids[constants.EventsContainerPolicyID],
---
> ID: ids[constants.ComplianceWildcardPolicyID],
52c39
< Resource: "events",
---
> Resource: "compliance:*",
55d41
< Version: 1,
58c44
< ID: ids[constants.EventsWildcardPolicyID],
---
> ID: ids[constants.IntrospectionWildcardPolicyID],
60,61c46,47
< Resource: "events:*",
< Action: "*",
---
> Resource: "admin:introspect",
> Action: "read",
63d48
< Version: 1,
66c51
< ID: ids[constants.LegacyWildcardPolicyID],
---
> ID: ids[constants.GatewayWildcardPolicyID],
68,69c53,54
< Resource: "legacy:*",
< Action: "*",
---
> Resource: "gateway:*",
> Action: "read",
74c59
< ID: ids[constants.AuthWildcardPolicyID],
---
> ID: ids[constants.LicenseWildcardPolicyID],
76,77c61,62
< Resource: "auth:*",
< Action: "*",
---
> Resource: "license:*",
> Action: "read",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment