fleet/ee/server
Jordan Montgomery 44c0fe8b39
Update duplicate CA names logic (#33349)
**Related issue:** Resolves #33351 

Resolves an unreleased bug with Gitops validation of CA names.
Previously only gitops path was validating that a CA didn't have the
same name as another CA(I.e. Hydrant didn't have same name as digicert)
whereas correct validation per PM is only within a given type of CA,
i.e. can't have 2 hydrant with same name. Will also need cherrypick to
4.74.

No changes file sinec this is an unreleased bug in the overall Hydrant
CA story.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes

## Testing

- [x] Added/updated automated tests
- [x] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results
- [x] Alerted the release DRI if additional load testing is needed
2025-09-23 13:29:36 -04:00
..
calendar Fixed error deleting calendar event for non-existent user. (#30009) 2025-06-18 17:03:06 -05:00
integrationtest Require given and fullname from SCIM (#33336) 2025-09-23 17:09:42 +03:00
licensing Allow certain licenses to disable telemetry (#29093) 2025-05-22 14:27:07 -04:00
scim Require given and fullname from SCIM (#33336) 2025-09-23 17:09:42 +03:00
service Update duplicate CA names logic (#33349) 2025-09-23 13:29:36 -04:00
webhooks Feature 10196: Add filepath to end-points and third party integrations (#11285) 2023-05-17 16:53:15 -04:00