Skip to content
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

chore(merge): Merge master with Prowler 4.0 #3467

Merged
merged 379 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
379 commits
Select commit Hold shift + click to select a range
f0d1a79
test(audit_info): refactor cloudtrail (#3111)
jfagoagas Dec 5, 2023
e187875
test(audit_info): refactor guardduty (#3160)
jfagoagas Dec 5, 2023
3962c9d
test(audit_info): refactor acm, account and access analyzer (#3097)
jfagoagas Dec 5, 2023
a81cbbc
test(audit_info): refactor iam (#3163)
n4ch04 Dec 5, 2023
018e878
test(audit_info): missing workspace test (#3164)
n4ch04 Dec 5, 2023
ee215b1
chore(regions_update): Changes in regions for AWS services. (#3168)
sergargar Dec 11, 2023
694aa44
fix(s3): Handle NoSuchBucket in the service (#3173)
jfagoagas Dec 11, 2023
4785056
fix(elasticache): Handle CacheClusterNotFound (#3174)
jfagoagas Dec 11, 2023
44a4c06
fix(cloudtrail): Handle UnsupportedOperationException (#3166)
jfagoagas Dec 11, 2023
d1bc680
fix(access-analyzer): Handle ValidationException (#3165)
jfagoagas Dec 11, 2023
c9baff1
fix(generate_regional_clients): Global is not needed anymore (#3162)
jfagoagas Dec 11, 2023
1be52fa
chore(ens): do not apply recomendation type to score (#3058)
sergargar Dec 11, 2023
a7f8656
chore(elb): Improve status in elbv2_insecure_ssl_ciphers (#3169)
Fennerr Dec 11, 2023
bd13973
docs(parallel-execution): Combining the output files (#3096)
Fennerr Dec 11, 2023
7b5b14d
refactor(cloudwatch): simplify logic (#3172)
jfagoagas Dec 11, 2023
c9cb977
fix(aws_regions): Get enabled regions (#3095)
jfagoagas Dec 11, 2023
ba16330
feat(cognito): add Amazon Cognito service (#3060)
sergargar Dec 11, 2023
ac0e2bb
build(deps): bump google-api-python-client from 2.109.0 to 2.110.0 (#…
dependabot[bot] Dec 12, 2023
b4e412a
build(deps-dev): bump pylint from 3.0.2 to 3.0.3 (#3181)
dependabot[bot] Dec 12, 2023
b101e15
build(deps-dev): bump bandit from 1.7.5 to 1.7.6 (#3179)
dependabot[bot] Dec 12, 2023
8fa7b9b
build(deps-dev): bump docker from 6.1.3 to 7.0.0 (#3180)
dependabot[bot] Dec 12, 2023
7fcff54
chore(regions_update): Changes in regions for AWS services. (#3182)
sergargar Dec 12, 2023
0f165f0
chore(actions): add prowler 4.0 branch to actions (#3184)
n4ch04 Dec 12, 2023
3c3dfb3
fix(gcp): improve logging messages (#3185)
sergargar Dec 12, 2023
2441cca
fix(threading): Improved threading for the AWS Service (#3175)
Fennerr Dec 12, 2023
bbb8168
docs(aws): Added debug information to inspect retries in API calls (#…
Fennerr Dec 12, 2023
4410f2a
chore(regions_update): Changes in regions for AWS services. (#3189)
sergargar Dec 13, 2023
8b5c995
fix(lambda): memory leakage with lambda function code (#3167)
Fennerr Dec 13, 2023
c937b19
fix(apigw_restapi_auth check): add method auth testing (#3183)
n4ch04 Dec 13, 2023
2437fe2
docs(cloudshell): Add workaround to clone from github (#3190)
jfagoagas Dec 13, 2023
fc39094
docs(cloudshell): Add missing steps to workaround (#3191)
AlexGidarakos Dec 14, 2023
051ec75
docs(cloudshell): Update AWS CloudShell installation steps (#3192)
AlexGidarakos Dec 14, 2023
9a86846
chore(regions_update): Changes in regions for AWS services. (#3196)
sergargar Dec 15, 2023
fdeb523
feat(securityhub): Send only FAILs but storing all in the output file…
jfagoagas Dec 15, 2023
c8831f0
chore(s3 bucket input validation): validates input bucket (#3198)
n4ch04 Dec 15, 2023
99d6fee
fix(iam): Handle NoSuchEntity in list_group_policies (#3197)
jfagoagas Dec 15, 2023
a10a739
chore(regions_update): Changes in regions for AWS services. (#3200)
sergargar Dec 18, 2023
cd03fa6
build(deps): bump jsonschema from 4.18.0 to 4.20.0 (#3057)
dependabot[bot] Dec 18, 2023
1737d7c
fix(gcp): fix UnknownApiNameOrVersion error (#3202)
sergargar Dec 18, 2023
06eeefb
build(deps-dev): bump pylint from 3.0.2 to 3.0.3 (#3203)
dependabot[bot] Dec 19, 2023
18f4c72
build(deps-dev): bump coverage from 7.3.2 to 7.3.3 (#3204)
dependabot[bot] Dec 19, 2023
4359768
build(deps-dev): bump moto from 4.2.11 to 4.2.12 (#3205)
dependabot[bot] Dec 19, 2023
71042b5
build(deps): bump mkdocs-material from 9.4.14 to 9.5.2 (#3206)
dependabot[bot] Dec 19, 2023
1a4887f
chore(regions_update): Changes in regions for AWS services. (#3209)
sergargar Dec 19, 2023
f8d77d9
build(deps): bump google-auth-httplib2 from 0.1.1 to 0.2.0 (#3207)
dependabot[bot] Dec 19, 2023
78505cb
chore(sqs_...not_publicly_accessible): less restrictive condition tes…
n4ch04 Dec 19, 2023
e570d94
chore(regions_update): Changes in regions for AWS services. (#3213)
sergargar Dec 20, 2023
e953fe0
chore(regions_update): Changes in regions for AWS services. (#3214)
sergargar Dec 21, 2023
806a359
chore(regions_update): Changes in regions for AWS services. (#3215)
sergargar Dec 22, 2023
b47408e
fix(trustedadvisor): solve trustedadvisor check metadata (#3216)
sergargar Dec 22, 2023
7361c10
fix(s3): handle NoSuchBucketPolicy error (#3217)
sergargar Dec 22, 2023
cb94960
build(deps): bump mkdocs-material from 9.5.2 to 9.5.3 (#3220)
dependabot[bot] Dec 26, 2023
d490bcc
chore(regions_update): Changes in regions for AWS services. (#3219)
sergargar Dec 26, 2023
819140b
build(deps): bump shodan from 1.30.1 to 1.31.0 (#3221)
dependabot[bot] Dec 26, 2023
04bb95e
chore(ENS): add missing ENS mappings (#3218)
sergargar Dec 26, 2023
5bada44
build(deps-dev): bump coverage from 7.3.3 to 7.3.4 (#3223)
dependabot[bot] Dec 26, 2023
1cf1c82
build(deps-dev): bump freezegun from 1.3.1 to 1.4.0 (#3222)
dependabot[bot] Dec 26, 2023
10e8222
build(deps): bump google-api-python-client from 2.110.0 to 2.111.0 (#…
dependabot[bot] Dec 26, 2023
0fff056
fix(allowlist): Analyse single and multi account allowlist if present…
jfagoagas Dec 27, 2023
ceabe8e
chore: сhanged concatenation of strings to f-strings to improve reada…
eukub Dec 28, 2023
d1bd097
chore(regions_update): Changes in regions for AWS services. (#3228)
sergargar Dec 28, 2023
423f96b
fix(fms): Handle PolicyComplianceStatusList key error (#3230)
jfagoagas Dec 28, 2023
d712470
chore(regions_update): Changes in regions for AWS services. (#3231)
sergargar Dec 29, 2023
3d032a8
build(deps): bump tj-actions/changed-files from 39 to 41 in /.github/…
dependabot[bot] Jan 3, 2024
eb56e14
build(deps-dev): bump pytest from 7.4.3 to 7.4.4 (#3232)
dependabot[bot] Jan 3, 2024
a69d747
chore(regions_update): Changes in regions for AWS services. (#3236)
sergargar Jan 3, 2024
396d6e5
build(deps-dev): bump coverage from 7.3.4 to 7.4.0 (#3233)
dependabot[bot] Jan 3, 2024
9522d0c
fix(organizations_scp_check_deny_regions): enhance check logic (#3239)
sergargar Jan 8, 2024
558b7a5
feat(aws): Added AWS role session name parameter (#3234)
Fennerr Jan 8, 2024
80b88a9
chore(exception): handle error in describing regions (#3241)
sergargar Jan 8, 2024
1df84ef
chore(role arguments): enhance role arguments validation (#3240)
sergargar Jan 8, 2024
98adc18
chore(release): update Prowler Version to 3.12.0 (#3242)
sergargar Jan 8, 2024
4c666fa
build(deps-dev): bump moto from 4.2.12 to 4.2.13 (#3244)
dependabot[bot] Jan 9, 2024
d852cb4
build(deps): bump google-api-python-client from 2.111.0 to 2.113.0 (#…
dependabot[bot] Jan 9, 2024
6dba54b
docs: Add Codecov badge (#3248)
jfagoagas Jan 9, 2024
89c789c
build(deps-dev): bump flake8 from 6.1.0 to 7.0.0 (#3246)
dependabot[bot] Jan 9, 2024
f82789b
chore(regions_update): Changes in regions for AWS services. (#3249)
sergargar Jan 9, 2024
b76d015
chore(s3): Update log not to duplicate it (#3255)
jfagoagas Jan 10, 2024
4d1de8f
chore(regions_update): Changes in regions for AWS services. (#3256)
sergargar Jan 10, 2024
f500752
build(deps-dev): bump gitpython from 3.1.37 to 3.1.41 (#3257)
dependabot[bot] Jan 11, 2024
641727e
fix(rds): handle api call error response (#3258)
n4ch04 Jan 11, 2024
874a131
chore(precommit): set trufflehog as command (#3262)
n4ch04 Jan 11, 2024
6797b5a
fix(apigatewayv2_api_access_logging_enabled): Finding ID should be un…
jfagoagas Jan 11, 2024
94179f2
chore(readme): remove deprecated library name (#3251)
sergargar Jan 11, 2024
9a1c034
build(deps): bump jinja2 from 3.1.2 to 3.1.3 (#3267)
dependabot[bot] Jan 12, 2024
7378068
fix(allowlist): Handle empty exceptions (#3266)
jfagoagas Jan 12, 2024
f127d4a
chore(regions_update): Changes in regions for AWS services. (#3268)
sergargar Jan 12, 2024
b9a24e0
fix(fms): handle list compliance status error (#3259)
n4ch04 Jan 12, 2024
4b0102b
chore(release): update Prowler Version to 3.12.1 (#3269)
sergargar Jan 12, 2024
2631709
docs(README): Update Kubernetes development status and Python support…
toniblyx Jan 12, 2024
3d00554
chore(README): update syntax of supported Python versions (#3271)
sergargar Jan 12, 2024
27edf0f
chore(regions_update): Changes in regions for AWS services. (#3273)
sergargar Jan 15, 2024
8435ab4
chore(dependabot): Run for GHA (#3274)
jfagoagas Jan 15, 2024
d343a67
build(deps): bump trufflesecurity/trufflehog from 3.4.4 to 3.63.9 (#3…
dependabot[bot] Jan 15, 2024
d499053
build(deps): bump aws-actions/configure-aws-credentials from 1 to 4 (…
dependabot[bot] Jan 15, 2024
90a4924
build(deps): bump github/codeql-action from 2 to 3 (#3279)
dependabot[bot] Jan 15, 2024
17f5cbe
build(deps): bump docker/setup-buildx-action from 2 to 3 (#3276)
dependabot[bot] Jan 15, 2024
e4cbb3c
build(deps): bump actions/setup-python from 2 to 5 (#3277)
dependabot[bot] Jan 15, 2024
5154cec
build(deps): bump slack-sdk from 3.26.1 to 3.26.2 (#3280)
dependabot[bot] Jan 15, 2024
c7b794c
build(deps): bump docker/build-push-action from 2 to 5 (#3281)
dependabot[bot] Jan 16, 2024
2da57db
build(deps): bump docker/login-action from 2 to 3 (#3282)
dependabot[bot] Jan 16, 2024
6c03683
build(deps): bump peter-evans/create-pull-request from 4 to 5 (#3283)
dependabot[bot] Jan 16, 2024
b232b67
build(deps): bump actions/checkout from 3 to 4 (#3284)
dependabot[bot] Jan 16, 2024
c5def6d
build(deps): bump mkdocs-material from 9.5.3 to 9.5.4 (#3285)
dependabot[bot] Jan 16, 2024
4a15625
chore(compliance): make SocType attribute general (#3287)
sergargar Jan 16, 2024
c617c10
fix(acm): adding more details on remaining expiration days (#3293)
estemendoza Jan 17, 2024
f344dbb
chore(regions_update): Changes in regions for AWS services. (#3298)
sergargar Jan 18, 2024
c53f931
fix(NoSuchEntity): add NoSuchEntity exception to IAM (#3299)
sergargar Jan 18, 2024
49b76ab
chore(docs): update documentation (#3297)
sergargar Jan 18, 2024
fd4d2db
fix(BadRequest): add BadRequest exception to WellArchitected (#3300)
sergargar Jan 18, 2024
c3ecd2b
docs(security-hub): improve documentation and clarify steps (#3301)
jfagoagas Jan 18, 2024
c830e4e
docs(security-hub): Add integration steps and images (#3304)
jfagoagas Jan 22, 2024
5e733f6
chore(regions_update): Changes in regions for AWS services. (#3303)
sergargar Jan 22, 2024
e541240
build(deps): bump jsonschema from 4.20.0 to 4.21.1 (#3310)
dependabot[bot] Jan 23, 2024
68c1acb
build(deps): bump tj-actions/changed-files from 41 to 42 (#3308)
dependabot[bot] Jan 23, 2024
f22b81f
build(deps): bump trufflesecurity/trufflehog from 3.63.9 to 3.63.11 (…
dependabot[bot] Jan 23, 2024
dad590f
build(deps): bump pydantic from 1.10.13 to 1.10.14 (#3311)
dependabot[bot] Jan 23, 2024
7f4e5bf
build(deps-dev): bump safety from 2.3.5 to 3.0.1 (#3313)
dependabot[bot] Jan 23, 2024
a21dd4a
feat(quick-inventory): custom output file in quick inventory (#3306)
Mohsen51 Jan 23, 2024
7d7e5f4
build(deps): bump azure-mgmt-security from 5.0.0 to 6.0.0 (#3312)
dependabot[bot] Jan 23, 2024
f0ac440
chore(regions_update): Changes in regions for AWS services. (#3316)
sergargar Jan 24, 2024
dff3e72
chore(regions_update): Changes in regions for AWS services. (#3318)
sergargar Jan 25, 2024
8a6ae68
feat(azure): Add new check "iam_custom_role_permits_administering_res…
pedrooot Jan 25, 2024
dcd97e7
chore(regions_update): Changes in regions for AWS services. (#3320)
sergargar Jan 26, 2024
cd9c192
chore(azure): Remove all unnecessary init methods in @dataclass (#3324)
pedrooot Jan 26, 2024
8768b4c
chore(actions): Add AWS tag to the update regions bot (#3321)
jfagoagas Jan 29, 2024
a8edd03
feat(azure): Add check `defender_auto_provisioning_log_analytics_agen…
puchy22 Jan 29, 2024
ae1ab1d
feat(azure): Add new check `storage_key_rotation_90_days` (#3323)
pedrooot Jan 29, 2024
db45794
feat(azure): add new check `storage_ensure_private_endpoints_in_stora…
pedrooot Jan 29, 2024
ee2ed92
build(deps-dev): bump vulture from 2.10 to 2.11 (#3328)
dependabot[bot] Jan 30, 2024
e94e3ce
build(deps): bump trufflesecurity/trufflehog from 3.63.11 to 3.66.1 (…
dependabot[bot] Jan 30, 2024
15a194c
build(deps-dev): bump pytest from 7.4.4 to 8.0.0 (#3331)
dependabot[bot] Jan 30, 2024
2c4b5c9
build(deps): bump mkdocs-material from 9.5.4 to 9.5.6 (#3330)
dependabot[bot] Jan 30, 2024
19d6352
fix(GuardDuty): fix class name (#3337)
puchy22 Jan 30, 2024
48587bd
feat(compliance): account security onboarding compliance framework (…
pedrooot Jan 31, 2024
622bce9
feat(azure): Add check `defender_ensure_system_updates_are_applied ` …
puchy22 Jan 31, 2024
6e99110
feat(azure): New check `storage_ensure_soft_delete_is_enabled` (#3334)
pedrooot Jan 31, 2024
14aa7a3
feat(azure): SQLServer checks related to TDE encryption (#3343)
pedrooot Feb 2, 2024
5a602d7
chore(regions_update): Changes in regions for AWS services. (#3325)
sergargar Feb 5, 2024
e59b5ca
chore(regions_update): Changes in regions for AWS services. (#3333)
sergargar Feb 5, 2024
b98f245
chore(regions_update): Changes in regions for AWS services. (#3339)
sergargar Feb 5, 2024
9a038f7
chore(regions_update): Changes in regions for AWS services. (#3348)
sergargar Feb 5, 2024
888cb92
chore(regions_update): Changes in regions for AWS services. (#3342)
sergargar Feb 5, 2024
7c0ff1f
feat(azure): New Azure SQLServer related check `sqlserver_auditing_re…
pedrooot Feb 5, 2024
de77f3f
feat(azure): new check sqlserver_vulnerability_assessment_enabled (#3…
pedrooot Feb 5, 2024
b23be41
build(deps-dev): bump moto from 4.2.13 to 5.0.0 (#3329)
dependabot[bot] Feb 5, 2024
c6e8a0b
fix(organizations): Handle non existent policy (#3319)
jfagoagas Feb 5, 2024
c795d76
feat(azure): Defender checks related to security contacts and notific…
puchy22 Feb 5, 2024
8c51094
fix(storage) Manage None type manage for key_expiration_period_in_day…
puchy22 Feb 5, 2024
4587a9f
refactor(azure): Change class names from azure services and fix typin…
pedrooot Feb 5, 2024
e91a694
chore(docs): update CODE_OF_CONDUCT.md (#3352)
toniblyx Feb 5, 2024
469cc74
feat(readme): Update readme with new numbers for Prowler checks (#3354)
pedrooot Feb 5, 2024
7322d0b
chore(docs): Update README.md (#3353)
toniblyx Feb 5, 2024
7ac7d9c
build(deps): bump google-api-python-client from 2.113.0 to 2.116.0 (#…
dependabot[bot] Feb 6, 2024
0a413b6
build(deps): bump peter-evans/create-pull-request from 5 to 6 (#3359)
dependabot[bot] Feb 6, 2024
6c756ea
build(deps): bump codecov/codecov-action from 3 to 4 (#3360)
dependabot[bot] Feb 6, 2024
c0e0ddb
build(deps): bump trufflesecurity/trufflehog from 3.66.1 to 3.67.2 (#…
dependabot[bot] Feb 6, 2024
9c898c3
build(deps): bump cryptography from 41.0.6 to 42.0.0 (#3362)
dependabot[bot] Feb 6, 2024
ac44d4a
build(deps-dev): bump black from 22.12.0 to 24.1.1 (#3356)
dependabot[bot] Feb 6, 2024
f21dcd8
chore(inspector): refactor `inspector2_findings_exist` check into two…
sergargar Feb 6, 2024
643a918
build(deps-dev): bump moto from 5.0.0 to 5.0.1 (#3358)
dependabot[bot] Feb 6, 2024
db15c0d
fix(rds): verify SGs in `rds_instance_no_public_access` (#3341)
sergargar Feb 6, 2024
8946145
build(deps-dev): bump coverage from 7.4.0 to 7.4.1 (#3357)
dependabot[bot] Feb 6, 2024
89c71a0
chore(pre-commit): remove pytest from pre-commit (#3363)
sergargar Feb 6, 2024
fcf902e
feat(azure): Defender checks related to defender settings (#3347)
puchy22 Feb 6, 2024
7298f64
fix(s3): add `s3:Get*` case to `s3_bucket_policy_public_write_access`…
sergargar Feb 6, 2024
a912189
build(deps): bump msgraph-core from 0.2.2 to 1.0.0 (#3309)
dependabot[bot] Feb 6, 2024
a1018ad
build(deps): bump aiohttp from 3.9.1 to 3.9.2 (#3366)
dependabot[bot] Feb 6, 2024
f705135
fix(azure): Fix check `sqlserver_auditing_retention_90_days` (#3365)
pedrooot Feb 6, 2024
740e829
feat(azure): Defender check `defender_ensure_iot_hub_defender_is_on` …
puchy22 Feb 7, 2024
a50d093
fix(defender): Manage 404 exception for "default" security contacts (…
puchy22 Feb 7, 2024
68ecf93
feat(python): support Python 3.12 (#3371)
sergargar Feb 7, 2024
b60b48b
feat(Azure): Add 4 new checks related to SQLServer and Vulnerability …
pedrooot Feb 7, 2024
3f7c37a
feat(defender): New Terraform URL for metadata checks (#3374)
puchy22 Feb 7, 2024
5f946d0
chore(regions_update): Changes in regions for AWS services. (#3370)
sergargar Feb 7, 2024
eadc66f
fix(allowlist): Handle tags and resources (#3376)
jfagoagas Feb 8, 2024
d14d8f5
chore(regions_update): Changes in regions for AWS services. (#3377)
sergargar Feb 8, 2024
f5a18dc
fix(cis): update CIS AWS v2.0 Section 2.1 refs (#3375)
strawp Feb 8, 2024
c5af960
fix(alias): allow multiple check aliases (#3378)
sergargar Feb 8, 2024
8ed9781
feat(cis): add new CIS AWS v3.0.0 (#3379)
sergargar Feb 8, 2024
9bb7020
chore(release): update Prowler Version to 3.13.0 (#3380)
sergargar Feb 8, 2024
5b45bbb
chore(list): list compliance and categories sorted (#3381)
sergargar Feb 8, 2024
042976f
chore(regions_update): Changes in regions for AWS services. (#3384)
n4ch04 Feb 9, 2024
47e212e
build(deps-dev): bump black from 24.1.1 to 24.2.0 (#3389)
dependabot[bot] Feb 13, 2024
f9c839b
build(deps): bump trufflesecurity/trufflehog from 3.67.2 to 3.67.5 (#…
dependabot[bot] Feb 13, 2024
409675e
build(deps-dev): bump bandit from 1.7.6 to 1.7.7 (#3390)
dependabot[bot] Feb 13, 2024
eca7f7b
build(deps): bump mkdocs-material from 9.5.6 to 9.5.9 (#3392)
dependabot[bot] Feb 13, 2024
9f16e4d
fix(backup): handle if `last_attempted_execution_date` is None (#3394)
sergargar Feb 13, 2024
ccd9e27
build(deps): bump google-api-python-client from 2.116.0 to 2.117.0 (#…
dependabot[bot] Feb 13, 2024
cc71249
fix(storage): update metadata with CIS 2.0 in `storage_default_networ…
Hugo966 Feb 13, 2024
4740a7b
feat(azure): check related with App Insights service (#3395)
puchy22 Feb 13, 2024
355f589
feat(azure): New Azure checks related to CosmosDB (#3386)
pedrooot Feb 13, 2024
d394684
chore(regions_update): Changes in regions for AWS services. (#3401)
n4ch04 Feb 15, 2024
d6f28be
chore(pull-request): Add automatic labeler (#3398)
jfagoagas Feb 15, 2024
ac43906
fix(labeler): Add right path for testing (#3405)
jfagoagas Feb 16, 2024
8e93493
test(aws): Add default Boto3 credentials (#3404)
jfagoagas Feb 16, 2024
af00c53
feat(azure): checks related with MySQL service (#3385)
puchy22 Feb 16, 2024
69aedb8
chore(regions_update): Changes in regions for AWS services. (#3406)
n4ch04 Feb 16, 2024
3c82d89
fix(labeler): Work on forks too (#3410)
jfagoagas Feb 19, 2024
c92a99b
fix(azure): Typo in appinsights service (#3407)
puchy22 Feb 19, 2024
f7afd7d
feat(azure): Add new checks related to PostgreSQL service (#3409)
pedrooot Feb 19, 2024
ae378b6
build(deps): bump trufflesecurity/trufflehog from 3.67.5 to 3.67.6 (#…
dependabot[bot] Feb 20, 2024
c9f87b9
build(deps-dev): bump moto from 5.0.1 to 5.0.2 (#3413)
dependabot[bot] Feb 20, 2024
3776856
build(deps-dev): bump pytest from 8.0.0 to 8.0.1 (#3414)
dependabot[bot] Feb 20, 2024
caf021a
build(deps): bump slack-sdk from 3.26.2 to 3.27.0 (#3415)
dependabot[bot] Feb 20, 2024
d8a505b
build(deps): bump mkdocs-material from 9.5.9 to 9.5.10 (#3416)
dependabot[bot] Feb 20, 2024
bdf3236
build(deps): bump google-api-python-client from 2.117.0 to 2.118.0 (#…
dependabot[bot] Feb 20, 2024
753f32b
fix(inspector2): Report must have status field (#3419)
jfagoagas Feb 20, 2024
7d3c6a4
chore(release): update Prowler Version to 3.13.1 (#3420)
n4ch04 Feb 20, 2024
9a22c2d
feat(azure): Add new checks related to Network service (#3402)
pedrooot Feb 20, 2024
da1f266
feat(azure): new checks related with VMs service. (#3408)
puchy22 Feb 20, 2024
be234de
chore(release): update Prowler Version to 3.14.0 (#3422)
n4ch04 Feb 20, 2024
be8a61b
chore(docs): improve documentation for Azure debugging (#3411)
pedrooot Feb 21, 2024
7f27141
docs: Update documentation links (#3424)
jfagoagas Feb 21, 2024
86a8eb7
docs: Update README.md with bigger Slack link (#3425)
toniblyx Feb 21, 2024
75ef45b
build(deps): bump cryptography from 42.0.2 to 42.0.4 (#3428)
dependabot[bot] Feb 22, 2024
9227d6c
docs: New overview page (#3427)
toniblyx Feb 22, 2024
08bc86f
chore(regions_update): Changes in regions for AWS services. (#3429)
n4ch04 Feb 22, 2024
9663ee6
chore(docs): Prettify notes and add dates (#3434)
jfagoagas Feb 26, 2024
444ea22
fix(docs): Add docs group to install (#3436)
jfagoagas Feb 26, 2024
134c795
fix(docs): Fix typo and change info about mocking (#3438)
pedrooot Feb 26, 2024
88863b1
feat(azure): Checks related to Azure Keyvault (#3430)
pedrooot Feb 26, 2024
587b8af
fix(docs): readthedocs install (#3437)
jfagoagas Feb 26, 2024
963861d
feat(azure): New azure monitor check `monitor_ensure_diagnostic_setti…
Hugo966 Feb 26, 2024
ebe0b7e
build(deps-dev): bump mkdocs-material from 9.5.10 to 9.5.11 (#3441)
dependabot[bot] Feb 27, 2024
59b0cc5
build(deps): bump trufflesecurity/trufflehog from 3.67.6 to 3.68.2 (#…
dependabot[bot] Feb 27, 2024
d9b49a7
build(deps-dev): bump pylint from 3.0.3 to 3.1.0
dependabot[bot] Feb 27, 2024
f1770b4
build(deps): bump azure-keyvault-keys from 4.8.0 to 4.9.0
dependabot[bot] Feb 27, 2024
28e56c2
build(deps-dev): bump pytest from 8.0.1 to 8.0.2
dependabot[bot] Feb 27, 2024
5161cca
build(deps-dev): bump coverage from 7.4.1 to 7.4.3
dependabot[bot] Feb 27, 2024
055a90d
chore(action): Link docs in PR (#3448)
jfagoagas Feb 27, 2024
ab14efa
feat(azure): Azure new checks related with App Service (#3432)
puchy22 Feb 27, 2024
bd05aaa
feat(azure): add new check related with Public IPs in Shodan.io (#3433)
pedrooot Feb 27, 2024
73733f6
feat(azure): Azure new check `policy_ensure_asc_enforcement_enabled` …
puchy22 Feb 27, 2024
f142b9a
fix(shodan): delete unnecessary error in logger.error (#3454)
pedrooot Feb 27, 2024
f69f008
feat(aws): Get organizations metadata if delegated admin (#3435)
jfagoagas Feb 27, 2024
6d44eea
fix(ecr): check if ECR Repository Policies does not exist (#3451)
sergargar Feb 27, 2024
354677b
feat(aws): add 2 new Amazon EKS checks from CIS (#3439)
sergargar Feb 27, 2024
5ee1e0a
feat(gcp): add 3 new checks for GKE CIS (#3440)
sergargar Feb 27, 2024
ab437fb
docs(compliance): Add newline to format list (#3455)
jfagoagas Feb 28, 2024
64aa043
fix(security_hub): Handle user facing errors (#3456)
jfagoagas Feb 28, 2024
12381ae
chore(regions_update): Changes in regions for AWS services. (#3457)
n4ch04 Feb 28, 2024
63c1d1b
fix(gcp): remove Default Project ID requirement (#3459)
sergargar Feb 28, 2024
eed4821
chore(gcp): set GCP account in output file name (#3461)
sergargar Feb 28, 2024
06f988b
chore(allowlist): add AFT IAM roles to allowlist (#3460)
sergargar Feb 28, 2024
fe5df55
Merge branch 'master' of github.com:prowler-cloud/prowler into merge-…
jfagoagas Feb 29, 2024
9ab7d19
solve flake8
sergargar Feb 29, 2024
0ac188d
solve black
sergargar Feb 29, 2024
7d888ef
solve flake8
sergargar Feb 29, 2024
85a67b9
solve vulture
sergargar Feb 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ updates:
labels:
- "dependencies"
- "pip"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
target-branch: master
27 changes: 27 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
documentation:
- changed-files:
- any-glob-to-any-file: "docs/**"

provider/aws:
- changed-files:
- any-glob-to-any-file: "prowler/providers/aws/**"
- any-glob-to-any-file: "tests/providers/aws/**"

provider/azure:
- changed-files:
- any-glob-to-any-file: "prowler/providers/azure/**"
- any-glob-to-any-file: "tests/providers/azure/**"

provider/gcp:
- changed-files:
- any-glob-to-any-file: "prowler/providers/gcp/**"
- any-glob-to-any-file: "tests/providers/gcp/**"

provider/kubernetes:
- changed-files:
- any-glob-to-any-file: "prowler/providers/kubernetes/**"
- any-glob-to-any-file: "tests/providers/kubernetes/**"

github_actions:
- changed-files:
- any-glob-to-any-file: ".github/workflows/*"
24 changes: 24 additions & 0 deletions .github/workflows/build-documentation-on-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Pull Request Documentation Link

on:
pull_request:
branches:
- 'master'
- 'prowler-4.0-dev'
paths:
- 'docs/**'

env:
PR_NUMBER: ${{ github.event.pull_request.number }}

jobs:
documentation-link:
name: Documentation Link
runs-on: ubuntu-latest
steps:
- name: Leave PR comment with the SaaS Documentation URI
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ env.PR_NUMBER }}
body: |
You can check the documentation for this PR here -> [SaaS Documentation](https://prowler-prowler-docs--${{ env.PR_NUMBER }}.com.readthedocs.build/projects/prowler-open-source/en/${{ env.PR_NUMBER }}/)
14 changes: 7 additions & 7 deletions .github/workflows/build-lint-push-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
POETRY_VIRTUALENVS_CREATE: "false"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup python (release)
if: github.event_name == 'release'
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand All @@ -52,13 +52,13 @@ jobs:
poetry version ${{ github.event.release.tag_name }}

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to Public ECR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: public.ecr.aws
username: ${{ secrets.PUBLIC_ECR_AWS_ACCESS_KEY_ID }}
Expand All @@ -67,11 +67,11 @@ jobs:
AWS_REGION: ${{ env.AWS_REGION }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and push container image (latest)
if: github.event_name == 'push'
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
push: true
tags: |
Expand All @@ -83,7 +83,7 @@ jobs:

- name: Build and push container image (release)
if: github.event_name == 'release'
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
# Use local context to get changes
# https://github.com/docker/build-push-action#path-context
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -52,6 +52,6 @@ jobs:
# queries: security-extended,security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/find-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@v3.4.4
uses: trufflesecurity/trufflehog@v3.68.2
with:
path: ./
base: ${{ github.event.repository.default_branch }}
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Pull Request Labeler"

on:
pull_request_target:
branches:
- "master"
- "prowler-4.0-dev"

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
11 changes: 6 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test if changes are in not ignored paths
id: are-non-ignored-files-changed
uses: tj-actions/changed-files@v39
uses: tj-actions/changed-files@v42
with:
files: ./**
files_ignore: |
.github/**
README.md
docs/**
permissions/**
mkdocs.yml
- name: Install poetry
if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'
run: |
python -m pip install --upgrade pip
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand Down Expand Up @@ -87,6 +88,6 @@ jobs:
poetry run pytest -n auto --cov=./prowler --cov-report=xml tests
- name: Upload coverage reports to Codecov
if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
name: Release Prowler to PyPI
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GITHUB_BRANCH }}
- name: Install dependencies
run: |
pipx install poetry
pipx inject poetry poetry-bumpversion
- name: setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'poetry'
Expand All @@ -44,7 +44,7 @@ jobs:
poetry publish
# Create pull request with new version
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PROWLER_ACCESS_TOKEN }}
commit-message: "chore(release): update Prowler Version to ${{ env.RELEASE_TAG }}."
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/refresh_aws_services_regions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GITHUB_BRANCH }}

- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9 #install the python needed

Expand All @@ -38,7 +38,7 @@ jobs:
pip install boto3

- name: Configure AWS Credentials -- DEV
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.AWS_REGION_DEV }}
role-to-assume: ${{ secrets.DEV_IAM_ROLE_ARN }}
Expand All @@ -50,12 +50,12 @@ jobs:

# Create pull request
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PROWLER_ACCESS_TOKEN }}
commit-message: "feat(regions_update): Update regions for AWS services."
branch: "aws-services-regions-updated-${{ github.sha }}"
labels: "status/waiting-for-revision, severity/low"
labels: "status/waiting-for-revision, severity/low, provider/aws"
title: "chore(regions_update): Changes in regions for AWS services."
body: |
### Description
Expand Down
24 changes: 9 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
## GENERAL
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: check-yaml
Expand All @@ -15,7 +15,7 @@ repos:

## TOML
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.10.0
rev: v2.12.0
hooks:
- id: pretty-format-toml
args: [--autofix]
Expand All @@ -28,7 +28,7 @@ repos:
- id: shellcheck
## PYTHON
- repo: https://github.com/myint/autoflake
rev: v2.2.0
rev: v2.2.1
hooks:
- id: autoflake
args:
Expand All @@ -39,25 +39,25 @@ repos:
]

- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 24.1.1
hooks:
- id: black

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
exclude: contrib
args: ["--ignore=E266,W503,E203,E501,W605"]

- repo: https://github.com/python-poetry/poetry
rev: 1.6.0 # add version here
rev: 1.7.0
hooks:
- id: poetry-check
- id: poetry-lock
Expand All @@ -80,18 +80,12 @@ repos:
- id: trufflehog
name: TruffleHog
description: Detect secrets in your data.
# entry: bash -c 'trufflehog git file://. --only-verified --fail'
entry: bash -c 'trufflehog --no-update git file://. --only-verified --fail'
# For running trufflehog in docker, use the following entry instead:
entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --only-verified --fail'
# entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --only-verified --fail'
language: system
stages: ["commit", "push"]

- id: pytest-check
name: pytest-check
entry: bash -c 'pytest tests -n auto'
language: system
files: '.*\.py'

- id: bandit
name: bandit
description: "Bandit is a tool for finding common security issues in Python code"
Expand Down
12 changes: 7 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.9"
python: "3.11"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
- python -m pip install poetry
post_install:
- poetry install -E docs
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=${READTHEDOCS_VIRTUALENV_PATH} python -m poetry install --only=docs

mkdocs:
configuration: mkdocs.yml
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at community@prowler.cloud. All
reported by contacting the project team at [support.prowler.com](https://customer.support.prowler.com/servicedesk/customer/portals). All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
Loading
Loading