Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
elsapet committed Feb 21, 2024
1 parent eb0d813 commit 05e9262
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion tests/go/lang/weak_hash_md5/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`go_lang_weak_hash_md5 bad 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down
2 changes: 1 addition & 1 deletion tests/go/lang/weak_hash_sha1/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`go_lang_weak_hash_sha1 bad 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`javascript_lang_weak_encryption_des des 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"327"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`javascript_lang_weak_encryption_rc4 rc4 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"327"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`javascript_lang_weak_hash_md5 crypto_md5 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -93,7 +93,7 @@ exports[`javascript_lang_weak_hash_md5 crypto_md5 1`] = `

exports[`javascript_lang_weak_hash_md5 cryptojs_md5 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -142,7 +142,7 @@ exports[`javascript_lang_weak_hash_md5 cryptojs_md5 1`] = `

exports[`javascript_lang_weak_hash_md5 md5 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -186,7 +186,7 @@ exports[`javascript_lang_weak_hash_md5 md5 1`] = `
"code_extract": " hashedPw = myMd5(req.query.email)"
}
],
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`javascript_lang_weak_hash_sha1 secure 1`] = `"{}"`;

exports[`javascript_lang_weak_hash_sha1 sha1 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down
4 changes: 2 additions & 2 deletions tests/python/lang/weak_hash_md5/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`python_lang_weak_hash_md5 bad 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -46,7 +46,7 @@ exports[`python_lang_weak_hash_md5 bad 1`] = `
"code_extract": "result = hashlib.md5(username.encode())"
}
],
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down
4 changes: 2 additions & 2 deletions tests/python/lang/weak_hash_sha1/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`python_lang_weak_hash_sha1 bad 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -46,7 +46,7 @@ exports[`python_lang_weak_hash_sha1 bad 1`] = `
"code_extract": "result = hashlib.sha1(username.encode())"
}
],
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`python_lang_weak_password_encryption_md5 bad 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"326"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`python_lang_weak_password_encryption_sha1 bad 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"326"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ruby_lang_weak_encryption_blowfish blowfish 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"327"
Expand Down Expand Up @@ -43,7 +43,7 @@ exports[`ruby_lang_weak_encryption_blowfish blowfish 1`] = `

exports[`ruby_lang_weak_encryption_blowfish blowfish_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"327"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ruby_lang_weak_encryption_dsa openssl_dsa 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"327"
Expand Down Expand Up @@ -77,7 +77,7 @@ exports[`ruby_lang_weak_encryption_dsa openssl_dsa 1`] = `

exports[`ruby_lang_weak_encryption_dsa openssl_dsa_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"327"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ruby_lang_weak_encryption_rc4 rc4_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"327"
Expand Down Expand Up @@ -93,7 +93,7 @@ exports[`ruby_lang_weak_encryption_rc4 rc4_data 1`] = `

exports[`ruby_lang_weak_encryption_rc4 rc4_encrypt 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"327"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ruby_lang_weak_encryption_rsa openssl_rsa 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"327"
Expand Down Expand Up @@ -43,7 +43,7 @@ exports[`ruby_lang_weak_encryption_rsa openssl_rsa 1`] = `

exports[`ruby_lang_weak_encryption_rsa openssl_rsa_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"327"
Expand Down
4 changes: 2 additions & 2 deletions tests/ruby/lang/weak_hash_dss/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ruby_lang_weak_hash_dss openssl_dss1 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -43,7 +43,7 @@ exports[`ruby_lang_weak_hash_dss openssl_dss1 1`] = `

exports[`ruby_lang_weak_hash_dss openssl_dss1_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down
8 changes: 4 additions & 4 deletions tests/ruby/lang/weak_hash_md/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ruby_lang_weak_hash_md digest_md5 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -77,7 +77,7 @@ exports[`ruby_lang_weak_hash_md digest_md5 1`] = `

exports[`ruby_lang_weak_hash_md digest_md5_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -168,7 +168,7 @@ exports[`ruby_lang_weak_hash_md digest_md5_data 1`] = `

exports[`ruby_lang_weak_hash_md openssl_md5 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -209,7 +209,7 @@ exports[`ruby_lang_weak_hash_md openssl_md5 1`] = `

exports[`ruby_lang_weak_hash_md openssl_md5_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down
8 changes: 4 additions & 4 deletions tests/ruby/lang/weak_hash_sha/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ruby_lang_weak_hash_sha digest_sha1 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -77,7 +77,7 @@ exports[`ruby_lang_weak_hash_sha digest_sha1 1`] = `

exports[`ruby_lang_weak_hash_sha digest_sha1_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -168,7 +168,7 @@ exports[`ruby_lang_weak_hash_sha digest_sha1_data 1`] = `

exports[`ruby_lang_weak_hash_sha openssl_sha1 1`] = `
"{
"low": [
"high": [
{
"cwe_ids": [
"328"
Expand Down Expand Up @@ -209,7 +209,7 @@ exports[`ruby_lang_weak_hash_sha openssl_sha1 1`] = `

exports[`ruby_lang_weak_hash_sha openssl_sha1_data 1`] = `
"{
"high": [
"critical": [
{
"cwe_ids": [
"328"
Expand Down

0 comments on commit 05e9262

Please sign in to comment.