CreateDetectorRequest is a JSON Structure definition published by Amazon GuardDuty, describing 6 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-guardduty/refs/heads/main/json-structure/guardduty-create-detector-request-structure.json",
"name": "CreateDetectorRequest",
"description": "CreateDetectorRequest schema from Amazon GuardDuty API",
"type": "object",
"properties": {
"Enable": {
"allOf": [
{
"$ref": "#/components/schemas/Boolean"
},
{
"xml": {
"name": "enable"
},
"description": "A Boolean value that specifies whether the detector is to be enabled."
}
]
},
"ClientToken": {
"allOf": [
{
"$ref": "#/components/schemas/ClientToken"
},
{
"xml": {
"name": "clientToken"
},
"description": "The idempotency token for the create request."
}
]
},
"FindingPublishingFrequency": {
"allOf": [
{
"$ref": "#/components/schemas/FindingPublishingFrequency"
},
{
"xml": {
"name": "findingPublishingFrequency"
},
"description": "A value that specifies how frequently updated findings are exported."
}
]
},
"DataSources": {
"allOf": [
{
"$ref": "#/components/schemas/DataSourceConfigurations"
},
{
"deprecated": true,
"xml": {
"name": "dataSources"
},
"description": "<p>Describes which data sources will be enabled for the detector.</p> <p>There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see <a href=\"https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html\">Regions and endpoints</a>.</p>This parameter is deprecated, use Features instead"
}
]
},
"Tags": {
"allOf": [
{
"$ref": "#/components/schemas/TagMap"
},
{
"xml": {
"name": "tags"
},
"description": "The tags to be added to a new detector resource."
}
]
},
"Features": {
"allOf": [
{
"$ref": "#/components/schemas/DetectorFeatureConfigurations"
},
{
"xml": {
"name": "features"
},
"description": "A list of features that will be configured for the detector."
}
]
}
},
"required": [
"Enable"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.