-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Issue search
- I have searched the existing issues and this bug has not been reported yet
Which component is affected?
Prowler API
Cloud Provider (if applicable)
Not applicable
Steps to Reproduce
I am encountering a FAILED result for the check: Tenancy audit log retention period is 365 days or greater. Upon checking the Prowler logs, it appears that Prowler is attempting to call an incorrect OCI API endpoint, resulting in a 404 Not Found error. This causes the check to fail even when the actual OCI configuration is set correctly (365 days or more).
To Reproduce:
-
Run Prowler against an OCI environment.
-
Observe the check: audit_log_retention_period_365_days.
-
Check the debug logs to see the API request path.
-
Prowler hits a non-existent path/endpoint, returning a 404 error.
Expected behavior
Prowler should correctly call the Audit Configuration API (e.g., GET /audit/configuration) using the valid regional endpoint or the home region to retrieve the retention-period-days value.
Actual Result with Screenshots or Logs
I use Prowler opensource on enterprise environment, so I couldn't offer result with screenshots or Logs.
How did you install Prowler?
From pip package (pip install prowler)
Environment Resource
- EC2 instance
- I search the log prowler gets with Splunk - Then I found the error 404. I guess the path prowler goes is incorrect.
OS used
- Amazon Linux 2023
Prowler version
5.13.1
Python version
3.12
Pip version
pip3
Context
No response