From 38516f09f81c0e1c466a3b278c5d22ab4a76db5c Mon Sep 17 00:00:00 2001 From: elsapet Date: Tue, 21 Nov 2023 13:06:12 +0200 Subject: [PATCH] feat: set cloud ai code suggestion flag for relevant rules --- 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 + 126 files changed, 126 insertions(+) diff --git a/rules/go/gorilla/insecure_cookie.yml b/rules/go/gorilla/insecure_cookie.yml index 2816be3f8..08f3d8c93 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_ai_suggest_code: true diff --git a/rules/go/lang/information_leakage.yml b/rules/go/lang/information_leakage.yml index 79e405006..e9ca61bb4 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_ai_suggest_code: true diff --git a/rules/go/lang/logger.yml b/rules/go/lang/logger.yml index ec0b8a43d..10c031a0f 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_ai_suggest_code: true diff --git a/rules/go/lang/weak_hash_md5.yml b/rules/go/lang/weak_hash_md5.yml index 6342ccf5c..617760f32 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_ai_suggest_code: true diff --git a/rules/go/lang/weak_hash_sha1.yml b/rules/go/lang/weak_hash_sha1.yml index 8cfbd10e5..fb1c44b52 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_ai_suggest_code: true diff --git a/rules/go/lang/weak_password_encryption_md5.yml b/rules/go/lang/weak_password_encryption_md5.yml index ca031b585..978dd172b 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_ai_suggest_code: true diff --git a/rules/go/lang/weak_password_encryption_sha1.yml b/rules/go/lang/weak_password_encryption_sha1.yml index edd967f74..31c1ec357 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_ai_suggest_code: true diff --git a/rules/java/lang/cookie_missing_http_only.yml b/rules/java/lang/cookie_missing_http_only.yml index 013ab4a70..7622af488 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_ai_suggest_code: true diff --git a/rules/java/lang/cookie_missing_secure.yml b/rules/java/lang/cookie_missing_secure.yml index 67f55c60c..0e10cad64 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_ai_suggest_code: true diff --git a/rules/java/lang/file_permission_others.yml b/rules/java/lang/file_permission_others.yml index a2f6ccb69..6dcca5ef2 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_ai_suggest_code: true diff --git a/rules/java/lang/information_leakage.yml b/rules/java/lang/information_leakage.yml index 4c2e32c50..352c827f6 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_ai_suggest_code: true diff --git a/rules/java/lang/insecure_cookie.yml b/rules/java/lang/insecure_cookie.yml index a485c2cfe..6664338c6 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_ai_suggest_code: true diff --git a/rules/java/lang/logger.yml b/rules/java/lang/logger.yml index 238bdd6d3..4cf6d0624 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_ai_suggest_code: true diff --git a/rules/java/lang/missing_integrity_check.yml b/rules/java/lang/missing_integrity_check.yml index 58eda526e..44bc21842 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_ai_suggest_code: true diff --git a/rules/java/lang/rsa_no_padding.yml b/rules/java/lang/rsa_no_padding.yml index d2407ea90..64c06f973 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_ai_suggest_code: true diff --git a/rules/java/lang/weak_encryption_des.yml b/rules/java/lang/weak_encryption_des.yml index f54fedce8..9275db410 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_ai_suggest_code: true diff --git a/rules/java/lang/weak_hash_md5.yml b/rules/java/lang/weak_hash_md5.yml index e11bedc3c..9f0bf5845 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_ai_suggest_code: true diff --git a/rules/java/lang/weak_hash_sha1.yml b/rules/java/lang/weak_hash_sha1.yml index cb207dd5d..a4f605b47 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_ai_suggest_code: true diff --git a/rules/java/lang/weak_password_encryption_des.yml b/rules/java/lang/weak_password_encryption_des.yml index 141fca3ff..561741773 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_ai_suggest_code: true diff --git a/rules/java/lang/weak_password_hash_md5.yml b/rules/java/lang/weak_password_hash_md5.yml index 11d659ab5..7767a438c 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_ai_suggest_code: true diff --git a/rules/java/lang/weak_password_hash_sha1.yml b/rules/java/lang/weak_password_hash_sha1.yml index 90fd0bc2d..48c943a51 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_ai_suggest_code: true diff --git a/rules/javascript/express/default_cookie_config.yml b/rules/javascript/express/default_cookie_config.yml index 09a384895..6ffc93e24 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_ai_suggest_code: true diff --git a/rules/javascript/express/exposed_dir_listing.yml b/rules/javascript/express/exposed_dir_listing.yml index a37bbfc52..89cc89e78 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_ai_suggest_code: true diff --git a/rules/javascript/express/external_resource.yml b/rules/javascript/express/external_resource.yml index 9b7291d3c..6f2430741 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_ai_suggest_code: true diff --git a/rules/javascript/express/https_protocol_missing.yml b/rules/javascript/express/https_protocol_missing.yml index fdfe895bc..dbb85adac 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_ai_suggest_code: true diff --git a/rules/javascript/express/insecure_allow_origin.yml b/rules/javascript/express/insecure_allow_origin.yml index 5da7af8dd..0f87ed71f 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_ai_suggest_code: true diff --git a/rules/javascript/express/insecure_cookie.yml b/rules/javascript/express/insecure_cookie.yml index e1badb19a..5a84ae5d7 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_ai_suggest_code: true diff --git a/rules/javascript/express/reduce_fingerprint.yml b/rules/javascript/express/reduce_fingerprint.yml index 8031495de..ada0a9ecf 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_ai_suggest_code: true diff --git a/rules/javascript/express/ui_redress.yml b/rules/javascript/express/ui_redress.yml index 973039d7d..e85b88cb5 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_ai_suggest_code: true diff --git a/rules/javascript/lang/exception.yml b/rules/javascript/lang/exception.yml index 8315e0fd5..f920a5085 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_ai_suggest_code: true diff --git a/rules/javascript/lang/jwt_weak_encryption.yml b/rules/javascript/lang/jwt_weak_encryption.yml index 6d6b3420c..35b5aefac 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_ai_suggest_code: true diff --git a/rules/javascript/lang/logger.yml b/rules/javascript/lang/logger.yml index 4acb96540..75d10f53f 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_encryption_des.yml b/rules/javascript/lang/weak_encryption_des.yml index af80df6f6..e9553487e 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_encryption_rc4.yml b/rules/javascript/lang/weak_encryption_rc4.yml index f158cf315..dbd6fbc5b 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_hash_md5.yml b/rules/javascript/lang/weak_hash_md5.yml index 1eb95a340..ee813eadf 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_hash_sha1.yml b/rules/javascript/lang/weak_hash_sha1.yml index 20440bbdb..a15ac41bb 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_password_encryption_des.yml b/rules/javascript/lang/weak_password_encryption_des.yml index e6c82d3bc..9daf878fc 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_password_encryption_rc4.yml b/rules/javascript/lang/weak_password_encryption_rc4.yml index 08eba72ec..08ae615f2 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_password_hash_argon2.yml b/rules/javascript/lang/weak_password_hash_argon2.yml index b86d6f69a..3ad207a7e 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_password_hash_md5.yml b/rules/javascript/lang/weak_password_hash_md5.yml index 6802fa942..731b8fa14 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_ai_suggest_code: true diff --git a/rules/javascript/lang/weak_password_hash_sha1.yml b/rules/javascript/lang/weak_password_hash_sha1.yml index cafc67077..2bc9fbe8d 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_ai_suggest_code: true diff --git a/rules/javascript/react/google_analytics.yml b/rules/javascript/react/google_analytics.yml index e3455b600..c1f4a7209 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/airbrake.yml b/rules/javascript/third_parties/airbrake.yml index d0b127ef6..276649254 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/algolia.yml b/rules/javascript/third_parties/algolia.yml index 6acbf73d6..c9f6c4258 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/bugsnag.yml b/rules/javascript/third_parties/bugsnag.yml index 1c7f17cef..6b4c7baea 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/datadog.yml b/rules/javascript/third_parties/datadog.yml index e1a028fb8..776c0aa10 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/datadog_browser.yml b/rules/javascript/third_parties/datadog_browser.yml index 1ca9edb75..128a06ad2 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/dom_purify.yml b/rules/javascript/third_parties/dom_purify.yml index d98579438..b6a91de73 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/dynamodb_query_injection.yml b/rules/javascript/third_parties/dynamodb_query_injection.yml index ec73f9ba4..c2289cf26 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/elasticsearch.yml b/rules/javascript/third_parties/elasticsearch.yml index db4cc3a19..b555eddcf 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/google_analytics.yml b/rules/javascript/third_parties/google_analytics.yml index eba8c4216..38d2301b3 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/google_tag_manager.yml b/rules/javascript/third_parties/google_tag_manager.yml index d3735c336..a2d562507 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/honeybadger.yml b/rules/javascript/third_parties/honeybadger.yml index db35c1115..612a64195 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/new_relic.yml b/rules/javascript/third_parties/new_relic.yml index b64be6756..bb991a215 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/open_telemetry.yml b/rules/javascript/third_parties/open_telemetry.yml index a357608ea..845bcb3c5 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/openai.yml b/rules/javascript/third_parties/openai.yml index c62068ff0..ff6aefc83 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/rollbar.yml b/rules/javascript/third_parties/rollbar.yml index 2aadfdf18..5d8e86415 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/segment.yml b/rules/javascript/third_parties/segment.yml index 61b7f960f..f4406c37e 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_ai_suggest_code: true diff --git a/rules/javascript/third_parties/sentry.yml b/rules/javascript/third_parties/sentry.yml index f016c61da..f873c4649 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_ai_suggest_code: true diff --git a/rules/php/lang/cookies.yml b/rules/php/lang/cookies.yml index 36237e348..8b0de14ae 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_ai_suggest_code: true diff --git a/rules/php/lang/exception.yml b/rules/php/lang/exception.yml index fff63d568..471e193a8 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_ai_suggest_code: true diff --git a/rules/php/lang/information_leakage.yml b/rules/php/lang/information_leakage.yml index a2dfea6b1..112f3a3b6 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_ai_suggest_code: true diff --git a/rules/php/lang/insecure_cookie.yml b/rules/php/lang/insecure_cookie.yml index adaecbaca..f1e444a4b 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_ai_suggest_code: true diff --git a/rules/php/lang/logger.yml b/rules/php/lang/logger.yml index 7a1e3aa1c..baf202729 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_ai_suggest_code: true diff --git a/rules/php/lang/phpinfo.yml b/rules/php/lang/phpinfo.yml index 2295e7535..6b079b299 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_ai_suggest_code: true diff --git a/rules/php/lang/ssl_verification.yml b/rules/php/lang/ssl_verification.yml index 9b84534e8..c8af551cf 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_ai_suggest_code: true diff --git a/rules/php/lang/ui_redress.yml b/rules/php/lang/ui_redress.yml index 8b1cde7a9..ebc17a9ed 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_ai_suggest_code: true diff --git a/rules/php/lang/weak_hash_md.yml b/rules/php/lang/weak_hash_md.yml index 5b16a9979..4e7496fb4 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_ai_suggest_code: true diff --git a/rules/php/lang/weak_hash_sha1.yml b/rules/php/lang/weak_hash_sha1.yml index 3a559c941..9ebe548c8 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_ai_suggest_code: true diff --git a/rules/php/lang/weak_password_hash_md.yml b/rules/php/lang/weak_password_hash_md.yml index aa34c65de..647375cb7 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_ai_suggest_code: true diff --git a/rules/php/lang/weak_password_hash_sha1.yml b/rules/php/lang/weak_password_hash_sha1.yml index 76abff985..79876e724 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_ai_suggest_code: true diff --git a/rules/php/symfony/cookies.yml b/rules/php/symfony/cookies.yml index f05061d54..72cecc5cc 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_ai_suggest_code: true diff --git a/rules/php/symfony/csrf_protection_disabled.yml b/rules/php/symfony/csrf_protection_disabled.yml index c099ff9c5..9963e580e 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_ai_suggest_code: true diff --git a/rules/php/symfony/insecure_cookie.yml b/rules/php/symfony/insecure_cookie.yml index e0ff310e9..4230bb64b 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_ai_suggest_code: true diff --git a/rules/php/symfony/insecure_smtp.yml b/rules/php/symfony/insecure_smtp.yml index 61a81e91f..94598789c 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_ai_suggest_code: true diff --git a/rules/php/symfony/permissive_regex_validation.yml b/rules/php/symfony/permissive_regex_validation.yml index 085dfa82f..69a2a9471 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_ai_suggest_code: true diff --git a/rules/php/symfony/ui_redress.yml b/rules/php/symfony/ui_redress.yml index d931587d9..657fec2eb 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_ai_suggest_code: true diff --git a/rules/php/third_parties/logger.yml b/rules/php/third_parties/logger.yml index c25b7a809..c7bb8fb58 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_ai_suggest_code: true diff --git a/rules/python/lang/logger.yml b/rules/python/lang/logger.yml index 5c5447799..fea78e3b9 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_ai_suggest_code: true diff --git a/rules/python/lang/weak_hash_md5.yml b/rules/python/lang/weak_hash_md5.yml index 698a0bc97..a938af1ab 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_ai_suggest_code: true diff --git a/rules/python/lang/weak_hash_sha1.yml b/rules/python/lang/weak_hash_sha1.yml index 9334868fd..31c134486 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_ai_suggest_code: true diff --git a/rules/ruby/lang/cookies.yml b/rules/ruby/lang/cookies.yml index 10af03538..88c4164e7 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_ai_suggest_code: true diff --git a/rules/ruby/lang/exception.yml b/rules/ruby/lang/exception.yml index a79ac07b9..920a04c40 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_ai_suggest_code: true diff --git a/rules/ruby/lang/http_get_params.yml b/rules/ruby/lang/http_get_params.yml index aceb8cf0e..adf67ed63 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_ai_suggest_code: true diff --git a/rules/ruby/lang/logger.yml b/rules/ruby/lang/logger.yml index 0ac9497bc..b3822d7ff 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_ai_suggest_code: true diff --git a/rules/ruby/lang/ssl_verification.yml b/rules/ruby/lang/ssl_verification.yml index 7ddf35b7a..1409dbcef 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_encryption_blowfish.yml b/rules/ruby/lang/weak_encryption_blowfish.yml index 97bff9e87..202b08941 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_encryption_dsa.yml b/rules/ruby/lang/weak_encryption_dsa.yml index c7acb5dc6..efe962dca 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_encryption_rc4.yml b/rules/ruby/lang/weak_encryption_rc4.yml index c41e8aabe..4a843a542 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_encryption_rsa.yml b/rules/ruby/lang/weak_encryption_rsa.yml index 70a275753..405c6ad9c 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_hash_dss.yml b/rules/ruby/lang/weak_hash_dss.yml index 55a19de4c..ea41ea9f0 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_hash_md.yml b/rules/ruby/lang/weak_hash_md.yml index e1ee3d0ca..84dd11d3c 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_hash_sha.yml b/rules/ruby/lang/weak_hash_sha.yml index df11d3e41..4bdcd954d 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_password_encryption_blowfish.yml b/rules/ruby/lang/weak_password_encryption_blowfish.yml index e5ab933b0..7ddc86759 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_password_encryption_dsa.yml b/rules/ruby/lang/weak_password_encryption_dsa.yml index e0f2a93d3..34aaedcf1 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_password_encryption_rc4.yml b/rules/ruby/lang/weak_password_encryption_rc4.yml index 55225e08e..2aa4b6e07 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_password_encryption_rsa.yml b/rules/ruby/lang/weak_password_encryption_rsa.yml index 3d142b4a2..120a31aaf 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_password_hash_dss.yml b/rules/ruby/lang/weak_password_hash_dss.yml index 1f0386870..0fb6d93d8 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_password_hash_md.yml b/rules/ruby/lang/weak_password_hash_md.yml index 6b58dbec3..2739606e3 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_ai_suggest_code: true diff --git a/rules/ruby/lang/weak_password_hash_sha.yml b/rules/ruby/lang/weak_password_hash_sha.yml index 86ae84ead..961c9e9e9 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_ai_suggest_code: true diff --git a/rules/ruby/rails/detailed_exceptions.yml b/rules/ruby/rails/detailed_exceptions.yml index 3cdd25d3f..c95d2c172 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_ai_suggest_code: true diff --git a/rules/ruby/rails/insecure_communication.yml b/rules/ruby/rails/insecure_communication.yml index 2486c9de8..fc97094f1 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_ai_suggest_code: true diff --git a/rules/ruby/rails/insecure_disabling_of_callback.yml b/rules/ruby/rails/insecure_disabling_of_callback.yml index 968fd885e..bba76d88c 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_ai_suggest_code: true diff --git a/rules/ruby/rails/insecure_smtp.yml b/rules/ruby/rails/insecure_smtp.yml index 4315e68ca..eac794dab 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_ai_suggest_code: true diff --git a/rules/ruby/rails/logger.yml b/rules/ruby/rails/logger.yml index 396cb746b..07bd16352 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_ai_suggest_code: true diff --git a/rules/ruby/rails/password_length.yml b/rules/ruby/rails/password_length.yml index 48f930705..7b08c2391 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_ai_suggest_code: true diff --git a/rules/ruby/rails/permissive_regex_validation.yml b/rules/ruby/rails/permissive_regex_validation.yml index 688e1c75b..927ea32f1 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_ai_suggest_code: true diff --git a/rules/ruby/rails/session.yml b/rules/ruby/rails/session.yml index 856722761..5685c12d7 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_ai_suggest_code: true diff --git a/rules/ruby/rails/session_with_httponly_disabled.yml b/rules/ruby/rails/session_with_httponly_disabled.yml index 6d1ec7540..eb1e676d5 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_ai_suggest_code: true diff --git a/rules/ruby/rails/unsafe_cookie_serialization_strategy.yml b/rules/ruby/rails/unsafe_cookie_serialization_strategy.yml index 67e35a216..88a757335 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/airbrake.yml b/rules/ruby/third_parties/airbrake.yml index 20d836e47..4a41aff69 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/algolia.yml b/rules/ruby/third_parties/algolia.yml index ac8984ce8..58237a269 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/bigquery.yml b/rules/ruby/third_parties/bigquery.yml index 5e81449ac..f9fd47eb6 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/bugsnag.yml b/rules/ruby/third_parties/bugsnag.yml index 0bac5052a..00d8f565e 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/clickhouse.yml b/rules/ruby/third_parties/clickhouse.yml index 2c1d59c71..7a52bbb68 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/datadog.yml b/rules/ruby/third_parties/datadog.yml index b338b8f33..40bde0a4c 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/elasticsearch.yml b/rules/ruby/third_parties/elasticsearch.yml index 539280c7f..741e66d0b 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/google_analytics.yml b/rules/ruby/third_parties/google_analytics.yml index 98441f05e..86f0d8983 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/google_dataflow.yml b/rules/ruby/third_parties/google_dataflow.yml index eabec10cb..f6a27f665 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/honeybadger.yml b/rules/ruby/third_parties/honeybadger.yml index 0b6402f74..3ace768cc 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/new_relic.yml b/rules/ruby/third_parties/new_relic.yml index bbb8a049a..b6a414273 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/open_telemetry.yml b/rules/ruby/third_parties/open_telemetry.yml index f1c8e459e..7dbd8d22e 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/rollbar.yml b/rules/ruby/third_parties/rollbar.yml index 80133df5d..7d87bb77c 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/scout_apm.yml b/rules/ruby/third_parties/scout_apm.yml index ca7f8b205..064d38604 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/segment.yml b/rules/ruby/third_parties/segment.yml index 6e11f5497..0b5bc5f3c 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_ai_suggest_code: true diff --git a/rules/ruby/third_parties/sentry.yml b/rules/ruby/third_parties/sentry.yml index f22c72c43..215910db3 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_ai_suggest_code: true