Skip to content

Commit

Permalink
updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
himynamesdave committed Oct 14, 2024
1 parent d116c37 commit c8fdf6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion tests/import_knowledge_base_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
capec_versions = ["3_8", "3_9"] # add these in order to avoid versioning issues

# Modes for arango-cti-processor
arango_modes = ["capec-attack", "capec-cwe", "cve-cpe", "cve-cwe", "cwe-capec", "cve-epss"]
arango_modes = [
"capec-attack",
"cve-cwe",
"cwe-capec",
"cve-epss",
"cve-cpe"
]

# Data for the CPE update
cpe_data = {
Expand Down
4 changes: 2 additions & 2 deletions vulmatch/server/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
* `indicator`: Contains a pattern identifying products affected by the CVE
* `relationship` (`indicator`->`vulnerability`)
* `note`: Represents EPSS scores
* `sighting`: Represents CISA KEVs
* `software`: Represents the products listed in the pattern
* `relationship` (`indicator`->`software`)
* `weakness` (CWE): represents CWEs linked to the Vulneability (requires `cve-cwe` mode to be run)
* `relationship` (`vulnerability` (CVE) ->`weakness` (CWE))
* `attack-pattern` (CAPEC): represents CAPECs in CWEs (linked to Vulnerability) (requires `cve-cwe` and `cwe-capec` mode to be run)
* `relationship` (`weakness` (CWE) ->`attack-pattern` (CAPEC))
* `attack-pattern` (ATT&CK Enterprise/ICS/Mobile): represents ATT&CKs in CAPECs in CWEs (linked to Vulnerability) (requires `cve-cwe`, `cwe-capec` and `capec-attack` mode to be run)
* `relationship` (`attack-pattern` (CAPEC) ->`attack-pattern` (ATT&CK))\n\n
This endpoint will also return all embedded relationships that exist from any of the CVE specific objects too (`vulnerability`, `indicator`, and `note`). These are `identity` and `marking-definition` objects (and the `relationship` representing the embedded relationship).
* `relationship` (`attack-pattern` (CAPEC) ->`attack-pattern` (ATT&CK))
"""
),
responses={200: ArangoDBHelper.get_paginated_response_schema('objects', 'vulnerability')},
Expand Down

0 comments on commit c8fdf6b

Please sign in to comment.