-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* snyk and sdk * deleting integration unit tests
- Loading branch information
1 parent
bd1755b
commit 702f67a
Showing
21 changed files
with
207 additions
and
373 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,19 +1,19 @@ | ||
{ | ||
"spec": "11b617b531bfc5aa4395fc40f9c24598", | ||
"manifest": "121802ce2e24e49184094fdbddd2b537", | ||
"setup": "ef8ba4d12d80802047c2e33e7c689107", | ||
"spec": "c7a928351e3670d2789ff5686df578f2", | ||
"manifest": "c5cc69f9176f8a28249422dc6fc117fc", | ||
"setup": "3ffc33bcc1dbe33b2b361c065bcee82e", | ||
"schemas": [ | ||
{ | ||
"identifier": "query_logs/schema.py", | ||
"hash": "6e6c90f3c1e227e3c3fb2353ef0f48ec" | ||
"hash": "5ef5d84285557cbcaf782f8a5c2f64f3" | ||
}, | ||
{ | ||
"identifier": "connection/schema.py", | ||
"hash": "51ac06217173a78117fe71cd4a0db13f" | ||
"hash": "31c15e384dddc9a35213ffda480488d2" | ||
}, | ||
{ | ||
"identifier": "get_new_alerts/schema.py", | ||
"hash": "775f70e25e8039041d5ee4917bea11bc" | ||
"hash": "5c67e720a20619e182bd2af68a3146fc" | ||
} | ||
] | ||
} |
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,26 +1,20 @@ | ||
FROM rapid7/insightconnect-python-3-38-plugin:4 | ||
# Refer to the following documentation for available SDK parent images: https://komand.github.io/python/sdk.html#version | ||
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.1.4 | ||
|
||
LABEL organization=rapid7 | ||
LABEL sdk=python | ||
|
||
# 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 | ||
ADD ./requirements.txt /python/src/requirements.txt | ||
|
||
# Install pip dependencies | ||
RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
|
||
# Install plugin | ||
ADD . /python/src | ||
|
||
RUN python setup.py build && python setup.py install | ||
|
||
# User to run plugin code. The two supported users are: root, nobody | ||
USER root | ||
USER nobody | ||
|
||
ENTRYPOINT ["/usr/local/bin/icon_devo"] |
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
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,2 +1,4 @@ | ||
# GENERATED BY KOMAND SDK - DO NOT EDIT | ||
# GENERATED BY INSIGHT-PLUGIN - DO NOT EDIT | ||
|
||
from .query_logs.action import QueryLogs | ||
|
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,2 +1,2 @@ | ||
# GENERATED BY KOMAND SDK - DO NOT EDIT | ||
# GENERATED BY INSIGHT-PLUGIN - DO NOT EDIT | ||
from .action import QueryLogs |
Oops, something went wrong.