-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
ai-issue-review[Experimental] Triggers AI-powered issue triage with coding-agent-ready fix plans[Experimental] Triggers AI-powered issue triage with coding-agent-ready fix plansbugprovider/awsIssues/PRs related with the AWS providerIssues/PRs related with the AWS providerseverity/mediumResults in some unexpected or undesired behavior.Results in some unexpected or undesired behavior.
Description
Issue search
- I have searched the existing issues and this bug has not been reported yet
Which component is affected?
Prowler UI
Cloud Provider (if applicable)
AWS
Steps to Reproduce
I faced with error of Powler UI on the same point regardless of configuration and settings. I understand that the point is AWS CodeArtifact, but anyway it's fails always on the same place.
- Installation
VERSION=$(curl -s https://api.github.com/repos/prowler-cloud/prowler/releases/latest | jq -r .tag_name)
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/docker-compose.yml"
# Environment variables can be customized in the .env file. Using default values in production environments is not recommended.
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/.env"
docker compose up -d
- Provider AWS
- Single account
- Run scan and see error (18%, after 2h 30-40 minutes)
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
- Increase EC2 performance to x2gd.2xlarge. Run scan - see the same error on the same point
- Use customized
docker-compose.yml andpostgresql.conffiles. Run scan - see the same error on the same point. - prowler-cli - makes checks in all regions in 3-4 hours without errors. But output csv is massive - 256MB to be opened and work fast in browser.
Expected behavior
Prowler UI scan finish completely.
Actual Result with Screenshots or Logs
-
Logs
worker.log
postgres.log -
UI Error
How did you install Prowler?
Cloning the repository from github.com (git clone)
Environment Resource
- TimeZone (UTC+4)
- Prowler APP/UI (docker-compose.yml)
- AWS EC2 :
- Instance type -x2gd.2xlarge
- Root volume - 20GB
- Additional EBS volume - 50 GB (Type -gp3, IOPS - 12000, Throughput -750)
- Instance build-in storage - 475 ssd (NVME)
postgresql_configuration_file.txt
OS used
- Amazon Linux (al2023-ami-2023.10.20260216.1-kernel-6.1-arm64)
Prowler version
5.18.3
Python version
Pip version
Context
AWS CodeArtifact has 3 repos
- Maven central repo (official )- Total packages - 2175, Total versions - 8935
- Maven custom repo - Total packages - 7466, Total versions - 441751
- Npm store repo (official) - Total packages - 5026, Total versions - 17788
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ai-issue-review[Experimental] Triggers AI-powered issue triage with coding-agent-ready fix plans[Experimental] Triggers AI-powered issue triage with coding-agent-ready fix plansbugprovider/awsIssues/PRs related with the AWS providerIssues/PRs related with the AWS providerseverity/mediumResults in some unexpected or undesired behavior.Results in some unexpected or undesired behavior.