Mutation.vulnerabilityCreate does not respect given detectedAt time

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The vulnerabilityCreate mutation on the GraphQL API does not respect the given detectedAt argument. The detectedAt time in the created vulnerability is always the time of creation, regardless of whether the given time is in the past or future.

In my specific case, I'm trying to set a detectedAt time in the past to validate some CI jobs.

Note that the confirmedAt time can be set to a past date, so I would think the detectedAt time should be able to as well.

Edited by 🤖 GitLab Bot 🤖