Commit Graph

  • e240ba5d73
    Update coverage information (#4808) hashicorp-vault-sonar-prod[bot] 2025-03-21 08:16:22 +00:00
  • dd52d59602
    Modify rule S6249: update message (#935) Pierre-Loup 2025-03-20 15:11:28 +01:00
  • 84ac3f2f9f
    Fix missing CWE link for S5542 (#4805) Pierre-Loup 2025-03-20 14:09:00 +01:00
  • bfd616337b
    Update Jira project keys for T-SQL, PL/SQL and VB6 (#4804) Pavel Mikula 2025-03-20 10:57:00 +01:00
  • cd6491db81
    SONARTEXT-418 Create rules S7209 to S7402 (#4801) GabinL21 2025-03-19 21:11:43 +01:00
  • 1a1a60f52d
    SONARKT-569 Modify rule S4830: add support for WebViews (#4673) Antonio Aversa 2025-03-19 16:31:02 +01:00
  • d41b77b623
    DART-213 Modify rules S1161, S7055: update descriptions and messages (#4799) Antonio Aversa 2025-03-19 16:28:12 +01:00
  • 74068df10a
    Create rule S1862: Related "if/else if" statements should not have the same condition (#4687) github-actions[bot] 2025-03-19 15:22:56 +00:00
  • 164b14aedc
    Create rule S107: Functions should not have too many parameters (#4699) github-actions[bot] 2025-03-19 14:54:18 +00:00
  • 2713aeaed6
    Create rule S3498: Field init shorthand should be used (#4727) github-actions[bot] 2025-03-19 14:46:55 +00:00
  • ef35f53a80
    Create rule S4325: Redundant casts should be avoided (#4729) github-actions[bot] 2025-03-19 14:46:46 +00:00
  • c5bb992c80
    Create rule S1858: "to_string()" should never be called on a String value (#4730) Yassin Kammoun 2025-03-19 15:42:54 +01:00
  • 06ad3ace6f
    Create rule S106: Standard outputs should not be used directly to log anything (#4735) github-actions[bot] 2025-03-19 14:40:00 +00:00
  • bd332080f2
    Create rule S7439 Comparisons with overlapping ranges that are always false should not be made (#4782) github-actions[bot] 2025-03-19 14:10:52 +00:00
  • 1de188a9e5
    Create rule S7443 Calls to std::mem::transmute should not be evaluated eagerly (#4786) github-actions[bot] 2025-03-19 14:10:47 +00:00
  • d4cbb1c40b
    Create rule S7449 The #[inline] attribute should not be used on trait methods without implementation (#4793) github-actions[bot] 2025-03-19 14:10:41 +00:00
  • 70168e8e61
    Create rule S7450 Synchronization locks should not be dropped immediately after acquisition (#4794) github-actions[bot] 2025-03-19 14:10:35 +00:00
  • 29af6f4517
    Create rule S7438 Incompatible bit masks should not be used in comparisons (#4781) github-actions[bot] 2025-03-19 14:10:14 +00:00
  • 00d540f5ed
    Create rule S7437 Variables should be swapped using std::mem::swap (#4780) github-actions[bot] 2025-03-19 14:10:07 +00:00
  • a02eec56d4
    Create rule S7433 Raw pointers should not be casted to slices with differently sized elements (#4774) github-actions[bot] 2025-03-19 14:10:01 +00:00
  • 7b234485eb
    Create rule S7428 Case mismatches in pattern arms of match expressions should be avoided (#4769) github-actions[bot] 2025-03-19 14:09:52 +00:00
  • 8e35213fbb
    Create rule S7426 C-like enums should not have unportable variants (#4767) github-actions[bot] 2025-03-19 14:09:47 +00:00
  • c83072239e
    Create rule S7424 Avoid manual PartialEq implementation with a derived Hash (#4765) github-actions[bot] 2025-03-19 14:09:42 +00:00
  • b16523921f
    Create rule S7417 Manual PartialOrd implementation should be avoided when Ord is derived (#4757) github-actions[bot] 2025-03-19 14:09:19 +00:00
  • cdb05a081b
    Create rule S7413 Await should be used for awaitable returns in async blocks and functions (#4752) github-actions[bot] 2025-03-19 14:09:13 +00:00
  • d17e141be3
    Create rule S2198: Unnecessary mathematical comparisons should not be made (#4692) github-actions[bot] 2025-03-19 14:09:07 +00:00
  • feaf726b3a
    Create rule S6164: Mathematical constants should not be hardcoded (#4690) github-actions[bot] 2025-03-19 14:08:57 +00:00
  • faeaec31d0
    Modify rule S5856: Add language Rust (#4678) github-actions[bot] 2025-03-19 15:08:10 +01:00
  • f93da5854a
    Create rule S1764: Identical expressions should not be used on both sides of a binary operator (#4681) github-actions[bot] 2025-03-19 15:07:55 +01:00
  • aa593087ba
    Create rule S6466: Accessing an array element should not trigger a panic (#4684) github-actions[bot] 2025-03-19 13:38:59 +00:00
  • 5def9014ed
    Create rule S6913: Clamping values with cmp::min and cmp::max should use correct ranges (#4689) github-actions[bot] 2025-03-19 13:38:53 +00:00
  • 0b6c98a1f0
    Create rule S4962: "std::ptr::null" should be used to denote the null pointer (#4697) github-actions[bot] 2025-03-19 13:38:48 +00:00
  • e34bf94e7d
    Create rule S905: Non-empty statements should change control flow or have at least one side-effect (#4698) github-actions[bot] 2025-03-19 13:38:43 +00:00
  • 8d3cf1eee3
    Create rule S1612: Closures should be replaced with function pointers (#4700) github-actions[bot] 2025-03-19 13:38:32 +00:00
  • 45cc311cd2
    Create rule S2260: Rust source files should not have syntax errors (#4701) github-actions[bot] 2025-03-19 13:38:25 +00:00
  • 99086a587d
    Create rule S1116: Empty statements should be removed (#4728) github-actions[bot] 2025-03-19 13:38:13 +00:00
  • 77af1ab66a
    Create rule S1488: Local variables should not be declared and then immediately returned (#4732) github-actions[bot] 2025-03-19 13:38:03 +00:00
  • 6cf7f45131
    Create rule S920: Match expression conditions should not have boolean type (#4733) github-actions[bot] 2025-03-19 13:37:58 +00:00
  • 982f059788
    Create rule S4275: Getters should access the expected fields (#4734) github-actions[bot] 2025-03-19 14:37:54 +01:00
  • dc98004888
    Create rule S2193: "while" loop counters should not have floating type (#4736) github-actions[bot] 2025-03-19 13:37:42 +00:00
  • 90a9b01d26
    Create rule S7089: Inline vector literals should be preferred to chains of insertions (#4741) github-actions[bot] 2025-03-19 13:37:38 +00:00
  • ff68a34119
    Create rule S2148: Underscores should be used to make large numbers readable (#4742) github-actions[bot] 2025-03-19 14:37:35 +01:00
  • 6ca7dd2cc6
    Create rule S2208: Wildcard imports should not be used (#4743) github-actions[bot] 2025-03-19 14:37:31 +01:00
  • 06526591dd
    Create rule S7411: Shared code in all branches should be extracted (#4744) github-actions[bot] 2025-03-19 14:37:27 +01:00
  • 91eadda5cf
    Create rule S126: "if ... else if" constructs should end with "else" clauses (#4747) github-actions[bot] 2025-03-19 14:37:23 +01:00
  • e94e4d8143
    Create rule S7425: MaybeUninit::uninit().assume_init() should not be used (#4766) github-actions[bot] 2025-03-19 14:37:18 +01:00
  • ea0dd90530
    Create rule S7414: Avoid transmutes that can never be correct (#4753) github-actions[bot] 2025-03-19 13:07:55 +00:00
  • 87a178f05b
    Create rule S7412: Pointer arithmetic should not be performed on zero-sized types (#4751) github-actions[bot] 2025-03-19 13:07:48 +00:00
  • ec02230f32
    Create rule S7415: Immutable variables should not be used in while loop conditions (#4754) github-actions[bot] 2025-03-19 13:07:33 +00:00
  • ca818ac21b
    Create rule S7418: Lint attributes should not be used on crate imports (#4759) github-actions[bot] 2025-03-19 13:07:29 +00:00
  • 7cf7c53935
    Create rule S7419: I/O buffers should be processed entirely (#4760) github-actions[bot] 2025-03-19 13:07:26 +00:00
  • 96bd90a6a9
    Create rule S7420: Collections should not be transmuted to different types (#4761) github-actions[bot] 2025-03-19 13:07:22 +00:00
  • 85d974977b
    Create rule S7421: Closures of type Fn(...) -> Ord should not return the unit type (#4762) github-actions[bot] 2025-03-19 13:07:18 +00:00
  • 1379adbc47
    Create rule S7422: Unit values should not be hashed (#4763) github-actions[bot] 2025-03-19 13:07:14 +00:00
  • 66bae183f4
    Create rule S7423: Unit values should not be compared (#4764) github-actions[bot] 2025-03-19 13:07:11 +00:00
  • e1ee16f500
    Create rule S7427: Null pointers should not be transmuted (#4768) github-actions[bot] 2025-03-19 13:07:03 +00:00
  • 31e8111116
    Create rule S7429: Null function pointers should not be created through transmute (#4770) github-actions[bot] 2025-03-19 13:06:59 +00:00
  • ef9ace8117
    Create rule S7430: splitn should not be used with a limit of 0 or 1 (#4771) github-actions[bot] 2025-03-19 13:06:55 +00:00
  • fd50acb2e3
    Create rule S7431: size_of::<T> should not be used to count elements of type T (#4772) github-actions[bot] 2025-03-19 13:06:51 +00:00
  • 6edd31ee99
    Create rule S7432: Reversed ranges and slices should not be empty (#4773) github-actions[bot] 2025-03-19 13:06:47 +00:00
  • 26f042cc83
    Create rule S7436: Redundant comparisons should be removed (#4779) github-actions[bot] 2025-03-19 13:06:43 +00:00
  • 6919fdfd79
    Create rule S7440: Formatting trait implementations should not be recursive (#4783) github-actions[bot] 2025-03-19 13:06:39 +00:00
  • 314d4b0ed2
    Create rule S7441: Lines read from the standard input should be trimmed (#4784) github-actions[bot] 2025-03-19 13:06:36 +00:00
  • 32d452498a
    Create rule S7442: unwrap() should only be used when there is a value to unwrap (#4785) github-actions[bot] 2025-03-19 13:06:31 +00:00
  • 0360734651
    Create rule S7444: checked_add and overflowing_add should be used to prevent overflows (#4788) github-actions[bot] 2025-03-19 13:06:24 +00:00
  • cb4497e15d
    Create rule S7445: env! should be preferred over option_env! (#4789) github-actions[bot] 2025-03-19 14:06:20 +01:00
  • c008bdb1a8
    Create rule S7446: Functions expecting raw pointer arguments should be marked as unsafe (#4790) github-actions[bot] 2025-03-19 14:06:16 +01:00
  • 0b46bc20f9
    Create rule S7447: File open options should be consistent (#4791) github-actions[bot] 2025-03-19 14:06:12 +01:00
  • b294a06b26
    Create rule S7448: Unix file permissions should be set with octal values (#4792) github-actions[bot] 2025-03-19 14:06:06 +01:00
  • 28e7cab961
    Create rule S7451: Remainder operations with 1 or -1 should be avoided (#4797) github-actions[bot] 2025-03-19 14:05:34 +01:00
  • 40b6cf5d12
    Create rule S3723: Array elements should be separated by commas (#4688) github-actions[bot] 2025-03-19 12:21:29 +01:00
  • 8ae7a510c0
    Create rule S2589: Boolean expressions should not be gratuitous (#4683) github-actions[bot] 2025-03-19 12:21:00 +01:00
  • 3c466262f6
    Create rule S1656: Variables should not be self-assigned (#4679) github-actions[bot] 2025-03-19 12:12:17 +01:00
  • a9fc281e99
    CPP-6230 Modify rule S1172: Mention new exceptional options introduced in C23 (#4750) guillem-bartrina-sonarsource 2025-03-19 09:23:22 +01:00
  • a4428806a8 update coverage information SonarTech 2025-03-19 02:45:22 +00:00
  • 152a2d8c47
    DART-124 Modify rules S3512, S7066, S7107, S7109: Update message (#4798) Antonio Aversa 2025-03-18 17:53:08 +01:00
  • aa7f7e600d
    Modify rule S4423 for Go: Add examples for HTTP servers (#4800) Jonas Wielage 2025-03-18 15:34:53 +01:00
  • a025ef5394
    Modify rule S7207: Add additional documentation (#4749) Egon Okerman 2025-03-18 14:37:50 +01:00
  • 3891361829
    Create rule S7435: Processing persistent unique identifiers is security-sensitive (#4776) github-actions[bot] 2025-03-18 14:37:33 +01:00
  • c485ec3dc3
    Modify rule S3330: Add FastAPI (APPSEC-1260) (#3414) Egon Okerman 2025-03-18 14:37:05 +01:00
  • f7e3f45cf3
    Create rule S7200: Avoid resizing a vector to zero using vec.resize(0, value) (#4677) github-actions[bot] 2025-03-18 13:40:42 +01:00
  • 734c90357c
    Modify rule S2092: Add FastAPI (APPSEC-1260) (#3413) Egon Okerman 2025-03-18 10:59:43 +01:00
  • 1dc3769b22
    Modify rule S3649: Add databases support (APPSEC-1251) (#3381) Pierre-Loup 2025-03-18 10:31:43 +01:00
  • c02b8cfead update coverage information SonarTech 2025-03-18 02:45:20 +00:00
  • 7be11bd842
    Modify S3649: add Kotlin (SONARSEC-6147) (#4796) github-actions[bot] 2025-03-17 14:50:30 +00:00
  • 3d015e3518
    Update rule S6474: Update message and highlighting (SONARKT-600) (#4723) Antonio Aversa 2025-03-17 14:59:11 +01:00
  • 697e49fc2c
    Create rule S7410: Keyboard cache should be disabled for password inputs (SONARKT-583) (#4724) github-actions[bot] 2025-03-17 13:51:06 +00:00
  • 1c17be79fe Increment RSPEC ID counter yassin-kammoun-sonarsource 2025-03-17 13:33:31 +00:00
  • 0884cdba3c Apply review suggestion Pierre-Loup 2025-03-17 13:46:35 +01:00
  • 99d5ce6339 Create rule S7416 pierre-loup-tristant-sonarsource 2025-03-13 09:51:48 +00:00
  • 429661e018
    Update issue messages for S6474 (#4758) Pierre-Loup 2025-03-17 13:43:15 +01:00
  • d608b6dedb
    Revert "Update S4507: Add kotlin code examples (SONARKT-580) (#4708)" (#4755) Pierre-Loup 2025-03-17 13:36:22 +01:00
  • 7c9aad50bf
    RULEAPI-836 - Add compatibleLanguages to javascript rule manifests (#4731) Eric Morand 2025-03-17 10:58:46 +01:00
  • 693507a8ed
    Modify rule S7190: improve code examples (#4795) lpilastri 2025-03-17 10:53:53 +01:00
  • c7f2158161
    JS-641 Modify S3516 description: improve example (#4778) Ilia Kebets 2025-03-17 07:10:53 +01:00
  • f284ff36ad update coverage information SonarTech 2025-03-15 02:43:13 +00:00
  • 6507098d55
    Modify rule S7180: improve description (#4777) lpilastri 2025-03-14 16:50:45 +01:00
  • 5b2ef9ae42
    Modify rule S7186: update description to focus more explicitly on the Data Repository (#4787) erwan-serandour 2025-03-14 16:30:40 +01:00
  • 85743bd38f GH actions: use ubuntu-latest instead of ubuntu-20.04 Massimo Paladin 2025-03-11 15:09:51 +01:00
  • 7363a03cf4 Increment RSPEC ID counter sallaigy 2025-03-14 14:10:14 +00:00