Project

General

Profile

Feature #1390

Suppress InsecureRequestWarning

Added by Luke Murphey almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
06/30/2016
Due date:
% Done:

100%


Description

import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

http://stackoverflow.com/questions/27981545/suppress-insecurerequestwarning-unverified-https-request-is-being-made-in-pytho

History

#1 Updated by Luke Murphey almost 8 years ago

  • Target version set to 1.5.1

#2 Updated by Luke Murphey almost 8 years ago

Repro steps:

  1. Make an HTTPS input
  2. Watch the logs for the wanring:
index=_internal InsecureRequestWarning
index=_internal ((sourcetype=splunkd InsecureRequestWarning) OR sourcetype=web_availability_modular_input)

#3 Updated by Luke Murphey almost 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF