Skip to content

Commit

Permalink
fix: update IAM service definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
TastefulElk committed Apr 24, 2023
1 parent 73d7bf9 commit 17f470c
Show file tree
Hide file tree
Showing 9 changed files with 927 additions and 10 deletions.
73 changes: 67 additions & 6 deletions src/data/iam-services/amazon-codewhisperer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,34 @@
"actions": [
{
"name": "CreateProfile",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/dg/API_CreateProfile.html",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke CreateProfile on CodeWhisperer",
"accessLevel": "Write",
"resourceTypes": [
"profile*"
],
"conditionKeys": [],
"conditionKeys": [
"aws:TagKeys",
"aws:RequestTag/${TagKey}"
],
"dependentActions": []
},
{
"name": "DeleteProfile",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke DeleteProfile on CodeWhisperer",
"accessLevel": "Write",
"resourceTypes": [
"profile*"
],
"conditionKeys": [
"aws:ResourceTag/${TagKey}"
],
"dependentActions": []
},
{
"name": "GenerateRecommendations",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/dg/API_GenerateRecommendations.html",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke GenerateRecommendations on CodeWhisperer",
"accessLevel": "Read",
"resourceTypes": [],
Expand All @@ -25,22 +41,67 @@
},
{
"name": "ListProfiles",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/dg/API_ListProfiles.html",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke ListProfiles on CodeWhisperer",
"accessLevel": "List",
"resourceTypes": [],
"conditionKeys": [],
"dependentActions": []
},
{
"name": "ListTagsForResource",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke ListTagsForResource on CodeWhisperer",
"accessLevel": "List",
"resourceTypes": [
"profile*"
],
"conditionKeys": [
"aws:ResourceTag/${TagKey}"
],
"dependentActions": []
},
{
"name": "TagResource",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke TagResource on CodeWhisperer",
"accessLevel": "Tagging",
"resourceTypes": [
"profile*"
],
"conditionKeys": [
"aws:ResourceTag/${TagKey}",
"aws:TagKeys",
"aws:RequestTag/${TagKey}"
],
"dependentActions": []
},
{
"name": "UntagResource",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke UntagResource on CodeWhisperer",
"accessLevel": "Tagging",
"resourceTypes": [
"profile*"
],
"conditionKeys": [
"aws:ResourceTag/${TagKey}",
"aws:TagKeys",
"aws:RequestTag/${TagKey}"
],
"dependentActions": []
},
{
"name": "UpdateProfile",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/dg/API_UpdateProfile.html",
"documentationUrl": "https://docs.aws.amazon.com/codewhisperer/latest/userguide/security_iam_service-with-iam.html",
"description": "Grants permission to invoke UpdateProfile on CodeWhisperer",
"accessLevel": "Write",
"resourceTypes": [
"profile*"
],
"conditionKeys": [],
"conditionKeys": [
"aws:ResourceTag/${TagKey}"
],
"dependentActions": []
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/data/iam-services/amazon-connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -2481,7 +2481,7 @@
"description": "Grants permission to update a rule for an existing Amazon Connect instance",
"accessLevel": "Write",
"resourceTypes": [
"instance*"
"rule*"
],
"conditionKeys": [
"connect:InstanceId"
Expand Down
4 changes: 2 additions & 2 deletions src/data/iam-services/amazon-ec2-instance-connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"name": "SendSSHPublicKey",
"documentationUrl": "https://docs.aws.amazon.com/ec2-instance-connect/latest/APIReference/API_SendSSHPublicKey.html",
"description": "Grants access to push an SSH public key to the specified EC2 instance to be used for standard SSH",
"description": "Grants permission to push an SSH public key to the specified EC2 instance to be used for standard SSH",
"accessLevel": "Write",
"resourceTypes": [
"instance*"
Expand All @@ -19,7 +19,7 @@
{
"name": "SendSerialConsoleSSHPublicKey",
"documentationUrl": "https://docs.aws.amazon.com/ec2-instance-connect/latest/APIReference/API_SendSerialConsoleSSHPublicKey.html",
"description": "Grants access to push an SSH public key to the specified EC2 instance to be used for serial console SSH",
"description": "Grants permission to push an SSH public key to the specified EC2 instance to be used for serial console SSH",
"accessLevel": "Write",
"resourceTypes": [
"instance*"
Expand Down
45 changes: 45 additions & 0 deletions src/data/iam-services/aws-elastic-disaster-recovery.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@
"drs:GetReplicationConfiguration"
]
},
{
"name": "CreateLaunchConfigurationTemplate",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/APIReference/API_CreateLaunchConfigurationTemplate.html",
"description": "Grants permission to create launch configuration template",
"accessLevel": "Write",
"resourceTypes": [],
"conditionKeys": [
"aws:RequestTag/${TagKey}",
"aws:TagKeys"
],
"dependentActions": []
},
{
"name": "CreateRecoveryInstanceForDrs",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/userguide/drs-apis.html",
Expand Down Expand Up @@ -121,6 +133,17 @@
"conditionKeys": [],
"dependentActions": []
},
{
"name": "DeleteLaunchConfigurationTemplate",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/APIReference/API_DeleteLaunchConfigurationTemplate.html",
"description": "Grants permission to delete launch configuration template",
"accessLevel": "Write",
"resourceTypes": [
"LaunchConfigurationTemplateResource*"
],
"conditionKeys": [],
"dependentActions": []
},
{
"name": "DeleteRecoveryInstance",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/APIReference/API_DeleteRecoveryInstance.html",
Expand Down Expand Up @@ -174,6 +197,15 @@
"conditionKeys": [],
"dependentActions": []
},
{
"name": "DescribeLaunchConfigurationTemplates",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/APIReference/API_DescribeLaunchConfigurationTemplates.html",
"description": "Grants permission to describe launch configuration template",
"accessLevel": "Read",
"resourceTypes": [],
"conditionKeys": [],
"dependentActions": []
},
{
"name": "DescribeRecoveryInstances",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/APIReference/API_DescribeRecoveryInstances.html",
Expand Down Expand Up @@ -730,6 +762,7 @@
"accessLevel": "Tagging",
"resourceTypes": [
"JobResource",
"LaunchConfigurationTemplateResource",
"RecoveryInstanceResource",
"ReplicationConfigurationTemplateResource",
"SourceServerResource"
Expand Down Expand Up @@ -768,6 +801,7 @@
"accessLevel": "Tagging",
"resourceTypes": [
"JobResource",
"LaunchConfigurationTemplateResource",
"RecoveryInstanceResource",
"ReplicationConfigurationTemplateResource",
"SourceServerResource"
Expand Down Expand Up @@ -881,6 +915,17 @@
"conditionKeys": [],
"dependentActions": []
},
{
"name": "UpdateLaunchConfigurationTemplate",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/APIReference/API_UpdateLaunchConfigurationTemplate.html",
"description": "Grants permission to update launch configuration",
"accessLevel": "Write",
"resourceTypes": [
"LaunchConfigurationTemplateResource*"
],
"conditionKeys": [],
"dependentActions": []
},
{
"name": "UpdateReplicationCertificateForDrs",
"documentationUrl": "https://docs.aws.amazon.com/drs/latest/userguide/drs-apis.html",
Expand Down
4 changes: 3 additions & 1 deletion src/data/iam-services/aws-iot-roborunner.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@
"documentationUrl": "https://docs.aws.amazon.com/iotroborunner/latest/api/API_ListDestinations.html",
"description": "Grants permission to list destinations",
"accessLevel": "Read",
"resourceTypes": [],
"resourceTypes": [
"SiteResource*"
],
"conditionKeys": [],
"dependentActions": []
},
Expand Down
27 changes: 27 additions & 0 deletions src/data/iam-services/aws-management-console-mobile-app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"serviceName": "AWS Management Console Mobile App",
"servicePrefix": "consoleapp",
"url": "https://docs.aws.amazon.com/service-authorization/latest/reference/./list_awsconsolemobileapp.html",
"actions": [
{
"name": "GetDeviceIdentity",
"documentationUrl": "https://docs.aws.amazon.com/consolemobileapp/latest/userguide/permissions-policies.html",
"description": "Grants permission to retrieve the device identity for a Console Mobile App device",
"accessLevel": "Read",
"resourceTypes": [
"DeviceIdentity*"
],
"conditionKeys": [],
"dependentActions": []
},
{
"name": "ListDeviceIdentities",
"documentationUrl": "https://docs.aws.amazon.com/consolemobileapp/latest/userguide/permissions-policies.html",
"description": "Grants permission to retrieve a list of device identities",
"accessLevel": "List",
"resourceTypes": [],
"conditionKeys": [],
"dependentActions": []
}
]
}
Loading

0 comments on commit 17f470c

Please sign in to comment.