Skip to content

Commit

Permalink
Update found cred response example (#443)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladyslav Poliukh <[email protected]>
  • Loading branch information
vpolyukh and Vladyslav Poliukh authored Oct 20, 2023
1 parent af2eb84 commit f31f2bb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ cat output.json
"path": "tests/samples/password.gradle",
"info": "",
"value": "cackle!",
"value_start": 12,
"value_end": 19,
"variable": "password",
"entropy_validation": {
"iterator": "BASE64_CHARS",
Expand Down
21 changes: 16 additions & 5 deletions docs/source/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,29 @@ To check JSON file run:
[
{
"api_validation": "NOT_AVAILABLE",
"ml_validation": "VALIDATED_KEY",
"ml_probability": 0.99755,
"rule": "Password",
"severity": "medium",
"line_data_list": [
{
"line": "password = \"cackle!\"",
"line_num": 1,
"path": "tests/samples/password",
"entropy_validation": false
"path": "tests/samples/password.gradle",
"info": "",
"value": "cackle!",
"value_start": 12,
"value_end": 19,
"variable": "password",
"entropy_validation":
{
"iterator": "BASE64_CHARS",
"entropy": 2.120589933192232,
"valid": false
}
}
],
"api_validation": "NOT_AVAILABLE",
"ml_validation": "VALIDATED_KEY"
]
}
]
Expand Down

0 comments on commit f31f2bb

Please sign in to comment.