-
-
Notifications
You must be signed in to change notification settings - Fork 578
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
Comments
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 10, 2017
…n NSP advisories contain markdown. #63
stevespringett
added a commit
that referenced
this issue
Aug 12, 2017
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: