A cloud connection shows its health on its page. Each problem has a name, the account or project it affects, what it means, and the fix. Asiri names the fix in words, and as console steps, a CLI line or a policy. You apply the fix in your own cloud. Asiri never changes it.
Connection states
- Healthy: every read finished, and no problem is open.
- Needs attention: some part of the connection cannot be read. Every other part still counts.
- Failed: Asiri cannot reach the connection at all, so it stops reading it. Nothing is read until the problem is fixed.
- Disconnected: you disconnected it.
Asiri tells an approver and the Owner when a connection fails, when it needs attention for 24 hours, and when a part of it is not read on three reads in a row.
The problems
Role missing. The role was not found in an account, or the stack that made it has been deleted. The connection fails if the whole connection has lost its role, or shows the one account if others are fine. Fix: run the template again in that account, or check that the StackSet finished. Then choose Check now.
External ID does not match. The role exists, but its trust policy has an old external ID. Asiri cannot assume it. Fix: update the trust policy in that account so it uses this connection's external ID. The Permissions page has the policy, with a Copy button.
Trust principal mismatch (This role trusts a different Asiri). The role was made from another page or another environment. Fix: create the stack again from the Open in AWS link on this connection.
Role can write. The role has a permission that could change your account, so Asiri refuses it and reads nothing. The page names each permission. Fix: remove those permissions from the role, and check that the Deny list is still in it. If the Deny list is missing, update the stack.
KMS key policy blocks the role. A key that encrypts some of your resources does not name the role, so its settings cannot be read. The affected resources show Cannot tell. Fix: in the key policy, allow the role to call kms:DescribeKey.
Bucket policy blocks the role. A bucket policy stops the role reading the bucket's settings. Fix: change the bucket policy so the role can read those settings.
Region not enabled. Asiri read this opt-in region before, and it is off in that account now. Asiri no longer reads it, and the tests that need it show Not run. Fix: switch the region on again, or leave it out.
A region that is off in the account and that Asiri has never read is not a problem. It is listed as Not enabled, it does not make the connection Needs attention, and no fix is asked of you. Nothing was ever read there, so nothing is lost. Asiri knows a region was never read from its own record of its reads, so no extra permission is needed.
Region blocked by your organisation's policy. A service control policy stops reads in that region. It shows Not read, not a failure. Fix: ask whoever manages your organisation's policies to allow the region, or accept that it is not read.
Accounts over the limit. An organisation connection reads up to 500 accounts. Accounts past that are not read and are shown as such.
Throttled. AWS asked Asiri to slow down. Asiri backs off and reads that region first next time. There is nothing to do.
Out of time. A read ran past its time limit. Asiri tries again at the next read.
Unreachable. The provider did not answer after three tries. Asiri tries again at the next read.
Unexpected answer. The provider sent a reply Asiri does not recognise. Asiri names the problem and tries again at the next read.
API disabled (Google Cloud). An API is off in one project. That project shows Not read: API disabled, with the API's name. Fix: enable that API in the project.
Read history
Each read is kept. It shows what was found, what changed, and what could not be read, with the reason. An auditor can see when a connection went wrong and when it came back.
Check now
Choose Check now to read the connection again straight away. You can use it at most once every 5 minutes for each connection. Only an Owner or an Admin can choose it.
Common questions
Does a problem stop my tests from counting? Only the tests that need the part that cannot be read. They show Not run, never a pass or a fail. Everything else still counts.
Will Asiri fix a problem itself? No. Asiri never writes to your cloud. Apply the fix, then choose Check now, or wait for the next read.