Skip to content

Commit

Permalink
severity
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Dec 6, 2023
1 parent 6717550 commit 06af53f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions tests/data/depth_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -6847,7 +6847,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "str value = \"-----BEGIN RSA PRIVATE KEY-----\\n\" +",
Expand Down Expand Up @@ -7006,7 +7006,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "char pk[] = \"\\\\n-----BEGIN EC PRIVATE KEY-----\\nMHcCAQEEID4VC4s0b2n3yvypHb2GO9prFUctYt\\r\\r\\n\\nHmGCMvpxkpexbHoAoGCCqGSM49\\\\\\\\\\nAwEHoUQDQgAE2GwUUuO9/dKl51bOryWzHF8wTSezSqdRIucGhDRsmDITLcNEZw3V\\\\\\\\rIaQP59Ufkz8NIkLeIAa1HZGZxCVMQ907FA==\\\\n-----END EC PRIVATE KEY-----\\n\";",
Expand All @@ -7030,7 +7030,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN OPENSSH LOW ENTROPY PRIVATE KEY-----",
Expand Down Expand Up @@ -7084,7 +7084,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN RSA PRIVATE KEY-----",
Expand Down Expand Up @@ -7312,7 +7312,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN RSA PRIVATE KEY-----",
Expand Down Expand Up @@ -7516,7 +7516,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN RSA PRIVATE KEY-----",
Expand Down Expand Up @@ -7720,7 +7720,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN RSA PRIVATE KEY-----",
Expand Down
6 changes: 3 additions & 3 deletions tests/data/doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10177,7 +10177,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "str value = \"-----BEGIN RSA PRIVATE KEY-----\\n\" +",
Expand Down Expand Up @@ -10336,7 +10336,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "char pk[] = \"\\\\n-----BEGIN EC PRIVATE KEY-----\\nMHcCAQEEID4VC4s0b2n3yvypHb2GO9prFUctYt\\r\\r\\n\\nHmGCMvpxkpexbHoAoGCCqGSM49\\\\\\\\\\nAwEHoUQDQgAE2GwUUuO9/dKl51bOryWzHF8wTSezSqdRIucGhDRsmDITLcNEZw3V\\\\\\\\rIaQP59Ufkz8NIkLeIAa1HZGZxCVMQ907FA==\\\\n-----END EC PRIVATE KEY-----\\n\";",
Expand All @@ -10360,7 +10360,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN OPENSSH LOW ENTROPY PRIVATE KEY-----",
Expand Down
6 changes: 3 additions & 3 deletions tests/data/ml_threshold_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -8431,7 +8431,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "str value = \"-----BEGIN RSA PRIVATE KEY-----\\n\" +",
Expand Down Expand Up @@ -8590,7 +8590,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "char pk[] = \"\\\\n-----BEGIN EC PRIVATE KEY-----\\nMHcCAQEEID4VC4s0b2n3yvypHb2GO9prFUctYt\\r\\r\\n\\nHmGCMvpxkpexbHoAoGCCqGSM49\\\\\\\\\\nAwEHoUQDQgAE2GwUUuO9/dKl51bOryWzHF8wTSezSqdRIucGhDRsmDITLcNEZw3V\\\\\\\\rIaQP59Ufkz8NIkLeIAa1HZGZxCVMQ907FA==\\\\n-----END EC PRIVATE KEY-----\\n\";",
Expand All @@ -8614,7 +8614,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN OPENSSH LOW ENTROPY PRIVATE KEY-----",
Expand Down
6 changes: 3 additions & 3 deletions tests/data/output.json
Original file line number Diff line number Diff line change
Expand Up @@ -6535,7 +6535,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "str value = \"-----BEGIN RSA PRIVATE KEY-----\\n\" +",
Expand Down Expand Up @@ -6694,7 +6694,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "char pk[] = \"\\\\n-----BEGIN EC PRIVATE KEY-----\\nMHcCAQEEID4VC4s0b2n3yvypHb2GO9prFUctYt\\r\\r\\n\\nHmGCMvpxkpexbHoAoGCCqGSM49\\\\\\\\\\nAwEHoUQDQgAE2GwUUuO9/dKl51bOryWzHF8wTSezSqdRIucGhDRsmDITLcNEZw3V\\\\\\\\rIaQP59Ufkz8NIkLeIAa1HZGZxCVMQ907FA==\\\\n-----END EC PRIVATE KEY-----\\n\";",
Expand All @@ -6718,7 +6718,7 @@
"ml_validation": "NOT_AVAILABLE",
"ml_probability": null,
"rule": "PEM Private Key",
"severity": "critical",
"severity": "high",
"line_data_list": [
{
"line": "-----BEGIN OPENSSH LOW ENTROPY PRIVATE KEY-----",
Expand Down

0 comments on commit 06af53f

Please sign in to comment.