aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db
Commit message (Collapse)AuthorAgeFilesLines
* SONAR-24712 Computation of portfolios with more than 1000 projects fails on ↵Duarte Meneses2025-03-271-1/+1
| | | | Oracle and MSSQL
* SONAR-24667 Stop relying on UserRole from the plugin APIJulien HENRY2025-03-2713-14/+173
|
* SONAR-24520 Replace usages of Plugin API RuleType with internal Enumantoine.vinot2025-03-275-9/+9
|
* SCA-182: core-extension-sca: move all sca db classes to sca-applicationHavoc Pennington2025-03-2636-2566/+0
|
* SONAR-24623 Remove the support of ProfileExporter and ProfileImporterJulien HENRY2025-03-181-3/+2
|
* SONAR-24602 Add Telemetry for architecture visualization usage.Steve Marion2025-03-182-0/+6
|
* SQRP-314 SPDX SBOMs provide a licenseDeclared if we have one from upstream ↵Madeline Cowie2025-03-171-1/+10
| | | | (#13168)
* SCA-131 store sca_dependencies.production_scope and add to endpoints (#13191)Havoc Pennington2025-03-173-3/+74
|
* SCA-134 reduce cut-and-paste of field list for Release and Issue (#13190)Havoc Pennington2025-03-176-148/+217
|
* SCA-124 add a filter for "direct" on sca/issues-releases endpoint (#13184)Havoc Pennington2025-03-171-1/+10
|
* SCA-107 Add new IssueResource to ReleaseResource payload.Tieg Zaharia2025-03-132-0/+9
| | | Co-authored-by: Havoc Pennington <havoc.pennington@sonarsource.com>
* SCA-109 add version to IssueReleaseDetails and pass purl_in_use to ↵Havoc Pennington2025-03-121-2/+19
| | | | vulnerability details cloud API
* SCA-106 Return "createdAt" along with dependency risks.Tieg Zaharia2025-03-111-3/+18
| | | Co-authored-by: Havoc Pennington <havoc.pennington@sonarsource.com>
* SQRP-252 Purge SCA tables when a branch is deletedMadeline Cowie2025-03-113-0/+26
|
* SONAR-24413 Create GET /feature-enablement endpointSerhat Yenican2025-03-102-0/+7
|
* SQRP-268 Adds endpoint to fetch a dependency risk, including vuln details.Tieg Zaharia2025-03-103-1/+11
| | | Co-authored-by: Havoc Pennington <hp@pobox.com>
* ScaDependencyDto: fix some Nullable annotationsHavoc Pennington2025-03-081-11/+9
|
* SONAR-24588 Search for releases with before and after instead of just the ↵Jeremy Katz2025-03-081-2/+2
| | | | beginning of the string
* SQRP-308 add the newInPullRequest filter to releases and risks endpointsHavoc Pennington2025-03-085-4/+24
| | | | Also, default it to true on pull requests.
* SQRP-308 add a new_in_pull_request column to sca_releases and sca_dependenciesHavoc Pennington2025-03-082-12/+30
|
* SCA-97 pull the identity concept out of PersistScalStepImpl and into DTOs ↵Havoc Pennington2025-03-073-0/+93
| | | | | | | themselves This allows it to be more consistent/documented and reusable (and helps us remember to update it when needed).
* SQRP-275 Add counts of releases by package manager in releases endpointJeremy Katz2025-03-063-0/+29
| | | This will enable the frontend to know what package managers are in use by a project to show the correct things in the left filter bar
* SQRP-299 Add query with filter/sort to ScaIssuesReleasesDetailsDaoHavoc Pennington2025-03-044-0/+259
|
* SQRP-249 add ScaIssueReleaseDetailsDto and mapperHavoc Pennington2025-03-046-0/+141
| | | | | | | | | | | | | | | | This is used to query SCA issues for a single analysis with all the necessary tables joined to it to get the full issue context. SQRP-301 rename DbTester.getIssuesWithScaDbTester to getScaIssuesReleasesDetailsDbTester SQRP-301 rename DbClient.issuesWithScaDao to scaIssuesReleasesDao SQRP-301 add better doc comment to ScaIssueReleaseDetailsDto on meaning of identity fields in sca_issues_releases dbtester, fix to work after separating new/insert SQRP-296 port ScaIssueReleaseDetails to query cve_ids not title
* SQRP-292 Add sca_issues_releasesTravis Collins2025-03-046-0/+195
| | | | | | | | SQRP-293 add sca_issues_releases.severity column SQRP-292 Update sca_issues_releases Dao to support persisting SQRP-300 Add sca_issues_releases.severity_sort_key
* SQRP-246 Register a UUID for SCA issues in sca_issues tableHavoc Pennington2025-03-0414-0/+690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives each issue a UUID that spans projects & analyses. SQRP-246 remove "get" from DbClient getter for sca issues DAO This wasn't following the naming convention. SQRP-287 add "IfApplicable" methods to ScaIssue These handle two things: * blank values become Optional.empty instead of junk * allows us to get all applicable values from a ScaIssue reference without type-casting. SQRP-287 add ScaIssuesDbTester Utility methods for ScaIssues testing SQRP-287 use a magic string value instead of empty string in ScaIssueDto Because Oracle considers empty string to be a synonym for null. SQRP-287 ScaIssuesDbTester vary the license saved in test issues SQRP-247 add more unit tests for ScaIssueDto SQRP-287 rename ScaIssue.titleIfApplicable => vulnerabilityTitleIfApplicable SQRP-246 make assertColumnDefinition work with DECIMAL on H2 SQRP-293 add base_severity to sca_vulnerability_issues This is the severity prior to any project-specific factors such as reachability. SQRP-293 increase ScaIssue test coverage SQRP-246 Add ScaIssueDto.Builder SQRP-246 Use a short placeholder CVE title, not giant description SQRP-246 Add toString to ScaIssue subtypes in sca_issues dbtester, separate new from insert SQRP-296 replace sca_vulnerability_issues.title with cwe_ids Replace title with cweIds in ScaIssue Remove ScaIssueFactory to be put back with IssuesReleases Replace title with cweids in the steps Change severity to INFO, LOW, MEDIUM, HIGH
* SQRP-294 use ListOfListOfStringsTypeHandler only for a single mapper, not ↵Havoc Pennington2025-03-012-9/+0
| | | | globally
* SQRP-279 Don't say SCA analysisBill Nottingham2025-02-281-1/+1
|
* SCA-56 Run "reformat code" on SCA filesHavoc Pennington2025-02-286-56/+54
|
* SQRP-191 Ingest and persist the new "chains" field on each dependencyTieg Zaharia2025-02-285-19/+109
| | | Co-authored-by: Travis Collins <travistx@gmail.com>
* SQRP-242 Add releases endpointsTravis Collins2025-02-283-0/+75
|
* SQRP-221 Add sca_releases table splitting out part of sca_dependenciesHavoc Pennington2025-02-199-81/+449
| | | | | | | | This will allow us to do paginated queries of releases instead of dependencies. In this commit, the behavior of the dependencies endpoint is not changed; this commit sets it up to be change-able, but just keeps it the same for the time being.
* SQRP-188 Add filtering to "search" dependencies REST APIJavier García Orduña2025-02-191-3/+9
|
* SQRP-140 Expose dependency details with new REST APIsJavier García Orduña2025-02-198-229/+2
|
* SQRP-138 Create the sca_dependencies database tableHavoc Pennington2025-02-199-0/+388
|
* SQRP-154 Cleanup leftovers from FOSSAJavier García Orduña2025-02-0413-345/+1
|
* SONAR-24216 Optimize querying of measures on startup indexingEric Giffon2025-01-281-80/+22
|
* SONAR-23122 Add telemetry to async issue index creation at startup.Steve Marion2025-01-102-0/+6
|
* SONAR-19225 Drop BCRYPT hash method for user passwordsMatteo Mara2025-01-091-1/+1
|
* SONAR-23711 Retrieve rules based on modeOrlovAlexander2025-01-094-0/+15
|
* SONAR-24146 Update license headers for 2025Matteo Mara2025-01-09493-493/+493
|
* SONAR-14367 Add new field to ProjectAlmSettingDto and update queriesJacek Poreda2025-01-091-0/+17
|
* SONAR-24122 Fix application refresh not refreshing referencersDuarte Meneses2025-01-062-9/+3
| | | Co-authored-by: Cody Simms <cody.simms@sonarsource.com>
* SONAR-23119 Create 'migration_logs' tableAlain Kermis2025-01-037-0/+209
|
* SONAR-24083 Add telemetries 'project_ai_detection_enabled' and ↵Dejan Milisavljevic2024-12-272-0/+6
| | | | 'instance_ai_detection_enabled'
* SONAR-24021 Invoke method(s) only conditionallyJulien Camus2024-12-275-23/+32
|
* SONAR-23402 Back up/restore clean code attributes for custom rulesViktor Vorona2024-12-241-0/+5
|
* SONAR-23978 Detect AI CodeDejan Milisavljevic2024-12-203-0/+16
|
* SONAR-23984 Add Scheduler to fetch information about Copilot usageLéo Geoffroy2024-12-202-0/+14
|
* SONAR-23978 Add DAO for user_ai_tool_usages tableLéo Geoffroy2024-12-207-0/+170
|