-
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.
Hashit - 17803 - Initial updates for fedramp compliance | Updated SDK…
- Loading branch information
1 parent
7e53d75
commit ae5b385
Showing
21 changed files
with
263 additions
and
128 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": "4b2e7fb4e53fbb4058959bf1c21c0336", | ||
"manifest": "2266fae404b187ccd184de5013286d78", | ||
"setup": "d5b8763431696ffa240187e6650c3053", | ||
"spec": "d74a532ec96208983185cdbd72be210d", | ||
"manifest": "d063ac941d7bac907db3d5f42ec47c99", | ||
"setup": "9e913725f17cc07c7831d7dc287c075e", | ||
"schemas": [ | ||
{ | ||
"identifier": "bytes/schema.py", | ||
"hash": "d8126ff2762dc3e4346b1d8b5dcdb97f" | ||
"hash": "12d95875327550a29b6e95c5d79bbe04" | ||
}, | ||
{ | ||
"identifier": "string/schema.py", | ||
"hash": "dd15df8e8b56733279a2af04b8177cd6" | ||
"hash": "66fa6e6c7596988cd7d1ef22d69bc70f" | ||
}, | ||
{ | ||
"identifier": "connection/schema.py", | ||
"hash": "da5382221ca2a33a2f854e17b068d502" | ||
"hash": "bd524b567f9638ba1c6f7e0c9e45ff2e" | ||
} | ||
] | ||
} |
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,18 +1,20 @@ | ||
FROM rapid7/insightconnect-python-3-38-slim-plugin:4 | ||
# Add any custom package dependencies here | ||
# NOTE: Add pip packages to requirements.txt | ||
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.1.3 | ||
|
||
# End package dependencies | ||
LABEL organization=rapid7 | ||
LABEL sdk=python | ||
|
||
# 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 | ||
|
||
ENTRYPOINT ["/usr/local/bin/icon_hashit"] | ||
# User to run plugin code. The two supported users are: root, nobody | ||
USER nobody | ||
|
||
ENTRYPOINT ["/usr/local/bin/icon_hashit"] |
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,3 +1,6 @@ | ||
# GENERATED BY KOMAND SDK - DO NOT EDIT | ||
from .bytes.action import Bytes | ||
# GENERATED BY INSIGHT-PLUGIN - DO NOT EDIT | ||
|
||
from .string.action import String | ||
|
||
from .bytes.action import Bytes | ||
|
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 Bytes |
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,2 @@ | ||
# GENERATED BY KOMAND SDK - DO NOT EDIT | ||
# GENERATED BY INSIGHT-PLUGIN - DO NOT EDIT | ||
from .action import String |
Oops, something went wrong.