Giter Site home page Giter Site logo

Comments (6)

oshezaf avatar oshezaf commented on June 26, 2024

Per the Log Analytics agent documentation here and here, you set up a proxy by modifying the proxy.conf.

from azure-sentinel.

jgallucci32 avatar jgallucci32 commented on June 26, 2024

Thanks @oshezaf this is pointing me in the right direction. It looks like the python wrapper script written for Azure Sentinel does not have support yet for an http proxy. I'll see if I can modify the script and issue a pull request.

from azure-sentinel.

jgallucci32 avatar jgallucci32 commented on June 26, 2024

Created pull request #531

There were two parts to the issue. The first part is with the cef_installer.py script which is in the pull request. The second issue was with sudo not passing the https_proxy environment variable.

To fix the second issue you need to modify /etc/suoders or add the file /etc/sudoers.d/proxykeep to pass the environment variables for http proxy settings

Defaults env_keep += "http_proxy https_proxy no_proxy"

With sudo passing the https_proxy environment variable and the cef_installer.py script modified to detect and add the argument to the omsagent install script, the CEF collector can be installed fully with proxy settings and no post-modifications required.

from azure-sentinel.

Ronmarsiano avatar Ronmarsiano commented on June 26, 2024

Thanks for the contribution, we are taking a look and will address the issue

from azure-sentinel.

laughingman42 avatar laughingman42 commented on June 26, 2024

We were able to work around this problem by updating /etc/wgetrc to add the proxy variables http_proxy and https_proxy and enable it using use_proxy = on. We also added check_certificate = off to prevent issues with SSL. This ensures any instance of wget being called by scripts or nested scripts will always pickup the proxy configuration. Ref (link)

from azure-sentinel.

preetikr avatar preetikr commented on June 26, 2024

Closing as this has been work-arounded

from azure-sentinel.

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.