HTTPListRedirects

List the redirects for a given URL.

python · Common Scripts

Details

IDHTTPListRedirects
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775
TagsUtility

README

List the redirects for a given URL

Script Data


Name Description
Script Type python2
Tags Utility
Cortex XSOAR Version 5.0.0

Inputs


Argument Name Description
url The URL to follow
useHead Should we use HEAD instead of GET. Safer but might not be the same response.
use_system_proxy Use system proxy settings
trust_any_certificate Trust any certificate (not secure)

Outputs


Path Description Type
URL.Data The URL redirects from the given URL Unknown
commonfields:
  id: HTTPListRedirects
  version: -1
name: HTTPListRedirects
script: ''
type: python
subtype: python3
tags:
- Utility
comment: List the redirects for a given URL.
enabled: true
args:
- name: url
  required: true
  default: true
  description: The URL to follow.
- name: useHead
  auto: PREDEFINED
  predefined:
  - "true"
  - "false"
  defaultValue: "true"
  description: Should we use HEAD instead of GET. Safer but might not be the same response.
- name: use_system_proxy
  auto: PREDEFINED
  predefined:
  - "true"
  - "false"
  description: Use system proxy settings.
  defaultValue: "false"
- name: trust_any_certificate
  auto: PREDEFINED
  predefined:
  - "true"
  - "false"
  description: Trust any certificate (not secure).
  defaultValue: "false"
outputs:
- contextPath: URL.Data
  description: The URL redirects from the given URL.
scripttarget: 0
fromversion: 5.0.0
dockerimage: demisto/python3:3.12.13.10404775
tests:
- No tests (auto formatted)