s365b.modules.entra.sources¶
What the Entra module reads from Microsoft Graph.
Each Category becomes one protected object (so a job can select,
say, only Conditional Access, and a missing licence for one category does
not fail the others). A category reads one or more Source s.
Attributes¶
Classes¶
Module Contents¶
- s365b.modules.entra.sources.USER_FIELDS = 'id,userPrincipalName,displayName,givenName,surname,mail,mailNickname,accountEnabled,userType,job...[source]¶
- s365b.modules.entra.sources.GROUP_FIELDS = 'id,displayName,description,mail,mailEnabled,mailNickname,securityEnabled,groupTypes,visibility,m...[source]¶
- class s365b.modules.entra.sources.Link[source]¶
A related list stored inside each item, e.g. a group’s members.
- Variables:
field – Key the list is stored under (prefixed with
_so it cannot clash with Graph properties).url – URL template;
{id}is the item’s ID.when – Only fetch for items where this returns True.
- class s365b.modules.entra.sources.Source[source]¶
One Graph collection (or single object) read by a category.
- Variables:
key – Unique source ID; the item key of singletons.
item_type – Item type of what it yields.
label – Shown as the item’s folder in the browse view.
url – Graph URL.
params – Query parameters.
singleton – The URL returns one object, not a collection.
links – Related lists fetched for each item.
keep – Only store items where this returns True (all items are still used for names, e.g. built-in role definitions).
meta – Item fields copied to the searchable metadata.