Coder Social home page Coder Social logo

Comments (4)

agaudreault avatar agaudreault commented on August 16, 2024

@tpcgold This seems to be a configuration problem within your cloud provider resources. If connecting to GitHub, you might need to configure it with https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses.

from argo-cd.

tpcgold avatar tpcgold commented on August 16, 2024

Nope it's not a Github isse.
As the issue describes it's a OWASP compatibility of the ArgoCD frontend -> ArgoCD backend calls.
For now i had to do an exeption in the Firewall checks
(if my office ip + argo cookie is present i do ignore some OWASP rules mentioned above)

from argo-cd.

agaudreault avatar agaudreault commented on August 16, 2024

@tpcgold In your issue description, you mention the following:

Requests from the UI should successfully pass the Firewall without the need to puncture security by loosening a widely used standard policy (OWASP)

Can you find which data/value is invalid in the calls made from the ArgoCD frontend to the ArgoCD backend? The rules as explain in https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules?tabs=owasp32 do not provide much details and I assume your WAF might have more logs on which data is causing the error.

from argo-cd.

tpcgold avatar tpcgold commented on August 16, 2024

You can find all rules in the coreset of OWASP
e.g. some like 931130 are regex based
931130

I don't have the logs ready as the Log Analytics workspace is already deleted.
But the issue was the amount of matches in a short period which shoot the anomaly score above 5
https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
and hence trigger the firewall to block the "connect" requests on the "connect repo" page

from argo-cd.

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.