Skip to content

[Security] By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. #453

@github-actions

Description

@github-actions

Codacy ID: 43110db9c4d74c6bb872c415b7388f35

File: EstateReportingAPI/Dockerfile
Line: 24
Rule: Security (High)
Commit: 35ddf021c1ad4f674c3c48ee9c45313b93ba2553

Message: By not specifying a USER, a program in the container may run as 'root'. This is a security hazard.

**Code Snippet:**
```csharp
ENTRYPOINT ["dotnet", "EstateReportingAPI.dll"] 
```

Metadata

Metadata

Labels

securitySecurity-related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions