Skip to content

Frameworks

Marketplace

Platform

Resources

↑↓ to moveEnter to openHelp, news and every page are found here too

The permissions Asiri asks for

Every permission Asiri asks for in AWS, Google Cloud and Azure, with the 17 actions the AWS role refuses by name.

Updated

Asiri only reads. This guide lists every permission it asks for in AWS, Google Cloud and Azure. It is written from the setup files you create the access with, so it says what those files say.

AWS

The stack creates one role, AsiriAuditor. It has two kinds of permission.

  • Managed by AWS. arn:aws:iam::aws:policy/SecurityAudit.
  • Added by Asiri. A policy named AsiriReadAdditions with the reads below, and a Deny list.

The role trusts one thing only: Asiri's connector role, and only when it presents the external id of this connection. A session lasts at most 1 hour.

What the role is allowed to read, beyond SecurityAudit

  • account:GetAlternateContact
  • account:ListRegions
  • acm:DescribeCertificate
  • acm:ListCertificates
  • backup:GetBackupPlan
  • backup:GetBackupSelection
  • backup:ListBackupPlans
  • backup:ListBackupSelections
  • backup:ListBackupVaults
  • backup:ListProtectedResources
  • cloudfront:ListDistributions
  • ec2:DescribeVolumes
  • ecr:DescribeImageScanFindings
  • ecr:GetRegistryScanningConfiguration
  • elasticloadbalancing:DescribeLoadBalancerAttributes
  • identitystore:ListUsers
  • inspector2:ListCoverage
  • inspector2:ListFindingAggregations
  • inspector2:ListFindings
  • lambda:GetFunctionUrlConfig
  • lambda:ListFunctionUrlConfigs
  • macie2:GetMacieSession
  • macie2:ListClassificationJobs
  • s3:GetBucketObjectLockConfiguration
  • secretsmanager:ListSecrets
  • securityhub:DescribeHub
  • securityhub:GetEnabledStandards
  • sns:GetTopicAttributes
  • sns:ListTopics
  • sqs:GetQueueAttributes
  • sqs:ListQueues
  • sso:DescribePermissionSet
  • sso:ListInstances
  • sso:ListManagedPoliciesInPermissionSet
  • sso:ListPermissionSets
  • tag:GetResources
  • tag:GetTagKeys
  • wafv2:GetLoggingConfiguration
  • wafv2:GetWebACLForResource
  • wafv2:ListWebACLs

Added in the management account of an organisation

  • organizations:DescribeAccount
  • organizations:DescribeOrganization
  • organizations:ListAccounts
  • organizations:ListAccountsForParent
  • organizations:ListOrganizationalUnitsForParent
  • organizations:ListPolicies
  • organizations:ListPoliciesForTarget
  • organizations:ListRoots
  • organizations:ListTagsForResource

The Deny list

These actions are refused by name in every role, whatever else the role is given. They are the ones that would read what is stored in your account.

  • athena:GetQueryResults
  • datapipeline:EvaluateExpression
  • datapipeline:QueryObjects
  • dynamodb:BatchGetItem
  • dynamodb:GetItem
  • dynamodb:Query
  • dynamodb:Scan
  • glue:GetTable*
  • kms:Decrypt
  • lambda:GetFunction
  • logs:FilterLogEvents
  • logs:GetLogEvents
  • logs:StartQuery
  • rds:DownloadDBLogFilePortion
  • s3:GetObject*
  • secretsmanager:GetSecretValue
  • ssm:GetParameter*

Asiri also checks the role before it reads anything. If the role holds any permission that can change something in your account, Asiri refuses the connection and lists the permissions.

Google Cloud

Asiri makes no key and no service account key. The setup gives a workload identity pool that trusts Asiri's connector role these roles:

  • roles/iam.securityReviewer
  • roles/cloudasset.viewer
  • roles/browser

and a custom role, AsiriReadAdditions, with these permissions:

  • cloudkms.cryptoKeys.list
  • cloudsql.instances.list
  • compute.firewalls.list
  • iam.serviceAccountKeys.list
  • logging.sinks.list
  • orgpolicy.policies.get
  • storage.buckets.getIamPolicy

Azure

Asiri makes no secret, key or certificate. After your administrator approves Asiri's application, the setup gives it these read roles:

  • Reader
  • Security Reader

and, only if you ask for it:

  • Key Vault Reader

Related guides

Can’t find what you need? Contact us.