diff --git a/README.md b/README.md index e2dabde4..f9abcd16 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/icon_validator/rules/plugin_validators/dockerfile_parent_validator.py b/icon_validator/rules/plugin_validators/dockerfile_parent_validator.py index 0507c926..afa8cddc 100644 --- a/icon_validator/rules/plugin_validators/dockerfile_parent_validator.py +++ b/icon_validator/rules/plugin_validators/dockerfile_parent_validator.py @@ -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(): diff --git a/icon_validator/rules/plugin_validators/runtime_validator.py b/icon_validator/rules/plugin_validators/runtime_validator.py index f2a6f772..04290395 100644 --- a/icon_validator/rules/plugin_validators/runtime_validator.py +++ b/icon_validator/rules/plugin_validators/runtime_validator.py @@ -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: diff --git a/requirements.txt b/requirements.txt index 2653181e..77e58a73 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 \ No newline at end of file +GitPython==3.1.37 \ No newline at end of file diff --git a/setup.py b/setup.py index 228985d8..c1570da6 100644 --- a/setup.py +++ b/setup.py @@ -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", diff --git a/unit_test/plugin_examples/good_plugin_with_task/Dockerfile b/unit_test/plugin_examples/good_plugin_with_task/Dockerfile index 3ae51d10..e628a5c0 100755 --- a/unit_test/plugin_examples/good_plugin_with_task/Dockerfile +++ b/unit_test/plugin_examples/good_plugin_with_task/Dockerfile @@ -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