mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-04-14 16:50:04 +00:00
Compare commits
4 Commits
refactor/e
...
4.2.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f93e3a470b | ||
|
|
c8d9a47272 | ||
|
|
5d7658efe5 | ||
|
|
e60d22f3e4 |
@@ -60,7 +60,7 @@ It contains hundreds of controls covering CIS, NIST 800, NIST CSF, CISA, RBI, Fe
|
|||||||
|
|
||||||
| Provider | Checks | Services | [Compliance Frameworks](https://docs.prowler.com/projects/prowler-open-source/en/latest/tutorials/compliance/) | [Categories](https://docs.prowler.com/projects/prowler-open-source/en/latest/tutorials/misc/#categories) |
|
| Provider | Checks | Services | [Compliance Frameworks](https://docs.prowler.com/projects/prowler-open-source/en/latest/tutorials/compliance/) | [Categories](https://docs.prowler.com/projects/prowler-open-source/en/latest/tutorials/misc/#categories) |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| AWS | 359 | 66 -> `prowler aws --list-services` | 28 -> `prowler aws --list-compliance` | 7 -> `prowler aws --list-categories` |
|
| AWS | 360 | 66 -> `prowler aws --list-services` | 28 -> `prowler aws --list-compliance` | 7 -> `prowler aws --list-categories` |
|
||||||
| GCP | 77 | 13 -> `prowler gcp --list-services` | 1 -> `prowler gcp --list-compliance` | 2 -> `prowler gcp --list-categories`|
|
| GCP | 77 | 13 -> `prowler gcp --list-services` | 1 -> `prowler gcp --list-compliance` | 2 -> `prowler gcp --list-categories`|
|
||||||
| Azure | 127 | 16 -> `prowler azure --list-services` | 2 -> `prowler azure --list-compliance` | 2 -> `prowler azure --list-categories` |
|
| Azure | 127 | 16 -> `prowler azure --list-services` | 2 -> `prowler azure --list-compliance` | 2 -> `prowler azure --list-categories` |
|
||||||
| Kubernetes | 83 | 7 -> `prowler kubernetes --list-services` | 1 -> `prowler kubernetes --list-compliance` | 7 -> `prowler kubernetes --list-categories` |
|
| Kubernetes | 83 | 7 -> `prowler kubernetes --list-services` | 1 -> `prowler kubernetes --list-compliance` | 7 -> `prowler kubernetes --list-categories` |
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ from prowler.lib.logger import logger
|
|||||||
|
|
||||||
timestamp = datetime.today()
|
timestamp = datetime.today()
|
||||||
timestamp_utc = datetime.now(timezone.utc).replace(tzinfo=timezone.utc)
|
timestamp_utc = datetime.now(timezone.utc).replace(tzinfo=timezone.utc)
|
||||||
prowler_version = "4.2.2"
|
prowler_version = "4.2.3"
|
||||||
html_logo_url = "https://github.com/prowler-cloud/prowler/"
|
html_logo_url = "https://github.com/prowler-cloud/prowler/"
|
||||||
square_logo_img = "https://prowler.com/wp-content/uploads/logo-html.png"
|
square_logo_img = "https://prowler.com/wp-content/uploads/logo-html.png"
|
||||||
aws_logo = "https://user-images.githubusercontent.com/38561120/235953920-3e3fba08-0795-41dc-b480-9bea57db9f2e.png"
|
aws_logo = "https://user-images.githubusercontent.com/38561120/235953920-3e3fba08-0795-41dc-b480-9bea57db9f2e.png"
|
||||||
|
|||||||
@@ -135,18 +135,20 @@ def add_html_header(file_descriptor, provider):
|
|||||||
def fill_html(file_descriptor, finding):
|
def fill_html(file_descriptor, finding):
|
||||||
try:
|
try:
|
||||||
row_class = "p-3 mb-2 bg-success-custom"
|
row_class = "p-3 mb-2 bg-success-custom"
|
||||||
finding.status = finding.status.split(".")[0]
|
finding_status = finding.status
|
||||||
|
# Change the status of the finding if it's muted
|
||||||
|
if finding.muted:
|
||||||
|
finding_status = f"MUTED ({finding.status})"
|
||||||
|
row_class = "table-warning"
|
||||||
if finding.status == "MANUAL":
|
if finding.status == "MANUAL":
|
||||||
row_class = "table-info"
|
row_class = "table-info"
|
||||||
elif finding.status == "FAIL":
|
elif finding.status == "FAIL":
|
||||||
row_class = "table-danger"
|
row_class = "table-danger"
|
||||||
elif finding.status == "WARNING":
|
|
||||||
row_class = "table-warning"
|
|
||||||
|
|
||||||
file_descriptor.write(
|
file_descriptor.write(
|
||||||
f"""
|
f"""
|
||||||
<tr class="{row_class}">
|
<tr class="{row_class}">
|
||||||
<td>{finding.status}</td>
|
<td>{finding_status}</td>
|
||||||
<td>{finding.severity.split(".")[0]}</td>
|
<td>{finding.severity.split(".")[0]}</td>
|
||||||
<td>{finding.service_name}</td>
|
<td>{finding.service_name}</td>
|
||||||
<td>{finding.region.lower()}</td>
|
<td>{finding.region.lower()}</td>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ packages = [
|
|||||||
{include = "dashboard"}
|
{include = "dashboard"}
|
||||||
]
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
version = "4.2.2"
|
version = "4.2.3"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
alive-progress = "3.1.5"
|
alive-progress = "3.1.5"
|
||||||
|
|||||||
Reference in New Issue
Block a user