Replies: 1 comment 5 replies
-
Yes. OSS Index uses purl directly, NPM does not directly support purl, so the purl is deconstructed and the namespace and name are used with the NPM Audit API.
The analysis is made based on a components identity (purl type, namespace, name, version). If the component identity is already in cache, it will use those results. If not in cache, DT will analyze using OSS Index and NPM Audit APIs.
The purl type for npm is
The latest version of a package and the last published date are currently the only data that is retrieved from remote repos. This data is used to determine if a component is out of date and if so, by how much. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have some questions about the analysis process in DT.
Is it correct, that the purl is used to analyse the dependency against NPM and OSS ?
According to the following text found in a discussion:
"Dependency-Track caches responses from NPM Advisories and OSS Index for 24 hours"
how is the process of the analysis ? Is the analysis made against the internal cache, or is the purl used against the api of OSS Index and NMP advisories ?
According to the purl construction: is the package type responsible if the NPM Advisory or the OSS Index is asked for ?
Which kind of package type is the correct one for NPM: npm or node-pkg ?
What metadata is collected from maven and npm repos which are not already integrated in the bom and in which way is the data asked for ?
I know these are a lot of question.
Thank you for your help.
Best regards,
Sascha Vujevic
Beta Was this translation helpful? Give feedback.
All reactions