Skip to content

Commit

Permalink
PAPP-30822: Updated requests modules (#5)
Browse files Browse the repository at this point in the history
* Updated requests modules

* Update README.md

* minor change in release note

* update copyright changes

* Update README.md

* updated docs util library

* updated doc util library

* removed docutil library

* added doc utils library

* removed doc utils

* updated notice file

* update release notes

---------

Co-authored-by: splunk-soar-connectors-admin <admin@splunksoar>
Co-authored-by: mishalp-crest <[email protected]>
  • Loading branch information
3 people authored Dec 26, 2023
1 parent e2e3320 commit d574bc6
Show file tree
Hide file tree
Showing 29 changed files with 177 additions and 206 deletions.
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
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 (c) 2019-2022 Splunk Inc.
Copyright (c) 2019-2023 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.
12 changes: 1 addition & 11 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Splunk SOAR AWS Inspector
Copyright (c) 2019-2022 Splunk Inc.
Copyright (c) 2019-2023 Splunk Inc.

Third-party Software Attributions:

Expand All @@ -16,11 +16,6 @@ Copyright 2012 Kenneth Reitz
Copyright 2012-2017 Amazon.com, Inc
Copyright 2013 Kenneth Reitz

Library: docutils
Version: 0.16
License: Public Domain
Copyright 2011 Günter Milde,

Library: python-dateutil
Version: 2.8.1
License: Apache 2.0
Expand All @@ -32,8 +27,3 @@ Copyright 2015 - Paul Ganssle <[email protected]>
Copyright 2015 - dateutil contributors (see AUTHORS file)
Copyright 2017 Paul Ganssle <[email protected]>
Copyright 2017 dateutil contributors (see AUTHORS file)

Library: requests
Version: 2.25.0
License: Apache 2.0
Kenneth Reitz
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-2023 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
38 changes: 9 additions & 29 deletions awsinspector.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"product_name": "Inspector",
"product_version_regex": ".*",
"publisher": "Splunk",
"license": "Copyright (c) 2019-2022 Splunk Inc.",
"app_version": "2.2.10",
"license": "Copyright (c) 2019-2023 Splunk Inc.",
"app_version": "2.2.11",
"utctime_updated": "2022-01-07T21:56:46.000000Z",
"package_name": "phantom_awsinspector",
"main_module": "awsinspector_connector.py",
Expand All @@ -25,51 +25,31 @@
"wheel": [
{
"module": "boto3",
"input_file": "wheels/boto3-1.17.30-py2.py3-none-any.whl"
"input_file": "wheels/shared/boto3-1.17.30-py2.py3-none-any.whl"
},
{
"module": "botocore",
"input_file": "wheels/botocore-1.20.30-py2.py3-none-any.whl"
},
{
"module": "certifi",
"input_file": "wheels/certifi-2021.10.8-py2.py3-none-any.whl"
},
{
"module": "chardet",
"input_file": "wheels/chardet-3.0.4-py2.py3-none-any.whl"
},
{
"module": "docutils",
"input_file": "wheels/docutils-0.16-py2.py3-none-any.whl"
},
{
"module": "idna",
"input_file": "wheels/idna-2.10-py2.py3-none-any.whl"
"input_file": "wheels/shared/botocore-1.20.30-py2.py3-none-any.whl"
},
{
"module": "jmespath",
"input_file": "wheels/jmespath-0.10.0-py2.py3-none-any.whl"
"input_file": "wheels/shared/jmespath-0.10.0-py2.py3-none-any.whl"
},
{
"module": "python_dateutil",
"input_file": "wheels/python_dateutil-2.8.1-py2.py3-none-any.whl"
},
{
"module": "requests",
"input_file": "wheels/requests-2.25.0-py2.py3-none-any.whl"
"input_file": "wheels/shared/python_dateutil-2.8.1-py2.py3-none-any.whl"
},
{
"module": "s3transfer",
"input_file": "wheels/s3transfer-0.3.7-py2.py3-none-any.whl"
"input_file": "wheels/shared/s3transfer-0.3.7-py2.py3-none-any.whl"
},
{
"module": "six",
"input_file": "wheels/six-1.16.0-py2.py3-none-any.whl"
"input_file": "wheels/shared/six-1.16.0-py2.py3-none-any.whl"
},
{
"module": "urllib3",
"input_file": "wheels/urllib3-1.26.7-py2.py3-none-any.whl"
"input_file": "wheels/shared/urllib3-1.26.18-py2.py3-none-any.whl"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion awsinspector_connector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: awsinspector_connector.py
#
# Copyright (c) 2019-2022 Splunk Inc.
# Copyright (c) 2019-2023 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 awsinspector_consts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: awsinspector_consts.py
#
# Copyright (c) 2019-2022 Splunk Inc.
# Copyright (c) 2019-2023 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
6 changes: 3 additions & 3 deletions awsinspector_get_findings.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block widget_content %} <!-- Main Start Block -->

<!-- File: awsinspector_get_findings.html
Copyright (c) 2019-2022 Splunk Inc.
Copyright (c) 2019-2023 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 @@ -105,7 +105,7 @@ <h4 class="wf-h4-style">Info</h4>
{% endif %}
</table>
</div>

<div class="data">
<h4 class="wf-h4-style">Data</h4>
<table class="phantom-table dataTable">
Expand Down Expand Up @@ -140,7 +140,7 @@ <h4 class="wf-h4-style">Data</h4>
{% if not forloop.last %}<br/> {% endif %}
{% endfor %}
&nbsp;
{% if not forloop.last %}<br/>
{% if not forloop.last %}<br/>
{% endif %}
{% endfor %}
</td>
Expand Down
6 changes: 3 additions & 3 deletions awsinspector_list_templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block widget_content %} <!-- Main Start Block -->

<!-- File: awsinspector_list_templates.html
Copyright (c) 2019-2022 Splunk Inc.
Copyright (c) 2019-2023 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 @@ -117,7 +117,7 @@ <h4 class="wf-h4-style">Info</h4>
{% endif %}
</table>
</div>

<div class="data">
<h4 class="wf-h4-style">Data</h4>
<table class="phantom-table dataTable">
Expand Down Expand Up @@ -155,7 +155,7 @@ <h4 class="wf-h4-style">Data</h4>
<span class="glyphicon glyphicon-dot"></span>&nbsp;
{{ rule }}
&nbsp;
{% if not forloop.last %}<br/>
{% if not forloop.last %}<br/>
{% endif %}
{% endfor %}
</td>
Expand Down
6 changes: 3 additions & 3 deletions awsinspector_run_assessment.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block widget_content %} <!-- Main Start Block -->

<!-- File: awsinspector_run_assessment.html
Copyright (c) 2019-2022 Splunk Inc.
Copyright (c) 2019-2023 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 @@ -103,7 +103,7 @@ <h4 class="wf-h4-style">Info</h4>
{% endif %}
</table>
</div>

<div class="data">
<h4 class="wf-h4-style">Data</h4>
<table class="phantom-table dataTable">
Expand Down Expand Up @@ -144,7 +144,7 @@ <h4 class="wf-h4-style">Data</h4>
<span class="glyphicon glyphicon-dot"></span>&nbsp;
{{ rule }}
&nbsp;
{% if not forloop.last %}<br/>
{% if not forloop.last %}<br/>
{% endif %}
{% endfor %}
</td>
Expand Down
2 changes: 1 addition & 1 deletion awsinspector_view.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: awsinspector_view.py
#
# Copyright (c) 2019-2022 Splunk Inc.
# Copyright (c) 2019-2023 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
5 changes: 0 additions & 5 deletions exclude_files.txt

This file was deleted.

1 change: 1 addition & 0 deletions release_notes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
**Unreleased**
* Updated requests and certifi dependencies in order to use platform packages [PAPP-30822, PAPP-31096]
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
boto3==1.17.30
botocore==1.20.30
docutils==0.16
python-dateutil==2.8.1
requests==2.25.0
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[flake8]
max-line-length = 145
max-complexity = 28
extend-ignore = F403,E128,E126,E111,E121,E127,E731,E201,E202,F405,E722,D,W292

[isort]
line_length = 145
Binary file removed wheels/certifi-2021.10.8-py2.py3-none-any.whl
Binary file not shown.
Binary file removed wheels/chardet-3.0.4-py2.py3-none-any.whl
Binary file not shown.
Binary file removed wheels/docutils-0.16-py2.py3-none-any.whl
Binary file not shown.
Binary file removed wheels/idna-2.10-py2.py3-none-any.whl
Binary file not shown.
Binary file removed wheels/requests-2.25.0-py2.py3-none-any.whl
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file removed wheels/urllib3-1.26.7-py2.py3-none-any.whl
Binary file not shown.

0 comments on commit d574bc6

Please sign in to comment.