Dependency Scanning (SCA)

Use the REST API to query dependency scanning (SCA) metrics

Table of Contents

Introduction

The SCA API provides a RESTful interface for querying various metrics related to Dependency scanning findings and events. It offers endpoints to retrieve information about about SCA findings, events, and counts.

Get SCA Events

This endpoint returns the list of events that have occurred related to dependency findings.

Event types:

  • new-branch-summary

  • new-finding new-findings

  • new-fix

  • new-fixes

  • new-allowlisted-finding

  • new-allowlisted-findings

  • new-pull-request-finding

  • new-pull-request-findings

  • new-pull-request-fix

  • new-pull-request-fixes

curl -L \
   -H "Accept: application/json" \
   -H "Authorization: Bearer <YOUR-TOKEN>" \
   https://api.nullify.ai/sca/events?githubOwnerId=1234

List SCA Findings

This endpoint returns the list of current vulnerabilities in dependencies.

curl -L \
   -H "Accept: application/json" \
   -H "Authorization: Bearer <YOUR-TOKEN>" \
   https://api.nullify.ai/sca/findings?githubOwnerId=1234

Get SCA Finding

This endpoint returns the details of an SCA finding

curl -L \
   -H "Accept: application/json" \
   -H "Authorization: Bearer <YOUR-TOKEN>" \
   https://api.nullify.ai/sca/findings/01J6EEXK3NKYKWW9XTPQYAF41N?githubOwnerId=1234

Last updated

© 2023 Nullify | All Rights Reserved.