issaquahd commited on
Commit
f99fae8
·
verified ·
1 Parent(s): 0ea6b6e

Upload 4 files

Browse files
Files changed (4) hide show
  1. LICENSE +21 -0
  2. README.md +51 -0
  3. examples.jsonl +16 -0
  4. permissions.jsonl +0 -0
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Alex Alvord
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pretty_name: NC2 IAM permissions
4
+ language: [en]
5
+ tags: [iam, cloud, aws, azure, google-cloud, nc2, permissions]
6
+ size_categories: [n<1K]
7
+ configs:
8
+ - config_name: permissions
9
+ data_files: permissions.jsonl
10
+ - config_name: examples
11
+ data_files: examples.jsonl
12
+ ---
13
+
14
+ # NC2 IAM permissions
15
+
16
+ The cloud permissions that Nutanix Cloud Clusters (NC2) onboarding needs on AWS, Azure and Google Cloud, as machine-
17
+ readable rows. Each row carries the public guide page it came from and that page's *Last Updated* date, so you can see
18
+ what changed when the guides change.
19
+
20
+ ## `permissions` (270 rows)
21
+
22
+ | list | what it is | rows | origin |
23
+ |---|---|---|---|
24
+ | `azure-nc2-app` | the custom role the NC2 app registration holds (109 actions + 9 data actions) | 118 | NC2 user guide |
25
+ | `azure-setup` | what the person doing the setup needs to create and assign that role | 2 | derived from the guide's steps |
26
+ | `gcp-console-sa` | the NC2 console service account's role | 98 | NC2 user guide |
27
+ | `gcp-nodes-sa` | the cluster nodes service account's role | 23 | NC2 user guide |
28
+ | `aws-setup` | what a CloudFormation stack that creates IAM roles needs | 27 | derived from the guide's steps |
29
+ | `aws-managed-policies` | the managed policies the guide names | 2 | NC2 user guide |
30
+
31
+ Fields: `list`, `cloud`, `actor`, `permission`, `kind` (action, dataAction, permission, managed-policy), `origin`,
32
+ `source_url`, `doc_last_updated`. "Derived" rows map a step the guide describes to the cloud vendor's own permission
33
+ for it; they are labelled so you can tell them apart.
34
+
35
+ The Google Cloud console guide states 97 permissions; its table and its `gcloud` command both list 98, and so does this
36
+ dataset.
37
+
38
+ ## `examples` (16 rows)
39
+
40
+ Worked examples with the expected answer: Microsoft's built-in Azure roles and AWS managed policies (copied from the
41
+ vendors' published definitions), the guide's own roles, and labelled synthetic cases. Fields: `list`, `label`,
42
+ `source`, `input` (what you'd paste), `expected_missing`. The expected answers are computed in Python, Azure with the
43
+ [nc2-iam-preflight](https://github.com/cloudlabworks/nc2-iam-preflight) tool's own matching function.
44
+
45
+ ## Use it
46
+
47
+ - In the browser: [NC2 IAM permission check](https://huggingface.co/spaces/cloudlabworks/nc2-iam-preflight), which ships these lists and runs the examples as a self-test.
48
+ - In your cloud shell, against your real account: [nc2-iam-preflight](https://github.com/cloudlabworks/nc2-iam-preflight).
49
+
50
+ Independent, personal project by Alex Alvord, [CloudLab Works](https://cloudlabworks.dev). Not a Nutanix product, not
51
+ endorsed or supported by Nutanix. MIT licence.
examples.jsonl ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"list": "azure-setup", "label": "Contributor", "source": "Microsoft built-in role", "input": "[\n {\n \"roleName\": \"Contributor\",\n \"permissions\": [\n {\n \"actions\": [\n \"*\"\n ],\n \"notActions\": [\n \"Microsoft.Authorization/*/Delete\",\n \"Microsoft.Authorization/*/Write\",\n \"Microsoft.Authorization/elevateAccess/Action\",\n \"Microsoft.Blueprint/blueprintAssignments/write\",\n \"Microsoft.Blueprint/blueprintAssignments/delete\",\n \"Microsoft.Compute/galleries/share/action\",\n \"Microsoft.Purview/consents/write\",\n \"Microsoft.Purview/consents/delete\",\n \"Microsoft.Resources/deploymentStacks/manageDenySetting/action\",\n \"Microsoft.Subscription/cancel/action\",\n \"Microsoft.Subscription/enable/action\"\n ],\n \"dataActions\": [],\n \"notDataActions\": []\n }\n ]\n }\n]", "expected_missing": ["Microsoft.Authorization/roleDefinitions/write", "Microsoft.Authorization/roleAssignments/write"]}
2
+ {"list": "azure-setup", "label": "Owner", "source": "Microsoft built-in role", "input": "[\n {\n \"roleName\": \"Owner\",\n \"permissions\": [\n {\n \"actions\": [\n \"*\"\n ],\n \"notActions\": [],\n \"dataActions\": [],\n \"notDataActions\": []\n }\n ]\n }\n]", "expected_missing": []}
3
+ {"list": "azure-setup", "label": "User Access Administrator", "source": "Microsoft built-in role", "input": "[\n {\n \"roleName\": \"User Access Administrator\",\n \"permissions\": [\n {\n \"actions\": [\n \"*/read\",\n \"Microsoft.Authorization/*\",\n \"Microsoft.Support/*\"\n ],\n \"notActions\": [],\n \"dataActions\": [],\n \"notDataActions\": []\n }\n ]\n }\n]", "expected_missing": []}
4
+ {"list": "azure-setup", "label": "Role Based Access Control Administrator", "source": "Microsoft built-in role", "input": "[\n {\n \"roleName\": \"Role Based Access Control Administrator\",\n \"permissions\": [\n {\n \"actions\": [\n \"Microsoft.Authorization/roleAssignments/write\",\n \"Microsoft.Authorization/roleAssignments/delete\",\n \"*/read\",\n \"Microsoft.Support/*\"\n ],\n \"notActions\": [],\n \"dataActions\": [],\n \"notDataActions\": []\n }\n ]\n }\n]", "expected_missing": ["Microsoft.Authorization/roleDefinitions/write"]}
5
+ {"list": "azure-app", "label": "NC2 custom role, exactly as the guide publishes it", "source": "the guide's own list", "input": "[\n {\n \"roleName\": \"NC2 custom role, exactly as the guide publishes it\",\n \"permissions\": [\n {\n \"actions\": [\n \"Microsoft.Compute/register/action\",\n \"Microsoft.Compute/availabilitySets/write\",\n \"Microsoft.Compute/availabilitySets/delete\",\n \"Microsoft.Compute/disks/read\",\n \"Microsoft.Compute/disks/write\",\n \"Microsoft.Compute/disks/delete\",\n \"Microsoft.Compute/locations/usages/read\",\n \"Microsoft.Compute/availabilitySets/read\",\n \"Microsoft.Compute/virtualMachines/*\",\n \"Microsoft.Compute/snapshots/*\",\n \"Microsoft.Compute/images/*\",\n \"Microsoft.Network/register/action\",\n \"Microsoft.Network/natGateways/*\",\n \"Microsoft.Network/networkInterfaces/*\",\n \"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\n \"Microsoft.Network/networkSecurityGroups/*\",\n \"Microsoft.Network/publicIPAddresses/*\",\n \"Microsoft.Network/virtualNetworks/*\",\n \"Microsoft.Network/locations/usages/read\",\n \"Microsoft.Storage/register/action\",\n \"Microsoft.Storage/checknameavailability/read\",\n \"Microsoft.Storage/locations/checknameavailability/read\",\n \"Microsoft.Storage/locations/usages/read\",\n \"Microsoft.Storage/storageAccounts/write\",\n \"Microsoft.Storage/storageAccounts/read\",\n \"Microsoft.Storage/storageAccounts/delete\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/clearLegalHold/action\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/delete\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/lease/action\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/write\",\n \"Microsoft.Storage/storageAccounts/blobServices/read\",\n \"Microsoft.Storage/storageAccounts/blobServices/write\",\n \"Microsoft.Storage/storageAccounts/listAccountSas/action\",\n \"Microsoft.Storage/storageAccounts/listkeys/action\",\n \"Microsoft.Storage/storageAccounts/listServiceSas/action\",\n \"Microsoft.Storage/storageAccounts/regeneratekey/action\",\n \"Microsoft.Storage/storageAccounts/revokeUserDelegationKeys/action\",\n \"Microsoft.ResourceHealth/AvailabilityStatuses/read\",\n \"Microsoft.ResourceHealth/events/read\",\n \"Microsoft.ResourceHealth/AvailabilityStatuses/current/read\",\n \"Microsoft.ManagedIdentity/userAssignedIdentities/*\",\n \"Microsoft.Resources/subscriptions/locations/read\",\n \"Microsoft.Resources/subscriptions/resourceGroups/read\",\n \"Microsoft.Resources/subscriptions/resourceGroups/write\",\n \"Microsoft.Resources/subscriptions/resourceGroups/delete\",\n \"Microsoft.Resources/subscriptions/resourcegroups/deployments/read\",\n \"Microsoft.Resources/subscriptions/resourcegroups/deployments/write\",\n \"Microsoft.Resources/subscriptions/resourcegroups/resources/read\",\n \"Microsoft.Resources/subscriptions/tagNames/read\",\n \"Microsoft.Resources/subscriptions/tagNames/write\",\n \"Microsoft.Resources/subscriptions/tagNames/delete\",\n \"Microsoft.Resources/subscriptions/tagNames/tagValues/write\",\n \"Microsoft.Resources/subscriptions/tagNames/tagValues/read\",\n \"Microsoft.Resources/subscriptions/tagNames/tagValues/delete\",\n \"Microsoft.Resources/tags/read\",\n \"Microsoft.Resources/tags/write\",\n \"Microsoft.Resources/tags/delete\",\n \"Microsoft.Resources/providers/read\",\n \"Microsoft.Compute/sshPublicKeys/read\",\n \"Microsoft.Compute/sshPublicKeys/write\",\n \"Microsoft.Compute/sshPublicKeys/delete\",\n \"Microsoft.Compute/sshPublicKeys/generateKeyPair/action\",\n \"Microsoft.Nutanix/Interfaces/read\",\n \"Microsoft.Nutanix/Interfaces/write\",\n \"Microsoft.Nutanix/Interfaces/delete\",\n \"Microsoft.Nutanix/Nodes/read\",\n \"Microsoft.Nutanix/Nodes/write\",\n \"Microsoft.Nutanix/Nodes/delete\",\n \"Microsoft.Nutanix/register/action\",\n \"Microsoft.Network/virtualHubs/*\",\n \"Microsoft.Network/routeTables/read\",\n \"Microsoft.Network/routeTables/write\",\n \"Microsoft.Network/routeTables/delete\",\n \"Microsoft.Network/routeTables/join/action\",\n \"Microsoft.Network/routeTables/routes/read\",\n \"Microsoft.Network/routeTables/routes/write\",\n \"Microsoft.Network/routeTables/routes/delete\",\n \"Microsoft.CostManagement/query/read\",\n \"Microsoft.CostManagement/views/read\",\n \"Microsoft.CostManagement/externalSubscriptions/query/read\",\n \"Microsoft.CostManagement/externalSubscriptions/dimensions/read\",\n \"Microsoft.CostManagement/externalSubscriptions/read\",\n \"Microsoft.CostManagement/externalBillingAccounts/forecast/read\",\n \"Microsoft.CostManagement/externalBillingAccounts/read\",\n \"Microsoft.CostManagement/externalBillingAccounts/query/read\",\n \"Microsoft.CostManagement/externalBillingAccounts/externalSubscriptions/read\",\n \"Microsoft.CostManagement/externalSubscriptions/forecast/read\",\n \"Microsoft.CostManagement/operations/read\",\n \"Microsoft.CostManagement/forecast/read\",\n \"Microsoft.Network/virtualWans/write\",\n \"Microsoft.Network/virtualWans/read\",\n \"Microsoft.Network/virtualWans/delete\",\n \"Microsoft.Network/virtualWans/virtualHubs/read\",\n \"Microsoft.Network/virtualWans/join/action\",\n \"Microsoft.Network/virtualHubs/hubVirtualNetworkConnections/read\",\n \"Microsoft.Network/virtualHubs/hubVirtualNetworkConnections/write\",\n \"Microsoft.Network/virtualHubs/hubVirtualNetworkConnections/delete\",\n \"Microsoft.Network/privateEndpoints/pushPropertiesToResource/action\",\n \"Microsoft.Network/privateEndpoints/read\",\n \"Microsoft.Network/privateEndpoints/write\",\n \"Microsoft.Network/privateEndpoints/delete\",\n \"Microsoft.Network/privateDnsZones/read\",\n \"Microsoft.Network/privateDnsZones/delete\",\n \"Microsoft.Network/privateDnsZones/join/action\",\n \"Microsoft.Network/privateDnsZones/write\",\n \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/write\",\n \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/read\",\n \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/delete\"\n ],\n \"notActions\": [],\n \"dataActions\": [\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/deleteBlobVersion/action\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write\",\n \"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write\"\n ],\n \"notDataActions\": []\n }\n ]\n }\n]", "expected_missing": []}
6
+ {"list": "azure-app", "label": "Contributor", "source": "Microsoft built-in role", "input": "[\n {\n \"roleName\": \"Contributor\",\n \"permissions\": [\n {\n \"actions\": [\n \"*\"\n ],\n \"notActions\": [\n \"Microsoft.Authorization/*/Delete\",\n \"Microsoft.Authorization/*/Write\",\n \"Microsoft.Authorization/elevateAccess/Action\",\n \"Microsoft.Blueprint/blueprintAssignments/write\",\n \"Microsoft.Blueprint/blueprintAssignments/delete\",\n \"Microsoft.Compute/galleries/share/action\",\n \"Microsoft.Purview/consents/write\",\n \"Microsoft.Purview/consents/delete\",\n \"Microsoft.Resources/deploymentStacks/manageDenySetting/action\",\n \"Microsoft.Subscription/cancel/action\",\n \"Microsoft.Subscription/enable/action\"\n ],\n \"dataActions\": [],\n \"notDataActions\": []\n }\n ]\n }\n]", "expected_missing": ["Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/deleteBlobVersion/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write (data action)"]}
7
+ {"list": "azure-app", "label": "Owner", "source": "Microsoft built-in role", "input": "[\n {\n \"roleName\": \"Owner\",\n \"permissions\": [\n {\n \"actions\": [\n \"*\"\n ],\n \"notActions\": [],\n \"dataActions\": [],\n \"notDataActions\": []\n }\n ]\n }\n]", "expected_missing": ["Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/deleteBlobVersion/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write (data action)", "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write (data action)"]}
8
+ {"list": "gcp-console", "label": "NC2 console role, exactly as the guide publishes it", "source": "the guide's own list", "input": "{\n \"includedPermissions\": [\n \"cloudquotas.quotas.get\",\n \"compute.addresses.create\",\n \"compute.addresses.createInternal\",\n \"compute.addresses.delete\",\n \"compute.addresses.deleteInternal\",\n \"compute.addresses.get\",\n \"compute.addresses.list\",\n \"compute.addresses.setLabels\",\n \"compute.addresses.use\",\n \"compute.addresses.useInternal\",\n \"compute.disks.create\",\n \"compute.disks.get\",\n \"compute.disks.setLabels\",\n \"compute.disks.use\",\n \"compute.disks.useReadOnly\",\n \"compute.firewalls.create\",\n \"compute.firewalls.delete\",\n \"compute.firewalls.get\",\n \"compute.firewalls.list\",\n \"compute.firewalls.update\",\n \"compute.forwardingRules.create\",\n \"compute.forwardingRules.delete\",\n \"compute.forwardingRules.get\",\n \"compute.forwardingRules.list\",\n \"compute.forwardingRules.setLabels\",\n \"compute.globalOperations.get\",\n \"compute.images.list\",\n \"compute.images.useReadOnly\",\n \"compute.instances.create\",\n \"compute.instances.delete\",\n \"compute.instances.get\",\n \"compute.instances.getSerialPortOutput\",\n \"compute.instances.list\",\n \"compute.instances.performMaintenance\",\n \"compute.instances.reset\",\n \"compute.instances.resume\",\n \"compute.instances.setDeletionProtection\",\n \"compute.instances.setLabels\",\n \"compute.instances.setMetadata\",\n \"compute.instances.setServiceAccount\",\n \"compute.instances.start\",\n \"compute.instances.stop\",\n \"compute.instances.use\",\n \"compute.machineTypes.get\",\n \"compute.machineTypes.list\",\n \"compute.networkEndpointGroups.attachNetworkEndpoints\",\n \"compute.networkEndpointGroups.create\",\n \"compute.networkEndpointGroups.delete\",\n \"compute.networkEndpointGroups.detachNetworkEndpoints\",\n \"compute.networkEndpointGroups.get\",\n \"compute.networkEndpointGroups.list\",\n \"compute.networkEndpointGroups.use\",\n \"compute.networks.addPeering\",\n \"compute.networks.create\",\n \"compute.networks.delete\",\n \"compute.networks.get\",\n \"compute.networks.getEffectiveFirewalls\",\n \"compute.networks.list\",\n \"compute.networks.listPeeringRoutes\",\n \"compute.networks.removePeering\",\n \"compute.networks.updatePeering\",\n \"compute.networks.updatePolicy\",\n \"compute.networks.use\",\n \"compute.projects.get\",\n \"compute.regionBackendServices.create\",\n \"compute.regionBackendServices.delete\",\n \"compute.regionBackendServices.get\",\n \"compute.regionBackendServices.list\",\n \"compute.regionBackendServices.use\",\n \"compute.regionOperations.get\",\n \"compute.regions.get\",\n \"compute.regions.list\",\n \"compute.resourcePolicies.create\",\n \"compute.resourcePolicies.delete\",\n \"compute.resourcePolicies.get\",\n \"compute.resourcePolicies.use\",\n \"compute.routers.create\",\n \"compute.routers.delete\",\n \"compute.routers.get\",\n \"compute.routers.list\",\n \"compute.routes.delete\",\n \"compute.routes.get\",\n \"compute.routes.list\",\n \"compute.subnetworks.create\",\n \"compute.subnetworks.delete\",\n \"compute.subnetworks.get\",\n \"compute.subnetworks.list\",\n \"compute.subnetworks.use\",\n \"compute.zoneOperations.get\",\n \"compute.zones.get\",\n \"compute.zones.list\",\n \"iam.roles.get\",\n \"iam.serviceAccounts.actAs\",\n \"iam.serviceAccounts.get\",\n \"iam.serviceAccounts.list\",\n \"monitoring.timeSeries.list\",\n \"resourcemanager.projects.get\",\n \"resourcemanager.projects.getIamPolicy\"\n ]\n}", "expected_missing": []}
9
+ {"list": "gcp-console", "label": "Same role with the compute.networks permissions left out", "source": "synthetic", "input": "{\n \"includedPermissions\": [\n \"cloudquotas.quotas.get\",\n \"compute.addresses.create\",\n \"compute.addresses.createInternal\",\n \"compute.addresses.delete\",\n \"compute.addresses.deleteInternal\",\n \"compute.addresses.get\",\n \"compute.addresses.list\",\n \"compute.addresses.setLabels\",\n \"compute.addresses.use\",\n \"compute.addresses.useInternal\",\n \"compute.disks.create\",\n \"compute.disks.get\",\n \"compute.disks.setLabels\",\n \"compute.disks.use\",\n \"compute.disks.useReadOnly\",\n \"compute.firewalls.create\",\n \"compute.firewalls.delete\",\n \"compute.firewalls.get\",\n \"compute.firewalls.list\",\n \"compute.firewalls.update\",\n \"compute.forwardingRules.create\",\n \"compute.forwardingRules.delete\",\n \"compute.forwardingRules.get\",\n \"compute.forwardingRules.list\",\n \"compute.forwardingRules.setLabels\",\n \"compute.globalOperations.get\",\n \"compute.images.list\",\n \"compute.images.useReadOnly\",\n \"compute.instances.create\",\n \"compute.instances.delete\",\n \"compute.instances.get\",\n \"compute.instances.getSerialPortOutput\",\n \"compute.instances.list\",\n \"compute.instances.performMaintenance\",\n \"compute.instances.reset\",\n \"compute.instances.resume\",\n \"compute.instances.setDeletionProtection\",\n \"compute.instances.setLabels\",\n \"compute.instances.setMetadata\",\n \"compute.instances.setServiceAccount\",\n \"compute.instances.start\",\n \"compute.instances.stop\",\n \"compute.instances.use\",\n \"compute.machineTypes.get\",\n \"compute.machineTypes.list\",\n \"compute.networkEndpointGroups.attachNetworkEndpoints\",\n \"compute.networkEndpointGroups.create\",\n \"compute.networkEndpointGroups.delete\",\n \"compute.networkEndpointGroups.detachNetworkEndpoints\",\n \"compute.networkEndpointGroups.get\",\n \"compute.networkEndpointGroups.list\",\n \"compute.networkEndpointGroups.use\",\n \"compute.projects.get\",\n \"compute.regionBackendServices.create\",\n \"compute.regionBackendServices.delete\",\n \"compute.regionBackendServices.get\",\n \"compute.regionBackendServices.list\",\n \"compute.regionBackendServices.use\",\n \"compute.regionOperations.get\",\n \"compute.regions.get\",\n \"compute.regions.list\",\n \"compute.resourcePolicies.create\",\n \"compute.resourcePolicies.delete\",\n \"compute.resourcePolicies.get\",\n \"compute.resourcePolicies.use\",\n \"compute.routers.create\",\n \"compute.routers.delete\",\n \"compute.routers.get\",\n \"compute.routers.list\",\n \"compute.routes.delete\",\n \"compute.routes.get\",\n \"compute.routes.list\",\n \"compute.subnetworks.create\",\n \"compute.subnetworks.delete\",\n \"compute.subnetworks.get\",\n \"compute.subnetworks.list\",\n \"compute.subnetworks.use\",\n \"compute.zoneOperations.get\",\n \"compute.zones.get\",\n \"compute.zones.list\",\n \"iam.roles.get\",\n \"iam.serviceAccounts.actAs\",\n \"iam.serviceAccounts.get\",\n \"iam.serviceAccounts.list\",\n \"monitoring.timeSeries.list\",\n \"resourcemanager.projects.get\",\n \"resourcemanager.projects.getIamPolicy\"\n ]\n}", "expected_missing": ["compute.networks.addPeering", "compute.networks.create", "compute.networks.delete", "compute.networks.get", "compute.networks.getEffectiveFirewalls", "compute.networks.list", "compute.networks.listPeeringRoutes", "compute.networks.removePeering", "compute.networks.updatePeering", "compute.networks.updatePolicy", "compute.networks.use"]}
10
+ {"list": "gcp-nodes", "label": "Cluster nodes role, exactly as the guide publishes it", "source": "the guide's own list", "input": "compute.forwardingRules.create\ncompute.forwardingRules.delete\ncompute.forwardingRules.get\ncompute.forwardingRules.setLabels\ncompute.forwardingRules.use\ncompute.instances.get\ncompute.instances.list\ncompute.instances.updateNetworkInterface\ncompute.instances.use\ncompute.networkEndpointGroups.list\ncompute.networkEndpointGroups.use\ncompute.networks.updatePolicy\ncompute.regionBackendServices.create\ncompute.regionBackendServices.delete\ncompute.regionBackendServices.get\ncompute.regionBackendServices.update\ncompute.regionBackendServices.use\ncompute.routes.create\ncompute.routes.delete\ncompute.routes.list\ncompute.subnetworks.list\ncompute.subnetworks.use\ncompute.zones.get", "expected_missing": []}
11
+ {"list": "gcp-nodes", "label": "Half of the nodes role", "source": "synthetic", "input": "compute.forwardingRules.create\ncompute.forwardingRules.delete\ncompute.forwardingRules.get\ncompute.forwardingRules.setLabels\ncompute.forwardingRules.use\ncompute.instances.get\ncompute.instances.list\ncompute.instances.updateNetworkInterface\ncompute.instances.use\ncompute.networkEndpointGroups.list\ncompute.networkEndpointGroups.use", "expected_missing": ["compute.networks.updatePolicy", "compute.regionBackendServices.create", "compute.regionBackendServices.delete", "compute.regionBackendServices.get", "compute.regionBackendServices.update", "compute.regionBackendServices.use", "compute.routes.create", "compute.routes.delete", "compute.routes.list", "compute.subnetworks.list", "compute.subnetworks.use", "compute.zones.get"]}
12
+ {"list": "aws-user", "label": "IAMFullAccess + AWSCloudFormationFullAccess (what the guide names)", "source": "AWS managed policies", "input": "IAMFullAccess\nAWSCloudFormationFullAccess", "expected_missing": []}
13
+ {"list": "aws-user", "label": "IAMFullAccess only", "source": "AWS managed policy", "input": "IAMFullAccess", "expected_missing": ["cloudformation:CreateStack", "cloudformation:DescribeStacks", "cloudformation:DescribeStackEvents", "cloudformation:UpdateStack", "cloudformation:DeleteStack", "cloudformation:CreateChangeSet", "cloudformation:DescribeChangeSet", "cloudformation:ExecuteChangeSet", "cloudformation:GetTemplateSummary"]}
14
+ {"list": "aws-user", "label": "AdministratorAccess", "source": "AWS managed policy", "input": "AdministratorAccess", "expected_missing": []}
15
+ {"list": "aws-user", "label": "PowerUserAccess (everything except IAM)", "source": "AWS managed policy", "input": "PowerUserAccess", "expected_missing": ["iam:CreateRole", "iam:GetRole", "iam:DeleteRole", "iam:TagRole", "iam:UpdateAssumeRolePolicy", "iam:PutRolePolicy", "iam:GetRolePolicy", "iam:DeleteRolePolicy", "iam:AttachRolePolicy", "iam:DetachRolePolicy", "iam:CreatePolicy", "iam:GetPolicy", "iam:CreatePolicyVersion", "iam:DeletePolicy", "iam:CreateInstanceProfile", "iam:GetInstanceProfile", "iam:AddRoleToInstanceProfile", "iam:PassRole"]}
16
+ {"list": "aws-user", "label": "Admin, with an explicit Deny on iam:PassRole", "source": "synthetic", "input": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"*\",\n \"Resource\": \"*\"\n },\n {\n \"Effect\": \"Deny\",\n \"Action\": \"iam:PassRole\",\n \"Resource\": \"*\"\n }\n ]\n}", "expected_missing": ["iam:PassRole (explicit Deny)"]}
permissions.jsonl ADDED
The diff for this file is too large to render. See raw diff