New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Azure): Entra service with two checks #3510
Conversation
…er_cannot_create_tenants`
…er_cannot_create_apps`
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3510 +/- ##
==========================================
+ Coverage 85.89% 85.98% +0.08%
==========================================
Files 670 674 +4
Lines 20826 20894 +68
==========================================
+ Hits 17889 17965 +76
+ Misses 2937 2929 -8 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
report.subscription = "All" | ||
report.resource_name = "Default Authorization Policy" | ||
report.resource_id = "Default Authorization Policy" | ||
report.status_extended = "Tenants creation is not disabled for non-admin users." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check this status extended please.
) | ||
except Exception as error: | ||
logger.error( | ||
f"ERROR: {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f"ERROR: {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}" | |
f"{error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}" |
) | ||
except Exception as error: | ||
logger.error( | ||
f"ERROR: {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f"ERROR: {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}" | |
f"{error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔝
Context
Add new Microsoft Entra service and checks for Azure. The core code of the service was provided by my partner @pedrooot 🚀
Description
Add this checks with his respective unit tests:
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.