Netskope

App · 25 actions

Block and allow sites with Netskope URL lists, search alerts and events, manage users and groups, adjust users' risk scores, see Private Access apps and publishers, and start workflows on new alerts, admin changes and URL list changes.

Actions

ActionWhat it does
Add URLs to listAdd URLs to a URL list, keeping the ones it has, such as to block a site.
Add users to groupAdd users to a group, such as to put them under a stricter policy.
Apply URL list changesDeploy every pending URL list change in the tenant, so policies use it.
Create groupCreate a user group, optionally with its first members.
Create URL listCreate a URL list that policies can use to block or allow sites.
Create userAdd a user to Netskope, so policies and groups can include them.
Delete groupDelete a user group.
Delete URL listDelete a URL list.
Delete userRemove a user from Netskope.
Get groupGet a group, and optionally its members.
Get URL listGet a URL list with its URLs, type and who changed it last.
Get userGet a user with their user name, emails and whether they are active.
Get user risk scoresGet users' current confidence index (UCI), Netskope's risk score from 0 (risky) to 1000 (trusted).
List alertsList alerts, such as DLP, malware, policy and anomaly alerts, over a period, optionally of one type or matching a query.
List eventsList events of one type over a period, such as cloud app activity, websites visited or admin changes.
List groupsList the user groups in Netskope, or find one by name.
List private appsList the private apps Netskope Private Access (NPA) publishes, with their hosts, ports and publishers.
List publishersList Private Access (NPA) publishers with whether each is connected, its version and how many apps it serves.
List URL listsList the tenant's URL lists with their URLs, type and whether a change is waiting to be applied.
List usersList the users provisioned in Netskope, or find one by user name, email or external ID.
Lower user risk scoreLower a user's confidence index (UCI) by a number of points, such as after another tool flags them, so risk-based policies treat them as riskier.
Remove URLs from listTake URLs off a URL list, keeping the rest, such as to unblock a site.
Remove users from groupTake users out of a group.
Reset user risk scoresReset users' confidence index (UCI) to 1000, such as once an investigation clears them.
Update URL listRename a URL list, change its type, or replace all its URLs.

Add URLs to list

Add URLs to a URL list, keeping the ones it has, such as to block a site.

Inputs

URL listurl_list_idnumberRequired
The URL list.At least 1.
URLsurlslistRequired
Domains, URLs or IP addresses, such as *.example.com, or regular expressions for a regular-expression list.
Apply nowapply_nowtrue/false
Deploy the change at once, so policies use it. This applies every pending URL list change in the tenant, not only this one. Leave off to review and apply changes in Netskope, or with the Apply URL list changes step.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "data": {
      "json_version": 1,
      "type": "exact",
      "urls": [
        "example"
      ]
    },
    "id": 1,
    "modify_by": "example",
    "modify_time": "example",
    "modify_type": "Created",
    "name": "example",
    "pending": 1
  }
}

Add users to group

Add users to a group, such as to put them under a stricter policy.

Inputs

Groupgroup_idtextRequired
The group.
Usersuser_idslistRequired
The users.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "group_id": "example",
    "user_ids": [
      "example"
    ]
  }
}

Apply URL list changes

Deploy every pending URL list change in the tenant, so policies use it.

Inputs

None.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "deployed": true
  }
}

Create group

Create a user group, optionally with its first members.

Inputs

NamenametextRequired
The group's name.
Usersuser_idslist
Users to add to the group.
External IDexternal_idtext
The group's ID in your identity provider, if you keep one.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "displayName": "example",
    "externalId": "example",
    "id": "example",
    "members": [
      {
        "display": "example",
        "type": "example",
        "value": "example"
      }
    ]
  }
}

Create URL list

Create a URL list that policies can use to block or allow sites.

Inputs

NamenametextRequired
A unique name for the list.
URLsurlslistRequired
Domains, URLs or IP addresses, such as *.example.com, or regular expressions for a regular-expression list.
Typetypetext
Whether the entries are exact domains, URLs and IP addresses or regular expressions. Leave empty for exact.One of: exact (Exact (domains, URLs and IP addresses)), regex (Regular expressions).
Apply nowapply_nowtrue/false
Deploy the change at once, so policies use it. This applies every pending URL list change in the tenant, not only this one. Leave off to review and apply changes in Netskope, or with the Apply URL list changes step.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "data": {
      "json_version": 1,
      "type": "exact",
      "urls": [
        "example"
      ]
    },
    "id": 1,
    "modify_by": "example",
    "modify_time": "example",
    "modify_type": "Created",
    "name": "example",
    "pending": 1
  }
}

Create user

Add a user to Netskope, so policies and groups can include them.

Inputs

User nameuser_nametextRequired
The user name, usually the user's email address or user principal name.
EmailemailtextRequired
The user's email address.
First namegiven_nametext
The user's first name.
Last namefamily_nametext
The user's last name.
External IDexternal_idtext
The user's ID in your identity provider, if you keep one.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "active": true,
    "emails": [
      {
        "primary": true,
        "type": "example",
        "value": "example"
      }
    ],
    "externalId": "example",
    "id": "example",
    "name": {
      "familyName": "example",
      "givenName": "example"
    },
    "userName": "example"
  }
}

Delete group

Delete a user group. Its users stay in Netskope.

Inputs

Groupgroup_idtextRequired
The group.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "deleted": true,
    "id": "example"
  }
}

Delete URL list

Delete a URL list. A list a policy still uses can't be deleted.

Inputs

URL listurl_list_idnumberRequired
The URL list.At least 1.
Apply nowapply_nowtrue/false
Deploy the change at once, so policies use it. This applies every pending URL list change in the tenant, not only this one. Leave off to review and apply changes in Netskope, or with the Apply URL list changes step.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "deleted": true,
    "id": "example"
  }
}

Delete user

Remove a user from Netskope.

Inputs

Usernetskope_user_idtextRequired
The user.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "deleted": true,
    "id": "example"
  }
}

Get group

Get a group, and optionally its members.

Inputs

Groupgroup_idtextRequired
The group.
Include membersinclude_memberstrue/false
Also list the group's members. Your tenant needs Netskope's group membership query setting turned on for this.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "displayName": "example",
    "externalId": "example",
    "id": "example",
    "members": [
      {
        "display": "example",
        "type": "example",
        "value": "example"
      }
    ]
  }
}

Get URL list

Get a URL list with its URLs, type and who changed it last.

Inputs

URL listurl_list_idnumberRequired
The URL list.At least 1.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "data": {
      "json_version": 1,
      "type": "exact",
      "urls": [
        "example"
      ]
    },
    "id": 1,
    "modify_by": "example",
    "modify_time": "example",
    "modify_type": "Created",
    "name": "example",
    "pending": 1
  }
}

Get user

Get a user with their user name, emails and whether they are active.

Inputs

Usernetskope_user_idtextRequired
The user.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "active": true,
    "emails": [
      {
        "primary": true,
        "type": "example",
        "value": "example"
      }
    ],
    "externalId": "example",
    "id": "example",
    "name": {
      "familyName": "example",
      "givenName": "example"
    },
    "userName": "example"
  }
}

Get user risk scores

Get users' current confidence index (UCI), Netskope's risk score from 0 (risky) to 1000 (trusted).

Inputs

User emailsemailslistRequired
The users' email addresses, as Netskope knows them.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "usersUci": [
      {
        "confidences": [
          {
            "confidenceScore": 1,
            "start": 1
          }
        ],
        "userId": "example"
      }
    ]
  }
}

List alerts

List alerts, such as DLP, malware, policy and anomaly alerts, over a period, optionally of one type or matching a query.

Inputs

Fromstart_timedate and time
Only those at or after this time. Leave empty for the last 24 hours.
Toend_timedate and time
Only those up to this time. Leave empty for now.
Alert typealert_typetext
Only alerts of this type. Leave empty for every type.One of: DLP (Data loss prevention (DLP)), Malware, policy, malsite (Malicious site), Compromised Credential, anomaly, uba (Behavior analytics (UBA)), watchlist, quarantine, Remediation, Security Assessment, Legal Hold.
Acknowledgedacknowledgedtext
Only acknowledged alerts, or only ones not acknowledged yet. Leave empty for both.One of: yes (Acknowledged only), no (Not acknowledged only).
Queryquerytext
A Netskope query to narrow the results, such as app eq 'Dropbox' or user eq 'ann@example.com'.
How manylimitnumber
How many to return, up to 10000. Leave empty for 100.From 1 to 10000.
Skipoffsetnumber
How many to skip, to read the next page.At least 0.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "ok": 1,
    "result": [
      {
        "_id": "example",
        "_insertion_epoch_timestamp": 1,
        "access_method": "example",
        "acked": "example",
        "action": "example",
        "activity": "example",
        "alert_name": "example",
        "alert_type": "example",
        "app": "example",
        "appcategory": "example",
        "category": "example",
        "device": "example",
        "dlp_profile": "example",
        "domain": "example",
        "dst_country": "example",
        "hostname": "example",
        "malware_name": "example",
        "policy": "example",
        "severity": "example",
        "site": "example",
        "src_location": "example",
        "timestamp": 1,
        "url": "example",
        "user": "example"
      }
    ]
  }
}

List events

List events of one type over a period, such as cloud app activity, websites visited or admin changes.

Inputs

Event typeevent_typetextRequired
Which events.One of: application (Application (activity in cloud apps)), page (Page (websites visited)), network (Network (traffic through Cloud Firewall and Private Access)), audit (Audit (changes made by admins)), infrastructure (Infrastructure (Netskope's own components)).
Fromstart_timedate and time
Only those at or after this time. Leave empty for the last 24 hours.
Toend_timedate and time
Only those up to this time. Leave empty for now.
Queryquerytext
A Netskope query to narrow the results, such as app eq 'Dropbox' or user eq 'ann@example.com'.
How manylimitnumber
How many to return, up to 10000. Leave empty for 100.From 1 to 10000.
Skipoffsetnumber
How many to skip, to read the next page.At least 0.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "ok": 1,
    "result": [
      {
        "_id": "example",
        "_insertion_epoch_timestamp": 1,
        "access_method": "example",
        "action": "example",
        "activity": "example",
        "app": "example",
        "audit_log_event": "example",
        "category": "example",
        "domain": "example",
        "dstip": "example",
        "hostname": "example",
        "severity_level": 1,
        "site": "example",
        "srcip": "example",
        "supporting_data": {},
        "timestamp": 1,
        "type": "example",
        "url": "example",
        "user": "example"
      }
    ]
  }
}

List groups

List the user groups in Netskope, or find one by name.

Inputs

Namenametext
Only the group with this name.
How manycountnumber
How many to return, up to 100. Leave empty for 100.From 1 to 100.
Start atstart_indexnumber
Where to start, counting from 1, to read the next page.At least 1.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "Resources": [
      {
        "displayName": "example",
        "externalId": "example",
        "id": "example",
        "members": [
          {
            "display": "example",
            "type": "example",
            "value": "example"
          }
        ]
      }
    ],
    "itemsPerPage": 1,
    "startIndex": 1,
    "totalResults": 1
  }
}

List private apps

List the private apps Netskope Private Access (NPA) publishes, with their hosts, ports and publishers.

Inputs

Queryquerytext
A Netskope query to narrow the results, such as app eq 'Dropbox' or user eq 'ann@example.com'.
How manylimitnumber
How many to return. Leave empty for all.From 1 to 10000.
Skipoffsetnumber
How many to skip, to read the next page.At least 0.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "data": {
      "private_apps": [
        {
          "app_id": 1,
          "app_name": "example",
          "clientless_access": true,
          "host": "example",
          "modify_time": "example",
          "protocols": [
            {
              "port": "example",
              "type": "example"
            }
          ],
          "real_host": "example",
          "service_publisher_assignments": [
            {
              "primary": true,
              "publisher_id": 1,
              "publisher_name": "example",
              "reachability": {}
            }
          ],
          "tags": [
            {
              "tag_id": 1,
              "tag_name": "example"
            }
          ],
          "trust_self_signed_certs": true,
          "use_publisher_dns": true
        }
      ]
    },
    "status": "example",
    "total": 1
  }
}

List publishers

List Private Access (NPA) publishers with whether each is connected, its version and how many apps it serves.

Inputs

None.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "data": {
      "publishers": [
        {
          "apps_count": 1,
          "assessment": {
            "hdd_free": "example",
            "ip_address": "example",
            "latency": 1,
            "version": "example"
          },
          "common_name": "example",
          "lbrokerconnect": true,
          "publisher_id": 1,
          "publisher_name": "example",
          "registered": true,
          "status": "example",
          "stitcher_pop": "example"
        }
      ]
    },
    "status": "example",
    "total": 1
  }
}

List URL lists

List the tenant's URL lists with their URLs, type and whether a change is waiting to be applied.

Inputs

Only pending changesonly_pendingtrue/false
Only lists with changes that haven't been applied yet.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "url_lists": [
      {
        "data": {
          "json_version": 1,
          "type": "exact",
          "urls": [
            "example"
          ]
        },
        "id": 1,
        "modify_by": "example",
        "modify_time": "example",
        "modify_type": "Created",
        "name": "example",
        "pending": 1
      }
    ]
  }
}

List users

List the users provisioned in Netskope, or find one by user name, email or external ID.

Inputs

User nameuser_nametext
Only the user with this user name.
Emailemailtext
Only the user with this email address.
External IDexternal_idtext
Only the user with this ID from your identity provider.
How manycountnumber
How many to return, up to 100. Leave empty for 100.From 1 to 100.
Start atstart_indexnumber
Where to start, counting from 1, to read the next page.At least 1.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "Resources": [
      {
        "active": true,
        "emails": [
          {
            "primary": true,
            "type": "example",
            "value": "example"
          }
        ],
        "externalId": "example",
        "id": "example",
        "name": {
          "familyName": "example",
          "givenName": "example"
        },
        "userName": "example"
      }
    ],
    "itemsPerPage": 1,
    "startIndex": 1,
    "totalResults": 1
  }
}

Lower user risk score

Lower a user's confidence index (UCI) by a number of points, such as after another tool flags them, so risk-based policies treat them as riskier.

Inputs

User emailemailtextRequired
The user's email address, as Netskope knows them.
Points to take offscorenumberRequired
How many points to take off, from 1 to 1000.From 1 to 1000.
Reasonreasontext
Why, shown in Netskope with the change.
Sourcesourcetext
What flagged the user, shown in Netskope. Leave empty for Lodol.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "email": "example",
    "response": {},
    "score": 1
  }
}

Remove URLs from list

Take URLs off a URL list, keeping the rest, such as to unblock a site.

Inputs

URL listurl_list_idnumberRequired
The URL list.At least 1.
URLsurlslistRequired
The URLs to take off, exactly as they appear on the list.
Apply nowapply_nowtrue/false
Deploy the change at once, so policies use it. This applies every pending URL list change in the tenant, not only this one. Leave off to review and apply changes in Netskope, or with the Apply URL list changes step.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "data": {
      "json_version": 1,
      "type": "exact",
      "urls": [
        "example"
      ]
    },
    "id": 1,
    "modify_by": "example",
    "modify_time": "example",
    "modify_type": "Created",
    "name": "example",
    "pending": 1
  }
}

Remove users from group

Take users out of a group.

Inputs

Groupgroup_idtextRequired
The group.
Usersuser_idslistRequired
The users.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "group_id": "example",
    "user_ids": [
      "example"
    ]
  }
}

Reset user risk scores

Reset users' confidence index (UCI) to 1000, such as once an investigation clears them.

Inputs

User emailsemailslistRequired
The users' email addresses, as Netskope knows them.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "emails": [
      "example"
    ],
    "response": {}
  }
}

Update URL list

Rename a URL list, change its type, or replace all its URLs. Fields left empty stay as they are.

Inputs

URL listurl_list_idnumberRequired
The URL list.At least 1.
Namenametext
The new name.
URLsurlslist
Every URL the list should hold, in place of the ones it has.
Typetypetext
Exact entries or regular expressions.One of: exact (Exact (domains, URLs and IP addresses)), regex (Regular expressions).
Apply nowapply_nowtrue/false
Deploy the change at once, so policies use it. This applies every pending URL list change in the tenant, not only this one. Leave off to review and apply changes in Netskope, or with the Apply URL list changes step.

Outputs

dataobject
The response from Netskope.
Example output
{
  "data": {
    "data": {
      "json_version": 1,
      "type": "exact",
      "urls": [
        "example"
      ]
    },
    "id": 1,
    "modify_by": "example",
    "modify_time": "example",
    "modify_type": "Created",
    "name": "example",
    "pending": 1
  }
}

On this page