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 2.2.7 #17

Merged
merged 35 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
434e981
Bumped up the version of awslambda from 2.2.6 to 2.2.7
Jan 27, 2022
96832c4
Bump min phantom version (#12)
rgil-splunk Jan 28, 2022
ab72130
Delete readme.md
rgil-splunk Jan 28, 2022
681098d
Bumped up the version of awslambda from 2.2.7 to 2.2.8
Jan 28, 2022
cfeb55e
Update pre-commit hook version
Feb 1, 2022
d2b9c6a
Bumped up the version of awslambda from 2.2.8 to 2.2.9
Feb 4, 2022
314f2b4
Updating start-release action trigger
Feb 4, 2022
34c9293
Release notes for version 2.2.9
Feb 8, 2022
d4352f2
Additional logging
pzhou-splunk Feb 22, 2022
56491c0
Merge pull request #15 from splunk-soar-connectors/logging
pzhou-splunk Feb 22, 2022
c947eb9
Bump min_phantom_version
pzhou-splunk Apr 6, 2022
502b7b6
Merge pull request #16 from splunk-soar-connectors/min-phantom-version
pzhou-splunk Apr 6, 2022
70541e0
Release notes for version 2.2.9
Apr 6, 2022
877c029
Adding workflow file for release review
Jul 18, 2022
155e3e6
'stop maintaining and delete release_notes.html'
Jul 22, 2022
93dd1b4
Bump minimum phantom version to 5.3.0 (#18)
rgil-splunk Aug 1, 2022
bb7dc83
Release notes for version 2.2.9
Aug 1, 2022
0043630
'create generate-doc.yml file'
Mar 3, 2023
6cded97
'update generate-doc.yml file'
Mar 7, 2023
3793356
'update generate-doc.yml file'
Mar 7, 2023
ca2cfb0
Update Copyright year
Mar 8, 2023
df7c21c
Update copyright in more files
Mar 27, 2023
a46e72f
'update generate-doc.yml file with manual_readme_content.md'
Apr 22, 2023
a002427
Bump min phantom version to 5.5.0 (#19)
rgil-splunk May 8, 2023
e7170f2
Release notes for version 2.2.9
May 8, 2023
472f7b0
Remove semgrep workflow file
Jul 14, 2023
acae76e
Minimum SOAR version -> 6.1.1, cleanup of dependencies (#21)
bb-splunk Dec 12, 2023
a4a4797
Release notes for version 2.2.9
Dec 12, 2023
e88c4bc
PAPP-30822: Updated requests modules (#20)
achandya-crest Jan 4, 2024
dc08112
Release notes for version 2.2.9
Jan 4, 2024
3a3f39d
Update app version in next and revert unwanted changes (#22)
mishalp-crest Jan 4, 2024
8e46253
Release notes for version 2.2.7
Jan 4, 2024
3d2cf8f
get main branch module (#23)
mishalp-crest Jan 4, 2024
b149e2f
Release notes for version 2.2.7
Jan 4, 2024
b3c553a
Update NOTICE file and fix static failures (#24)
mishalp-crest Jan 5, 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
20 changes: 20 additions & 0 deletions .github/workflows/generate-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Generate Readme Doc
on:
workflow_dispatch:
push:
paths:
- '*.json'
- 'readme.html'
- 'manual_readme_content.md'
tags-ignore:
- '**'
branches-ignore:
- next
- main
jobs:
generate-doc:
runs-on: ubuntu-latest
steps:
- uses: 'phantomcyber/dev-cicd-tools/github-actions/generate-doc@main'
with:
GITHUB_TOKEN: ${{ secrets.SOAR_APPS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Linting
on: [push, pull_request]
jobs:
lint:
lint:
# Run per push for internal contributers. This isn't possible for forked pull requests,
# so we'll need to run on PR events for external contributers.
# String comparison below is case insensitive.
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/review-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Review Release
concurrency:
group: app-release
cancel-in-progress: true
permissions:
contents: read
id-token: write
statuses: write
on:
workflow_dispatch:
inputs:
task_token:
description: 'StepFunction task token'
required: true

jobs:
review:
uses: 'phantomcyber/dev-cicd-tools/.github/workflows/review-release.yml@main'
with:
task_token: ${{ inputs.task_token }}
secrets:
resume_release_role_arn: ${{ secrets.RESUME_RELEASE_ROLE_ARN }}
28 changes: 0 additions & 28 deletions .github/workflows/semgrep.yml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/start-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Start Release
on: workflow_dispatch
on:
workflow_dispatch:
push:
tags:
- '*-beta*'
jobs:
start-release:
runs-on: ubuntu-latest
steps:
- uses: 'phantomcyber/dev-cicd-tools/github-actions/start-release@main'
with:
GITHUB_TOKEN: ${{ secrets.SOAR_APPS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SOAR_APPS_TOKEN }}
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/phantomcyber/dev-cicd-tools
rev: v1.5
rev: v1.16
hooks:
- id: org-hook
- id: package-app-dependencies
- repo: https://github.com/Yelp/detect-secrets
rev: v1.1.0
rev: v1.4.0
hooks:
- id: detect-secrets
args: ['--no-verify', '--exclude-files', '^awslambda.json$']
4 changes: 2 additions & 2 deletions 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 2019-2022 Splunk Inc.
Copyright (c) 2019-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 All @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
7 changes: 1 addition & 6 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Splunk SOAR AWS Lambda
Copyright (c) 2019-2022 Splunk Inc.
Copyright (c) 2019-2024 Splunk Inc.

Third-party Software Attributions:

Expand All @@ -17,11 +17,6 @@ License: Python 2.0
Copyright 2004-2007 Chad Miller
Copyright 2011 Günter Milde,

Library: requests
Version: 2.25.0
License: Apache 2.0
Kenneth Reitz

Library: six
Version: 1.15.0
License: MIT
Expand Down
286 changes: 143 additions & 143 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) 2019-2022 Splunk Inc.
# Copyright (c) 2019-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
154 changes: 41 additions & 113 deletions awslambda.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"product_name": "Lambda",
"product_version_regex": ".*",
"publisher": "Splunk",
"license": "Copyright (c) 2019-2022 Splunk Inc.",
"app_version": "2.2.6",
"utctime_updated": "2022-01-07T04:07:33.000000Z",
"license": "Copyright (c) 2019-2024 Splunk Inc.",
"app_version": "2.2.7",
"utctime_updated": "2022-02-04T17:14:48.000000Z",
"package_name": "phantom_awslambda",
"main_module": "awslambda_connector.py",
"min_phantom_version": "5.0.0",
Expand All @@ -21,114 +21,6 @@
"Cloud API, September 13, 2021"
],
"app_wizard_version": "1.0.0",
"pip_dependencies": {
"wheel": [
{
"module": "boto3",
"input_file": "wheels/shared/boto3-1.17.30-py2.py3-none-any.whl"
},
{
"module": "botocore",
"input_file": "wheels/shared/botocore-1.20.112-py2.py3-none-any.whl"
},
{
"module": "certifi",
"input_file": "wheels/shared/certifi-2021.10.8-py2.py3-none-any.whl"
},
{
"module": "chardet",
"input_file": "wheels/shared/chardet-3.0.4-py2.py3-none-any.whl"
},
{
"module": "docutils",
"input_file": "wheels/shared/docutils-0.18-py2.py3-none-any.whl"
},
{
"module": "futures",
"input_file": "wheels/py2/futures-3.3.0-py2-none-any.whl"
},
{
"module": "idna",
"input_file": "wheels/shared/idna-2.10-py2.py3-none-any.whl"
},
{
"module": "jmespath",
"input_file": "wheels/shared/jmespath-0.10.0-py2.py3-none-any.whl"
},
{
"module": "python_dateutil",
"input_file": "wheels/shared/python_dateutil-2.8.2-py2.py3-none-any.whl"
},
{
"module": "requests",
"input_file": "wheels/shared/requests-2.25.0-py2.py3-none-any.whl"
},
{
"module": "s3transfer",
"input_file": "wheels/shared/s3transfer-0.3.7-py2.py3-none-any.whl"
},
{
"module": "six",
"input_file": "wheels/shared/six-1.15.0-py2.py3-none-any.whl"
},
{
"module": "urllib3",
"input_file": "wheels/shared/urllib3-1.26.7-py2.py3-none-any.whl"
}
]
},
"pip3_dependencies": {
"wheel": [
{
"module": "boto3",
"input_file": "wheels/shared/boto3-1.17.30-py2.py3-none-any.whl"
},
{
"module": "botocore",
"input_file": "wheels/shared/botocore-1.20.112-py2.py3-none-any.whl"
},
{
"module": "certifi",
"input_file": "wheels/shared/certifi-2021.10.8-py2.py3-none-any.whl"
},
{
"module": "chardet",
"input_file": "wheels/shared/chardet-3.0.4-py2.py3-none-any.whl"
},
{
"module": "docutils",
"input_file": "wheels/shared/docutils-0.18-py2.py3-none-any.whl"
},
{
"module": "idna",
"input_file": "wheels/shared/idna-2.10-py2.py3-none-any.whl"
},
{
"module": "jmespath",
"input_file": "wheels/shared/jmespath-0.10.0-py2.py3-none-any.whl"
},
{
"module": "python_dateutil",
"input_file": "wheels/shared/python_dateutil-2.8.2-py2.py3-none-any.whl"
},
{
"module": "requests",
"input_file": "wheels/shared/requests-2.25.0-py2.py3-none-any.whl"
},
{
"module": "s3transfer",
"input_file": "wheels/shared/s3transfer-0.3.7-py2.py3-none-any.whl"
},
{
"module": "six",
"input_file": "wheels/shared/six-1.15.0-py2.py3-none-any.whl"
},
{
"module": "urllib3",
"input_file": "wheels/shared/urllib3-1.26.7-py2.py3-none-any.whl"
}
]
},
"configuration": {
"access_key": {
"description": "Access Key",
Expand Down Expand Up @@ -1218,5 +1110,41 @@
},
"versions": "EQ(*)"
}
]
}
],
"pip_dependencies": {
"wheel": [
{
"module": "boto3",
"input_file": "wheels/shared/boto3-1.17.30-py2.py3-none-any.whl"
},
{
"module": "botocore",
"input_file": "wheels/shared/botocore-1.20.112-py2.py3-none-any.whl"
},
{
"module": "docutils",
"input_file": "wheels/shared/docutils-0.18-py2.py3-none-any.whl"
},
{
"module": "jmespath",
"input_file": "wheels/shared/jmespath-0.10.0-py2.py3-none-any.whl"
},
{
"module": "python_dateutil",
"input_file": "wheels/shared/python_dateutil-2.8.2-py2.py3-none-any.whl"
},
{
"module": "s3transfer",
"input_file": "wheels/shared/s3transfer-0.3.7-py2.py3-none-any.whl"
},
{
"module": "six",
"input_file": "wheels/shared/six-1.15.0-py2.py3-none-any.whl"
},
{
"module": "urllib3",
"input_file": "wheels/shared/urllib3-1.26.18-py2.py3-none-any.whl"
}
]
}
}
3 changes: 2 additions & 1 deletion awslambda_connector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: awslambda_connector.py
#
# Copyright (c) 2019-2022 Splunk Inc.
# Copyright (c) 2019-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 Expand Up @@ -93,6 +93,7 @@ def _sanitize_data(self, cur_obj):

def _make_boto_call(self, action_result, method, paginate=False, empty_payload=False, **kwargs):

self.debug_print('Making call to {}'.format(method))
if paginate is False:
try:
boto_func = getattr(self._client, method)
Expand Down
2 changes: 1 addition & 1 deletion awslambda_consts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: awslambda_consts.py
#
# Copyright (c) 2019-2022 Splunk Inc.
# Copyright (c) 2019-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
2 changes: 1 addition & 1 deletion awslambda_invoke.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Main Start Block -->

<!-- File: awslambda_invoke.html
Copyright (c) 2019-2022 Splunk Inc.
Copyright (c) 2019-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
2 changes: 1 addition & 1 deletion awslambda_view.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: awslambda_view.py
#
# Copyright (c) 2019-2022 Splunk Inc.
# Copyright (c) 2019-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
Loading
Loading