{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-get-member-detectors-response-schema.json",
  "title": "GetMemberDetectorsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-member-api-openapi.yml#/components/schemas/GetMemberDetectorsResponse",
  "type": "object",
  "properties": {
    "MemberDataSourceConfigurations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MemberDataSourceConfiguration"
      },
      "description": "An object that describes which data sources are enabled for a member account."
    },
    "UnprocessedAccounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UnprocessedAccount"
      },
      "description": "A list of member account IDs that were unable to be processed along with an explanation for why they were not processed."
    }
  },
  "required": [
    "MemberDataSourceConfigurations",
    "UnprocessedAccounts"
  ],
  "$defs": {
    "CloudTrailConfigurationResult": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Describes whether CloudTrail is enabled as a data source for the detector."
        }
      },
      "required": [
        "Status"
      ]
    },
    "DNSLogsConfigurationResult": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Denotes whether DNS logs is enabled as a data source."
        }
      },
      "required": [
        "Status"
      ]
    },
    "DataSourceConfigurationsResult": {
      "type": "object",
      "properties": {
        "CloudTrail": {
          "$ref": "#/$defs/CloudTrailConfigurationResult"
        },
        "DNSLogs": {
          "$ref": "#/$defs/DNSLogsConfigurationResult"
        },
        "FlowLogs": {
          "$ref": "#/$defs/FlowLogsConfigurationResult"
        },
        "S3Logs": {
          "$ref": "#/$defs/S3LogsConfigurationResult"
        },
        "Kubernetes": {
          "$ref": "#/$defs/KubernetesConfigurationResult"
        },
        "MalwareProtection": {
          "$ref": "#/$defs/MalwareProtectionConfigurationResult"
        }
      },
      "required": [
        "CloudTrail",
        "DNSLogs",
        "FlowLogs",
        "S3Logs"
      ]
    },
    "EbsVolumesResult": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Describes whether scanning EBS volumes is enabled as a data source."
        },
        "Reason": {
          "type": "string",
          "description": "Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source."
        }
      }
    },
    "FlowLogsConfigurationResult": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Denotes whether VPC flow logs is enabled as a data source."
        }
      },
      "required": [
        "Status"
      ]
    },
    "KubernetesAuditLogsConfigurationResult": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "A value that describes whether Kubernetes audit logs are enabled as a data source."
        }
      },
      "required": [
        "Status"
      ]
    },
    "KubernetesConfigurationResult": {
      "type": "object",
      "properties": {
        "AuditLogs": {
          "$ref": "#/$defs/KubernetesAuditLogsConfigurationResult"
        }
      },
      "required": [
        "AuditLogs"
      ]
    },
    "MalwareProtectionConfigurationResult": {
      "type": "object",
      "properties": {
        "ScanEc2InstanceWithFindings": {
          "$ref": "#/$defs/ScanEc2InstanceWithFindingsResult"
        },
        "ServiceRole": {
          "type": "string",
          "description": "The GuardDuty Malware Protection service role."
        }
      }
    },
    "MemberAdditionalConfigurationResult": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "enum": [
            "EKS_ADDON_MANAGEMENT",
            "ECS_FARGATE_AGENT_MANAGEMENT",
            "EC2_AGENT_MANAGEMENT",
            "RDS_DATA_RISK"
          ],
          "description": "Indicates the name of the additional configuration that is set for the member account."
        },
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Indicates the status of the additional configuration that is set for the member account."
        },
        "UpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp at which the additional configuration was set for the member account. This is in UTC format."
        },
        "ManagedBy": {
          "type": "string",
          "enum": [
            "GUARDDUTY_POLICY"
          ],
          "description": "Indicates what manages the additional configuration. A value of GUARDDUTY_POLICY means a GuardDuty policy manages the additional configuration."
        }
      }
    },
    "MemberDataSourceConfiguration": {
      "type": "object",
      "properties": {
        "AccountId": {
          "type": "string",
          "description": "The account ID for the member account."
        },
        "DataSources": {
          "$ref": "#/$defs/DataSourceConfigurationsResult"
        },
        "Features": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MemberFeaturesConfigurationResult"
          },
          "description": "Contains information about the status of the features for the member account."
        }
      },
      "required": [
        "AccountId",
        "DataSources"
      ]
    },
    "MemberFeaturesConfigurationResult": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "enum": [
            "S3_DATA_EVENTS",
            "EKS_AUDIT_LOGS",
            "EBS_MALWARE_PROTECTION",
            "RDS_LOGIN_EVENTS",
            "LAMBDA_NETWORK_LOGS",
            "EKS_RUNTIME_MONITORING",
            "RUNTIME_MONITORING",
            "AI_PROTECTION"
          ],
          "description": "Indicates the name of the feature that is enabled for the detector."
        },
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Indicates the status of the feature that is enabled for the detector."
        },
        "UpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp at which the feature object was updated."
        },
        "AdditionalConfiguration": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MemberAdditionalConfigurationResult"
          },
          "description": "Indicates the additional configuration of the feature that is configured for the member account."
        },
        "ManagedBy": {
          "type": "string",
          "enum": [
            "GUARDDUTY_POLICY"
          ],
          "description": "Indicates what manages the feature. A value of GUARDDUTY_POLICY means a GuardDuty policy manages the feature."
        }
      }
    },
    "S3LogsConfigurationResult": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "A value that describes whether S3 data event logs are automatically enabled for new members of the organization."
        }
      },
      "required": [
        "Status"
      ]
    },
    "ScanEc2InstanceWithFindingsResult": {
      "type": "object",
      "properties": {
        "EbsVolumes": {
          "$ref": "#/$defs/EbsVolumesResult"
        }
      }
    },
    "UnprocessedAccount": {
      "type": "object",
      "properties": {
        "AccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID."
        },
        "Result": {
          "type": "string",
          "description": "A reason why the account hasn't been processed."
        }
      },
      "required": [
        "AccountId",
        "Result"
      ]
    }
  }
}