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

Do you have any reason to run Lurker without this security params? #2920

Closed
2 of 2 issues completed
Closed

Description

@kaz-33
PodSecurity "restricted:latest":   
unrestricted capabilities (containers "lurker" must set securityContext.capabilities.drop=["ALL"]),
"lurker" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")

Todos:

Activity

  1. changed the title [-]lurker priviledge[/-] [+]Do you have any reason to run Lurker without this security params?[/+] on Feb 25, 2025
  2. Weltraumschaf commented on Feb 25, 2025

    @Weltraumschaf
    Member

    Hi @kaz-33,

    thanks for your question. Would you be so kind as to format the text correctly, because it is very difficult to understand exactly what your concern is.

  3. kaz-33 commented on Feb 25, 2025

    @kaz-33
    Author

    done, this is a message from my cluster policy.

  4. J12934 commented on Feb 27, 2025

    @J12934
    Member

    capabilities: The capabilities is allready set to drop all. Its just written as lowercase, it should work the same, but apparently most tools only expect uppercase so would be good if this could be changed.

    seccompProfile: i'm still not a 100% certain if all clusters have the RuntimeDefault profile, so I wouldn't really want to hard code it as it stop the lurker from running on clusters at all. So if we'd add it, there should at least be a option to disable it if somebody has a cluster setup which doesn't support it. So far we left the lurker securityContentext not modifiable so this would be a bit harder to add.

    The code which sets the lurker security context is here: https://github.com/secureCodeBox/secureCodeBox/blob/main/operator/controllers/execution/scans/scan_reconciler.go#L333

  5. moved this from Triage to Todo in secureCodeBoxon Mar 11, 2025
  6. added
    help wantedExtra attention is needed
    and removed
    questionFurther information is requested
    on Mar 11, 2025
  7. self-assigned this
    on Jun 20, 2025
  8. moved this from Todo to In Progress in secureCodeBoxon Jun 20, 2025
  9. moved this from In Progress to Done in secureCodeBoxon Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugBugshelp wantedExtra attention is needed

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions