Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
himynamesdave committed Dec 10, 2024
1 parent e83276c commit 87f27c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vulmatch/server/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def versions(self, request, *args, cve_id=None, **kwargs):
summary='Get a CPE object by STIX ID',
description=textwrap.dedent(
"""
Retrieve a single STIX `software` object for a CPE using its STIX ID. You can identify a STIX ID using the GET CPEs endpoint.
Retrieve a single STIX `software` object for a CPE using its STIX ID. You can identify a CPE ID using the GET CPEs endpoint.
"""
),
filters=False,
Expand All @@ -314,7 +314,7 @@ def versions(self, request, *args, cve_id=None, **kwargs):
summary='Get Relationships for Object',
description=textwrap.dedent(
"""
Return relationships.
This endpoint will return all SROs where the Software (CPE) selected is either a `source_ref` or a `target_ref`. This allows you to quickly find out what CVEs the CPE is found in.
"""
),
responses={200: ArangoDBHelper.get_paginated_response_schema('relationships', 'relationship')},
Expand Down

0 comments on commit 87f27c2

Please sign in to comment.