mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-02 01:15:31 +00:00
chore(aws): update fixers docstring (#5874)
This commit is contained in:
1 parent
a4c92ea0ea
commit
a67e3f4c58
28 files changed
+128
-41
No files matched your search
+18
@@ -21,6 +21,9 @@ class Test_documentdb_cluster_backup_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_backup_enabled.documentdb_cluster_backup_enabled import (
|
||||
documentdb_cluster_backup_enabled,
|
||||
@@ -52,6 +55,9 @@ class Test_documentdb_cluster_backup_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_backup_enabled.documentdb_cluster_backup_enabled import (
|
||||
documentdb_cluster_backup_enabled,
|
||||
@@ -92,6 +98,9 @@ class Test_documentdb_cluster_backup_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_backup_enabled.documentdb_cluster_backup_enabled import (
|
||||
documentdb_cluster_backup_enabled,
|
||||
@@ -130,6 +139,9 @@ class Test_documentdb_cluster_backup_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_backup_enabled.documentdb_cluster_backup_enabled import (
|
||||
documentdb_cluster_backup_enabled,
|
||||
@@ -168,6 +180,9 @@ class Test_documentdb_cluster_backup_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_backup_enabled.documentdb_cluster_backup_enabled import (
|
||||
documentdb_cluster_backup_enabled,
|
||||
@@ -207,6 +222,9 @@ class Test_documentdb_cluster_backup_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_backup_enabled.documentdb_cluster_backup_enabled import (
|
||||
documentdb_cluster_backup_enabled,
|
||||
|
||||
+15
@@ -20,6 +20,9 @@ class Test_documentdb_cluster_cloudwatch_log_export:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_cloudwatch_log_export.documentdb_cluster_cloudwatch_log_export import (
|
||||
documentdb_cluster_cloudwatch_log_export,
|
||||
@@ -51,6 +54,9 @@ class Test_documentdb_cluster_cloudwatch_log_export:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_cloudwatch_log_export.documentdb_cluster_cloudwatch_log_export import (
|
||||
documentdb_cluster_cloudwatch_log_export,
|
||||
@@ -90,6 +96,9 @@ class Test_documentdb_cluster_cloudwatch_log_export:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_cloudwatch_log_export.documentdb_cluster_cloudwatch_log_export import (
|
||||
documentdb_cluster_cloudwatch_log_export,
|
||||
@@ -127,6 +136,9 @@ class Test_documentdb_cluster_cloudwatch_log_export:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_cloudwatch_log_export.documentdb_cluster_cloudwatch_log_export import (
|
||||
documentdb_cluster_cloudwatch_log_export,
|
||||
@@ -164,6 +176,9 @@ class Test_documentdb_cluster_cloudwatch_log_export:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_cloudwatch_log_export.documentdb_cluster_cloudwatch_log_export import (
|
||||
documentdb_cluster_cloudwatch_log_export,
|
||||
|
||||
+9
@@ -20,6 +20,9 @@ class Test_documentdb_cluster_deletion_protection:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_deletion_protection.documentdb_cluster_deletion_protection import (
|
||||
documentdb_cluster_deletion_protection,
|
||||
@@ -51,6 +54,9 @@ class Test_documentdb_cluster_deletion_protection:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_deletion_protection.documentdb_cluster_deletion_protection import (
|
||||
documentdb_cluster_deletion_protection,
|
||||
@@ -90,6 +96,9 @@ class Test_documentdb_cluster_deletion_protection:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_deletion_protection.documentdb_cluster_deletion_protection import (
|
||||
documentdb_cluster_deletion_protection,
|
||||
|
||||
+9
@@ -20,6 +20,9 @@ class Test_documentdb_cluster_multi_az_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_multi_az_enabled.documentdb_cluster_multi_az_enabled import (
|
||||
documentdb_cluster_multi_az_enabled,
|
||||
@@ -51,6 +54,9 @@ class Test_documentdb_cluster_multi_az_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_multi_az_enabled.documentdb_cluster_multi_az_enabled import (
|
||||
documentdb_cluster_multi_az_enabled,
|
||||
@@ -89,6 +95,9 @@ class Test_documentdb_cluster_multi_az_enabled:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_multi_az_enabled.documentdb_cluster_multi_az_enabled import (
|
||||
documentdb_cluster_multi_az_enabled,
|
||||
|
||||
+9
@@ -22,6 +22,9 @@ class Test_documentdb_cluster_public_snapshot:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_public_snapshot.documentdb_cluster_public_snapshot import (
|
||||
documentdb_cluster_public_snapshot,
|
||||
@@ -63,6 +66,9 @@ class Test_documentdb_cluster_public_snapshot:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_public_snapshot.documentdb_cluster_public_snapshot import (
|
||||
documentdb_cluster_public_snapshot,
|
||||
@@ -116,6 +122,9 @@ class Test_documentdb_cluster_public_snapshot:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_public_snapshot.documentdb_cluster_public_snapshot import (
|
||||
documentdb_cluster_public_snapshot,
|
||||
|
||||
+9
@@ -20,6 +20,9 @@ class Test_documentdb_cluster_storage_encrypted:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_storage_encrypted.documentdb_cluster_storage_encrypted import (
|
||||
documentdb_cluster_storage_encrypted,
|
||||
@@ -51,6 +54,9 @@ class Test_documentdb_cluster_storage_encrypted:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_storage_encrypted.documentdb_cluster_storage_encrypted import (
|
||||
documentdb_cluster_storage_encrypted,
|
||||
@@ -89,6 +95,9 @@ class Test_documentdb_cluster_storage_encrypted:
|
||||
with mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_service.DocumentDB",
|
||||
new=documentdb_client,
|
||||
), mock.patch(
|
||||
"prowler.providers.aws.services.documentdb.documentdb_client.documentdb_client",
|
||||
new=documentdb_client,
|
||||
):
|
||||
from prowler.providers.aws.services.documentdb.documentdb_cluster_storage_encrypted.documentdb_cluster_storage_encrypted import (
|
||||
documentdb_cluster_storage_encrypted,
|
||||
|
||||
Reference in new issue
Block a user