How to use the investigate.Investigate.BASE_URL function in investigate

To help you get started, we’ve selected a few investigate examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ibmresilient / resilient-community-apps / fn_cisco_umbrella_inv / fn_cisco_umbrella_inv / util / resilient_inv.py View on Github external
def test_connectivity(self):
        """Connectivity Test which is used by resilient_circuits selftest.

        Calls http 'get' request against 'event_types' url.

        :return: Response
        """
        uri = self._uris["categories"]
        return self._session.get(urljoin(Investigate.BASE_URL, uri),
                                 params=None,
                                 headers=self._auth_header,
                                 proxies=self.proxies
                                 )
        return r