Checking the latest authorization of Azure AD users via MS Graph
729
$ docker run -d \
--name=auth-checker \
-e TENANT_ID=<Your tenant ID> \
-e CLIENT_ID=<Your app ID> \
-e CLIENT_SECRET=<Your app secret> \
-e RUN_FREQUENCY_DAYS=7 \
-e PENALTY_DAYS=30 \
-e USER_FILTER=<Example: endswith(mail,'@tenant-domain.com')> \
-e SMTP_USER=<SMTP user> \
-e SMTP_PASSWORD=<SMTP user password> \
-e MAIL_TO=<Mail to> \
-v ~/.auth-checker/auth-files:/auth-checker/auth-files \
-v ~/.auth-checker/logs:/auth-checker/logs \
--restart unless-stopped \
dohusim/auth-checker:latest
| Variable | Default value | Description |
|---|---|---|
TENANT_ID | - | tenant ID from MS Entra |
CLENT_ID | - | enterprise application ID from MS Entra |
CLIENT_SECRET | - | application secret from MS Entra |
RUN_FREQUENCY_DAYS | 7 | frequency of script execution in days |
PENALTY_DAYS | 30 | number of days after which authorization is considered expired |
USER_FILTER | - | filter for MS GRAPG UsersRequestBuilder |
SMTP_SERVER | smtp.office365.com | SMTP server address |
SMTP_PORT | 587 | SMTP server port |
SMTP_USER | - | SMTP user authorization |
SMTP_PASSWORD | - | SMTP user password authorization |
MAIL_TO | - | mail where the results will be sent |
MAIL_SUBJECT | Users auth penalty check | mail subject |
Content type
Image
Digest
sha256:2832a581d…
Size
137.8 MB
Last updated
over 2 years ago
docker pull dohusim/auth-checker