Skip to content

Commit

Permalink
licensing
Browse files Browse the repository at this point in the history
  • Loading branch information
mposluszny-splunk committed Jan 15, 2024
1 parent 0afec78 commit f9d13b5
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
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) 2018-2023 Splunk Inc.
Copyright (c) 2018-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.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Splunk SOAR Windows Remote Management
Copyright (c) 2018-2023 Splunk Inc.
Copyright (c) 2018-2024 Splunk Inc.

Third-party Software Attributions:

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This app integrates with the Windows Remote Management service to execute variou

[comment]: # ""
[comment]: # " File: README.md"
[comment]: # " Copyright (c) 2018-2023 Splunk Inc."
[comment]: # " Copyright (c) 2018-2024 Splunk Inc."
[comment]: # " "
[comment]: # " Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)"
[comment]: # ""
Expand Down Expand Up @@ -854,4 +854,4 @@ action_result.status | string | | success failed
action_result.message | string | | Successfully deleted files
action_result.summary | string | |
summary.total_objects | numeric | | 1
summary.total_objects_successful | numeric | | 1
summary.total_objects_successful | numeric | | 1
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) 2018-2023 Splunk Inc.
# Copyright (c) 2018-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 manual_readme_content.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[comment]: # ""
[comment]: # " File: README.md"
[comment]: # " Copyright (c) 2018-2023 Splunk Inc."
[comment]: # " Copyright (c) 2018-2024 Splunk Inc."
[comment]: # " "
[comment]: # " Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)"
[comment]: # ""
Expand Down
2 changes: 1 addition & 1 deletion parse_callbacks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: parse_callbacks.py
#
# Copyright (c) 2018-2023 Splunk Inc.
# Copyright (c) 2018-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 winrm.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"product_name": "Windows Remote Management",
"product_version_regex": ".*",
"publisher": "Splunk",
"license": "Copyright (c) 2018-2023 Splunk Inc.",
"license": "Copyright (c) 2018-2024 Splunk Inc.",
"app_version": "2.2.6",
"utctime_updated": "2023-12-05T12:42:47.000000Z",
"package_name": "phantom_winrm",
Expand Down
12 changes: 6 additions & 6 deletions winrm_connector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: winrm_connector.py
#
# Copyright (c) 2018-2023 Splunk Inc.
# Copyright (c) 2018-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 @@ -186,7 +186,7 @@ def _sanitize_string(self, string):
# The breaking character in PS is '`', so first we break any breaking characters, then we
# break any double quotes which are found, then we break any $, which is used to declare variables
return string.replace('`', '``').replace('"', '`"').replace('$', '`$').replace('&', '`&').replace(')', '`)').replace('(', '`(')

def _get_fips_enabled(self):
try:
from phantom_common.install_info import is_fips_enabled
Expand Down Expand Up @@ -286,11 +286,11 @@ def _init_session(self, action_result, param=None):
if domain:
username = r'{}\{}'.format(domain, username)
elif transport == 'kerberos':
username = r'{}\{}'.format(domain, username)
username = r'{}\{}'.format(domain, username)
elif transport == 'certificate':
username = r'{}\{}'.format(domain, username)
cert_pem_path = config.get(consts.WINRM_CONFIG_CERT_PEM)
cert_key_pem_path = config.get(consts.WINRM_CONFIG_CERT_KEY_PEM)
username = r'{}\{}'.format(domain, username)
cert_pem_path = config.get(consts.WINRM_CONFIG_CERT_PEM)
cert_key_pem_path = config.get(consts.WINRM_CONFIG_CERT_KEY_PEM)
elif transport == 'credssp':
return action_result.set_status(
phantom.APP_ERROR, "This transport type is not yet implemented"
Expand Down
2 changes: 1 addition & 1 deletion winrm_consts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File: winrm_consts.py
#
# Copyright (c) 2018-2023 Splunk Inc.
# Copyright (c) 2018-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

0 comments on commit f9d13b5

Please sign in to comment.