Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NSP mirror #63

Closed
stevespringett opened this issue Aug 7, 2017 · 1 comment
Closed

Add NSP mirror #63

stevespringett opened this issue Aug 7, 2017 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@stevespringett
Copy link
Member

stevespringett commented Aug 7, 2017

The contents of NSP should be mirrored (with credits).

Proposed strategy:
GET
https://api.nodesecurity.io/advisories?offset=0
and retrieve the total number of findings. Use this number to know how many offset requests to make.
https://api.nodesecurity.io/advisories?offset=100
https://api.nodesecurity.io/advisories?offset=200
https://api.nodesecurity.io/advisories?offset=300

A total of 317 advisories should have a max offset of 300 which would only return the remaining 17 advisories.

@stevespringett stevespringett added the enhancement New feature or request label Aug 7, 2017
@stevespringett stevespringett added this to the 3.0 milestone Aug 7, 2017
@stevespringett stevespringett self-assigned this Aug 7, 2017
stevespringett added a commit that referenced this issue Aug 9, 2017
…ghtly different than the list of advisories the NSP service sends when evaluating package.json submissions.
stevespringett added a commit that referenced this issue Aug 9, 2017
stevespringett added a commit that referenced this issue Aug 9, 2017
stevespringett added a commit that referenced this issue Aug 9, 2017
stevespringett added a commit that referenced this issue Aug 10, 2017
stevespringett added a commit that referenced this issue Aug 12, 2017
@lock
Copy link

lock bot commented Sep 27, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant