-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from splunk-soar-connectors/next
Merging next to main for release 3.0.0
- Loading branch information
Showing
12 changed files
with
3,392 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[comment]: # " File: README.md" | ||
[comment]: # " Copyright (c) 2017-2024 Splunk Inc." | ||
[comment]: # "" | ||
[comment]: # "Licensed under the Apache License, Version 2.0 (the 'License');" | ||
[comment]: # "you may not use this file except in compliance with the License." | ||
[comment]: # "You may obtain a copy of the License at" | ||
[comment]: # "" | ||
[comment]: # " http://www.apache.org/licenses/LICENSE-2.0" | ||
[comment]: # "" | ||
[comment]: # "Unless required by applicable law or agreed to in writing, software distributed under" | ||
[comment]: # "the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND," | ||
[comment]: # "either express or implied. See the License for the specific language governing permissions" | ||
[comment]: # "and limitations under the License." | ||
[comment]: # "" | ||
Below points are considered for providing the **URL Category** parameter value. | ||
|
||
- Entire URL category string has to be mentioned in block letters | ||
|
||
- The most child category on UI has to be passed as the URL category parameter value to the action | ||
|
||
- From the URL category value on UI, every space has to be replaced by an underscore '\_' before | ||
passing it in the action's parameter value | ||
|
||
|
||
- For example, **Alternate Lifestyle** on UI becomes **ALTERNATE_LIFESTYLE** | ||
|
||
- When you specify a **url_category** , you can give it either the name you created or the ID | ||
which is assigned to it from Zscaler. The search will first search for the name, as opposed to | ||
the ID. So if you create a category **phantom-block** , you could use either **phantom-block** | ||
or **CUSTOM\_\*\*** . The name for these is case sensitive. | ||
|
||
The following are considered for providing the **URL** parameter value. | ||
|
||
- The comma-separated values of **URL** should correctly be given e.g. test.com,test1.com else the | ||
Phantom framework's parameter validator will return the error mentioning **Exception occurred: | ||
string index out of range** . | ||
|
||
Configure and set up permissions for the **lookup_url** action | ||
|
||
- Login to Zscaler UI using the Administrator credentials. | ||
- Once logged in, go to **Administration -> Role Management** section. | ||
- Click on the **Edit** icon beside the role that your account uses to configure the test | ||
connectivity. | ||
- Go to the **Functional Scope** section, enable **Security** if disabled, and save it. | ||
|
||
The above steps would help run the Lookup URL action as expected. | ||
|
||
The Sandbox Submission API requires a separate API key and uses a different host | ||
(csbapi.\[zscaler-cloud-name\]). For the **submit_file** action, the **sandbox_base_url** and | ||
**sandbox_api_token** asset configuration parameters should be configured. These two asset | ||
parameters won't affect test_connectivity. Follow the below steps to fetch these credentials for the | ||
**submit_file** action | ||
|
||
- Log in to the ZIA Admin Portal using your **admin** credentials. | ||
- Once logged in, go to **Administration -> Cloud Service API Key Management** section. In order | ||
to view the Cloud Service API Key Management page, the admin must be assigned an admin role. | ||
- For the Cloud Sandbox Submission API used in this action, the base URL and token are displayed | ||
on the **Sandbox Submission API Token** tab. | ||
- The base URL and token displayed here can be configured in the asset parameters in | ||
**sandbox_base_url** and **sandbox_api_token** parameters respectively and will be used for the | ||
submit_file action. | ||
|
||
The above steps would help run the Submit File action as expected. | ||
|
||
**NOTE:** This action would work according to the API behavior | ||
|
||
Port Information | ||
|
||
The app uses HTTP/ HTTPS protocol for communicating with the Zscaler server. Below are the default | ||
ports used by Splunk SOAR. | ||
|
||
| Service Name | Transport Protocol | Port | | ||
|----------------------|--------------------|------| | ||
| http | tcp | 80 | | ||
| https | tcp | 443 | |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
* [PAPP-34457] | ||
* New `get blacklist` action that retrieves the Zscaler default block list. | ||
* New `get whitelist` action that retrieves the Zscaler default allow list. | ||
* New `update user` action that updates the user information for the specified ID. | ||
* New `add category url:` action that adds URLs to the specified category. | ||
* New `add category IP:` action that adds IPs to the specified category. | ||
* New `remove category url:` action that removes URLs from the specified category. | ||
* New `remove category IP:` action that removes IPs from the specified category. | ||
* New `get categories:` action that retrieves a list of all categories. | ||
* New `create destination groups:` action that adds a new IP destination group. | ||
* New `edit destination groups:` action that updates the IP destination group information for the specified group ID. | ||
* New `list destination groups:` action that gets a list of all IP destination groups or the IP destination group information for the specified group ID. | ||
* New `delete destination groups:` action that deletes the IP destination groups for the specified group IDs. | ||
* New `get departments:` action that gets a list of departments. It can be searched by name. |
Oops, something went wrong.