Skip to content

Commit

Permalink
SOAR-16020: validate new SDK image
Browse files Browse the repository at this point in the history
  • Loading branch information
joneill-r7 committed Nov 20, 2023
1 parent 7451020 commit f710fdc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ be on your way to contributing!

## Changelog

* 2.47.8 - `DockerfileParentValidator` | `RuntimeValidator` - update supported SDK images.
* 2.47.7 - `ConfidentialValidator` - Changed email violation to a warning
* 2.47.6 - Updated `GitPython` to version 3.1.32
* 2.47.5 - Updated `requests` to version 2.31.0 | Updated `GitPython` to version 3.1.30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def validate(self, spec):
"komand/python-3-37-slim-plugin",
"komand/python-3-37-plugin",
"komand/python-pypy3-full-plugin",
"rapid7/insightconnect-python-3-38-plugin", "rapid7/insightconnect-python-3-38-slim-plugin"
"rapid7/insightconnect-python-3-38-plugin", "rapid7/insightconnect-python-3-38-slim-plugin",
"rapid7/insightconnect-python-3-plugin", "rapid7/insightconnect-python-3-slim-plugin"
]
root_spec_found = False
for line in spec.raw_dockerfile():
Expand Down
4 changes: 2 additions & 2 deletions icon_validator/rules/plugin_validators/runtime_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def validate_dockerfile(spec, latest_images):
"Update Dockerfile accordingly to use latest base image.")

def validate(self, spec):
latest_images = ["rapid7/insightconnect-python-3-38-plugin",
"rapid7/insightconnect-python-3-38-slim-plugin"]
latest_images = ["rapid7/insightconnect-python-3-plugin",
"rapid7/insightconnect-python-3-slim-plugin"]
RuntimeValidator.validate_dockerfile(spec, latest_images)

with open(f"{spec.directory}/Dockerfile", "r") as file:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ urlextract==0.14.0
typing==3.7.4.1
PyYAML==5.4.1
dacite==1.6.0
GitPython==3.1.32
GitPython==3.1.37
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="insightconnect_integrations_validators",
version="2.47.7",
version="2.47.8",
description="Validator tooling for InsightConnect integrations",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion unit_test/plugin_examples/good_plugin_with_task/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rapid7/insightconnect-python-3-38-plugin:4
FROM rapid7/insightconnect-python-3-plugin:5
LABEL organization=komand
LABEL sdk=python
LABEL type=plugin
Expand Down

0 comments on commit f710fdc

Please sign in to comment.