Basilisk
API referenceReference

`/v1/advisories/{id}/packages/{package}/applicability` — the matcher-owned typed applicability projection for one expanded package group, loaded lazily and separately from the advisory detail and package windows.

GET
/v1/advisories/{id}/packages/{package}/applicability

Path Parameters

id*string

Canonical advisory id, source advisory id, or alias

package*string

Exact conda-forge package name

Query Parameters

version?string
platform?string

Literal repodata subdir, including literal noarch.

build?string

Complete case-sensitive build string; never a patch/fix assertion.

Response Body

application/json

curl -X GET "https://example.com/v1/advisories/CVE-2023-38545/packages/curl/applicability"
{  "canonical_id": "string",  "git_versions": [    {      "release_index": 0,      "resolution": "exact",      "tag_name": "string",      "version": "string"    }  ],  "latest_status": "affected",  "package_name": "string",  "qualification": {    "affected_platform_total": 0,    "affected_platforms": [      "string"    ],    "affected_platforms_truncated": true,    "available_artifact_total": 0,    "available_artifacts": [      {        "build": "string",        "build_number": 0,        "filename": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "md5": "string",        "sha256": "string",        "subdir": "string",        "version": "string",        "created_by_operation_id": "4483c1de-89cb-499d-9778-d636e5da439e",        "updated_by_operation_id": "77987b37-55ae-485e-80aa-51b00ec04cea",        "verdict": "globally_affected"      }    ],    "available_artifacts_truncated": true,    "build_patch_status": "unknown",    "complete": true,    "reasons": [      "selection_unavailable"    ],    "resolution": {      "reason": "unsupported_channel",      "status": "not_covered"    },    "selection": {      "build": "string",      "platform": "string",      "version": "string"    },    "source_total": 0,    "sources": [      {        "artifact_snapshot_generated_at": "2019-08-24T14:15:22Z",        "artifact_snapshot_generation_id": "d058e395-0a94-4f4b-8e16-707d91c4ab38",        "artifact_snapshot_hash": "string",        "artifact_snapshot_operation_id": "b1c545af-7c62-49c9-82da-3d07f6b98d0b",        "current": true,        "enrichment": null,        "evaluated_mapping_source_hash": "string",        "evaluated_mapping_updated_at": "2019-08-24T14:15:22Z",        "evaluated_source_generation_id": "801a05b5-7e8b-4730-b820-30444a497f6c",        "evaluated_source_updated_at": "2019-08-24T14:15:22Z",        "execution_generation_id": "c3525117-c643-4bfe-ae39-3204f8a42ad5",        "execution_validation_generation_id": "b3c109f0-a8e3-4fbb-962d-60b2f1ffcbc1",        "generated_at": "2019-08-24T14:15:22Z",        "generated_by_operation_id": "e1558f1a-43d8-4946-9944-1e77261298f6",        "generation_id": "a3c889df-e7ae-4ae9-9838-8884129ade5e",        "matched_identity": "string",        "matcher": "string",        "matcher_version": "string",        "qualifiers": null,        "raw_criteria": "string",        "release_generation_id": "a8a2920f-e163-470d-81b8-72f923876b66",        "source_advisory_id": "string",        "source_affected_index": 0,        "source_evaluation_generation_id": "76b344ce-e659-46f2-bca6-9e933f0d7ae9",        "source_hash": "string",        "source_record_created_by_operation_id": "8730483d-c72c-44fb-bdec-5c76622a9dca",        "source_record_id": "a6913196-098d-48b4-8f7a-f93b85dce156",        "verdict": "globally_affected"      }    ],    "sources_truncated": true,    "verdict": "globally_affected"  },  "release_axis": null,  "source_total": 0,  "sources": [    {      "applicability": "string",      "comparator": "string",      "contributes_to_match": true,      "derived_from": "string",      "identity": {        "coordinates": null,        "ecosystem": "string",        "kind": "string",        "position": 0,        "primary": true,        "provenance": {          "availability": "string",          "confidence": 0,          "review": null,          "source": "string",          "source_evidence": [            "string"          ]        },        "role": "string",        "value": "string",        "verified": true      },      "observed_affected_version_count": 0,      "provenance": {        "enrichment": null,        "job_kind": "string",        "job_run_id": "string",        "matcher": "string",        "matcher_version": "string",        "produced_at": "2019-08-24T14:15:22Z"      },      "ranges": [        {          "boundaries": [            {              "boundary_index": 0,              "commit": null,              "comparison_state": "string",              "inclusive": true,              "kind": "string",              "observed_release_index": 0,              "publication": null,              "raw_value": "string",              "side": "string",              "source_boundary_kind": "string",              "source_event_index": 0,              "unbounded": true            }          ],          "range_type": "string",          "source_range_index": 0        }      ],      "remediation": null,      "run_total": 0,      "runs": [        {          "end_release_index": 0,          "end_version": "string",          "release_count": 0,          "start_release_index": 0,          "start_version": "string"        }      ],      "source_advisory_id": "string",      "source_affected_index": 0,      "source_kind": "string",      "version_total": 0,      "versions": [        {          "observed_release_index": 0,          "origin": "string",          "raw_version": "string",          "source_version_index": 0        }      ]    }  ],  "stale_inputs": [    "release_universe"  ],  "status": "available",  "union": null}