Skip to content

Commit

Permalink
[Integration][Snyk] Corrected typo in snyk default blueprint and mapp…
Browse files Browse the repository at this point in the history
…ing (#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)

<h4> All tests should be run against the port production
environment(using a testing org). </h4>

### 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.
  • Loading branch information
oiadebayo authored Dec 16, 2024
1 parent 28144ec commit b5566a9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integrations/snyk/.port/resources/blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
}
},
"relations": {
"synk_organization": {
"snyk_organization": {
"title": "Snyk Organization",
"target": "snykOrganization",
"required": false,
Expand Down
2 changes: 1 addition & 1 deletion integrations/snyk/.port/resources/port-app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
8 changes: 8 additions & 0 deletions integrations/snyk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- towncrier release notes start -->

## 0.1.113 (2024-12-16)


### Bug Fixes

- Corrected typo found in the default blueprint and mapping


## 0.1.112 (2024-12-15)


Expand Down
2 changes: 1 addition & 1 deletion integrations/snyk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]

Expand Down

0 comments on commit b5566a9

Please sign in to comment.