Skip to content

Commit

Permalink
fix block
Browse files Browse the repository at this point in the history
  • Loading branch information
ncerutti committed Sep 30, 2024
1 parent f931ad2 commit 846272a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sections/vulnerability-adjustments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ This method allows the user to replace specific vulnerabilities by providing an
Example format in ``analysis_settings``:

.. code-block:: JSON
vulnerability_adjustments: { "replace_file": {} }
The user can provide the path to a CSV file with the updated vulnerability data:

.. code-block:: JSON
"vulnerability_adjustments": {"replace_file" : "vulnerability_adjustments.csv"}
Expand All @@ -67,12 +69,14 @@ This method allows users to replace data for specific vulnerabilities directly w
Example format:

.. code-block:: JSON
vulnerability_adjustments: { "replace_data": {} }
You can specify the vulnerability data to be replaced for particular ``vulnerability_id``s:
.. code-block:: JSON
"vulnerability_adjustments": {
"replace_data": {
"1": [[1,1,0.01],[1,2,0.02],...],
Expand All @@ -96,12 +100,14 @@ This method allows users to apply a factor adjustment to specific vulnerabilitie
Example format:
.. code-block:: JSON
vulnerability_adjustments: { "adjustments": {} }
The user can apply adjustment factors to the ``vulnerability_id`` as shown below:

.. code-block:: JSON
"vulnerability_adjustments": {
"adjustments": {
"2": 0.5,
Expand Down

0 comments on commit 846272a

Please sign in to comment.