Closed danibarranqueroo closed 2 months ago
Attention: Patch coverage is 85.71429%
with 9 lines
in your changes missing coverage. Please review.
Project coverage is 89.08%. Comparing base (
f746a9e
) to head (2b609ff
). Report is 35 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
.../providers/aws/services/neptune/neptune_service.py | 80.00% | 9 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Context
To enhance data security and comply with best practices for database management, we are adding a new check within the Neptune framework. This check ensures that DB cluster snapshots are not publicly accessible.
The only way to create a public snapshot is by originating it from an unencrypted Neptune cluster. Initially, the snapshot will be private, but you can share it with anyone, making it publicly accessible. Internally, AWS achieves this by setting an attribute called "restore" to "all."
Description
I added
neptune_cluster_public_snapshot
with his respective unit test. In order to do that I have addedClusterSnapshot
model toneptune_service.py
with his respective unit test.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.