Permissions Query Attributes
config from iam where source.cloud.account = 'Production' AND source.cloud.resource.type = 'user'config from iam where source.cloud.account != dest.cloud.accountconfig from iam where source.cloud.account.isvendor = trueconfig from iam where source.cloud.account DOES NOT START WITH 'Red' and source.cloud.account.isvendor = trueconfig from iam where source.cloud.accountgroup = 'All my AWS accounts' AND source.cloud.service.name = 'ec2' AND source.cloud.resource.type = 'instance'config from iam where source.cloud.accountgroup = 'All my Azure accounts' AND source.cloud.service.name = 'Microsoft.Compute' AND source.cloud.resource.type = 'virtualMachines'config from iam where source.cloud.type = 'AZURE' AND source.cloud.azure.user.isAppRegistrationOwner = true AND grantedby.cloud.entity.type = 'Service Principal' AND dest.cloud.azure.group.isadministrative.grantedby.level.type in (('AppRoleAssignment.ReadWrite.AllRole', 'Management.ReadWrite.Directory'), ('Azure Management Group', 'Azure Subscription' ) )config from iam where source.cloud.type = 'AZURE' AND source.cloud.azure.user.isAppRegistrationAdmin = true AND grantedby.cloud.entity.type = 'Service Principal' AND dest.cloud.azure.group.isadministrative.grantedby.level.type in (('AppRoleAssignment.ReadWrite.AllRole', 'Management.ReadWrite.Directory'), ('Azure Management Group', 'Azure Subscription' ) )config from iam where source.cloud.type = 'AZURE' AND source.cloud.azure.user.canImpersonateAppReg = true AND grantedby.cloud.entity.type = 'Service Principal' AND dest.cloud.azure.group.isadministrative.grantedby.level.type in (('AppRoleAssignment.ReadWrite.AllRole', 'Management.ReadWrite.Directory'), ('Azure Management Group', 'Azure Subscription' ) )config from iam where source.cloud.type = 'AZURE' AND source.cloud.service.name = 'Microsoft.Compute' and source.cloud.resource.type ='virtualMachines' AND action.name IN ('GroupMember.ReadWrite.All', 'RoleManagement.ReadWrite.Directory', 'AppRoleAssignment.ReadWrite.All', 'RoleManagement.ReadWrite.Directory', 'RoleManagement.ReadWrite.Directory')config from iam where source.cloud.type = 'AZURE' AND source.cloud.service.name = 'Microsoft.Compute' and source.cloud.resource.type ='virtualMachines' and grantedby.cloud.entity.type = 'AppRegistration' and grantedby.cloud.policy.type = 'Microsoft Graph' and action.name in ('Files.Read.All', 'Files.ReadWrite.All','Sites.Read.All','Sites.ReadWrite.All','Sites.FullControl.All','Sites.Selected','Mail.ReadWrite','Mail.Read')config from iam where source.cloud.type = 'AWS'config from iam where source.cloud.type = 'AZURE'config from iam where source.cloud.region = 'AWS Virginia' AND source.cloud.service.name = 'lambda' AND source.cloud.resource.type = 'function'config from iam where source.cloud.resource.tag ( 'string' ) existsconfig from iam where source.cloud.service.name = 'EC2'config from iam where source.cloud.service.name = 'Microsoft.Compute'config from iam where source.cloud.resource.id = 'arn:aws:lambda:us-east-2:123456789012:function:my-function'config from iam where source.cloud.resource.id = '/subscriptions/aaaaa-bbb-ccc-ddd-eeeee/resourceGroups/resource-group/providers/Microsoft.Compute/virtualMachines/my-machine'config from iam where source.cloud.service.name = 'EC2'config from iam where source.cloud.service.name = 'Microsoft.Compute'config from iam where source.cloud.service.name = 'compute' and dest.cloud.type = 'GCP'config from iam where source.cloud.service.name = 'lambda' AND source.cloud.resource.type = 'function'config from iam where source.cloud.service.name = 'Microsoft.Compute' and source.cloud.resource.type = 'function'config from iam where source.email = 'my@email.com'config from iam where source.idp.service = 'Okta'config from iam where source.idp.service = 'Azure Active Directory'config from iam where source.idp.email = 'my@email.com'config from iam where source.idp.group = 'my-group'config from iam where source.idp.username = 'my-username'config from iam where source.idp.domain = 'my-domain.okta.com'config from iam where source.MFAenabled = trueconfig from iam where source.public = true AND dest.cloud.service.name = 'S3' AND dest.cloud.resource.type = 'bucket'config from iam where grantedby.cloud.policy.condition ('aws:sourceIP', 'IpAddress') existsconfig from iam where grantedby.cloud.type = 'AWS'config from iam where grantedby.cloud.type = 'AZURE'config from iam where grantedby.cloud.policy.id = 'arn:aws:iam::aws:policy/AdministratorAccess'
Last updated
Was this helpful?

