diff --git a/README.md b/README.md index 83a5af02f..f11ba708a 100644 --- a/README.md +++ b/README.md @@ -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", diff --git a/docs/source/guide.rst b/docs/source/guide.rst index 31702f77d..01e9d34b1 100644 --- a/docs/source/guide.rst +++ b/docs/source/guide.rst @@ -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" + ] } ]