You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please share expected behaviour.
github.com/project-slug annotation should be not added to TARGETS at all or the hierarchy of the assumed targets from annotations should be changed from TARGETS > TARGETS + TARGETNAME > TARGETID
to TARGETS > TARGETID > TARGETNAME (means only added if no other annotation is specified).
Actual behaviour
Please share problematic behaviour you are seeing.
Error - Failed finding Target snyk data for repo org/repo when annotations are:
snyk.io/org-id: <any-org-id>
snyk.io/targets: <target-id> # target id of the different target in other repo
github.com/project-slug: org/repo
In our Backstage setup entity is not always = repo, so linking to the github.com/project-slug annotation is blocking access to more prioritized plugin features such as direct target linking
Steps to reproduce
Please share minimal steps needed to reproduce your issue. Ideally
a paired down manifest / project to showcase the problem that can also
be used for testing.
Install backstage and add snyk integration (v.2.5.1)
Configure plugin with proxy
Add project to Snyk
Add github.com/project-slug annotation different from the repo related to the snyk project
Add snyk.io/targets annotation with target id different from the repo in github.com/project-slug
See error Error - Failed finding Target snyk data for repo org/repo
Remove github.com/project-slug annotation - No error
Debug log
If applicable, please add DEBUG=*snyk* <command here> before your command and include the output here **ensuring to remove any sensitive/personal details or tokens.
Screenshots
If applicable, add screenshots to help explain your problem.
P.S
Thank you for the work on this plugin, would deeply appreciate if you could fix this for me.
The text was updated successfully, but these errors were encountered:
node -v
:npm -v
:snyk-api-import ...
, ...)Expected behaviour
Please share expected behaviour.
github.com/project-slug annotation should be not added to TARGETS at all or the hierarchy of the assumed targets from annotations should be changed from
TARGETS
>TARGETS
+TARGETNAME
>TARGETID
to
TARGETS
>TARGETID
>TARGETNAME
(means only added if no other annotation is specified).Actual behaviour
Please share problematic behaviour you are seeing.
Error - Failed finding Target snyk data for repo org/repo when annotations are:
but works when annotations are:
In our Backstage setup entity is not always = repo, so linking to the github.com/project-slug annotation is blocking access to more prioritized plugin features such as direct target linking
Steps to reproduce
Please share minimal steps needed to reproduce your issue. Ideally
a paired down manifest / project to showcase the problem that can also
be used for testing.
Debug log
If applicable, please add
DEBUG=*snyk* <command here>
before your command and include the output here **ensuring to remove any sensitive/personal details or tokens.Screenshots
If applicable, add screenshots to help explain your problem.
P.S
Thank you for the work on this plugin, would deeply appreciate if you could fix this for me.
The text was updated successfully, but these errors were encountered: