Skip to content

Commit

Permalink
Merge pull request #11 from splunk-soar-connectors/next
Browse files Browse the repository at this point in the history
Merging next to main for release 1.1.2
  • Loading branch information
phantom-jacob authored Jan 2, 2025
2 parents 0e3549f + c800389 commit 1eb1f62
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 63 deletions.
1 change: 1 addition & 0 deletions .github/workflows/generate-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths:
- '*.json'
- 'readme.html'
- 'manual_readme_content.md'
tags-ignore:
- '**'
branches-ignore:
Expand Down
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Link

Publisher: Mhike
Connector Version: 1\.1\.1
Connector Version: 1.1.2
Product Vendor: Mhike
Product Name: Link
Product Version Supported (regex): "\.\*"
Minimum Product Version: 4\.9\.0
Product Version Supported (regex): ".\*"
Minimum Product Version: 4.9.0

Generates a widget with clickable links

Expand Down Expand Up @@ -65,8 +65,8 @@ The below configuration variables are required for this Connector to operate. T

VARIABLE | REQUIRED | TYPE | DESCRIPTION
-------- | -------- | ---- | -----------
**https\_port** | optional | string | Splunk SOAR HTTPS port if your instance uses one other than 443
**auth\_token** | optional | password | Splunk SOAR auth token if your instance requires auth for internal 127\.0\.0\.1 calls
**https_port** | optional | string | Splunk SOAR HTTPS port if your instance uses one other than 443
**auth_token** | optional | password | Splunk SOAR auth token if your instance requires auth for internal 127.0.0.1 calls
**debug** | optional | boolean | Print debugging statements to log

### Supported Actions
Expand All @@ -79,7 +79,7 @@ Generate a widget with clickable links
Type: **generic**
Read only: **False**

Adds the specified links with the descriptor as the link text\. Links are added to the existing link widget if one exists, otherwise a new widget will be generated\.
Adds the specified links with the descriptor as the link text. Links are added to the existing link widget if one exists, otherwise a new widget will be generated.

#### Action Parameters
PARAMETER | REQUIRED | DESCRIPTION | TYPE | CONTAINS
Expand All @@ -93,17 +93,17 @@ PARAMETER | REQUIRED | DESCRIPTION | TYPE | CONTAINS
#### Action Output
DATA PATH | TYPE | CONTAINS | EXAMPLE VALUES
--------- | ---- | -------- | --------------
action\_result\.status | string | | success failed
action\_result\.parameter\.append | string | |
action\_result\.parameter\.description | string | |
action\_result\.parameter\.linkset | string | |
action\_result\.parameter\.sort | string | |
action\_result\.parameter\.url | string | |
action\_result\.data\.\*\.linkset | string | |
action\_result\.summary | string | |
action\_result\.message | string | |
summary\.total\_objects | numeric | |
summary\.total\_objects\_successful | numeric | |
action_result.status | string | | success failed
action_result.parameter.append | string | |
action_result.parameter.description | string | |
action_result.parameter.linkset | string | |
action_result.parameter.sort | string | |
action_result.parameter.url | string | |
action_result.data.\*.linkset | string | |
action_result.summary | string | |
action_result.message | string | |
summary.total_objects | numeric | |
summary.total_objects_successful | numeric | |

## action: 'test connectivity'
Test connectivity to local SOAR instance
Expand All @@ -117,7 +117,7 @@ No parameters are required for this action
#### Action Output
DATA PATH | TYPE | CONTAINS | EXAMPLE VALUES
--------- | ---- | -------- | --------------
action\_result\.status | string | | success failed
action\_result\.message | string | |
summary\.total\_objects | numeric | |
summary\.total\_objects\_successful | numeric | |
action_result.status | string | | success failed
action_result.message | string | |
summary.total_objects | numeric | |
summary.total_objects_successful | numeric | |
4 changes: 2 additions & 2 deletions link.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"publisher": "Mhike",
"type": "devops",
"main_module": "link_connector.py",
"app_version": "1.1.1",
"app_version": "1.1.2",
"utctime_updated": "2023-03-10T14:03:35.000000Z",
"package_name": "phantom_link",
"product_vendor": "Mhike",
Expand Down Expand Up @@ -198,4 +198,4 @@
"executable": "spawn3",
"disabled": false,
"custom_made": true
}
}
48 changes: 48 additions & 0 deletions manual_readme_content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[comment]: # " File: README.md"
[comment]: # " Copyright (c) Mhike, 2022"
[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]: # " http://www.apache.org/licenses/LICENSE-2.0"
[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]: # ""
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

This app generates a widget with links. Each link will open in a new tab.

When adding links, they can either be appended to existing links with the append boolean or the new
links can overwrite the old links.

You can either add a single link and description at a time or you can use json to add multiple links
at once.

For a single link, you can add the url in the url field and the link text in the description
field.

For multiple links at once, you can pass in a list of dictionaries in this format:

[
{
"descriptor":"Google Search",
"url":"https://www.google.com"
},
{
"descriptor":"Splunk Documentation",
"url":"https://docs.splunk.com/Documentation"
},
{
"descriptor":"VirusTotal",
"url":"https://www.virustotal.com"
}
]

Make sure the url begins with http(s). If you don't, your links won't open in a new window properly.

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
40 changes: 0 additions & 40 deletions readme.html

This file was deleted.

0 comments on commit 1eb1f62

Please sign in to comment.