-
Notifications
You must be signed in to change notification settings - Fork 2k
feat(m365): add defender_atp_safe_attachments_policy_enabled security check #9837
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
base: master
Are you sure you want to change the base?
feat(m365): add defender_atp_safe_attachments_policy_enabled security check #9837
Conversation
… check Add new security check defender_atp_safe_attachments_policy_enabled for m365 provider. Includes check implementation, metadata, and unit tests. Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
✅ All necessary |
b1d97a1 to
268e813
Compare
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #9837 +/- ##
==========================================
+ Coverage 86.60% 88.83% +2.22%
==========================================
Files 222 94 -128
Lines 5645 3565 -2080
==========================================
- Hits 4889 3167 -1722
+ Misses 756 398 -358
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
🔒 Container Security ScanImage: 📊 Vulnerability Summary
3 package(s) affected
|
…fender-atp-safe-attachments-policy-enabled
Move defender_atp_safe_attachments_policy_enabled entry from v5.17.0 (already released) to v5.18.0 unreleased section.
Context
Adds a new security check
defender_atp_safe_attachments_policy_enabledfor the m365 provider.Description
This PR adds a new security check for m365:
defender_atp_safe_attachments_policy_enabledSteps to review
prowler/providers/m365/services/defender/defender_atp_safe_attachments_policy_enabled/poetry run pytest tests/providers/m365/services/defender/defender_atp_safe_attachments_policy_enabled/ -vChecklist
Community Checklist
This feature/issue is listed in here or roadmap.prowler.com
Is it assigned to me, if not, request it via the issue/feature in here or Prowler Community Slack
Review if the code is being covered by tests.
Review if code is being documented following this specification https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
Review if backport is needed.
Review if is needed to change the Readme.md
Ensure new entries are added to CHANGELOG.md, if applicable.
SDK/CLI
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.