A connector test needs a connected system to read. This guide says, for each system, what Asiri reads for tests, how it is connected, and what to do when a test says Not run. Asiri only reads. It never changes anything in your systems, and it never reads what is stored in them.
Who can do this
Owners and Editors connect systems. Connecting a cloud account also needs someone who can make the access in that account.
The cloud providers
The three cloud guides already say how to connect and what is read. This guide does not repeat them.
- AWS: Asiri reads settings through a read-only role. See Connecting one AWS account, Connecting an AWS organisation and What Asiri reads in AWS.
- Azure: see Connecting Microsoft Azure.
- Google Cloud: see Connecting Google Cloud.
For every permission, see The permissions Asiri asks for. For how often each is read, see How often Asiri reads.
Update the AWS role to version 2
The tests for AWS grew, and some need reads that an older role cannot make. A test that needs one shows Not run, and its log says "Update the Asiri role to version 2". It is never a pass or a fail. A policy of your own that blocks a read, such as a service control policy, gives a different message that says a policy stopped it, and asks for no update.
- Open the AWS connection and choose Permissions.
- Update the Asiri-Connector stack in AWS with the template shown there.
- Press Check now, then Run now on the test.
Okta
Asiri reads the accounts, who holds an administrator role, the sign-in rules and the password policies of your Okta organisation. You connect it with the address of your Okta organisation and a read-only API token made by an administrator who holds at least the Read-only Administrator role. Accounts appear as an Asiri reference, never by name or address. It never reads passwords or anything that changes an account.
The tests ask, for example, whether everyone signs in with a second factor, whether every administrator has one, whether you have two to four Super Administrators, whether any account sits unused, and whether passwords have to be long enough.
If a read is refused, the test shows Not run and says to make the token again as an administrator with the right role, and store it again in Asiri.
JumpCloud
Asiri reads users, who is excused from the second factor and until when, administrators and the password length rule. You connect it with an API key made by a JumpCloud administrator. The Read Only role is enough. It keeps counts, states and references, and no name, address or username. It never reads passwords or device data.
The tests ask whether everyone signs in with a second factor, whether anyone is excused for long, whether every administrator has one, whether you have two to five administrators and whether passwords are long enough.
GitHub
You connect GitHub by signing in and installing the Asiri GitHub App on your organisation. The App asks for read access to metadata, administration settings and members, and nothing more. Asiri reads the names of repositories, whether they are private, the default branch and its protection, whether reviews are required, secret scanning and dependency alerts, and whether the organisation requires two-factor sign-in. It never reads source code, issues, pull request contents or secrets.
GitLab
You connect GitLab by signing in, or with a group or personal access token. Either way Asiri asks only for the read_api scope. The same code tests run on GitLab as on GitHub, over the same facts. It never reads source code, issues, merge request contents or secrets.
The code tests ask whether main branches are protected, whether changes need a second person's review, whether leaked secrets are caught, whether vulnerable libraries are flagged, whether history on main branches can be rewritten, whether changes must pass their checks before they merge, and whether anyone can approve their own change.
When a test says Not run
A refused read is never counted as a pass or a fail. Open the test and read To fix it in its run log. After you fix it, press Run now.
Common questions
Does Asiri change anything in my systems? No. Every connection is read only.
Which tests will a connection give me? Open Tests under Checks and filter by Connection. Each connector test names the system it reads.
Can I disconnect later? Yes. See Disconnecting a cloud connection for the cloud, and the connection's own page for the others.