aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main
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-2642-3341/+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-183-0/+16
|
* SQRP-333 Sort issues for a single release by descending severityHavoc Pennington2025-03-181-16/+28
|
* SQRP-314 SPDX SBOMs provide a licenseDeclared if we have one from upstream ↵Madeline Cowie2025-03-173-1/+16
| | | | (#13168)
* SCA-131 store sca_dependencies.production_scope and add to endpoints (#13191)Havoc Pennington2025-03-176-3/+87
|
* SCA-134 reduce cut-and-paste of field list for Release and Issue (#13190)Havoc Pennington2025-03-1711-216/+336
|
* SCA-124 add a filter for "direct" on sca/issues-releases endpoint (#13184)Havoc Pennington2025-03-172-1/+15
|
* SCA-125 Perf: releases endpoint (#13178)Travis Collins2025-03-174-13/+7
|
* SCA-107 Add new IssueResource to ReleaseResource payload.Tieg Zaharia2025-03-133-0/+20
| | | Co-authored-by: Havoc Pennington <havoc.pennington@sonarsource.com>
* SCA-109 add version to IssueReleaseDetails and pass purl_in_use to ↵Havoc Pennington2025-03-122-2/+23
| | | | vulnerability details cloud API
* SCA-106 Return "createdAt" along with dependency risks.Tieg Zaharia2025-03-112-4/+22
| | | Co-authored-by: Havoc Pennington <havoc.pennington@sonarsource.com>
* SQRP-252 Purge SCA tables when a branch is deletedMadeline Cowie2025-03-114-0/+37
|
* SONAR-24413 Create GET /feature-enablement endpointSerhat Yenican2025-03-103-0/+15
|
* SQRP-268 Adds endpoint to fetch a dependency risk, including vuln details.Tieg Zaharia2025-03-104-1/+21
| | | 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-087-4/+32
| | | | 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-084-12/+39
|
* 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-064-0/+37
| | | 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-045-2/+375
|
* SQRP-249 add ScaIssueReleaseDetailsDto and mapperHavoc Pennington2025-03-047-0/+198
| | | | | | | | | | | | | | | | 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-047-0/+254
| | | | | | | | 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-0416-0/+838
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* SONAR-24436 Only pass 2 params to CONCAT()Duarte Meneses2025-03-041-1/+1
| | | Co-authored-by: Cody Simms <cody.simms@sonarsource.com>
* SQRP-294 use ListOfListOfStringsTypeHandler only for a single mapper, not ↵Havoc Pennington2025-03-013-24/+33
| | | | 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-286-19/+113
| | | Co-authored-by: Travis Collins <travistx@gmail.com>
* SQRP-156 A frontend-used API is created that returns a CycloneDX SBOM for a ↵John Bintz2025-02-281-1/+6
| | | | | project Co-authored-by: Antoine Vinot <antoine.vinot@sonarsource.com>
* SQRP-242 Add releases endpointsTravis Collins2025-02-284-2/+91
|
* SQRP-221 Add sca_releases table splitting out part of sca_dependenciesHavoc Pennington2025-02-1911-118/+589
| | | | | | | | 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-192-8/+20
|
* SQRP-140 Expose dependency details with new REST APIsJavier García Orduña2025-02-198-229/+2
|
* SQRP-172 fix typo in selectByUuid in ScaDependenciesMapperHavoc Pennington2025-02-191-1/+1
|
* SQRP-138 Create the sca_dependencies database tableHavoc Pennington2025-02-1910-0/+501
|
* SQRP-154 Cleanup leftovers from FOSSAJavier García Orduña2025-02-0417-474/+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-103-0/+21
|
* SONAR-19225 Drop BCRYPT hash method for user passwordsMatteo Mara2025-01-091-1/+1
|
* SONAR-23711 Retrieve rules based on modeOrlovAlexander2025-01-096-0/+43
|
* SONAR-24146 Update license headers for 2025Matteo Mara2025-01-09495-495/+495
|
* SONAR-14367 Add new field to ProjectAlmSettingDto and update queriesJacek Poreda2025-01-092-0/+24
|
* SONAR-22345 Reflect changes to prioritized rule in the changelogOrlovAlexander2025-01-071-1/+2
|
* SONAR-24086 allow to remove browse permission from groups/users if access ↵Aurelien Poscia2025-01-071-0/+13
| | | | via another mean
* SONAR-24122 Fix application refresh not refreshing referencersDuarte Meneses2025-01-063-29/+4
| | | Co-authored-by: Cody Simms <cody.simms@sonarsource.com>