-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Automox 2.0.0: Fixes to the Vulnerability Sync Actions (#2029) * Fixes to the Vulnerability Sync Actions * remove debugging print * fix bug in update_device action * help.md generation seems broken, fix manually * feedback * review feedback * Black formatting for automox * Automox - Fix unit test & PluginValidator checks (#2094) * Update unit test imports * Remove redundant unit test * Update helpmd actions header and links * Move triggers section below actions * Help.md save point * Helpmd refresh * Insight tooling refresh minus schemas * Help md violations corrected * Update checksum and helpmd * Please be the last of the errors * Violations fixed * Update output name * Title validator fixed * Update checksum * Update titles --------- Co-authored-by: Tyler Schmidtke <86071102+ax-tschmidtke@users.noreply.github.com>
- Loading branch information
1 parent
52b209d
commit b5eb66e
Showing
78 changed files
with
3,567 additions
and
2,449 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
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-slim-plugin:4 | ||
# Refer to the following documentation for available SDK parent images: https://komand.github.io/python/sdk.html#version | ||
FROM rapid7/insightconnect-python-3-38-slim-plugin:5 | ||
|
||
LABEL organization=rapid7 | ||
LABEL organization=automox | ||
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 | ||
RUN python setup.py build && python setup.py install | ||
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 nobody | ||
|
||
ENTRYPOINT ["/usr/local/bin/icon_automox"] | ||
ENTRYPOINT ["/usr/local/bin/icon_automox"] |
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.