-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [SOAR-9912] Komand Obsolete (#1812) * Deprecate * Update help.md * [SOAR-9680] Komand Snyk Updates (#1772) * Update komand -> insight_plugin_runtime * Update log * Update exceptions | String formatting | examples * Black reformat | regen * Ignore Bandit warning * Black reformat * JSON formatting help.md * Regen * Update help.md * [SOAR-9912] Komand Obsolete (#1812) * Deprecate * Update help.md
- Loading branch information
1 parent
360a078
commit 4d2a6cf
Showing
15 changed files
with
298 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"spec": "4e786fde1aa6a3442454a650271b5bd0", | ||
"manifest": "4401ae6250c18c56e062c818b1bd86af", | ||
"setup": "61c77e271214ef4b8f913aff446e921e", | ||
"spec": "10457cf131fb240cb5eb30d6d4144c11", | ||
"manifest": "2777097d2933eac28bc56741671f0d99", | ||
"setup": "b25869f305f408eea4c085d1f1d8ae76", | ||
"schemas": [ | ||
{ | ||
"identifier": "run_asynchronously/schema.py", | ||
"hash": "53aa3ee3fa5f04ee29b31830f945f0f9" | ||
"hash": "3434ef52dbb8a715d4b24dcd5acb53c3" | ||
}, | ||
{ | ||
"identifier": "run_synchronously/schema.py", | ||
"hash": "956dae3d5681164b0c9a3c7f2a76381a" | ||
"hash": "763c1701fdc0520c1434173e6e286c25" | ||
}, | ||
{ | ||
"identifier": "connection/schema.py", | ||
"hash": "aa49bcaf442f5e8a84cce13175607d52" | ||
"hash": "820a19f7b96b39d81d0ca8cfa82c66ae" | ||
}, | ||
{ | ||
"identifier": "job/schema.py", | ||
"hash": "5c06b56479720ad202fe815b3471de71" | ||
"hash": "443c2fd80fe621788a385924efcad058" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
FROM komand/python-3-plugin:2 | ||
# The three supported python parent images are: | ||
# - komand/python-2-plugin | ||
# - komand/python-3-plugin | ||
# - komand/python-pypy3-plugin | ||
# | ||
# Update the tag to a full semver version | ||
FROM rapid7/insightconnect-python-3-38-plugin:5 | ||
LABEL organization=komand | ||
LABEL sdk=python | ||
LABEL type=plugin | ||
|
||
ENV SSL_CERT_FILE /etc/ssl/certs/ca-certificates.crt | ||
ENV SSL_CERT_DIR /etc/ssl/certs | ||
ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt | ||
|
||
# Add any custom package dependencies here | ||
# NOTE: Add pip packages to requirements.txt | ||
|
||
# End package dependencies | ||
|
||
# Add source code | ||
WORKDIR /python/src | ||
ADD ./plugin.spec.yaml /plugin.spec.yaml | ||
ADD . /python/src | ||
|
||
WORKDIR /python/src | ||
|
||
# Install pip dependencies | ||
RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
|
||
# Install plugin | ||
RUN python setup.py build && python setup.py install | ||
|
||
USER nobody | ||
|
||
ENTRYPOINT ["/usr/local/bin/komand_komand"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.