← 输入框|github.com|刷新
Skip to content

Amass Docker Container does not use a non-numeric user #715

Closed

Description

@SebieF

Currently, we use the amass docker container published on dockerhub. Now we added securityContext values to every scanner. During this process, I encountered that it is necessary to set the value runAsNonRoot to false because they use a non-numeric user in their Dockerfile.

Otherwise, the following error is raised by kubernetes: Error: container has runAsNonRoot and image has non-numeric user (user), cannot verify user is non-root (pod: "scan-amass-scanner-dummy-scan, container: amass).

Possible solutions

  1. Create an issue in the OWASP amass project and ask them if it is possible to add a numerical user value (1001 is standard for SCB scanners)
  2. Create our own dockerfile for the amass scanner.

Activity

  1. added this to the v3.3.0 milestone on Oct 8, 2021
  2. removed this from the v3.3.0 milestone on Mar 9, 2022
  3. Zero3141 commented on Sep 4, 2023

    @Zero3141
    Contributor

    Will be fixed in PR1864, because we introduce our own scanner docker container

  4. moved this from Backlog to In Progress in secureCodeBoxon Sep 4, 2023
  5. added a commit that references this issue on Sep 5, 2023
  6. added 2 commits that reference this issue on Sep 12, 2023
  7. J12934 commented on Sep 26, 2023

    @J12934
    Member

    resolved

  8. moved this from In Progress to Done in secureCodeBoxon Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

maintenancescannerImplement or update a security scanner

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions