Connectors
awzy decides better when it knows what a resource is and why someone would need it. Connectors read that from your systems of record and keep awzy-context up to date. They read metadata only: names, folders, sharing, and assignments, never a file’s content. Two are built: Google Drive and Jira. Both are off until someone on your security team sets them up on the client portal’s Connectors page.
What they add to decisions
Section titled “What they add to decisions”- Google Drive brings each shared drive’s files and folders in as resources, with their sharing. Policies can then tell a file shared with everyone from one shared with a single team, and awzy-context classifies each file’s sensitivity where its rules can.
- Jira brings in open issues as work: who they’re assigned to, and the Drive files each issue
cites in its description or links. When a check’s resource is linked from work assigned to the
principal, the PDP sets
context.assigned. The built-in policies use it to tell ordinary work from reaching outside it: a contractor, or an AI agent acting for someone, reaching confidential data that none of their work links needs approval.
Without Jira, context.assigned is absent, and those policies don’t apply.
Google Drive
Section titled “Google Drive”In Google Workspace:
- Create a Google Cloud service account and a JSON key for it.
- In the Admin console, give the service account domain-wide delegation for these scopes:
https://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/admin.directory.group.readonly
- Pick a member user for the connector to act as, and add them as a Content manager of each shared drive awzy should cover. Drives they aren’t in stay out of awzy.
- Optionally, pick an admin user, so group shares are named the way your IdP names groups.
In the client portal, on the Connectors page, set up Google Drive:
| Field | |
|---|---|
| Acts as | The member user from step 3 |
| Reads groups as | The admin from step 4. Optional |
| Domain | Your domain. Default: the subject’s |
| Service account key | The service account’s JSON key |
The connector crawls every covered drive when it starts, then follows each drive’s changes every five minutes. Files that leave Drive leave awzy-context.
In Jira Cloud: use an account that can browse the projects awzy should see, and create an Atlassian API token for it. Assignees are matched to people by email, so the account must be able to see users’ emails (your Atlassian organization’s email visibility). This also assumes your IdP’s user names are email addresses.
In the client portal, on the Connectors page, set up Jira:
| Field | |
|---|---|
| Site | https://<your-site>.atlassian.net |
| Account | The account’s email |
| Projects | Project keys to cover. Default: every project the account can browse |
| Watchers | Counts an issue’s watchers as working on it, like its assignee. It costs one more Jira call per issue. Default: off |
| API token | The account’s API token |
The connector reads open issues when it starts and again daily, and issues updated since its last round every five minutes. Done issues no longer count as work.
Credentials and changes
Section titled “Credentials and changes”Saving a connector asks for a touch of your security key, as switching enforcement does: a connector decides what awzy can read. Its credential goes to your cloud’s secrets manager, where the portal can write it and nothing in awzy but the connectors can read it; the portal never shows it again, only when it was last set. A change reaches the connector within a minute or two, and it starts over with a full read.
Checking that they work
Section titled “Checking that they work”The Connectors page shows whether each one is syncing, when it last synced, and its last error.
awzy-connectors also serves Prometheus metrics. awzy_connectors_drive_sync_age_seconds says how long
ago Drive last synced. The Jira connector counts assignees it couldn’t match to a person
(unmapped_assignees); a growing count usually means hidden emails.
Other sources, such as Okta, Workday, and code hosts, aren’t built yet.