From ca6e16a6f3715a6ed34ff6a5527ed6c7ab649986 Mon Sep 17 00:00:00 2001 From: elsapet Date: Tue, 21 Nov 2023 13:32:53 +0200 Subject: [PATCH] feat: add cloud AI code suggestion flag (#182) --- rules/go/gorilla/insecure_cookie.yml | 1 + rules/go/lang/information_leakage.yml | 1 + rules/go/lang/logger.yml | 1 + rules/go/lang/weak_hash_md5.yml | 1 + rules/go/lang/weak_hash_sha1.yml | 1 + rules/go/lang/weak_password_encryption_md5.yml | 1 + rules/go/lang/weak_password_encryption_sha1.yml | 1 + rules/java/lang/cookie_missing_http_only.yml | 1 + rules/java/lang/cookie_missing_secure.yml | 1 + rules/java/lang/file_permission_others.yml | 1 + rules/java/lang/information_leakage.yml | 1 + rules/java/lang/insecure_cookie.yml | 1 + rules/java/lang/logger.yml | 1 + rules/java/lang/missing_integrity_check.yml | 1 + rules/java/lang/rsa_no_padding.yml | 1 + rules/java/lang/weak_encryption_des.yml | 1 + rules/java/lang/weak_hash_md5.yml | 1 + rules/java/lang/weak_hash_sha1.yml | 1 + rules/java/lang/weak_password_encryption_des.yml | 1 + rules/java/lang/weak_password_hash_md5.yml | 1 + rules/java/lang/weak_password_hash_sha1.yml | 1 + rules/javascript/express/default_cookie_config.yml | 1 + rules/javascript/express/exposed_dir_listing.yml | 1 + rules/javascript/express/external_resource.yml | 1 + rules/javascript/express/https_protocol_missing.yml | 1 + rules/javascript/express/insecure_allow_origin.yml | 1 + rules/javascript/express/insecure_cookie.yml | 1 + rules/javascript/express/reduce_fingerprint.yml | 1 + rules/javascript/express/ui_redress.yml | 1 + rules/javascript/lang/exception.yml | 1 + rules/javascript/lang/jwt_weak_encryption.yml | 1 + rules/javascript/lang/logger.yml | 1 + rules/javascript/lang/weak_encryption_des.yml | 1 + rules/javascript/lang/weak_encryption_rc4.yml | 1 + rules/javascript/lang/weak_hash_md5.yml | 1 + rules/javascript/lang/weak_hash_sha1.yml | 1 + rules/javascript/lang/weak_password_encryption_des.yml | 1 + rules/javascript/lang/weak_password_encryption_rc4.yml | 1 + rules/javascript/lang/weak_password_hash_argon2.yml | 1 + rules/javascript/lang/weak_password_hash_md5.yml | 1 + rules/javascript/lang/weak_password_hash_sha1.yml | 1 + rules/javascript/react/google_analytics.yml | 1 + rules/javascript/third_parties/airbrake.yml | 1 + rules/javascript/third_parties/algolia.yml | 1 + rules/javascript/third_parties/bugsnag.yml | 1 + rules/javascript/third_parties/datadog.yml | 1 + rules/javascript/third_parties/datadog_browser.yml | 1 + rules/javascript/third_parties/dom_purify.yml | 1 + rules/javascript/third_parties/dynamodb_query_injection.yml | 1 + rules/javascript/third_parties/elasticsearch.yml | 1 + rules/javascript/third_parties/google_analytics.yml | 1 + rules/javascript/third_parties/google_tag_manager.yml | 1 + rules/javascript/third_parties/honeybadger.yml | 1 + rules/javascript/third_parties/new_relic.yml | 1 + rules/javascript/third_parties/open_telemetry.yml | 1 + rules/javascript/third_parties/openai.yml | 1 + rules/javascript/third_parties/rollbar.yml | 1 + rules/javascript/third_parties/segment.yml | 1 + rules/javascript/third_parties/sentry.yml | 1 + rules/php/lang/cookies.yml | 1 + rules/php/lang/exception.yml | 1 + rules/php/lang/information_leakage.yml | 1 + rules/php/lang/insecure_cookie.yml | 1 + rules/php/lang/logger.yml | 1 + rules/php/lang/phpinfo.yml | 1 + rules/php/lang/ssl_verification.yml | 1 + rules/php/lang/ui_redress.yml | 1 + rules/php/lang/weak_hash_md.yml | 1 + rules/php/lang/weak_hash_sha1.yml | 1 + rules/php/lang/weak_password_hash_md.yml | 1 + rules/php/lang/weak_password_hash_sha1.yml | 1 + rules/php/symfony/cookies.yml | 1 + rules/php/symfony/csrf_protection_disabled.yml | 1 + rules/php/symfony/insecure_cookie.yml | 1 + rules/php/symfony/insecure_smtp.yml | 1 + rules/php/symfony/permissive_regex_validation.yml | 1 + rules/php/symfony/ui_redress.yml | 1 + rules/php/third_parties/logger.yml | 1 + rules/python/lang/logger.yml | 1 + rules/python/lang/weak_hash_md5.yml | 1 + rules/python/lang/weak_hash_sha1.yml | 1 + rules/ruby/lang/cookies.yml | 1 + rules/ruby/lang/exception.yml | 1 + rules/ruby/lang/http_get_params.yml | 1 + rules/ruby/lang/logger.yml | 1 + rules/ruby/lang/ssl_verification.yml | 1 + rules/ruby/lang/weak_encryption_blowfish.yml | 1 + rules/ruby/lang/weak_encryption_dsa.yml | 1 + rules/ruby/lang/weak_encryption_rc4.yml | 1 + rules/ruby/lang/weak_encryption_rsa.yml | 1 + rules/ruby/lang/weak_hash_dss.yml | 1 + rules/ruby/lang/weak_hash_md.yml | 1 + rules/ruby/lang/weak_hash_sha.yml | 1 + rules/ruby/lang/weak_password_encryption_blowfish.yml | 1 + rules/ruby/lang/weak_password_encryption_dsa.yml | 1 + rules/ruby/lang/weak_password_encryption_rc4.yml | 1 + rules/ruby/lang/weak_password_encryption_rsa.yml | 1 + rules/ruby/lang/weak_password_hash_dss.yml | 1 + rules/ruby/lang/weak_password_hash_md.yml | 1 + rules/ruby/lang/weak_password_hash_sha.yml | 1 + rules/ruby/rails/detailed_exceptions.yml | 1 + rules/ruby/rails/insecure_communication.yml | 1 + rules/ruby/rails/insecure_disabling_of_callback.yml | 1 + rules/ruby/rails/insecure_smtp.yml | 1 + rules/ruby/rails/logger.yml | 1 + rules/ruby/rails/password_length.yml | 1 + rules/ruby/rails/permissive_regex_validation.yml | 1 + rules/ruby/rails/session.yml | 1 + rules/ruby/rails/session_with_httponly_disabled.yml | 1 + rules/ruby/rails/unsafe_cookie_serialization_strategy.yml | 1 + rules/ruby/third_parties/airbrake.yml | 1 + rules/ruby/third_parties/algolia.yml | 1 + rules/ruby/third_parties/bigquery.yml | 1 + rules/ruby/third_parties/bugsnag.yml | 1 + rules/ruby/third_parties/clickhouse.yml | 1 + rules/ruby/third_parties/datadog.yml | 1 + rules/ruby/third_parties/elasticsearch.yml | 1 + rules/ruby/third_parties/google_analytics.yml | 1 + rules/ruby/third_parties/google_dataflow.yml | 1 + rules/ruby/third_parties/honeybadger.yml | 1 + rules/ruby/third_parties/new_relic.yml | 1 + rules/ruby/third_parties/open_telemetry.yml | 1 + rules/ruby/third_parties/rollbar.yml | 1 + rules/ruby/third_parties/scout_apm.yml | 1 + rules/ruby/third_parties/segment.yml | 1 + rules/ruby/third_parties/sentry.yml | 1 + scripts/rule_schema.jsonc | 3 +++ 127 files changed, 129 insertions(+) diff --git a/rules/go/gorilla/insecure_cookie.yml b/rules/go/gorilla/insecure_cookie.yml index 2816be3f8..b1c4be8de 100644 --- a/rules/go/gorilla/insecure_cookie.yml +++ b/rules/go/gorilla/insecure_cookie.yml @@ -106,3 +106,4 @@ metadata: - 614 id: go_gorilla_insecure_cookie documentation_url: https://docs.bearer.com/reference/rules/go_gorilla_insecure_cookie + cloud_code_suggestions: true diff --git a/rules/go/lang/information_leakage.yml b/rules/go/lang/information_leakage.yml index 79e405006..3f96bb868 100644 --- a/rules/go/lang/information_leakage.yml +++ b/rules/go/lang/information_leakage.yml @@ -41,3 +41,4 @@ metadata: - 209 id: go_lang_information_leakage documentation_url: https://docs.bearer.com/reference/rules/go_lang_information_leakage + cloud_code_suggestions: true diff --git a/rules/go/lang/logger.yml b/rules/go/lang/logger.yml index ec0b8a43d..09e0e2170 100644 --- a/rules/go/lang/logger.yml +++ b/rules/go/lang/logger.yml @@ -46,3 +46,4 @@ metadata: - 532 id: go_lang_logger documentation_url: https://docs.bearer.com/reference/rules/go_lang_logger + cloud_code_suggestions: true diff --git a/rules/go/lang/weak_hash_md5.yml b/rules/go/lang/weak_hash_md5.yml index 6342ccf5c..228db185e 100644 --- a/rules/go/lang/weak_hash_md5.yml +++ b/rules/go/lang/weak_hash_md5.yml @@ -59,3 +59,4 @@ metadata: - 328 id: go_lang_weak_hash_md5 documentation_url: https://docs.bearer.com/reference/rules/go_lang_weak_hash_md5 + cloud_code_suggestions: true diff --git a/rules/go/lang/weak_hash_sha1.yml b/rules/go/lang/weak_hash_sha1.yml index 8cfbd10e5..e58e681d1 100644 --- a/rules/go/lang/weak_hash_sha1.yml +++ b/rules/go/lang/weak_hash_sha1.yml @@ -59,3 +59,4 @@ metadata: - 328 id: go_lang_weak_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/go_lang_weak_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/go/lang/weak_password_encryption_md5.yml b/rules/go/lang/weak_password_encryption_md5.yml index ca031b585..ecabf42f0 100644 --- a/rules/go/lang/weak_password_encryption_md5.yml +++ b/rules/go/lang/weak_password_encryption_md5.yml @@ -48,3 +48,4 @@ metadata: - 328 id: go_lang_weak_password_encryption_md5 documentation_url: https://docs.bearer.com/reference/rules/go_lang_weak_password_encryption_md5 + cloud_code_suggestions: true diff --git a/rules/go/lang/weak_password_encryption_sha1.yml b/rules/go/lang/weak_password_encryption_sha1.yml index edd967f74..576cf9a06 100644 --- a/rules/go/lang/weak_password_encryption_sha1.yml +++ b/rules/go/lang/weak_password_encryption_sha1.yml @@ -48,3 +48,4 @@ metadata: - 328 id: go_lang_weak_password_encryption_sha1 documentation_url: https://docs.bearer.com/reference/rules/go_lang_weak_password_encryption_sha1 + cloud_code_suggestions: true diff --git a/rules/java/lang/cookie_missing_http_only.yml b/rules/java/lang/cookie_missing_http_only.yml index 013ab4a70..2a22c467c 100644 --- a/rules/java/lang/cookie_missing_http_only.yml +++ b/rules/java/lang/cookie_missing_http_only.yml @@ -49,3 +49,4 @@ metadata: - 614 id: java_lang_cookie_missing_http_only documentation_url: https://docs.bearer.com/reference/rules/java_lang_cookie_missing_http_only + cloud_code_suggestions: true diff --git a/rules/java/lang/cookie_missing_secure.yml b/rules/java/lang/cookie_missing_secure.yml index 67f55c60c..388f2babd 100644 --- a/rules/java/lang/cookie_missing_secure.yml +++ b/rules/java/lang/cookie_missing_secure.yml @@ -47,3 +47,4 @@ metadata: - 614 id: java_lang_cookie_missing_secure documentation_url: https://docs.bearer.com/reference/rules/java_lang_cookie_missing_secure + cloud_code_suggestions: true diff --git a/rules/java/lang/file_permission_others.yml b/rules/java/lang/file_permission_others.yml index a2f6ccb69..82b6b61a8 100644 --- a/rules/java/lang/file_permission_others.yml +++ b/rules/java/lang/file_permission_others.yml @@ -38,3 +38,4 @@ metadata: - 732 id: "java_lang_file_permission_others" documentation_url: https://docs.bearer.com/reference/rules/java_lang_file_permission_others + cloud_code_suggestions: true diff --git a/rules/java/lang/information_leakage.yml b/rules/java/lang/information_leakage.yml index 4c2e32c50..fb858d750 100644 --- a/rules/java/lang/information_leakage.yml +++ b/rules/java/lang/information_leakage.yml @@ -57,3 +57,4 @@ metadata: - 209 id: java_lang_information_leakage documentation_url: https://docs.bearer.com/reference/rules/java_lang_information_leakage + cloud_code_suggestions: true diff --git a/rules/java/lang/insecure_cookie.yml b/rules/java/lang/insecure_cookie.yml index a485c2cfe..6812bb94b 100644 --- a/rules/java/lang/insecure_cookie.yml +++ b/rules/java/lang/insecure_cookie.yml @@ -49,3 +49,4 @@ metadata: - 614 id: java_lang_insecure_cookie documentation_url: https://docs.bearer.com/reference/rules/java_lang_insecure_cookie + cloud_code_suggestions: true diff --git a/rules/java/lang/logger.yml b/rules/java/lang/logger.yml index 238bdd6d3..e6cefbc29 100644 --- a/rules/java/lang/logger.yml +++ b/rules/java/lang/logger.yml @@ -49,3 +49,4 @@ metadata: - 532 id: "java_lang_logger" documentation_url: https://docs.bearer.com/reference/rules/java_lang_logger + cloud_code_suggestions: true diff --git a/rules/java/lang/missing_integrity_check.yml b/rules/java/lang/missing_integrity_check.yml index 58eda526e..6ed9898f0 100644 --- a/rules/java/lang/missing_integrity_check.yml +++ b/rules/java/lang/missing_integrity_check.yml @@ -34,3 +34,4 @@ metadata: - 353 id: java_lang_missing_integrity_check documentation_url: https://docs.bearer.com/reference/rules/java_lang_missing_integrity_check + cloud_code_suggestions: true diff --git a/rules/java/lang/rsa_no_padding.yml b/rules/java/lang/rsa_no_padding.yml index d2407ea90..615a5d5a2 100644 --- a/rules/java/lang/rsa_no_padding.yml +++ b/rules/java/lang/rsa_no_padding.yml @@ -29,3 +29,4 @@ metadata: - 780 id: "java_lang_rsa_no_padding" documentation_url: https://docs.bearer.com/reference/rules/java_lang_rsa_no_padding + cloud_code_suggestions: true diff --git a/rules/java/lang/weak_encryption_des.yml b/rules/java/lang/weak_encryption_des.yml index f54fedce8..efede926e 100644 --- a/rules/java/lang/weak_encryption_des.yml +++ b/rules/java/lang/weak_encryption_des.yml @@ -55,3 +55,4 @@ metadata: - 327 id: java_lang_weak_encryption_des documentation_url: https://docs.bearer.com/reference/rules/java_lang_weak_encryption_des + cloud_code_suggestions: true diff --git a/rules/java/lang/weak_hash_md5.yml b/rules/java/lang/weak_hash_md5.yml index e11bedc3c..621babb23 100644 --- a/rules/java/lang/weak_hash_md5.yml +++ b/rules/java/lang/weak_hash_md5.yml @@ -51,3 +51,4 @@ metadata: - 327 id: java_lang_weak_hash_md5 documentation_url: https://docs.bearer.com/reference/rules/java_lang_weak_hash_md5 + cloud_code_suggestions: true diff --git a/rules/java/lang/weak_hash_sha1.yml b/rules/java/lang/weak_hash_sha1.yml index cb207dd5d..76933b559 100644 --- a/rules/java/lang/weak_hash_sha1.yml +++ b/rules/java/lang/weak_hash_sha1.yml @@ -51,3 +51,4 @@ metadata: - 327 id: java_lang_weak_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/java_lang_weak_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/java/lang/weak_password_encryption_des.yml b/rules/java/lang/weak_password_encryption_des.yml index 141fca3ff..3f339aed2 100644 --- a/rules/java/lang/weak_password_encryption_des.yml +++ b/rules/java/lang/weak_password_encryption_des.yml @@ -47,3 +47,4 @@ metadata: - 916 id: java_lang_weak_password_encryption_des documentation_url: https://docs.bearer.com/reference/rules/java_lang_weak_password_encryption_des + cloud_code_suggestions: true diff --git a/rules/java/lang/weak_password_hash_md5.yml b/rules/java/lang/weak_password_hash_md5.yml index 11d659ab5..d79aec946 100644 --- a/rules/java/lang/weak_password_hash_md5.yml +++ b/rules/java/lang/weak_password_hash_md5.yml @@ -45,3 +45,4 @@ metadata: - 916 id: java_lang_weak_password_hash_md5 documentation_url: https://docs.bearer.com/reference/rules/java_lang_weak_password_hash_md5 + cloud_code_suggestions: true diff --git a/rules/java/lang/weak_password_hash_sha1.yml b/rules/java/lang/weak_password_hash_sha1.yml index 90fd0bc2d..ca50c227a 100644 --- a/rules/java/lang/weak_password_hash_sha1.yml +++ b/rules/java/lang/weak_password_hash_sha1.yml @@ -45,3 +45,4 @@ metadata: - 916 id: java_lang_weak_password_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/java_lang_weak_password_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/javascript/express/default_cookie_config.yml b/rules/javascript/express/default_cookie_config.yml index 09a384895..cb8aa2f08 100644 --- a/rules/javascript/express/default_cookie_config.yml +++ b/rules/javascript/express/default_cookie_config.yml @@ -114,3 +114,4 @@ metadata: - 522 id: javascript_express_default_cookie_config documentation_url: https://docs.bearer.com/reference/rules/javascript_express_default_cookie_config + cloud_code_suggestions: true diff --git a/rules/javascript/express/exposed_dir_listing.yml b/rules/javascript/express/exposed_dir_listing.yml index a37bbfc52..03e8f96a2 100644 --- a/rules/javascript/express/exposed_dir_listing.yml +++ b/rules/javascript/express/exposed_dir_listing.yml @@ -18,3 +18,4 @@ metadata: - 548 id: "javascript_express_exposed_dir_listing" documentation_url: https://docs.bearer.com/reference/rules/javascript_express_exposed_dir_listing + cloud_code_suggestions: true diff --git a/rules/javascript/express/external_resource.yml b/rules/javascript/express/external_resource.yml index 9b7291d3c..3490ac968 100644 --- a/rules/javascript/express/external_resource.yml +++ b/rules/javascript/express/external_resource.yml @@ -32,3 +32,4 @@ metadata: - 706 id: "javascript_express_external_resource" documentation_url: https://docs.bearer.com/reference/rules/javascript_express_external_resource + cloud_code_suggestions: true diff --git a/rules/javascript/express/https_protocol_missing.yml b/rules/javascript/express/https_protocol_missing.yml index fdfe895bc..8a1ccd5e5 100644 --- a/rules/javascript/express/https_protocol_missing.yml +++ b/rules/javascript/express/https_protocol_missing.yml @@ -34,3 +34,4 @@ metadata: - 693 id: javascript_express_https_protocol_missing documentation_url: https://docs.bearer.com/reference/rules/javascript_express_https_protocol_missing + cloud_code_suggestions: true diff --git a/rules/javascript/express/insecure_allow_origin.yml b/rules/javascript/express/insecure_allow_origin.yml index 5da7af8dd..d859b8d1a 100644 --- a/rules/javascript/express/insecure_allow_origin.yml +++ b/rules/javascript/express/insecure_allow_origin.yml @@ -50,3 +50,4 @@ metadata: - 346 id: javascript_express_insecure_allow_origin documentation_url: https://docs.bearer.com/reference/rules/javascript_express_insecure_allow_origin + cloud_code_suggestions: true diff --git a/rules/javascript/express/insecure_cookie.yml b/rules/javascript/express/insecure_cookie.yml index e1badb19a..67caab8ab 100644 --- a/rules/javascript/express/insecure_cookie.yml +++ b/rules/javascript/express/insecure_cookie.yml @@ -40,3 +40,4 @@ metadata: - 614 id: javascript_express_insecure_cookie documentation_url: https://docs.bearer.com/reference/rules/javascript_express_insecure_cookie + cloud_code_suggestions: true diff --git a/rules/javascript/express/reduce_fingerprint.yml b/rules/javascript/express/reduce_fingerprint.yml index 8031495de..c7d090713 100644 --- a/rules/javascript/express/reduce_fingerprint.yml +++ b/rules/javascript/express/reduce_fingerprint.yml @@ -43,3 +43,4 @@ metadata: - 693 id: javascript_express_reduce_fingerprint documentation_url: https://docs.bearer.com/reference/rules/javascript_express_reduce_fingerprint + cloud_code_suggestions: true diff --git a/rules/javascript/express/ui_redress.yml b/rules/javascript/express/ui_redress.yml index 973039d7d..b496ead39 100644 --- a/rules/javascript/express/ui_redress.yml +++ b/rules/javascript/express/ui_redress.yml @@ -45,3 +45,4 @@ metadata: - 1021 id: "javascript_express_ui_redress" documentation_url: https://docs.bearer.com/reference/rules/javascript_express_ui_redress + cloud_code_suggestions: true diff --git a/rules/javascript/lang/exception.yml b/rules/javascript/lang/exception.yml index 8315e0fd5..d7a98fd46 100644 --- a/rules/javascript/lang/exception.yml +++ b/rules/javascript/lang/exception.yml @@ -61,3 +61,4 @@ metadata: - 210 id: javascript_lang_exception documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_exception + cloud_code_suggestions: true diff --git a/rules/javascript/lang/jwt_weak_encryption.yml b/rules/javascript/lang/jwt_weak_encryption.yml index 6d6b3420c..76356949f 100644 --- a/rules/javascript/lang/jwt_weak_encryption.yml +++ b/rules/javascript/lang/jwt_weak_encryption.yml @@ -29,3 +29,4 @@ metadata: - 327 id: javascript_lang_jwt_weak_encryption documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_jwt_weak_encryption + cloud_code_suggestions: true diff --git a/rules/javascript/lang/logger.yml b/rules/javascript/lang/logger.yml index 4acb96540..81dcfc171 100644 --- a/rules/javascript/lang/logger.yml +++ b/rules/javascript/lang/logger.yml @@ -98,3 +98,4 @@ metadata: - 532 id: "javascript_lang_logger" documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_logger + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_encryption_des.yml b/rules/javascript/lang/weak_encryption_des.yml index af80df6f6..b3a25f740 100644 --- a/rules/javascript/lang/weak_encryption_des.yml +++ b/rules/javascript/lang/weak_encryption_des.yml @@ -48,3 +48,4 @@ metadata: - 327 id: javascript_lang_weak_encryption_des documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_encryption + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_encryption_rc4.yml b/rules/javascript/lang/weak_encryption_rc4.yml index f158cf315..36b0c0b2f 100644 --- a/rules/javascript/lang/weak_encryption_rc4.yml +++ b/rules/javascript/lang/weak_encryption_rc4.yml @@ -48,3 +48,4 @@ metadata: - 327 id: javascript_lang_weak_encryption_rc4 documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_encryption_rc4 + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_hash_md5.yml b/rules/javascript/lang/weak_hash_md5.yml index 1eb95a340..d9e141e80 100644 --- a/rules/javascript/lang/weak_hash_md5.yml +++ b/rules/javascript/lang/weak_hash_md5.yml @@ -119,3 +119,4 @@ metadata: - 328 id: javascript_lang_weak_hash_md5 documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_hash_md5 + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_hash_sha1.yml b/rules/javascript/lang/weak_hash_sha1.yml index 20440bbdb..a478349eb 100644 --- a/rules/javascript/lang/weak_hash_sha1.yml +++ b/rules/javascript/lang/weak_hash_sha1.yml @@ -92,3 +92,4 @@ metadata: - 328 id: javascript_lang_weak_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_password_encryption_des.yml b/rules/javascript/lang/weak_password_encryption_des.yml index e6c82d3bc..5644bf863 100644 --- a/rules/javascript/lang/weak_password_encryption_des.yml +++ b/rules/javascript/lang/weak_password_encryption_des.yml @@ -42,3 +42,4 @@ metadata: - 327 id: javascript_lang_weak_password_encryption_des documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_password_encryption_des + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_password_encryption_rc4.yml b/rules/javascript/lang/weak_password_encryption_rc4.yml index 08eba72ec..8a545ad8d 100644 --- a/rules/javascript/lang/weak_password_encryption_rc4.yml +++ b/rules/javascript/lang/weak_password_encryption_rc4.yml @@ -42,3 +42,4 @@ metadata: - 327 id: javascript_lang_weak_password_encryption_rc4 documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_password_encryption_rc4 + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_password_hash_argon2.yml b/rules/javascript/lang/weak_password_hash_argon2.yml index b86d6f69a..bca0249b2 100644 --- a/rules/javascript/lang/weak_password_hash_argon2.yml +++ b/rules/javascript/lang/weak_password_hash_argon2.yml @@ -63,3 +63,4 @@ metadata: - 916 id: javascript_lang_weak_password_hash_argon2 documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_password_hash_argon2 + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_password_hash_md5.yml b/rules/javascript/lang/weak_password_hash_md5.yml index 6802fa942..5c7266222 100644 --- a/rules/javascript/lang/weak_password_hash_md5.yml +++ b/rules/javascript/lang/weak_password_hash_md5.yml @@ -95,3 +95,4 @@ metadata: - 328 id: javascript_lang_weak_password_hash_md5 documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_password_hash_md5 + cloud_code_suggestions: true diff --git a/rules/javascript/lang/weak_password_hash_sha1.yml b/rules/javascript/lang/weak_password_hash_sha1.yml index cafc67077..395b8418c 100644 --- a/rules/javascript/lang/weak_password_hash_sha1.yml +++ b/rules/javascript/lang/weak_password_hash_sha1.yml @@ -73,3 +73,4 @@ metadata: - 328 id: javascript_lang_weak_password_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/javascript_lang_weak_password_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/javascript/react/google_analytics.yml b/rules/javascript/react/google_analytics.yml index e3455b600..205b79d5d 100644 --- a/rules/javascript/react/google_analytics.yml +++ b/rules/javascript/react/google_analytics.yml @@ -28,3 +28,4 @@ metadata: - 201 id: "javascript_react_google_analytics" documentation_url: https://docs.bearer.com/reference/rules/javascript_react_google_analytics + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/airbrake.yml b/rules/javascript/third_parties/airbrake.yml index d0b127ef6..eb25e2871 100644 --- a/rules/javascript/third_parties/airbrake.yml +++ b/rules/javascript/third_parties/airbrake.yml @@ -46,3 +46,4 @@ metadata: associated_recipe: Airbrake id: javascript_third_parties_airbrake documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_airbrake + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/algolia.yml b/rules/javascript/third_parties/algolia.yml index 6acbf73d6..49ba0ef69 100644 --- a/rules/javascript/third_parties/algolia.yml +++ b/rules/javascript/third_parties/algolia.yml @@ -69,3 +69,4 @@ metadata: associated_recipe: Algolia id: javascript_third_parties_algolia documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_algolia + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/bugsnag.yml b/rules/javascript/third_parties/bugsnag.yml index 1c7f17cef..b7af81512 100644 --- a/rules/javascript/third_parties/bugsnag.yml +++ b/rules/javascript/third_parties/bugsnag.yml @@ -81,3 +81,4 @@ metadata: associated_recipe: Bugsnag id: javascript_third_parties_bugsnag documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_bugsnag + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/datadog.yml b/rules/javascript/third_parties/datadog.yml index e1a028fb8..c622cbd3c 100644 --- a/rules/javascript/third_parties/datadog.yml +++ b/rules/javascript/third_parties/datadog.yml @@ -57,3 +57,4 @@ metadata: associated_recipe: Datadog id: javascript_third_parties_datadog documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_datadog + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/datadog_browser.yml b/rules/javascript/third_parties/datadog_browser.yml index 1ca9edb75..d14294ab2 100644 --- a/rules/javascript/third_parties/datadog_browser.yml +++ b/rules/javascript/third_parties/datadog_browser.yml @@ -27,3 +27,4 @@ metadata: associated_recipe: Datadog id: javascript_third_parties_datadog_browser documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_datadog_browser + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/dom_purify.yml b/rules/javascript/third_parties/dom_purify.yml index d98579438..ec7edad99 100644 --- a/rules/javascript/third_parties/dom_purify.yml +++ b/rules/javascript/third_parties/dom_purify.yml @@ -48,3 +48,4 @@ metadata: - 79 id: javascript_third_parties_dom_purify documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_dom_purify + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/dynamodb_query_injection.yml b/rules/javascript/third_parties/dynamodb_query_injection.yml index ec73f9ba4..f0d2cc8e6 100644 --- a/rules/javascript/third_parties/dynamodb_query_injection.yml +++ b/rules/javascript/third_parties/dynamodb_query_injection.yml @@ -71,3 +71,4 @@ metadata: - 89 id: "javascript_third_parties_dynamodb_query_injection" documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_dynamodb_query_injection + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/elasticsearch.yml b/rules/javascript/third_parties/elasticsearch.yml index db4cc3a19..8adfee68d 100644 --- a/rules/javascript/third_parties/elasticsearch.yml +++ b/rules/javascript/third_parties/elasticsearch.yml @@ -31,3 +31,4 @@ metadata: - 201 id: javascript_third_parties_elasticsearch documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_elasticsearch + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/google_analytics.yml b/rules/javascript/third_parties/google_analytics.yml index eba8c4216..25edaad01 100644 --- a/rules/javascript/third_parties/google_analytics.yml +++ b/rules/javascript/third_parties/google_analytics.yml @@ -39,3 +39,4 @@ metadata: - 201 id: javascript_third_parties_google_analytics documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_google_analytics + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/google_tag_manager.yml b/rules/javascript/third_parties/google_tag_manager.yml index d3735c336..23af9a3f8 100644 --- a/rules/javascript/third_parties/google_tag_manager.yml +++ b/rules/javascript/third_parties/google_tag_manager.yml @@ -51,3 +51,4 @@ metadata: - 201 id: javascript_third_parties_google_tag_manager documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_google_tag_manager + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/honeybadger.yml b/rules/javascript/third_parties/honeybadger.yml index db35c1115..c7ecf813b 100644 --- a/rules/javascript/third_parties/honeybadger.yml +++ b/rules/javascript/third_parties/honeybadger.yml @@ -47,3 +47,4 @@ metadata: - 201 id: javascript_third_parties_honeybadger documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_honeybadger + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/new_relic.yml b/rules/javascript/third_parties/new_relic.yml index b64be6756..1b49337ee 100644 --- a/rules/javascript/third_parties/new_relic.yml +++ b/rules/javascript/third_parties/new_relic.yml @@ -68,3 +68,4 @@ metadata: - 201 id: "javascript_third_parties_new_relic" documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_new_relic + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/open_telemetry.yml b/rules/javascript/third_parties/open_telemetry.yml index a357608ea..08f1fb830 100644 --- a/rules/javascript/third_parties/open_telemetry.yml +++ b/rules/javascript/third_parties/open_telemetry.yml @@ -41,3 +41,4 @@ metadata: - 201 id: javascript_third_parties_open_telemetry documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_open_telemetry + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/openai.yml b/rules/javascript/third_parties/openai.yml index c62068ff0..e8cd528f3 100644 --- a/rules/javascript/third_parties/openai.yml +++ b/rules/javascript/third_parties/openai.yml @@ -33,3 +33,4 @@ metadata: associated_recipe: OpenAI id: javascript_third_parties_openai documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_openai + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/rollbar.yml b/rules/javascript/third_parties/rollbar.yml index 2aadfdf18..ea5f420d4 100644 --- a/rules/javascript/third_parties/rollbar.yml +++ b/rules/javascript/third_parties/rollbar.yml @@ -46,3 +46,4 @@ metadata: - 201 id: javascript_third_parties_rollbar documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_rollbar + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/segment.yml b/rules/javascript/third_parties/segment.yml index 61b7f960f..9bfb25396 100644 --- a/rules/javascript/third_parties/segment.yml +++ b/rules/javascript/third_parties/segment.yml @@ -46,3 +46,4 @@ metadata: associated_recipe: Segment id: javascript_third_parties_segment documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_segment + cloud_code_suggestions: true diff --git a/rules/javascript/third_parties/sentry.yml b/rules/javascript/third_parties/sentry.yml index f016c61da..2e1e47901 100644 --- a/rules/javascript/third_parties/sentry.yml +++ b/rules/javascript/third_parties/sentry.yml @@ -53,3 +53,4 @@ metadata: associated_recipe: Sentry id: javascript_third_parties_sentry documentation_url: https://docs.bearer.com/reference/rules/javascript_third_parties_sentry + cloud_code_suggestions: true diff --git a/rules/php/lang/cookies.yml b/rules/php/lang/cookies.yml index 36237e348..e30e476b0 100644 --- a/rules/php/lang/cookies.yml +++ b/rules/php/lang/cookies.yml @@ -32,3 +32,4 @@ metadata: - 539 id: php_lang_cookies documentation_url: https://docs.bearer.com/reference/rules/php_lang_cookies + cloud_code_suggestions: true diff --git a/rules/php/lang/exception.yml b/rules/php/lang/exception.yml index fff63d568..b155714d0 100644 --- a/rules/php/lang/exception.yml +++ b/rules/php/lang/exception.yml @@ -44,3 +44,4 @@ metadata: - 210 id: php_lang_exception documentation_url: https://docs.bearer.com/reference/rules/php_lang_exception + cloud_code_suggestions: true diff --git a/rules/php/lang/information_leakage.yml b/rules/php/lang/information_leakage.yml index a2dfea6b1..e934b44ec 100644 --- a/rules/php/lang/information_leakage.yml +++ b/rules/php/lang/information_leakage.yml @@ -58,3 +58,4 @@ metadata: - 209 id: php_lang_information_leakage documentation_url: https://docs.bearer.com/reference/rules/php_lang_information_leakage + cloud_code_suggestions: true diff --git a/rules/php/lang/insecure_cookie.yml b/rules/php/lang/insecure_cookie.yml index adaecbaca..519038554 100644 --- a/rules/php/lang/insecure_cookie.yml +++ b/rules/php/lang/insecure_cookie.yml @@ -115,3 +115,4 @@ metadata: - 614 id: php_lang_insecure_cookie documentation_url: https://docs.bearer.com/reference/rules/php_lang_insecure_cookie + cloud_code_suggestions: true diff --git a/rules/php/lang/logger.yml b/rules/php/lang/logger.yml index 7a1e3aa1c..78ec1af68 100644 --- a/rules/php/lang/logger.yml +++ b/rules/php/lang/logger.yml @@ -39,3 +39,4 @@ metadata: - 532 id: php_lang_logger documentation_url: https://docs.bearer.com/reference/rules/php_lang_logger + cloud_code_suggestions: true diff --git a/rules/php/lang/phpinfo.yml b/rules/php/lang/phpinfo.yml index 2295e7535..0354ffda0 100644 --- a/rules/php/lang/phpinfo.yml +++ b/rules/php/lang/phpinfo.yml @@ -22,3 +22,4 @@ metadata: - 200 id: php_lang_phpinfo documentation_url: https://docs.bearer.com/reference/rules/php_lang_phpinfo + cloud_code_suggestions: true diff --git a/rules/php/lang/ssl_verification.yml b/rules/php/lang/ssl_verification.yml index 9b84534e8..263fba684 100644 --- a/rules/php/lang/ssl_verification.yml +++ b/rules/php/lang/ssl_verification.yml @@ -453,3 +453,4 @@ metadata: - 295 id: php_lang_ssl_verification documentation_url: https://docs.bearer.com/reference/rules/php_lang_ssl_verification + cloud_code_suggestions: true diff --git a/rules/php/lang/ui_redress.yml b/rules/php/lang/ui_redress.yml index 8b1cde7a9..fb773f760 100644 --- a/rules/php/lang/ui_redress.yml +++ b/rules/php/lang/ui_redress.yml @@ -33,3 +33,4 @@ metadata: - 1021 id: "php_lang_ui_redress" documentation_url: https://docs.bearer.com/reference/rules/php_lang_ui_redress + cloud_code_suggestions: true diff --git a/rules/php/lang/weak_hash_md.yml b/rules/php/lang/weak_hash_md.yml index 5b16a9979..b0830f4ab 100644 --- a/rules/php/lang/weak_hash_md.yml +++ b/rules/php/lang/weak_hash_md.yml @@ -90,3 +90,4 @@ metadata: - 327 id: php_lang_weak_hash_md documentation_url: https://docs.bearer.com/reference/rules/php_lang_weak_hash_md + cloud_code_suggestions: true diff --git a/rules/php/lang/weak_hash_sha1.yml b/rules/php/lang/weak_hash_sha1.yml index 3a559c941..88a1a8d1a 100644 --- a/rules/php/lang/weak_hash_sha1.yml +++ b/rules/php/lang/weak_hash_sha1.yml @@ -90,3 +90,4 @@ metadata: - 327 id: php_lang_weak_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/php_lang_weak_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/php/lang/weak_password_hash_md.yml b/rules/php/lang/weak_password_hash_md.yml index aa34c65de..971bac118 100644 --- a/rules/php/lang/weak_password_hash_md.yml +++ b/rules/php/lang/weak_password_hash_md.yml @@ -65,3 +65,4 @@ metadata: - 916 id: php_lang_weak_password_hash_md documentation_url: https://docs.bearer.com/reference/rules/php_lang_weak_password_hash_md + cloud_code_suggestions: true diff --git a/rules/php/lang/weak_password_hash_sha1.yml b/rules/php/lang/weak_password_hash_sha1.yml index 76abff985..be3d22f9d 100644 --- a/rules/php/lang/weak_password_hash_sha1.yml +++ b/rules/php/lang/weak_password_hash_sha1.yml @@ -65,3 +65,4 @@ metadata: - 916 id: php_lang_weak_password_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/php_lang_weak_password_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/php/symfony/cookies.yml b/rules/php/symfony/cookies.yml index f05061d54..1907ada0e 100644 --- a/rules/php/symfony/cookies.yml +++ b/rules/php/symfony/cookies.yml @@ -38,3 +38,4 @@ metadata: - 539 id: php_symfony_cookies documentation_url: https://docs.bearer.com/reference/rules/php_symfony_cookies + cloud_code_suggestions: true diff --git a/rules/php/symfony/csrf_protection_disabled.yml b/rules/php/symfony/csrf_protection_disabled.yml index c099ff9c5..be39c1c97 100644 --- a/rules/php/symfony/csrf_protection_disabled.yml +++ b/rules/php/symfony/csrf_protection_disabled.yml @@ -38,3 +38,4 @@ metadata: - 352 id: php_symfony_csrf_protection_disabled documentation_url: https://docs.bearer.com/reference/rules/php_symfony_csrf_protection_disabled + cloud_code_suggestions: true diff --git a/rules/php/symfony/insecure_cookie.yml b/rules/php/symfony/insecure_cookie.yml index e0ff310e9..1aeb4ed80 100644 --- a/rules/php/symfony/insecure_cookie.yml +++ b/rules/php/symfony/insecure_cookie.yml @@ -123,3 +123,4 @@ metadata: - 614 id: php_symfony_insecure_cookie documentation_url: https://docs.bearer.com/reference/rules/php_symfony_insecure_cookie + cloud_code_suggestions: true diff --git a/rules/php/symfony/insecure_smtp.yml b/rules/php/symfony/insecure_smtp.yml index 61a81e91f..24a60e720 100644 --- a/rules/php/symfony/insecure_smtp.yml +++ b/rules/php/symfony/insecure_smtp.yml @@ -28,3 +28,4 @@ metadata: - 319 id: php_symfony_insecure_smtp documentation_url: https://docs.bearer.com/reference/rules/php_symfony_insecure_smtp + cloud_code_suggestions: true diff --git a/rules/php/symfony/permissive_regex_validation.yml b/rules/php/symfony/permissive_regex_validation.yml index 085dfa82f..07bd390de 100644 --- a/rules/php/symfony/permissive_regex_validation.yml +++ b/rules/php/symfony/permissive_regex_validation.yml @@ -86,3 +86,4 @@ metadata: - 625 id: php_symfony_permissive_regex_validation documentation_url: https://docs.bearer.com/reference/rules/php_symfony_permissive_regex_validation + cloud_code_suggestions: true diff --git a/rules/php/symfony/ui_redress.yml b/rules/php/symfony/ui_redress.yml index d931587d9..9b47f46cd 100644 --- a/rules/php/symfony/ui_redress.yml +++ b/rules/php/symfony/ui_redress.yml @@ -53,3 +53,4 @@ metadata: - 1021 id: "php_symfony_ui_redress" documentation_url: https://docs.bearer.com/reference/rules/php_symfony_ui_redress + cloud_code_suggestions: true diff --git a/rules/php/third_parties/logger.yml b/rules/php/third_parties/logger.yml index c25b7a809..d1f198888 100644 --- a/rules/php/third_parties/logger.yml +++ b/rules/php/third_parties/logger.yml @@ -56,3 +56,4 @@ metadata: - 532 id: php_third_parties_logger documentation_url: https://docs.bearer.com/reference/rules/php_third_parties_logger + cloud_code_suggestions: true diff --git a/rules/python/lang/logger.yml b/rules/python/lang/logger.yml index 5c5447799..211aa696e 100644 --- a/rules/python/lang/logger.yml +++ b/rules/python/lang/logger.yml @@ -43,3 +43,4 @@ metadata: - 532 id: python_lang_logger documentation_url: https://docs.bearer.com/reference/rules/python_lang_logger + cloud_code_suggestions: true diff --git a/rules/python/lang/weak_hash_md5.yml b/rules/python/lang/weak_hash_md5.yml index 698a0bc97..1cdc55e47 100644 --- a/rules/python/lang/weak_hash_md5.yml +++ b/rules/python/lang/weak_hash_md5.yml @@ -59,3 +59,4 @@ metadata: - 328 id: python_lang_weak_hash_md5 documentation_url: https://docs.bearer.com/reference/rules/python_lang_weak_hash_md5 + cloud_code_suggestions: true diff --git a/rules/python/lang/weak_hash_sha1.yml b/rules/python/lang/weak_hash_sha1.yml index 9334868fd..7b0972769 100644 --- a/rules/python/lang/weak_hash_sha1.yml +++ b/rules/python/lang/weak_hash_sha1.yml @@ -59,3 +59,4 @@ metadata: - 328 id: python_lang_weak_hash_sha1 documentation_url: https://docs.bearer.com/reference/rules/python_lang_weak_hash_sha1 + cloud_code_suggestions: true diff --git a/rules/ruby/lang/cookies.yml b/rules/ruby/lang/cookies.yml index 10af03538..f5070c263 100644 --- a/rules/ruby/lang/cookies.yml +++ b/rules/ruby/lang/cookies.yml @@ -61,3 +61,4 @@ metadata: - 539 id: ruby_lang_cookies documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_cookies + cloud_code_suggestions: true diff --git a/rules/ruby/lang/exception.yml b/rules/ruby/lang/exception.yml index a79ac07b9..c8d8b119c 100644 --- a/rules/ruby/lang/exception.yml +++ b/rules/ruby/lang/exception.yml @@ -35,3 +35,4 @@ metadata: - 210 id: ruby_lang_exception documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_exception + cloud_code_suggestions: true diff --git a/rules/ruby/lang/http_get_params.yml b/rules/ruby/lang/http_get_params.yml index aceb8cf0e..50a4e6854 100644 --- a/rules/ruby/lang/http_get_params.yml +++ b/rules/ruby/lang/http_get_params.yml @@ -79,3 +79,4 @@ metadata: - 598 id: ruby_lang_http_get_params documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_http_get_params + cloud_code_suggestions: true diff --git a/rules/ruby/lang/logger.yml b/rules/ruby/lang/logger.yml index 0ac9497bc..79da5613a 100644 --- a/rules/ruby/lang/logger.yml +++ b/rules/ruby/lang/logger.yml @@ -47,3 +47,4 @@ metadata: - 532 id: ruby_lang_logger documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_logger + cloud_code_suggestions: true diff --git a/rules/ruby/lang/ssl_verification.yml b/rules/ruby/lang/ssl_verification.yml index 7ddf35b7a..d6d42dea1 100644 --- a/rules/ruby/lang/ssl_verification.yml +++ b/rules/ruby/lang/ssl_verification.yml @@ -41,3 +41,4 @@ metadata: - 295 id: ruby_lang_ssl_verification documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_ssl_verification + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_encryption_blowfish.yml b/rules/ruby/lang/weak_encryption_blowfish.yml index 97bff9e87..1b6c60c5a 100644 --- a/rules/ruby/lang/weak_encryption_blowfish.yml +++ b/rules/ruby/lang/weak_encryption_blowfish.yml @@ -92,3 +92,4 @@ metadata: - 326 id: ruby_lang_weak_encryption_blowfish documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_encryption_blowfish + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_encryption_dsa.yml b/rules/ruby/lang/weak_encryption_dsa.yml index c7acb5dc6..a0393a595 100644 --- a/rules/ruby/lang/weak_encryption_dsa.yml +++ b/rules/ruby/lang/weak_encryption_dsa.yml @@ -55,3 +55,4 @@ metadata: - 326 id: ruby_lang_weak_encryption_dsa documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_encryption_dsa + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_encryption_rc4.yml b/rules/ruby/lang/weak_encryption_rc4.yml index c41e8aabe..aca67c43b 100644 --- a/rules/ruby/lang/weak_encryption_rc4.yml +++ b/rules/ruby/lang/weak_encryption_rc4.yml @@ -55,3 +55,4 @@ metadata: - 326 id: ruby_lang_weak_encryption_rc4 documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_encryption_rc4 + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_encryption_rsa.yml b/rules/ruby/lang/weak_encryption_rsa.yml index 70a275753..6fd1140f6 100644 --- a/rules/ruby/lang/weak_encryption_rsa.yml +++ b/rules/ruby/lang/weak_encryption_rsa.yml @@ -55,3 +55,4 @@ metadata: - 326 id: ruby_lang_weak_encryption_rsa documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_encryption_rsa + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_hash_dss.yml b/rules/ruby/lang/weak_hash_dss.yml index 55a19de4c..87950f86e 100644 --- a/rules/ruby/lang/weak_hash_dss.yml +++ b/rules/ruby/lang/weak_hash_dss.yml @@ -106,3 +106,4 @@ metadata: - 328 id: ruby_lang_weak_hash_dss documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_hash_dss + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_hash_md.yml b/rules/ruby/lang/weak_hash_md.yml index e1ee3d0ca..98e52a36e 100644 --- a/rules/ruby/lang/weak_hash_md.yml +++ b/rules/ruby/lang/weak_hash_md.yml @@ -121,3 +121,4 @@ metadata: - 328 id: ruby_lang_weak_hash_md documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_hash_md + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_hash_sha.yml b/rules/ruby/lang/weak_hash_sha.yml index df11d3e41..56bb30411 100644 --- a/rules/ruby/lang/weak_hash_sha.yml +++ b/rules/ruby/lang/weak_hash_sha.yml @@ -122,3 +122,4 @@ metadata: - 328 id: ruby_lang_weak_hash_sha documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_hash_sha + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_password_encryption_blowfish.yml b/rules/ruby/lang/weak_password_encryption_blowfish.yml index e5ab933b0..a36725fd8 100644 --- a/rules/ruby/lang/weak_password_encryption_blowfish.yml +++ b/rules/ruby/lang/weak_password_encryption_blowfish.yml @@ -80,3 +80,4 @@ metadata: - 916 id: ruby_lang_weak_password_encryption_blowfish documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_password_encryption_blowfish + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_password_encryption_dsa.yml b/rules/ruby/lang/weak_password_encryption_dsa.yml index e0f2a93d3..c5bc86d27 100644 --- a/rules/ruby/lang/weak_password_encryption_dsa.yml +++ b/rules/ruby/lang/weak_password_encryption_dsa.yml @@ -53,3 +53,4 @@ metadata: - 916 id: ruby_lang_weak_password_encryption_dsa documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_password_encryption_dsa + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_password_encryption_rc4.yml b/rules/ruby/lang/weak_password_encryption_rc4.yml index 55225e08e..5ad6bc140 100644 --- a/rules/ruby/lang/weak_password_encryption_rc4.yml +++ b/rules/ruby/lang/weak_password_encryption_rc4.yml @@ -53,3 +53,4 @@ metadata: - 916 id: ruby_lang_weak_password_encryption_rc4 documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_password_encryption_rc4 + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_password_encryption_rsa.yml b/rules/ruby/lang/weak_password_encryption_rsa.yml index 3d142b4a2..be07c5ee9 100644 --- a/rules/ruby/lang/weak_password_encryption_rsa.yml +++ b/rules/ruby/lang/weak_password_encryption_rsa.yml @@ -51,3 +51,4 @@ metadata: - 916 id: ruby_lang_weak_password_encryption_rsa documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_password_encryption_rsa + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_password_hash_dss.yml b/rules/ruby/lang/weak_password_hash_dss.yml index 1f0386870..1cfa34751 100644 --- a/rules/ruby/lang/weak_password_hash_dss.yml +++ b/rules/ruby/lang/weak_password_hash_dss.yml @@ -82,3 +82,4 @@ metadata: - 916 id: ruby_lang_weak_password_hash_dss documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_password_hash_dss + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_password_hash_md.yml b/rules/ruby/lang/weak_password_hash_md.yml index 6b58dbec3..594d3b63b 100644 --- a/rules/ruby/lang/weak_password_hash_md.yml +++ b/rules/ruby/lang/weak_password_hash_md.yml @@ -92,3 +92,4 @@ metadata: - 916 id: ruby_lang_weak_password_hash_md documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_password_hash_md + cloud_code_suggestions: true diff --git a/rules/ruby/lang/weak_password_hash_sha.yml b/rules/ruby/lang/weak_password_hash_sha.yml index 86ae84ead..aeb4d8f13 100644 --- a/rules/ruby/lang/weak_password_hash_sha.yml +++ b/rules/ruby/lang/weak_password_hash_sha.yml @@ -92,3 +92,4 @@ metadata: - 916 id: ruby_lang_weak_password_hash_sha documentation_url: https://docs.bearer.com/reference/rules/ruby_lang_weak_password_hash_sha + cloud_code_suggestions: true diff --git a/rules/ruby/rails/detailed_exceptions.yml b/rules/ruby/rails/detailed_exceptions.yml index 3cdd25d3f..5d043bdf9 100644 --- a/rules/ruby/rails/detailed_exceptions.yml +++ b/rules/ruby/rails/detailed_exceptions.yml @@ -61,3 +61,4 @@ metadata: - 209 id: ruby_rails_detailed_exceptions documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_detailed_exceptions + cloud_code_suggestions: true diff --git a/rules/ruby/rails/insecure_communication.yml b/rules/ruby/rails/insecure_communication.yml index 2486c9de8..623448a9f 100644 --- a/rules/ruby/rails/insecure_communication.yml +++ b/rules/ruby/rails/insecure_communication.yml @@ -29,3 +29,4 @@ metadata: - 319 id: ruby_rails_insecure_communication documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_insecure_communication + cloud_code_suggestions: true diff --git a/rules/ruby/rails/insecure_disabling_of_callback.yml b/rules/ruby/rails/insecure_disabling_of_callback.yml index 968fd885e..bab651f87 100644 --- a/rules/ruby/rails/insecure_disabling_of_callback.yml +++ b/rules/ruby/rails/insecure_disabling_of_callback.yml @@ -34,3 +34,4 @@ metadata: - 284 id: ruby_rails_insecure_disabling_of_callback documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_insecure_disabling_of_callback + cloud_code_suggestions: true diff --git a/rules/ruby/rails/insecure_smtp.yml b/rules/ruby/rails/insecure_smtp.yml index 4315e68ca..82effadca 100644 --- a/rules/ruby/rails/insecure_smtp.yml +++ b/rules/ruby/rails/insecure_smtp.yml @@ -37,3 +37,4 @@ metadata: - 319 id: ruby_rails_insecure_smtp documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_insecure_smtp + cloud_code_suggestions: true diff --git a/rules/ruby/rails/logger.yml b/rules/ruby/rails/logger.yml index 396cb746b..2b1d3d69b 100644 --- a/rules/ruby/rails/logger.yml +++ b/rules/ruby/rails/logger.yml @@ -45,3 +45,4 @@ metadata: - 532 id: ruby_rails_logger documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_logger + cloud_code_suggestions: true diff --git a/rules/ruby/rails/password_length.yml b/rules/ruby/rails/password_length.yml index 48f930705..7109a4670 100644 --- a/rules/ruby/rails/password_length.yml +++ b/rules/ruby/rails/password_length.yml @@ -58,3 +58,4 @@ metadata: - 521 id: ruby_rails_password_length documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_password_length + cloud_code_suggestions: true diff --git a/rules/ruby/rails/permissive_regex_validation.yml b/rules/ruby/rails/permissive_regex_validation.yml index 688e1c75b..2b89a39a3 100644 --- a/rules/ruby/rails/permissive_regex_validation.yml +++ b/rules/ruby/rails/permissive_regex_validation.yml @@ -53,3 +53,4 @@ metadata: - 625 id: ruby_rails_permissive_regex_validation documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_permissive_regex_validation + cloud_code_suggestions: true diff --git a/rules/ruby/rails/session.yml b/rules/ruby/rails/session.yml index 856722761..f16f4d981 100644 --- a/rules/ruby/rails/session.yml +++ b/rules/ruby/rails/session.yml @@ -33,3 +33,4 @@ metadata: - 315 id: ruby_rails_session documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_session + cloud_code_suggestions: true diff --git a/rules/ruby/rails/session_with_httponly_disabled.yml b/rules/ruby/rails/session_with_httponly_disabled.yml index 6d1ec7540..a6271067d 100644 --- a/rules/ruby/rails/session_with_httponly_disabled.yml +++ b/rules/ruby/rails/session_with_httponly_disabled.yml @@ -26,3 +26,4 @@ metadata: - 1004 id: ruby_rails_session_with_httponly_disabled documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_session_with_httponly_disabled + cloud_code_suggestions: true diff --git a/rules/ruby/rails/unsafe_cookie_serialization_strategy.yml b/rules/ruby/rails/unsafe_cookie_serialization_strategy.yml index 67e35a216..6447880ef 100644 --- a/rules/ruby/rails/unsafe_cookie_serialization_strategy.yml +++ b/rules/ruby/rails/unsafe_cookie_serialization_strategy.yml @@ -33,3 +33,4 @@ metadata: - 94 id: ruby_rails_unsafe_cookie_serialization_strategy documentation_url: https://docs.bearer.com/reference/rules/ruby_rails_unsafe_cookie_serialization_strategy + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/airbrake.yml b/rules/ruby/third_parties/airbrake.yml index 20d836e47..3d63b7ff2 100644 --- a/rules/ruby/third_parties/airbrake.yml +++ b/rules/ruby/third_parties/airbrake.yml @@ -74,3 +74,4 @@ metadata: associated_recipe: Airbrake id: ruby_third_parties_airbrake documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_airbrake + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/algolia.yml b/rules/ruby/third_parties/algolia.yml index ac8984ce8..2141c9d79 100644 --- a/rules/ruby/third_parties/algolia.yml +++ b/rules/ruby/third_parties/algolia.yml @@ -47,3 +47,4 @@ metadata: associated_recipe: Algolia id: ruby_third_parties_algolia documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_algolia + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/bigquery.yml b/rules/ruby/third_parties/bigquery.yml index 5e81449ac..56e8703cf 100644 --- a/rules/ruby/third_parties/bigquery.yml +++ b/rules/ruby/third_parties/bigquery.yml @@ -86,3 +86,4 @@ metadata: associated_recipe: Google Cloud BigQuery id: ruby_third_parties_bigquery documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_bigquery + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/bugsnag.yml b/rules/ruby/third_parties/bugsnag.yml index 0bac5052a..26e0451fb 100644 --- a/rules/ruby/third_parties/bugsnag.yml +++ b/rules/ruby/third_parties/bugsnag.yml @@ -54,3 +54,4 @@ metadata: associated_recipe: Bugsnag id: ruby_third_parties_bugsnag documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_bugsnag + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/clickhouse.yml b/rules/ruby/third_parties/clickhouse.yml index 2c1d59c71..0aeeb94b6 100644 --- a/rules/ruby/third_parties/clickhouse.yml +++ b/rules/ruby/third_parties/clickhouse.yml @@ -36,3 +36,4 @@ metadata: associated_recipe: ClickHouse id: ruby_third_parties_clickhouse documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_clickhouse + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/datadog.yml b/rules/ruby/third_parties/datadog.yml index b338b8f33..1488b107e 100644 --- a/rules/ruby/third_parties/datadog.yml +++ b/rules/ruby/third_parties/datadog.yml @@ -55,3 +55,4 @@ metadata: associated_recipe: Datadog id: ruby_third_parties_datadog documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_datadog + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/elasticsearch.yml b/rules/ruby/third_parties/elasticsearch.yml index 539280c7f..0fce693aa 100644 --- a/rules/ruby/third_parties/elasticsearch.yml +++ b/rules/ruby/third_parties/elasticsearch.yml @@ -56,3 +56,4 @@ metadata: associated_recipe: Elasticsearch id: ruby_third_parties_elasticsearch documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_elasticsearch + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/google_analytics.yml b/rules/ruby/third_parties/google_analytics.yml index 98441f05e..1e8bf590b 100644 --- a/rules/ruby/third_parties/google_analytics.yml +++ b/rules/ruby/third_parties/google_analytics.yml @@ -42,3 +42,4 @@ metadata: associated_recipe: Google Analytics id: ruby_third_parties_google_analytics documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_google_analytics + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/google_dataflow.yml b/rules/ruby/third_parties/google_dataflow.yml index eabec10cb..1a4a9ab51 100644 --- a/rules/ruby/third_parties/google_dataflow.yml +++ b/rules/ruby/third_parties/google_dataflow.yml @@ -151,3 +151,4 @@ metadata: - 201 id: ruby_third_parties_google_dataflow documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_google_dataflow + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/honeybadger.yml b/rules/ruby/third_parties/honeybadger.yml index 0b6402f74..27d3491d6 100644 --- a/rules/ruby/third_parties/honeybadger.yml +++ b/rules/ruby/third_parties/honeybadger.yml @@ -48,3 +48,4 @@ metadata: associated_recipe: Honeybadger id: ruby_third_parties_honeybadger documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_honeybadger + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/new_relic.yml b/rules/ruby/third_parties/new_relic.yml index bbb8a049a..a784e2410 100644 --- a/rules/ruby/third_parties/new_relic.yml +++ b/rules/ruby/third_parties/new_relic.yml @@ -41,3 +41,4 @@ metadata: associated_recipe: New Relic id: ruby_third_parties_new_relic documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_new_relic + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/open_telemetry.yml b/rules/ruby/third_parties/open_telemetry.yml index f1c8e459e..80d2963dd 100644 --- a/rules/ruby/third_parties/open_telemetry.yml +++ b/rules/ruby/third_parties/open_telemetry.yml @@ -58,3 +58,4 @@ metadata: - 201 id: ruby_third_parties_open_telemetry documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_open_telemetry + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/rollbar.yml b/rules/ruby/third_parties/rollbar.yml index 80133df5d..74320eae5 100644 --- a/rules/ruby/third_parties/rollbar.yml +++ b/rules/ruby/third_parties/rollbar.yml @@ -70,3 +70,4 @@ metadata: associated_recipe: Rollbar id: ruby_third_parties_rollbar documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_rollbar + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/scout_apm.yml b/rules/ruby/third_parties/scout_apm.yml index ca7f8b205..ef24a3f59 100644 --- a/rules/ruby/third_parties/scout_apm.yml +++ b/rules/ruby/third_parties/scout_apm.yml @@ -34,3 +34,4 @@ metadata: associated_recipe: Scout APM id: ruby_third_parties_scout_apm documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_scout_apm + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/segment.yml b/rules/ruby/third_parties/segment.yml index 6e11f5497..5b104c2fe 100644 --- a/rules/ruby/third_parties/segment.yml +++ b/rules/ruby/third_parties/segment.yml @@ -43,3 +43,4 @@ metadata: associated_recipe: Segment id: ruby_third_parties_segment documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_segment + cloud_code_suggestions: true diff --git a/rules/ruby/third_parties/sentry.yml b/rules/ruby/third_parties/sentry.yml index f22c72c43..9cc342488 100644 --- a/rules/ruby/third_parties/sentry.yml +++ b/rules/ruby/third_parties/sentry.yml @@ -164,3 +164,4 @@ metadata: associated_recipe: Sentry id: ruby_third_parties_sentry documentation_url: https://docs.bearer.com/reference/rules/ruby_third_parties_sentry + cloud_code_suggestions: true diff --git a/scripts/rule_schema.jsonc b/scripts/rule_schema.jsonc index 58366091a..b3f2b88c1 100644 --- a/scripts/rule_schema.jsonc +++ b/scripts/rule_schema.jsonc @@ -139,6 +139,9 @@ }, "associated_recipe": { "type": "string" + }, + "cloud_code_suggestions": { + "type": "boolean" } }, "required": [