GetServerURL

Get the Server URL.

javascript · Common Scripts

Details

IDGetServerURL
Languagejavascript
From Version5.0.0

README

Get the Server URL.

Script Data


Name Description
Script Type javascript
Cortex XSOAR Version 5.0.0

Used In


This script is used in the following playbooks and scripts.

  • Add Unknown Indicators To Inventory - RiskIQ Digital Footprint
  • Content Update Check
  • Content Update Manager
  • Enrich Incident With Asset Details - RiskIQ Digital Footprint
  • IP Whitelist And Exclusion - RiskIQ Digital Footprint
  • NCSC CAF Assessment
  • PAN-OS to Cortex Data Lake Monitoring - Cron Job

Inputs


There are no inputs for this script.

Outputs


Path Description Type
ServerURL.Host The server host name. String
ServerURL.Port The server port. Number
ServerURL.Scheme The server scheme. String
ServerURL.URL The server full URL. String
comment: Get the Server URL.
commonfields:
  id: GetServerURL
  version: -1
enabled: true
name: GetServerURL
outputs:
- contextPath: ServerURL.Host
  description: The server host name.
  type: String
- contextPath: ServerURL.Port
  description: The server port.
  type: Number
- contextPath: ServerURL.Scheme
  description: The server scheme.
  type: String
- contextPath: ServerURL.URL
  description: The server full URL.
  type: String
script: '-'
timeout: '0'
type: javascript
runas: DBotWeakRole
tags: []
tests:
- no test
fromversion: 5.0.0