As we all know, clicking a drop box is annoying. I've been trying to get a general policy stub (a stub that contains all Actions
, not just globs) so I can quickly run through and allow / deny for our group policies.
I've looked through the CLI commands and am not seeing anything, I've also looked at the Policy Generator but it's either clicking everything or *:*
which is bad...
Is there a way to generate a full stub, or somewhere online that someone has generated a full policy stub that I can use? Result should be something like this...
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1496337889000",
"Effect": "Allow",
"Action": [
"discovery:CreateTags",
"discovery:DeleteTags",
"discovery:DescribeAgents",
"discovery:DescribeConfigurations",
"discovery:DescribeExportConfigurations",
"discovery:DescribeTags",
"discovery:ExportConfigurations",
"discovery:ListConfigurations",
"discovery:StartDataCollectionByAgentIds",
"discovery:StopDataCollectionByAgentIds"
],
"Resource": [
"*"
]
},
{
"Sid": "Stmt1496337865000",
"Effect": "Allow",
"Action": [
"batch:CancelJob",
"batch:CreateComputeEnvironment",
"batch:CreateJobQueue",
"batch:DeleteComputeEnvironment",
"batch:DeleteJobQueue",
"batch:DeregisterJobDefinition",
"batch:DescribeComputeEnvironments",
"batch:DescribeJobDefinitions",
"batch:DescribeJobQueues",
"batch:DescribeJobs",
"batch:ListJobs",
"batch:RegisterJobDefinition",
"batch:SubmitJob",
"batch:TerminateJob",
"batch:UpdateComputeEnvironment",
"batch:UpdateJobQueue"
],
"Resource": [
"*"
]
},
.... etc ....
]
}