Skip to content

Commit

Permalink
Merge pull request #8 from splunk-soar-connectors/next
Browse files Browse the repository at this point in the history
Merging next to main for release 2.1.8
  • Loading branch information
achandya-crest authored Apr 15, 2024
2 parents ea21a66 + 2c4e5e8 commit ed40069
Show file tree
Hide file tree
Showing 20 changed files with 398 additions and 346 deletions.
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 }}
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.9
rev: v1.17
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', '^wmi.json$']
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) 2016-2022 Splunk Inc.
Copyright (c) 2016-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 NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Splunk SOAR WMI
Copyright (c) 2016-2022 Splunk Inc.
Copyright (c) 2016-2024 Splunk Inc.

Third-party Software Attributions:

Expand Down
578 changes: 291 additions & 287 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) 2016-2022 Splunk Inc.
# Copyright (c) 2016-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
6 changes: 0 additions & 6 deletions exclude_files.txt

This file was deleted.

2 changes: 1 addition & 1 deletion logo_microsoft_wmi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion logo_microsoft_wmi_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions manual_readme_content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[comment]: # " File: README.md"
[comment]: # " Copyright (c) 2016-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]: # ""
Windows Management Instrumentation (WMI) ports need to be opened up on the endpoint for the app to
run WMI commands remotely. Depending upon your setup, this configuration can be part of a Group
Policy Object (GPO) or carried out individually on the endpoint.

This app does not support proxies, and it will ignore any proxy settings.

## wmi-client-wrapper

This app makes use of the Python wmi-client-wrapper module, which is licensed under the BSD License,
Copyright (c) 2013

## wmi-client-wrapper-py3

This app makes use of the Python wmi-client-wrapper-py3 module, which is licensed under the BSD
License, Copyright (c) 2018
25 changes: 0 additions & 25 deletions readme.html

This file was deleted.

1 change: 1 addition & 0 deletions release_notes/2.1.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Removed future dependencies in order to use platform packages [PAPP-33502]
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/future-0.16.0-py3-none-any.whl
Binary file not shown.
File renamed without changes.
8 changes: 4 additions & 4 deletions wmi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "endpoint",
"main_module": "wmi_connector.py",
"python_version": "3",
"app_version": "2.1.7",
"app_version": "2.1.8",
"utctime_updated": "2022-01-07T20:50:38.000000Z",
"package_name": "phantom_wmi",
"product_vendor": "Microsoft",
Expand All @@ -16,15 +16,15 @@
"fips_compliant": true,
"logo": "logo_microsoft_wmi.svg",
"logo_dark": "logo_microsoft_wmi_dark.svg",
"license": "Copyright (c) 2016-2022 Splunk Inc.",
"license": "Copyright (c) 2016-2024 Splunk Inc.",
"latest_tested_versions": [
"On-Prem on 20th August, 2021"
],
"pip_dependencies": {
"wheel": [
{
"module": "sh",
"input_file": "wheels/sh-1.12.14-py2.py3-none-any.whl"
"input_file": "wheels/shared/sh-1.12.14-py2.py3-none-any.whl"
}
]
},
Expand Down Expand Up @@ -2255,4 +2255,4 @@
"versions": "EQ(*)"
}
]
}
}
Loading

0 comments on commit ed40069

Please sign in to comment.