I had the pleasure to be speaker for The Azure Group (Toronto, Canada) for a session about Azure Defender.
Please find below my slides:
Do not hesitate to reach me if you have any questions.
In this article, I will show you how you check the expiration date of your service principal.
# - Replace the SD_ID value by your Service Principal Id SP_ID=14c0b2f2-1436-4cf3-b352-497103787a9c # - Run the query az ad sp credential list --id $SP_ID --query ".endDate" -o tsv
It’s very easy to deploy this solution, please clone the following repository and run this command to deploy the solution:
kubectl apply -k .
Once you’ve deployed the application, if you haven’t set up an ingress, you can access the web-UI using port-forward:
kubectl -n gatekeeper-system port-forward svc/gatekeeper-policy-manager 8080:80
For a production usage of this solution, I recommend you to configure the OIDC authentication.