From b5566a9e4e85695513685c88aa613c64a289f21e Mon Sep 17 00:00:00 2001
From: Adebayo Oluwadunsin Iyanuoluwa
<88881603+oiadebayo@users.noreply.github.com>
Date: Mon, 16 Dec 2024 16:56:46 +0100
Subject: [PATCH] [Integration][Snyk] Corrected typo in snyk default blueprint
and mapping (#1243)
# Description
What - A PR to correct typographical error in default blueprint and
mapping for snyk integration
## Type of change
Please leave one option from the following and delete the rest:
- [x] Bug fix (non-breaking change which fixes an issue)
All tests should be run against the port production
environment(using a testing org).
### Core testing checklist
- [ ] Integration able to create all default resources from scratch
- [ ] Resync finishes successfully
- [ ] Resync able to create entities
- [ ] Resync able to update entities
- [ ] Resync able to detect and delete entities
- [ ] Scheduled resync able to abort existing resync and start a new one
- [ ] Tested with at least 2 integrations from scratch
- [ ] Tested with Kafka and Polling event listeners
- [ ] Tested deletion of entities that don't pass the selector
### Integration testing checklist
- [ ] Integration able to create all default resources from scratch
- [ ] Resync able to create entities
- [ ] Resync able to update entities
- [ ] Resync able to detect and delete entities
- [ ] Resync finishes successfully
- [ ] If new resource kind is added or updated in the integration, add
example raw data, mapping and expected result to the `examples` folder
in the integration directory.
- [ ] If resource kind is updated, run the integration with the example
data and check if the expected result is achieved
- [ ] If new resource kind is added or updated, validate that
live-events for that resource are working as expected
- [ ] Docs PR link [here](#)
### Preflight checklist
- [ ] Handled rate limiting
- [ ] Handled pagination
- [ ] Implemented the code in async
- [ ] Support Multi account
## Screenshots
Include screenshots from your environment showing how the resources of
the integration will look.
## API Documentation
Provide links to the API documentation used for this integration.
---
integrations/snyk/.port/resources/blueprints.json | 2 +-
integrations/snyk/.port/resources/port-app-config.yaml | 2 +-
integrations/snyk/CHANGELOG.md | 8 ++++++++
integrations/snyk/pyproject.toml | 2 +-
4 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/integrations/snyk/.port/resources/blueprints.json b/integrations/snyk/.port/resources/blueprints.json
index dbb32373d0..298554d8ea 100644
--- a/integrations/snyk/.port/resources/blueprints.json
+++ b/integrations/snyk/.port/resources/blueprints.json
@@ -311,7 +311,7 @@
}
},
"relations": {
- "synk_organization": {
+ "snyk_organization": {
"title": "Snyk Organization",
"target": "snykOrganization",
"required": false,
diff --git a/integrations/snyk/.port/resources/port-app-config.yaml b/integrations/snyk/.port/resources/port-app-config.yaml
index 1212fc8df3..a47a3ce4f4 100644
--- a/integrations/snyk/.port/resources/port-app-config.yaml
+++ b/integrations/snyk/.port/resources/port-app-config.yaml
@@ -46,7 +46,7 @@ resources:
properties:
origin: .relationships.integration.data.attributes.integration_type
relations:
- synk_organization: '.relationships.organization.data.id'
+ snyk_organization: '.relationships.organization.data.id'
- kind: vulnerability
selector:
query: 'true'
diff --git a/integrations/snyk/CHANGELOG.md b/integrations/snyk/CHANGELOG.md
index 1e560c3677..adbdbc0941 100644
--- a/integrations/snyk/CHANGELOG.md
+++ b/integrations/snyk/CHANGELOG.md
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
+## 0.1.113 (2024-12-16)
+
+
+### Bug Fixes
+
+- Corrected typo found in the default blueprint and mapping
+
+
## 0.1.112 (2024-12-15)
diff --git a/integrations/snyk/pyproject.toml b/integrations/snyk/pyproject.toml
index a43802c866..43066200cd 100644
--- a/integrations/snyk/pyproject.toml
+++ b/integrations/snyk/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "snyk"
-version = "0.1.112"
+version = "0.1.113"
description = "Snyk integration powered by Ocean"
authors = ["Isaac Coffie "]