Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging next to main for release 3.0.0 #19

Merged
merged 73 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
12e0e3d
Remove semgrep workflow file
Jul 14, 2023
ca06a69
'convert readme.html to manual_readme_content.md'
Aug 1, 2023
285ee67
PAPP-34458: inital work
tapishj-splunk Aug 5, 2024
1e02979
Update README.md
Aug 5, 2024
ce2fd3f
PAPP-34459: Update user action working
tapishj-splunk Aug 5, 2024
7ce74a9
Update README.md
Aug 5, 2024
3540483
PAPP-34461: Create destination group action done
tapishj-splunk Aug 5, 2024
e62fbc8
Update README.md
Aug 5, 2024
538805b
PAPP-34461: Destination ip group actions complete
tapishj-splunk Aug 6, 2024
b3012bb
Merge branch 'tapishj/PAPP-34461' of https://github.com/splunk-soar-c…
tapishj-splunk Aug 6, 2024
2de4148
Update README.md
Aug 6, 2024
aae9e0c
PAPP-34458: get blacklist and get whitelist working
tapishj-splunk Aug 6, 2024
8d21be3
Merge branch 'tapishj/PAPP-34458' of https://github.com/splunk-soar-c…
tapishj-splunk Aug 6, 2024
a09bd24
Update README.md
Aug 6, 2024
abe77a1
PAPP-34460: categories work
tapishj-splunk Aug 7, 2024
166154a
Update README.md
Aug 7, 2024
6684e59
PAPP-34461: removing all_results parameter
tapishj-splunk Aug 7, 2024
040bd11
Merge branch 'tapishj/PAPP-34461' of https://github.com/splunk-soar-c…
tapishj-splunk Aug 7, 2024
b875ce5
Update README.md
Aug 7, 2024
bfe732a
PAPP-34460: category actions completed
tapishj-splunk Aug 12, 2024
79321d4
Merge branch 'tapishj/PAPP-34460' of https://github.com/splunk-soar-c…
tapishj-splunk Aug 12, 2024
f261c81
Update README.md
Aug 12, 2024
8f339d6
Merge pull request #16 from splunk-soar-connectors/tapishj/PAPP-34461
tapishj-splunk Aug 12, 2024
a305162
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' into tapishj/PA…
tapishj-splunk Aug 12, 2024
d85615d
Update README.md
Aug 12, 2024
5384512
Merge pull request #17 from splunk-soar-connectors/tapishj/PAPP-34460
tapishj-splunk Aug 12, 2024
6b62c2f
PAPP-34457: param change
tapishj-splunk Aug 12, 2024
f1e806c
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' into tapishj/PA…
tapishj-splunk Aug 12, 2024
741403e
Update README.md
Aug 12, 2024
bcea011
Merge pull request #14 from splunk-soar-connectors/tapishj/PAPP-34459
tapishj-splunk Aug 12, 2024
6dd48ec
PAPP-34457: liniting changes
tapishj-splunk Aug 12, 2024
d15fbc8
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' into tapishj/PA…
tapishj-splunk Aug 12, 2024
8484f70
Update README.md
Aug 12, 2024
2478967
Merge pull request #15 from splunk-soar-connectors/tapishj/PAPP-34458
tapishj-splunk Aug 12, 2024
bee0992
PAPP-34457: linitng changes
tapishj-splunk Aug 12, 2024
0c9cae5
PAPP-34457: adding get departments action and fromatting table output
tapishj-splunk Aug 14, 2024
60360bf
Update README.md
Aug 14, 2024
8504654
PAPP-34457: using gets to access params
tapishj-splunk Aug 15, 2024
0a9544d
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Aug 15, 2024
c4cef61
PAPP-34457: logic change to edit destination group
tapishj-splunk Aug 16, 2024
a8e996c
PAPP-34457: adding column names
tapishj-splunk Aug 16, 2024
10a3d12
Update README.md
Aug 16, 2024
abf7a2f
PAPP-34457: fixing flake error
tapishj-splunk Aug 17, 2024
ac8a021
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Aug 17, 2024
45f301a
PAPP-34457: new get details action
tapishj-splunk Aug 28, 2024
a46ada5
Update README.md
Aug 28, 2024
0228eff
PAPP-34457: removing get ipv6 destination groups
tapishj-splunk Sep 11, 2024
29cf922
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Sep 11, 2024
ebdbf1d
Update README.md
Sep 11, 2024
aea41da
PAPP-34457: fixing static test and linting failures
tapishj-splunk Sep 12, 2024
4610308
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Sep 12, 2024
d46b46f
Update README.md
Sep 12, 2024
032a2af
PAPP-34457: bumping the number of retries
tapishj-splunk Sep 12, 2024
9e27bce
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Sep 12, 2024
496783d
PAPP-34457: changing whitelist and blacklist names
tapishj-splunk Sep 12, 2024
f8aafb7
Update README.md
Sep 12, 2024
822fa00
trigger pipeline
tapishj-splunk Sep 16, 2024
214b90e
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Sep 16, 2024
08f2273
PAPP-34457: resolving linting errors because of new linter
tapishj-splunk Sep 16, 2024
e43a17d
PAPP-34457: resolving linting errors because of new linter
tapishj-splunk Sep 16, 2024
6b5c029
PAPP-34457: resolving linting errors because of new linter
tapishj-splunk Sep 16, 2024
5425dc6
PAPP-34457: spelling fixes
tapishj-splunk Sep 26, 2024
00e35d3
PAPP-34457: small changes to make zscaler less flaky
tapishj-splunk Oct 15, 2024
c2638f1
trigger pipeline
tapishj-splunk Oct 15, 2024
5bc5b30
PAPP-34457: bumping min phantom version
tapishj-splunk Oct 15, 2024
4695683
Update README.md
Oct 15, 2024
3746829
PAPP-34457: adding release notes
tapishj-splunk Oct 16, 2024
40121fd
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Oct 16, 2024
d4f3ee2
Update README.md
Oct 16, 2024
5274e95
trigger pipeline
tapishj-splunk Oct 16, 2024
986b5ae
Merge branch 'tapishj/PAPP-34457-new-zscaler-actions' of https://gith…
tapishj-splunk Oct 16, 2024
33b77df
Merge pull request #18 from splunk-soar-connectors/tapishj/PAPP-34457…
tapishj-splunk Oct 17, 2024
738a112
Release notes for version 3.0.0
Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .github/workflows/semgrep.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (c) 2017-2023 Splunk Inc.
Copyright (c) 2017-2024 Splunk Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
485 changes: 481 additions & 4 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: __init__.py
#
# Copyright (c) 2017-2023 Splunk Inc.
# Copyright (c) 2017-2024 Splunk Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
76 changes: 76 additions & 0 deletions manual_readme_content.md
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 |
79 changes: 0 additions & 79 deletions readme.html

This file was deleted.

14 changes: 14 additions & 0 deletions release_notes/3.0.0.md
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.
Loading
Loading