openapi: 3.0.0 info: version: 2015-07-09 x-release: v4 title: APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Zero Trust Risk Scoring API description: Amazon API Gateway

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: apigateway x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/apigateway-2015-07-09.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://apigateway.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon API Gateway multi-region endpoint - url: https://apigateway.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon API Gateway multi-region endpoint - url: http://apigateway.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon API Gateway endpoint for China (Beijing) and China (Ningxia) - url: https://apigateway.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon API Gateway endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: Zero Trust Risk Scoring paths: /accounts/{account_id}/zt_risk_scoring/{user_id}: get: operationId: dlp-risk-score-summary-get-for-user parameters: - in: path name: account_id required: true schema: type: string - in: path name: user_id required: true schema: format: uuid type: string responses: 4XX: content: application/json: schema: $ref: '#/components/schemas/dlp_api-response-common-failure' description: Failed to get risk events '200': content: application/json: schema: allOf: - $ref: '#/components/schemas/dlp_api-response-collection' - properties: result: $ref: '#/components/schemas/dlp_RiskEvents' type: object description: Risk events security: - api_email: [] api_key: [] api_token: [] summary: APIs.io Engineering Platform Get risk event/score information for a specific user tags: - Zero Trust Risk Scoring /accounts/{account_id}/zt_risk_scoring/{user_id}/reset: post: operationId: dlp-risk-score-reset-post parameters: - in: path name: account_id required: true schema: type: string - in: path name: user_id required: true schema: format: uuid type: string responses: 4XX: content: application/json: schema: $ref: '#/components/schemas/dlp_api-response-common-failure' description: Dataset creation failed '200': content: application/json: schema: allOf: - $ref: '#/components/schemas/dlp_api-response-single' - properties: result: $ref: '#/components/schemas/dlp_Empty' type: object description: Dataset created successfully security: - api_email: [] api_key: [] api_token: [] summary: APIs.io Engineering Platform Clear the risk score for a particular user tags: - Zero Trust Risk Scoring /accounts/{account_id}/zt_risk_scoring/behaviors: get: operationId: dlp-risk-score-behaviors-get parameters: - in: path name: account_id required: true schema: type: string responses: 4XX: content: application/json: schema: $ref: '#/components/schemas/dlp_api-response-common-failure' description: Failed to get risk scoring behaviors '200': content: application/json: schema: allOf: - $ref: '#/components/schemas/dlp_api-response-single' - properties: result: $ref: '#/components/schemas/dlp_Behaviors' type: object description: Risk scoring behaviors security: - api_email: [] api_key: [] api_token: [] summary: APIs.io Engineering Platform Get all behaviors and associated configuration tags: - Zero Trust Risk Scoring x-api-token-group: - Teams Read - Teams Write put: operationId: dlp-risk-score-behaviors-put parameters: - description: Account ID in: path name: account_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/dlp_UpdateBehaviors' description: Behaviors required: true responses: 4XX: content: application/json: schema: $ref: '#/components/schemas/dlp_api-response-common-failure' description: Dataset creation failed '200': content: application/json: schema: allOf: - $ref: '#/components/schemas/dlp_api-response-single' - properties: result: $ref: '#/components/schemas/dlp_UpdateBehaviors' type: object description: Dataset created successfully security: - api_email: [] api_key: [] api_token: [] summary: APIs.io Engineering Platform Update configuration for risk behaviors tags: - Zero Trust Risk Scoring x-api-token-group: - Teams Write /accounts/{account_id}/zt_risk_scoring/summary: get: operationId: dlp-risk-score-summary-get parameters: - in: path name: account_id required: true schema: type: string responses: 4XX: content: application/json: schema: $ref: '#/components/schemas/dlp_api-response-common-failure' description: Failed to get risk scores '200': content: application/json: schema: allOf: - $ref: '#/components/schemas/dlp_api-response-collection' - properties: result: $ref: '#/components/schemas/dlp_RiskSummary' type: object description: Risk score for all users in the account security: - api_email: [] api_key: [] api_token: [] summary: APIs.io Engineering Platform Get risk score info for all users in the account tags: - Zero Trust Risk Scoring components: schemas: dlp_RiskLevel: enum: - low - medium - high type: string dlp_api-response-common: properties: errors: $ref: '#/components/schemas/dlp_messages' messages: $ref: '#/components/schemas/dlp_messages' success: description: Whether the API call was successful enum: - true example: true type: boolean required: - success - errors - messages type: object dlp_api-response-collection: allOf: - $ref: '#/components/schemas/dlp_api-response-common' - properties: result_info: $ref: '#/components/schemas/dlp_result_info' type: object dlp_api-response-single: allOf: - $ref: '#/components/schemas/dlp_api-response-common' type: object dlp_Behavior: properties: description: type: string enabled: type: boolean name: type: string risk_level: $ref: '#/components/schemas/dlp_RiskLevel' required: - name - description - risk_level - enabled type: object dlp_RiskSummary: properties: users: items: $ref: '#/components/schemas/dlp_UserRiskInfo' type: array required: - users type: object dlp_api-response-common-failure: properties: errors: allOf: - $ref: '#/components/schemas/dlp_messages' example: - code: 7003 message: No route for the URI minLength: 1 messages: allOf: - $ref: '#/components/schemas/dlp_messages' example: [] result: enum: - null nullable: true type: object success: description: Whether the API call was successful enum: - false example: false type: boolean required: - success - errors - messages - result type: object dlp_Behaviors: properties: behaviors: additionalProperties: $ref: '#/components/schemas/dlp_Behavior' type: object required: - behaviors type: object dlp_messages: example: [] items: properties: code: minimum: 1000 type: integer message: type: string required: - code - message type: object uniqueItems: true type: array dlp_result_info: properties: count: description: Total number of results for the requested service example: 1 type: number page: description: Current page within paginated list of results example: 1 type: number per_page: description: Number of results per page of results example: 20 type: number total_count: description: Total results available without any search parameters example: 2000 type: number type: object dlp_RiskEvents: properties: email: type: string events: items: $ref: '#/components/schemas/dlp_RiskEvent' type: array last_reset_time: format: date-time nullable: true type: string name: type: string risk_level: allOf: - $ref: '#/components/schemas/dlp_RiskLevel' required: - name - email - events type: object dlp_UpdateBehavior: properties: enabled: type: boolean risk_level: $ref: '#/components/schemas/dlp_RiskLevel' required: - risk_level - enabled type: object dlp_UpdateBehaviors: properties: behaviors: additionalProperties: $ref: '#/components/schemas/dlp_UpdateBehavior' type: object required: - behaviors type: object dlp_RiskEvent: properties: event_details: {} id: type: string name: type: string risk_level: $ref: '#/components/schemas/dlp_RiskLevel' timestamp: format: date-time type: string required: - id - risk_level - name - timestamp type: object dlp_UserRiskInfo: properties: email: type: string event_count: minimum: 0 type: integer last_event: format: date-time type: string max_risk_level: $ref: '#/components/schemas/dlp_RiskLevel' name: type: string user_id: format: uuid type: string required: - user_id - name - email - max_risk_level - event_count - last_event type: object dlp_Empty: nullable: true type: object securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/apigateway/ x-hasEquivalentPaths: true