ConfigureSyncSource
Configure a CVE data sync source with credentials and schedule.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
configObjectRequiredSync source configuration to create or update
idStringUnique identifier for this sync source configuration
Example: sync-src-001
typeStringType of the CVE data sync source
Example: SYNC_SOURCE_TYPE_UNSPECIFIED
apiKeyMaskedStringAPI key with sensitive characters masked for display
Example: abc***xyz
syncIntervalHoursIntegerInterval in hours between automatic sync operations
Example: 24
ecosystemsListList of package ecosystems to sync CVE data for
Example: item1,item2
lastModifiedSinceStringTimestamp filter to fetch only entries modified since this time
Example: 2024-01-01T00:00:00Z
createdAtStringTimestamp when this sync source was first configured
Example: 2026-01-15T08:00:00Z
apiKeyStringRequiredPlain-text API key for authenticating with the sync source
Example: sk-nvd-abc123secret
Responses
Endpoint
POST/api/v1/security/cve/sync-sources
/api/v1/security/cve/sync-sources
Request Example
curl -X POST '{host}/api/v1/security/cve/sync-sources' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"config":{"id":"sync-src-001","type":"SYNC_SOURCE_TYPE_UNSPECIFIED","apiKeyMasked":"abc***xyz","syncIntervalHours":24,"ecosystems":"item1,item2","lastModifiedSince":"2024-01-01T00:00:00Z","createdAt":"2026-01-15T08:00:00Z"},"apiKey":"sk-nvd-abc123secret"}'
Response Example
200{
"id": "sync-src-001",
"type": {},
"apiKeyMasked": "abc***xyz",
"syncIntervalHours": 24,
"ecosystems": [],
"lastModifiedSince": "2024-01-01T00:00:00Z",
"createdAt": "example"
}Change History
This API has no change history records yet.
