In Shibumi, administrators can restrict the set of users who can access their enterprise, by pattern-matching on users’ email addresses. The patterns can be configured via the “Safelist” tab on the Enterprise Administration screen. This query allows administrators to fetch historic changes to the safelisted patterns.
This query is only accessible to Shibumi enterprise administrators. Other users will receive an error when attempting to run this query.
Results are sorted by modification time, with the most recent modification returned first.
Query
userDomainSafelistAudit (Connection to UserDomainSafelistAudit!)
Look up past user safelist changes. This query has a maximum page size of 100 items.
Argument | Type | Description |
---|---|---|
earliest | String! |
Only fetch changes after this date / time. See Date Values for the expected format. |
latest | String |
Only fetch changes before this date / time. See Date Values for the expected format. |
pattern | String |
Only fetch changes to this pattern. |
first | Int! |
See Pagination. |
after | String |
See Pagination. |
Example
{
userDomainSafelistAudit(first: 100) {
nodes {
patternAdded
patternRemoved
timestamp
}
}
}
{
"data": {
"userDomainSafelistAudit": {
"nodes": [
{
"patternAdded": "*@*.*",
"patternRemoved": null,
"timestamp": "2019-07-12T19:08:56.524Z"
},
{
"patternAdded": "*@shibumi.com",
"patternRemoved": null,
"timestamp": "2019-07-12T19:08:56.524Z"
}
]
}
}
}