Skip to content

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

@github-actions

Description

@github-actions

Codacy ID: db9ae5cb402c755a414bef553deae59a

File: TransactionProcessor/Dockerfile
Line: 28
Rule: Security (High)
Commit: 8d0bcc5eb820824c8574f70888353f9cc9b1320c

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", "TransactionProcessor.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