Pepe Fagoaga and Víctor Fernández Poyatos
95dc87a91b
chore(partitions): add env to create partitions ( #68 )
...
* fix(partitions): Use calendar months
* fix: unit to get partition datetime
* fix: imports
* fix: format
* chore: merge
* fix(partitions): Only allow month as unit
* fix(uuid7_end): default months to 1
* test: fix test_uuid7_end
* test: reset expected dt to start of month
* fix: tests uuid utils
* docs: we only allow months
---------
Co-authored-by: Víctor Fernández Poyatos <victor@prowler.com >
2024-11-08 09:34:32 +01:00
Pepe Fagoaga
01045c973f
chore(partitions): add env to create partitions ( #61 )
...
* chore(partitions): add env to create partitions
* chore(partitions): rename env to DJANGO_MANAGE_DB_PARTITIONS
* chore(partitions): use True|False as value
* fix: begin comment with uppercase
2024-10-29 16:16:09 +01:00
Pepe Fagoaga
f666711a2a
fix(vpc_endpoint_services_allowed_principals_trust_boundaries): Principal ( #2991 )
2023-10-31 14:19:20 +01:00
Pepe Fagoaga
373ce0ad04
fix(GuardDuty): Add enabled_in_account parameter ( #2979 )
2023-10-30 19:39:22 +01:00
Pepe Fagoaga
fcc56ad6f7
chore(allowlist): Extract allowlist from report ( #2975 )
2023-10-30 09:52:59 +01:00
Pepe Fagoaga
8533714cb2
tests: remove tests folder after execution ( #2962 )
2023-10-24 16:29:18 +02:00
Pepe Fagoaga
170241649d
fix(ec2_securitygroup_not_used): Mock Lambda service ( #2947 )
2023-10-19 17:05:04 +02:00
Pepe Fagoaga
b5455215a5
fix(sqs): Handle AWS.SimpleQueueService.NonExistentQueue in list_queue_tags ( #2939 )
2023-10-17 20:45:22 +02:00
Pepe Fagoaga
388678f822
chore(docs): Add report.region criteria ( #2930 )
2023-10-16 14:50:11 +02:00
Pepe Fagoaga
aff2b80d55
docs(pull-request): Include check list to create/review PR ( #2913 )
2023-10-09 16:33:58 +02:00
Pepe Fagoaga
39b6ce3352
fix(dockerfile): Use latest curl ( #2897 )
2023-10-03 08:48:32 +02:00
Pepe Fagoaga
583194085c
test(utils): Include missing tests ( #2884 )
2023-10-02 11:29:09 +02:00
Pepe Fagoaga
a7980a202d
fix(aws): Include missing ARNs ( #2880 )
2023-10-02 08:45:06 +02:00
Pepe Fagoaga
6cd272da37
docs(developer-guide): fix typos ( #2878 )
2023-09-29 13:12:05 +02:00
Pepe Fagoaga
4d6d58ef91
fix(autoscaling_find_secrets_ec2_launch_configuration): Fix UnicodeDecodeError ( #2870 )
2023-09-28 17:13:17 +02:00
Pepe Fagoaga
b679df4fbe
docs(aws): Move regions and profiles to AWS ( #2874 )
2023-09-27 23:23:31 +02:00
Pepe Fagoaga
f8b4e6e8f0
fix(iam): Handle NoSuchEntity when calling list_role_policies ( #2872 )
2023-09-27 09:37:07 +02:00
Pepe Fagoaga
7ecb4d7b00
fix(s3_bucket_policy_public_write_access): Handle S3 Policy without Principal ( #2871 )
2023-09-27 09:35:26 +02:00
Pepe Fagoaga
1697e6ad62
fix(outputs_unix_timestamp): Remove subsecond ( #2861 )
2023-09-26 16:02:52 +02:00
Pepe Fagoaga and Sergio Garcia
6687f76736
refactor(security_hub): Send findings in batches ( #2868 )
...
Co-authored-by: Sergio Garcia <sergargar1@gmail.com >
2023-09-26 14:10:25 +02:00
Pepe Fagoaga
87ddb6b171
fix(apigw): KeyError name ( #2858 )
2023-09-22 11:23:37 +02:00
Pepe Fagoaga
c0d45d730f
fix(elbv2): Handle LoadBalancerNotFound ( #2860 )
2023-09-22 11:23:21 +02:00
Pepe Fagoaga
2a5a07bae0
fix(ds): GetSnapshotLimits for MicrosoftAD ( #2859 )
2023-09-22 11:22:42 +02:00
Pepe Fagoaga
18e34c670e
fix(iam): Handle NoSuchEntityException in ListRolePolicies ( #2857 )
2023-09-22 11:21:33 +02:00
Pepe Fagoaga
a980b2606b
fix(cloudtrail_s3_dataevents_read/write_enabled): Handle S3 ARN ( #2844 )
2023-09-15 11:36:40 +02:00
Pepe Fagoaga
21c52db66b
test(vpc_endpoint_services_allowed_principals_trust_boundaries) ( #2768 )
2023-08-25 10:56:47 +02:00
Pepe Fagoaga
13cfa02f80
fix(test): Update moto to 4.1.15 and update tests ( #2769 )
2023-08-25 10:56:39 +02:00
Pepe Fagoaga
eedfbe3e7a
fix(iam_policy_allows_privilege_escalation): Not use search for checking API actions ( #2772 )
2023-08-25 10:56:28 +02:00
Pepe Fagoaga
fe03eb4436
docs: explain output formats ( #2774 )
2023-08-25 10:56:15 +02:00
Pepe Fagoaga
d8e45d5c3f
docs: Include new config ecr_repository_vulnerability_minimum_severity ( #2775 )
2023-08-25 10:56:04 +02:00
Pepe Fagoaga
cb76e5a23c
chore(s3): Move lib to the AWS provider and include tests ( #2664 )
2023-08-23 16:12:48 +02:00
Pepe Fagoaga
06a0b12efb
fix(iam_policy_allows_privilege_escalation): Handle admin permission so * ( #2763 )
2023-08-23 10:40:06 +02:00
Pepe Fagoaga
d5bd5ebb7d
chore(parser): Move provider logic to their folder ( #2746 )
2023-08-23 10:33:36 +02:00
Pepe Fagoaga
590a5669d6
fix(nacls): Tests ( #2760 )
2023-08-22 22:26:19 +02:00
Pepe Fagoaga
c13cab792b
docs(testing): Mocking the service and the service client at the service client level ( #2747 )
2023-08-21 09:05:57 +02:00
Pepe Fagoaga
80aa463aa2
fix(checks_to_execute): --checks and --resource_arn working together ( #2743 )
2023-08-21 09:04:15 +02:00
Pepe Fagoaga
7c45cb45ae
feat(ecr_repositories_scan_vulnerabilities_in_latest_image): Minimum severity is configurable ( #2736 )
2023-08-18 09:17:02 +02:00
Pepe Fagoaga
ac11c6729b
chore(tests): Replace sure with standard assert ( #2738 )
2023-08-17 11:36:45 +02:00
Pepe Fagoaga
1677654dea
docs(audit_config): How to use it ( #2739 )
2023-08-17 11:36:32 +02:00
Pepe Fagoaga
bc5a7a961b
tests(check_security_group) ( #2740 )
2023-08-17 11:36:17 +02:00
Pepe Fagoaga
8f091e7548
fix(gcp): Status extended ends with a dot ( #2734 )
2023-08-16 10:14:41 +02:00
Pepe Fagoaga
8cdc7b18c7
fix(test-vpc): use the right import paths ( #2732 )
2023-08-16 09:17:18 +02:00
Pepe Fagoaga
1e1859ba6f
docs(style): Add more details ( #2724 )
2023-08-15 09:26:48 +02:00
Pepe Fagoaga
465e64b9ac
fix(azure): Status extended ends with a dot ( #2725 )
2023-08-14 21:48:16 +02:00
Pepe Fagoaga
fc53b28997
test(s3): Mock S3Control when used ( #2722 )
2023-08-14 21:48:05 +02:00
Pepe Fagoaga
72e701a4b5
fix(security): GitPython issue ( #2720 )
2023-08-14 21:09:12 +02:00
Pepe Fagoaga
2298d5356d
test(coverage): Add Codecov ( #2719 )
2023-08-14 21:08:45 +02:00
Pepe Fagoaga
54137be92b
test(python): 3.9, 3.10, 3.11 ( #2718 )
2023-08-14 21:08:29 +02:00
Pepe Fagoaga
4454d9115e
chore(aws): 2nd round - Improve tests and include dot in status extended ( #2714 )
2023-08-12 01:41:35 +02:00
Pepe Fagoaga
0313dba7b4
chore(aws): Improve tests and status from accessanalyzer to cloudwatch ( #2711 )
2023-08-11 11:04:04 +02:00
Pepe Fagoaga
3fafac75ef
docs(dev-guide): Fix a list and include some details to use the report ( #2710 )
2023-08-11 11:01:58 +02:00
Pepe Fagoaga and Sergio Garcia
474e39a4c9
docs(developer-guide): Update checks, services and include testing ( #2705 )
...
Co-authored-by: Sergio Garcia <sergargar1@gmail.com >
2023-08-10 17:28:35 +02:00
Pepe Fagoaga
9340ae43f3
fix(ds): Restore enums without optional ( #2704 )
2023-08-10 13:43:31 +02:00
Pepe Fagoaga
3aba71ad2f
docs(aws-orgs): Update syntax ( #2703 )
2023-08-10 12:40:17 +02:00
Pepe Fagoaga
f4308032c3
fix(cloudfront): fix ViewerProtocolPolicy and GeoRestrictionType ( #2701 )
2023-08-10 12:02:49 +02:00
Pepe Fagoaga
d41b0332ac
feat(athena): New AWS Athena service + 2 workgroup checks ( #2696 )
2023-08-10 10:23:17 +02:00
Pepe Fagoaga
7258466572
fix(iam): password policy expiration ( #2694 )
2023-08-10 10:10:20 +02:00
Pepe Fagoaga
76db92ea14
chore(service): service class type hints ( #2695 )
2023-08-10 10:01:54 +02:00
Pepe Fagoaga
13059e0568
fix(ec2-securitygroups): Handle IPv6 public ( #2690 )
2023-08-09 10:08:30 +02:00
Pepe Fagoaga
9e8023d716
fix(config): Pass a configuration file using --config-file config.yaml ( #2679 )
2023-08-09 09:52:45 +02:00
Pepe Fagoaga
513fd9f532
fix(iam-dynamodb): Handle errors ( #2680 )
2023-08-07 10:04:19 +02:00
Pepe Fagoaga
bf77f817cb
chore(azure): Improve AzureService class with __set_clients__ ( #2676 )
2023-08-04 13:04:05 +02:00
Pepe Fagoaga
1797b54259
test(azure): Storage Service ( #2672 )
2023-08-03 15:07:17 +02:00
Pepe Fagoaga
f289c8fb2e
test(azure): SQL Server Service ( #2671 )
2023-08-03 14:43:18 +02:00
Pepe Fagoaga
e4ad881a69
test(azure): IAM service ( #2670 )
2023-08-03 14:15:34 +02:00
Pepe Fagoaga
138bca38e7
test(azure): Defender service ( #2669 )
2023-08-03 13:52:55 +02:00
Pepe Fagoaga
efa75a62e3
fix(iam_policy_allows_privilege_escalation): Handle permissions in groups ( #2655 )
2023-08-03 10:40:51 +02:00
Pepe Fagoaga
5763bca317
refactor(vpc_endpoint_connections_trust_boundaries) ( #2667 )
2023-08-03 09:56:09 +02:00
Pepe Fagoaga
c335334402
fix(test_only_aws_service_linked_roles): Flaky test ( #2666 )
2023-08-03 09:18:06 +02:00
Pepe Fagoaga
5bf3f70717
fix(vpc_endpoint_connections_trust_boundaries): Handle AWS Account ID as Principal ( #2611 )
2023-08-03 09:16:58 +02:00
Pepe Fagoaga
92c8a440ea
feat(gcp): Add internet-exposed and encryption categories ( #2663 )
2023-08-02 15:53:12 +02:00
Pepe Fagoaga
b92d8a014c
fix(cryptography): Update to 41.0.3 ( #2661 )
2023-08-02 11:47:51 +02:00
Pepe Fagoaga
61beacf085
fix(docs): Azure auth and Slack integration ( #2659 )
2023-08-02 11:18:45 +02:00
Pepe Fagoaga
02f432238e
fix(outputs): Not use reserved keyword list as variable ( #2657 )
2023-08-02 09:00:04 +02:00
Pepe Fagoaga
7bdca0420e
fix(cloudtrail): Set status to INFO when trail is outside the audited account ( #2643 )
2023-07-31 17:50:21 +02:00
Pepe Fagoaga
3aa1fbced9
feat(azure_service): New parent class ( #2642 )
2023-07-31 16:03:49 +02:00
Pepe Fagoaga
dbbb70027a
feat(gcp_service): Parent class ( #2641 )
2023-07-31 15:01:25 +02:00
Pepe Fagoaga
b4e78d28f8
fix(test): mock VPC client ( #2640 )
2023-07-31 11:19:15 +02:00
Pepe Fagoaga
e3d4e38a59
feat(aws): New AWSService class as parent ( #2638 )
2023-07-31 11:18:54 +02:00
Pepe Fagoaga
386f558eae
fix(ec2_instance_secrets_user_data): Include line numbers in status ( #2639 )
2023-07-31 10:33:34 +02:00
Pepe Fagoaga
8ee3744027
chore(security-hub): Explain Unique ID ( #2631 )
2023-07-27 13:39:12 +02:00
Pepe Fagoaga
a5c63845b4
test: security groups ( #2627 )
2023-07-26 16:29:27 +02:00
Pepe Fagoaga
a51fa7703b
fix(security): certifi issue ( #2623 )
2023-07-26 12:45:07 +02:00
Pepe Fagoaga
2fe767e3e5
fix(ecs_task_def_secrets): Improve description to explain findings ( #2621 )
2023-07-25 18:26:22 +02:00
Pepe Fagoaga
47a82560ea
fix(s3): __get_object_lock_configuration__ warning logs ( #2608 )
2023-07-24 10:49:50 +02:00
Pepe Fagoaga
f7bbcc98b3
docs(boto3-configuration): format list ( #2609 )
2023-07-24 10:47:55 +02:00
Pepe Fagoaga
28ea37f367
test(aws_provider): Role and User MFA ( #2486 )
2023-07-18 09:36:37 +02:00
Pepe Fagoaga
02519a4429
fix(assume_role): Set the AWS STS endpoint region ( #2587 )
2023-07-17 10:09:48 +02:00
Pepe Fagoaga
6575121b7a
fix(ssm_incidents): Handle empty name ( #2591 )
2023-07-17 09:20:44 +02:00
Pepe Fagoaga
5b66368f0d
fix(opensearch): log exception as WARNING ( #2581 )
2023-07-17 09:18:42 +02:00
Pepe Fagoaga
f33b96861c
release: v3.7.1 ( #2578 )
2023-07-13 16:48:18 +02:00
Pepe Fagoaga
7ab8c6b154
fix(iam): Handle NoSuchEntityException when calling list_attached_role_policies ( #2571 )
2023-07-12 12:48:57 +02:00
Pepe Fagoaga
11a8ba131a
test(outputs): Remove debug ( #2559 )
2023-07-07 10:14:47 +02:00
Pepe Fagoaga
b047b54545
fix(backup): Handle last_execution_date when None ( #2454 )
2023-06-06 16:57:17 +02:00
Pepe Fagoaga
b7bb4bbd57
fix(aws): Add missing resources ARN ( #2453 )
2023-06-06 16:56:59 +02:00
Pepe Fagoaga
86cf2cd233
fix(efs): Include resource ARN and handle from input ( #2452 )
2023-06-06 14:29:58 +02:00
Pepe Fagoaga
1418068d2b
fix(services): Handle AWS service errors ( #2440 )
2023-06-06 09:23:03 +02:00
Pepe Fagoaga and Sergio Garcia
9e9e7e1e96
fix(aws): Handle unique map keys ( #2390 )
...
Co-authored-by: Sergio Garcia <sergargar1@gmail.com >
2023-05-23 15:54:22 +02:00
Pepe Fagoaga
ce42e4d1cd
fix(pypi-release): Push version change to the branch ( #2374 )
2023-05-18 18:46:11 +02:00
Pepe Fagoaga
58a38c08d7
docs: format regions-and-partitions ( #2371 )
2023-05-18 16:35:54 +02:00