Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration for Privileged vs Non-Privileged services #205

Open
eljeffeg opened this issue Mar 5, 2024 · 3 comments
Open

Configuration for Privileged vs Non-Privileged services #205

eljeffeg opened this issue Mar 5, 2024 · 3 comments
Assignees
Labels
assess We still haven't decided if this will be worked on or not enhancement New feature or request

Comments

@eljeffeg
Copy link

eljeffeg commented Mar 5, 2024

Is your feature request related to a problem? Please describe.
Our Elastic instance requires a pod label to access it. I am unable to configure a label privileged services in order to access these resources without granting similar access to non-privileged services.

Describe the solution you'd like
Please provide a configuration for adding labels to privileged vs non services. Perhaps a section similar to config.scaler.additional_labels

Additional context
These are the update services that I need to provide access to Elastic for function, which in my environment, requires a pod label.

alsvc-apivector-updates
alsvc-configextractor-updates
alsvc-safelist-updates
alsvc-sigma-updates
alsvc-suricata-updates
alsvc-tagcheck-updates
@eljeffeg eljeffeg added assess We still haven't decided if this will be worked on or not enhancement New feature or request labels Mar 5, 2024
@eljeffeg eljeffeg changed the title Labels for Privileged vs Non-Privileged services Configuration for Privileged vs Non-Privileged services Mar 5, 2024
@cccs-douglass
Copy link
Collaborator

The current release of Assemblyline lets you add labels on a per-container basis in the service settings.

This wouldn't let you blanket apply the label without some scripting on your end, but does give you the specificity to avoid applying the label were you don't want it. Feedback?

@eljeffeg
Copy link
Author

Might you be able to provide an example of how you might apply a label, for example role: backend, in the helm chart for container sigma-updates? I didn't see anything in https://cybercentrecanada.github.io/assemblyline4_docs/installation/configuration/services/

Also, perhaps another ticket, but might we be able to use this service section to define a service's imagePullSecret? I tried to add it in general, but then it seems to try and pull all services from my internal repository instead of DockerHub.

@cccs-kevin
Copy link
Contributor

+1 for documentation update :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assess We still haven't decided if this will be worked on or not enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants