Skip to content

Commit e3661d0

Browse files
committed
Fix docs format error
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 1c15cac commit e3661d0

1 file changed

Lines changed: 41 additions & 41 deletions

File tree

docs/tutorial_analyze_symbols_reachability.rst

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -51,53 +51,53 @@ Run the ``analyze_symbols_reachability`` pipeline
5151
.. code-block:: json
5252
:emphasize-lines: 2
5353
54-
{
55-
"purl": "pkg:pypi/b2sdk@1.14.0",
56-
"advisories": [
5754
{
58-
"advisory_uid": "pypa/b2sdk/PYSEC-2022-33",
59-
"is_reachable": "yes",
60-
"details": [
55+
"purl": "pkg:pypi/b2sdk@1.14.0",
56+
"advisories": [
6157
{
62-
"resource_path": "b2sdk-1.14.0/b2sdk/account_info/sqlite_account_info.py",
63-
"patch": {
64-
"vcs_url": "https://github.com/backblaze/b2-sdk-python",
65-
"commit_hash": "62476638986e5b6d7459aca5ef8ce220760226e0"
66-
},
58+
"advisory_uid": "pypa/b2sdk/PYSEC-2022-33",
6759
"is_reachable": "yes",
68-
"tool_details": [
60+
"details": [
6961
{
70-
"symbol_name": "SqliteAccountInfo._create_database",
71-
"is_called": true,
72-
"is_defined": true,
73-
"is_imported": false,
74-
"is_exact": true,
75-
"reachable_from": [
76-
"SqliteAccountInfo._validate_database"
62+
"resource_path": "b2sdk-1.14.0/b2sdk/account_info/sqlite_account_info.py",
63+
"patch": {
64+
"vcs_url": "https://github.com/backblaze/b2-sdk-python",
65+
"commit_hash": "62476638986e5b6d7459aca5ef8ce220760226e0"
66+
},
67+
"is_reachable": "yes",
68+
"tool_details": [
69+
{
70+
"symbol_name": "SqliteAccountInfo._create_database",
71+
"is_called": true,
72+
"is_defined": true,
73+
"is_imported": false,
74+
"is_exact": true,
75+
"reachable_from": [
76+
"SqliteAccountInfo._validate_database"
77+
]
78+
},
79+
{
80+
"symbol_name": "SqliteAccountInfo",
81+
"is_called": false,
82+
"is_defined": true,
83+
"is_imported": false,
84+
"is_exact": true,
85+
"reachable_from": []
86+
}
87+
],
88+
"vulnerable_symbols": [
89+
"SqliteAccountInfo",
90+
"SqliteAccountInfo._create_database"
91+
],
92+
"fixed_symbols": [
93+
"SqliteAccountInfo",
94+
"SqliteAccountInfo._create_database"
7795
]
7896
},
79-
{
80-
"symbol_name": "SqliteAccountInfo",
81-
"is_called": false,
82-
"is_defined": true,
83-
"is_imported": false,
84-
"is_exact": true,
85-
"reachable_from": []
86-
}
87-
],
88-
"vulnerable_symbols": [
89-
"SqliteAccountInfo",
90-
"SqliteAccountInfo._create_database"
91-
],
92-
"fixed_symbols": [
93-
"SqliteAccountInfo",
94-
"SqliteAccountInfo._create_database"
95-
]
96-
},
97-
// ... more details
98-
]
99-
}
100-
}
97+
// ... more details
98+
]
99+
}
100+
}
101101
102102
.. note::
103103
An advisory is considered ``REACHABLE`` if it is reachable through at least

0 commit comments

Comments
 (0)