Coder Social home page Coder Social logo

Comments (5)

strongjz avatar strongjz commented on June 14, 2024 1

We have fixed the issue with location and other snippets by making it an empty list by default in v1.1.0

We leave the security configuration of the block list to the user.

We are continuing to look into other remediations as well.

/close

from uptime-kuma-helm.

dirsigler avatar dirsigler commented on June 14, 2024

To fix this issue you have to do following:

PLEASE BE AWARE, THIS CHANGE IS GLOBAL AND DEACTIVATES SOME OF THE SECURITY MEASUREMENTS!

# Edit the ingress-nginx-controller ConfigMap in your Ingress namespace
kubectl -n ingress-nginx edit configmap ingress-nginx-controller

# You will find something like:
apiVersion: v1
data:
  allow-snippet-annotations: "true"
kind: ConfigMap

# Add following line into the data map:
annotation-value-word-blocklist: load_module,lua_package,_by_lua,root,serviceaccount,',\

# It should look now like:
apiVersion: v1
data:
  allow-snippet-annotations: "true"
  annotation-value-word-blocklist: load_module,lua_package,_by_lua,root,serviceaccount,',\
kind: ConfigMap

This change overrides the default annotation-value-word-blocklist to allow certain symbols and charakters in a snippet.

from uptime-kuma-helm.

dirsigler avatar dirsigler commented on June 14, 2024

@strongjz Thank you very much for responding, even tho I just had this here open for myself and others as a simple note 😄

from uptime-kuma-helm.

strongjz avatar strongjz commented on June 14, 2024

It was linked from another ingress-nginx issue so I assumed this was one as well, lol. Sorry for stomping on your issue.

from uptime-kuma-helm.

dirsigler avatar dirsigler commented on June 14, 2024

No worries, really appreciate that I somehow have proper solution here :D
Thanks for all your and the Teams efforts!

from uptime-kuma-helm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.