Sign inSign up

dohusim/auth-checker

By dohusim

•Updated over 2 years ago

Checking the latest authorization of Azure AD users via MS Graph

Image
Security
API management
Monitoring & observability
1

729

dohusim/auth-checker repository overview

⁠Docker run

$ 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

⁠Environment variables

VariableDefault valueDescription
TENANT_ID-tenant ID from MS Entra
CLENT_ID-enterprise application ID from MS Entra
CLIENT_SECRET-application secret from MS Entra
RUN_FREQUENCY_DAYS7frequency of script execution in days
PENALTY_DAYS30number of days after which authorization is considered expired
USER_FILTER-filter for MS GRAPG UsersRequestBuilder
SMTP_SERVERsmtp.office365.comSMTP server address
SMTP_PORT587SMTP server port
SMTP_USER-SMTP user authorization
SMTP_PASSWORD-SMTP user password authorization
MAIL_TO-mail where the results will be sent
MAIL_SUBJECTUsers auth penalty checkmail subject

Tag summary

Content type

Image

Digest

sha256:2832a581d…

Size

137.8 MB

Last updated

over 2 years ago

docker pull dohusim/auth-checker