{
  "openapi" : "3.0.1",
  "info" : {
    "title" : "Audit Service API Reference",
    "description" : "This is the Open Api Spec 3 for the Audit Service. This is under active development. Beware of the breaking change with respect to the generated code stub",
    "termsOfService" : "https://harness.io/terms-of-use/",
    "contact" : {
      "email" : "contact@harness.io"
    },
    "version" : "3.0"
  },
  "servers" : [ {
    "url" : "https://platform-service-dcddfdc79-gbcnd"
  } ],
  "tags" : [ {
    "name" : "AuditFilters",
    "description" : "This contains APIs related to Filter of type Audit as defined in Harness"
  }, {
    "name" : "Audit",
    "description" : "This contains APIs related to Audit as defined in Harness"
  }, {
    "name" : "AuditYaml",
    "description" : "This contains APIs related to Audit Yaml as defined in Harness"
  } ],
  "paths" : {
    "/auditFilters" : {
      "get" : {
        "tags" : [ "AuditFilters" ],
        "summary" : "Get the list of Filters of type Audit satisfying the criteria (if any) in the request",
        "operationId" : "getAuditFilterList",
        "parameters" : [ {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Page number of navigation. If left empty, default value of 0 is assumed",
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Number of entries per page. If left empty, default value of 100 is assumed",
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 100
          }
        }, {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "orgIdentifier",
          "in" : "query",
          "description" : "Organization Identifier for the Entity.",
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "projectIdentifier",
          "in" : "query",
          "description" : "Project Identifier for the Entity.",
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "searchTerm",
          "in" : "query",
          "description" : "Text to search/filter the Entity.",
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "400" : {
            "description" : "Bad Request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              }
            }
          },
          "500" : {
            "description" : "Internal server error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              }
            }
          },
          "default" : {
            "description" : "Returns the list of Filters of type Audit",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOPageResponseFilter"
                }
              },
              "text/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOPageResponseFilter"
                }
              },
              "text/html" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOPageResponseFilter"
                }
              }
            }
          }
        }
      },
      "put" : {
        "tags" : [ "AuditFilters" ],
        "summary" : "Updates the Filter of type Audit",
        "operationId" : "updateAuditFilter",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "This is the updated Filter. This should have all the fields not just the updated ones",
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            },
            "text/yaml" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            },
            "text/html" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            },
            "text/plain" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "400" : {
            "description" : "Bad Request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              }
            }
          },
          "500" : {
            "description" : "Internal server error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              }
            }
          },
          "default" : {
            "description" : "Returns the updated Filter",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              },
              "text/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              },
              "text/html" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              }
            }
          }
        }
      },
      "post" : {
        "tags" : [ "AuditFilters" ],
        "summary" : "Creates a Filter",
        "operationId" : "postAuditFilter",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "Details of the Filter to create",
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            },
            "text/yaml" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            },
            "text/html" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            },
            "text/plain" : {
              "schema" : {
                "$ref" : "#/components/schemas/Filter"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "400" : {
            "description" : "Bad Request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              }
            }
          },
          "500" : {
            "description" : "Internal server error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              }
            }
          },
          "default" : {
            "description" : "Returns created Filter",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              },
              "text/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              },
              "text/html" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              }
            }
          }
        }
      }
    },
    "/auditFilters/{identifier}" : {
      "get" : {
        "tags" : [ "AuditFilters" ],
        "summary" : "Gets a Filter of type Audit by identifier",
        "operationId" : "getAuditFilter",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "orgIdentifier",
          "in" : "query",
          "description" : "Organization Identifier for the Entity.",
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "projectIdentifier",
          "in" : "query",
          "description" : "Project Identifier for the Entity.",
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "identifier",
          "in" : "path",
          "description" : "Filter Identifier",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "400" : {
            "description" : "Bad Request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              }
            }
          },
          "500" : {
            "description" : "Internal server error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              }
            }
          },
          "default" : {
            "description" : "Returns Filter of type Audit and having filterIdentifier as specified in request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              },
              "text/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              },
              "text/html" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOFilter"
                }
              }
            }
          }
        }
      },
      "delete" : {
        "tags" : [ "AuditFilters" ],
        "summary" : "Delete a Filter of type Audit by identifier",
        "operationId" : "deleteAuditFilter",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "orgIdentifier",
          "in" : "query",
          "description" : "Organization Identifier for the Entity.",
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "projectIdentifier",
          "in" : "query",
          "description" : "Project Identifier for the Entity.",
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "identifier",
          "in" : "path",
          "description" : "Filter Identifier",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "400" : {
            "description" : "Bad Request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              }
            }
          },
          "500" : {
            "description" : "Internal server error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              }
            }
          },
          "default" : {
            "description" : "Boolean status whether request was successful or not",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOBoolean"
                }
              },
              "text/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOBoolean"
                }
              },
              "text/html" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOBoolean"
                }
              }
            }
          }
        }
      }
    },
    "/audits/list" : {
      "post" : {
        "tags" : [ "Audit" ],
        "summary" : "List Audit Events",
        "operationId" : "getAuditEventList",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Page Index of the results to fetch.Default Value: 0",
          "schema" : {
            "minimum" : 0,
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Results per page(min 1, max 100)Default Value: 50",
          "schema" : {
            "maximum" : 100,
            "minimum" : 1,
            "type" : "integer",
            "format" : "int32",
            "default" : 50
          }
        }, {
          "name" : "sortOrders",
          "in" : "query",
          "description" : "Sort criteria for the elements.",
          "schema" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/SortOrder"
            }
          }
        }, {
          "name" : "pageToken",
          "in" : "query",
          "description" : "Page Token of the next results to fetch.Default Value: ''",
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "This has the filter attributes for listing Audit Events",
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/AuditFilterProperties"
              }
            },
            "application/yaml" : {
              "schema" : {
                "$ref" : "#/components/schemas/AuditFilterProperties"
              }
            }
          }
        },
        "responses" : {
          "400" : {
            "description" : "Bad Request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              }
            }
          },
          "500" : {
            "description" : "Internal server error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              }
            }
          },
          "default" : {
            "description" : "This has a paginated list of Audit Events.",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOPageResponseAuditEvent"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOPageResponseAuditEvent"
                }
              }
            }
          }
        }
      }
    },
    "/audits/listV2" : {
      "post" : {
        "tags" : [ "Audit" ],
        "summary" : "List Audit Events",
        "operationId" : "getAuditEventListV2",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Page Index of the results to fetch.Default Value: 0",
          "schema" : {
            "minimum" : 0,
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Results per page(min 1, max 100)Default Value: 50",
          "schema" : {
            "maximum" : 100,
            "minimum" : 1,
            "type" : "integer",
            "format" : "int32",
            "default" : 50
          }
        }, {
          "name" : "sortOrders",
          "in" : "query",
          "description" : "Sort criteria for the elements.",
          "schema" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/SortOrder"
            }
          }
        }, {
          "name" : "pageToken",
          "in" : "query",
          "description" : "Page Token of the next results to fetch.Default Value: ''",
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "This has the filter attributes for listing Audit Events",
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/AuditFilterProperties"
              }
            },
            "application/yaml" : {
              "schema" : {
                "$ref" : "#/components/schemas/AuditFilterProperties"
              }
            }
          }
        },
        "responses" : {
          "400" : {
            "description" : "Bad Request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Failure"
                }
              }
            }
          },
          "500" : {
            "description" : "Internal server error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Error"
                }
              }
            }
          },
          "default" : {
            "description" : "This has a paginated list of Audit Events.",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOSliceResponseAuditEvent"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOSliceResponseAuditEvent"
                }
              }
            }
          }
        }
      }
    },
    "/auditYaml" : {
      "get" : {
        "tags" : [ "AuditYaml" ],
        "summary" : "Gets the YamlDiff of the Audit.",
        "operationId" : "getYamlDiff",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "auditId",
          "in" : "query",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "default" : {
            "description" : "Returns the old Yaml and new Yaml.",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOYamlDiffRecord"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOYamlDiffRecord"
                }
              }
            }
          }
        }
      }
    },
    "/auditYaml/diffs" : {
      "post" : {
        "tags" : [ "AuditYaml" ],
        "summary" : "Get YAML Diffs for Audit Events",
        "description" : "Computes field-level YAML diffs for the given audit event IDs in RFC 6902 JSON Patch format. Maximum 20 event IDs per request. Only whitelisted resource types return a diff entry; non-whitelisted events are silently omitted from the response.",
        "operationId" : "getAuditYamlDiffs",
        "parameters" : [ {
          "name" : "accountIdentifier",
          "in" : "query",
          "description" : "Account Identifier for the Entity.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "List of audit event IDs to compute YAML diffs for (max 20).",
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/YamlDiffRequest"
              }
            },
            "application/yaml" : {
              "schema" : {
                "$ref" : "#/components/schemas/YamlDiffRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "default" : {
            "description" : "Returns a list of per-event diff results. Events with no yamlDiff record or unsupported resource types are absent.",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOYamlDiffResponse"
                }
              },
              "application/yaml" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResponseDTOYamlDiffResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components" : {
    "schemas" : {
      "Failure" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "code" : {
            "type" : "string",
            "enum" : [ "DEFAULT_ERROR_CODE", "INVALID_ARGUMENT", "INVALID_EMAIL", "DOMAIN_NOT_ALLOWED_TO_REGISTER", "COMMNITY_EDITION_NOT_FOUND", "DEPLOY_MODE_IS_NOT_ON_PREM", "USER_ALREADY_REGISTERED", "USER_INVITATION_DOES_NOT_EXIST", "USER_DOES_NOT_EXIST", "USER_INVITE_OPERATION_FAILED", "USER_DISABLED", "ACCOUNT_DOES_NOT_EXIST", "INACTIVE_ACCOUNT", "ACCOUNT_MIGRATED", "ACCOUNT_MIGRATED_TO_NEXT_GEN", "USER_DOMAIN_NOT_ALLOWED", "MAX_FAILED_ATTEMPT_COUNT_EXCEEDED", "RESOURCE_NOT_FOUND", "INVALID_FORMAT", "ROLE_DOES_NOT_EXIST", "EMAIL_NOT_VERIFIED", "EMAIL_VERIFICATION_TOKEN_NOT_FOUND", "INVALID_TOKEN", "REVOKED_TOKEN", "INVALID_CAPTCHA_TOKEN", "NOT_ACCOUNT_MGR_NOR_HAS_ALL_APP_ACCESS", "EXPIRED_TOKEN", "INVALID_AGENT_MTLS_AUTHORITY", "TOKEN_ALREADY_REFRESHED_ONCE", "ACCESS_DENIED", "NG_ACCESS_DENIED", "INVALID_CREDENTIAL", "INVALID_CREDENTIALS_THIRD_PARTY", "INVALID_KEY", "INVALID_CONNECTOR_TYPE", "INVALID_KEYPATH", "INVALID_VARIABLE", "UNKNOWN_HOST", "UNREACHABLE_HOST", "INVALID_PORT", "SSH_SESSION_TIMEOUT", "ALGORITHM_NEGOTIATION_ERROR", "SOCKET_CONNECTION_ERROR", "CONNECTION_ERROR", "COULD_NOT_PROCESS_ERROR", "SOCKET_CONNECTION_TIMEOUT", "WINRM_COMMAND_EXECUTION_TIMEOUT", "CONNECTION_TIMEOUT", "SSH_CONNECTION_ERROR", "USER_GROUP_ERROR", "INVALID_EXECUTION_ID", "ERROR_IN_GETTING_CHANNEL_STREAMS", "UNEXPECTED", "UNKNOWN_ERROR", "UNKNOWN_EXECUTOR_TYPE_ERROR", "DUPLICATE_STATE_NAMES", "TRANSITION_NOT_LINKED", "TRANSITION_TO_INCORRECT_STATE", "TRANSITION_TYPE_NULL", "STATES_WITH_DUP_TRANSITIONS", "BARRIERS_NOT_RUNNING_CONCURRENTLY", "NON_FORK_STATES", "NON_REPEAT_STATES", "INITIAL_STATE_NOT_DEFINED", "FILE_INTEGRITY_CHECK_FAILED", "INVALID_URL", "FILE_DOWNLOAD_FAILED", "PLATFORM_SOFTWARE_DELETE_ERROR", "INVALID_CSV_FILE", "INVALID_REQUEST", "SCHEMA_VALIDATION_FAILED", "FILTER_CREATION_ERROR", "INVALID_YAML_ERROR", "PLAN_CREATION_ERROR", "INVALID_INFRA_STATE", "PIPELINE_ALREADY_TRIGGERED", "NON_EXISTING_PIPELINE", "DUPLICATE_COMMAND_NAMES", "INVALID_PIPELINE", "COMMAND_DOES_NOT_EXIST", "DUPLICATE_ARTIFACTSTREAM_NAMES", "DUPLICATE_HOST_NAMES", "STATE_NOT_FOR_TYPE", "STATE_MACHINE_ISSUE", "STATE_DISCONTINUE_FAILED", "STATE_PAUSE_FAILED", "PAUSE_ALL_ALREADY", "RESUME_ALL_ALREADY", "ROLLBACK_ALREADY", "ABORT_ALL_ALREADY", "EXPIRE_ALL_ALREADY", "RETRY_FAILED", "UNKNOWN_ARTIFACT_TYPE", "UNKNOWN_STAGE_ELEMENT_WRAPPER_TYPE", "INIT_TIMEOUT", "LICENSE_EXPIRED", "NOT_LICENSED", "REQUEST_TIMEOUT", "SCM_REQUEST_TIMEOUT", "WORKFLOW_ALREADY_TRIGGERED", "JENKINS_ERROR", "INVALID_ARTIFACT_SOURCE", "INVALID_ARTIFACT_SERVER", "INVALID_CLOUD_PROVIDER", "UPDATE_NOT_ALLOWED", "DELETE_NOT_ALLOWED", "APPDYNAMICS_CONFIGURATION_ERROR", "APM_CONFIGURATION_ERROR", "SPLUNK_CONFIGURATION_ERROR", "ELK_CONFIGURATION_ERROR", "LOGZ_CONFIGURATION_ERROR", "SUMO_CONFIGURATION_ERROR", "INSTANA_CONFIGURATION_ERROR", "APPDYNAMICS_ERROR", "STACKDRIVER_ERROR", "STACKDRIVER_CONFIGURATION_ERROR", "NEWRELIC_CONFIGURATION_ERROR", "NEWRELIC_ERROR", "DYNA_TRACE_CONFIGURATION_ERROR", "DYNA_TRACE_ERROR", "CLOUDWATCH_ERROR", "CLOUDWATCH_CONFIGURATION_ERROR", "PROMETHEUS_CONFIGURATION_ERROR", "DATA_DOG_CONFIGURATION_ERROR", "SERVICE_GUARD_CONFIGURATION_ERROR", "ENCRYPTION_NOT_CONFIGURED", "UNAVAILABLE_DELEGATES", "WORKFLOW_EXECUTION_IN_PROGRESS", "PIPELINE_EXECUTION_IN_PROGRESS", "AWS_ACCESS_DENIED", "AWS_CLUSTER_NOT_FOUND", "AWS_SERVICE_NOT_FOUND", "IMAGE_NOT_FOUND", "ILLEGAL_ARGUMENT", "IMAGE_TAG_NOT_FOUND", "DELEGATE_NOT_AVAILABLE", "INVALID_YAML_PAYLOAD", "AUTHENTICATION_ERROR", "AUTHORIZATION_ERROR", "UNRECOGNIZED_YAML_FIELDS", "COULD_NOT_MAP_BEFORE_YAML", "MISSING_BEFORE_YAML", "MISSING_YAML", "NON_EMPTY_DELETIONS", "GENERAL_YAML_ERROR", "GENERAL_YAML_INFO", "YAML_GIT_SYNC_ERROR", "GIT_CONNECTION_ERROR", "GIT_ERROR", "ARTIFACT_SERVER_ERROR", "ENCRYPT_DECRYPT_ERROR", "SECRET_MANAGEMENT_ERROR", "SECRET_NOT_FOUND", "KMS_OPERATION_ERROR", "GCP_KMS_OPERATION_ERROR", "VAULT_OPERATION_ERROR", "AWS_SECRETS_MANAGER_OPERATION_ERROR", "AZURE_KEY_VAULT_OPERATION_ERROR", "AZURE_KEY_VAULT_INTERRUPT_ERROR", "UNSUPPORTED_OPERATION_EXCEPTION", "FEATURE_UNAVAILABLE", "GENERAL_ERROR", "BASELINE_CONFIGURATION_ERROR", "SAML_IDP_CONFIGURATION_NOT_AVAILABLE", "INVALID_AUTHENTICATION_MECHANISM", "INVALID_SAML_CONFIGURATION", "INVALID_OAUTH_CONFIGURATION", "INVALID_LDAP_CONFIGURATION", "USER_GROUP_SYNC_FAILURE", "USER_GROUP_ALREADY_EXIST", "INVALID_TWO_FACTOR_AUTHENTICATION_CONFIGURATION", "EXPLANATION", "HINT", "NOT_WHITELISTED_IP", "INVALID_TOTP_TOKEN", "EMAIL_FAILED", "SSL_HANDSHAKE_FAILED", "NO_APPS_ASSIGNED", "INVALID_INFRA_CONFIGURATION", "TEMPLATES_LINKED", "USER_HAS_NO_PERMISSIONS", "USER_NOT_AUTHORIZED", "USER_ALREADY_PRESENT", "EMAIL_ERROR", "INVALID_USAGE_RESTRICTION", "USAGE_RESTRICTION_ERROR", "STATE_EXECUTION_INSTANCE_NOT_FOUND", "DELEGATE_TASK_RETRY", "KUBERNETES_API_TASK_EXCEPTION", "KUBERNETES_TASK_EXCEPTION", "KUBERNETES_YAML_ERROR", "SAVE_FILE_INTO_AWS_STORAGE_FAILED", "READ_FILE_FROM_AWS_STORAGE_FAILED", "SAVE_FILE_INTO_GCP_STORAGE_FAILED", "READ_FILE_FROM_GCP_STORAGE_FAILED", "FILE_NOT_FOUND_ERROR", "USAGE_LIMITS_EXCEEDED", "EVENT_PUBLISH_FAILED", "CUSTOM_APPROVAL_ERROR", "JIRA_ERROR", "EXPRESSION_EVALUATION_FAILED", "KUBERNETES_VALUES_ERROR", "KUBERNETES_CLUSTER_ERROR", "INCORRECT_SIGN_IN_MECHANISM", "OAUTH_LOGIN_FAILED", "INVALID_TERRAFORM_TARGETS_REQUEST", "TERRAFORM_EXECUTION_ERROR", "FILE_READ_FAILED", "FILE_SIZE_EXCEEDS_LIMIT", "CLUSTER_NOT_FOUND", "MARKETPLACE_TOKEN_NOT_FOUND", "INVALID_MARKETPLACE_TOKEN", "INVALID_TICKETING_SERVER", "SERVICENOW_ERROR", "PASSWORD_EXPIRED", "USER_LOCKED", "PASSWORD_STRENGTH_CHECK_FAILED", "ACCOUNT_DISABLED", "INVALID_ACCOUNT_PERMISSION", "PAGERDUTY_ERROR", "HEALTH_ERROR", "SAML_TEST_SUCCESS_MECHANISM_NOT_ENABLED", "DOMAIN_WHITELIST_FILTER_CHECK_FAILED", "INVALID_DASHBOARD_UPDATE_REQUEST", "DUPLICATE_FIELD", "INVALID_AZURE_VAULT_CONFIGURATION", "USER_NOT_AUTHORIZED_DUE_TO_USAGE_RESTRICTIONS", "INVALID_ROLLBACK", "DATA_COLLECTION_ERROR", "SUMO_DATA_COLLECTION_ERROR", "DEPLOYMENT_GOVERNANCE_ERROR", "BATCH_PROCESSING_ERROR", "GRAPHQL_ERROR", "FILE_CREATE_ERROR", "ILLEGAL_STATE", "GIT_DIFF_COMMIT_NOT_IN_ORDER", "FAILED_TO_ACQUIRE_PERSISTENT_LOCK", "FAILED_TO_ACQUIRE_NON_PERSISTENT_LOCK", "POD_NOT_FOUND_ERROR", "COMMAND_EXECUTION_ERROR", "REGISTRY_EXCEPTION", "ENGINE_INTERRUPT_PROCESSING_EXCEPTION", "ENGINE_IO_EXCEPTION", "ENGINE_OUTCOME_EXCEPTION", "ENGINE_SWEEPING_OUTPUT_EXCEPTION", "CACHE_NOT_FOUND_EXCEPTION", "ENGINE_ENTITY_UPDATE_EXCEPTION", "SHELL_EXECUTION_EXCEPTION", "TEMPLATE_NOT_FOUND", "AZURE_SERVICE_EXCEPTION", "AZURE_CLIENT_EXCEPTION", "GIT_UNSEEN_REMOTE_HEAD_COMMIT", "TIMEOUT_ENGINE_EXCEPTION", "NO_AVAILABLE_DELEGATES", "NO_GLOBAL_DELEGATE_ACCOUNT", "NO_INSTALLED_DELEGATES", "DUPLICATE_DELEGATE_EXCEPTION", "GCP_MARKETPLACE_EXCEPTION", "MISSING_DEFAULT_GOOGLE_CREDENTIALS", "INCORRECT_DEFAULT_GOOGLE_CREDENTIALS", "OPTIMISTIC_LOCKING_EXCEPTION", "NG_PIPELINE_EXECUTION_EXCEPTION", "NG_PIPELINE_CREATE_EXCEPTION", "RESOURCE_NOT_FOUND_EXCEPTION", "PMS_INITIALIZE_SDK_EXCEPTION", "UNEXPECTED_SNIPPET_EXCEPTION", "UNEXPECTED_SCHEMA_EXCEPTION", "CONNECTOR_VALIDATION_EXCEPTION", "TIMESCALE_NOT_AVAILABLE", "MIGRATION_EXCEPTION", "REQUEST_PROCESSING_INTERRUPTED", "SECRET_MANAGER_ID_NOT_FOUND", "GCP_SECRET_MANAGER_OPERATION_ERROR", "GCP_SECRET_OPERATION_ERROR", "GIT_OPERATION_ERROR", "TASK_FAILURE_ERROR", "INSTANCE_STATS_PROCESS_ERROR", "INSTANCE_STATS_MIGRATION_ERROR", "DEPLOYMENT_MIGRATION_ERROR", "CG_LICENSE_USAGE_ERROR", "INSTANCE_STATS_AGGREGATION_ERROR", "UNRESOLVED_EXPRESSIONS_ERROR", "KRYO_HANDLER_NOT_FOUND_ERROR", "DELEGATE_ERROR_HANDLER_EXCEPTION", "DELEGATE_SERVICE_DRIVER_EXCEPTION", "DELEGATE_INSTALLATION_COMMAND_NOT_SUPPORTED_EXCEPTION", "UNEXPECTED_TYPE_ERROR", "EXCEPTION_HANDLER_NOT_FOUND", "CONNECTOR_NOT_FOUND_EXCEPTION", "GCP_SERVER_ERROR", "HTTP_RESPONSE_EXCEPTION", "SCM_NOT_FOUND_ERROR", "SCM_CONFLICT_ERROR", "SCM_CONFLICT_ERROR_V2", "SCM_UNPROCESSABLE_ENTITY", "PROCESS_EXECUTION_EXCEPTION", "SCM_UNAUTHORIZED", "SCM_BAD_REQUEST", "SCM_INTERNAL_SERVER_ERROR", "DATA", "CONTEXT", "PR_CREATION_ERROR", "URL_NOT_REACHABLE", "URL_NOT_PROVIDED", "ENGINE_EXPRESSION_EVALUATION_ERROR", "ENGINE_FUNCTOR_ERROR", "JIRA_CLIENT_ERROR", "SCM_NOT_MODIFIED", "APPROVAL_STEP_NG_ERROR", "BUCKET_SERVER_ERROR", "GIT_SYNC_ERROR", "TEMPLATE_EXCEPTION", "TEMPLATE_ALREADY_EXISTS_EXCEPTION", "ENTITY_REFERENCE_EXCEPTION", "ACTIVE_SERVICE_INSTANCES_PRESENT_EXCEPTION", "INVALID_INPUT_SET", "INVALID_OVERLAY_INPUT_SET", "RESOURCE_ALREADY_EXISTS", "INVALID_JSON_PAYLOAD", "POLICY_EVALUATION_FAILURE", "POLICY_SET_ERROR", "INVALID_ARTIFACTORY_REGISTRY_REQUEST", "INVALID_NEXUS_REGISTRY_REQUEST", "ENTITY_NOT_FOUND", "GITX_OAUTH_NOT_SET", "INVALID_AZURE_CONTAINER_REGISTRY_REQUEST", "AZURE_AUTHENTICATION_ERROR", "AZURE_CONFIG_ERROR", "DATA_PROCESSING_ERROR", "INVALID_AZURE_AKS_REQUEST", "AWS_IAM_ERROR", "AWS_CF_ERROR", "AWS_INSTANCE_ERROR", "AWS_VPC_ERROR", "AWS_TAG_ERROR", "AWS_ASG_ERROR", "AWS_LOAD_BALANCER_ERROR", "SCM_INTERNAL_SERVER_ERROR_V2", "SCM_FAILED_DEPENDENCY_ERROR", "SCM_UNAUTHORIZED_ERROR_V2", "TOO_MANY_REQUESTS", "SCM_RATE_LIMIT_ERROR", "INVALID_IDENTIFIER_REF", "SPOTINST_NULL_ERROR", "SPOTNIST_REST_EXCEPTION", "SCM_UNEXPECTED_ERROR", "DUPLICATE_FILE_IMPORT", "AZURE_APP_SERVICES_TASK_EXCEPTION", "AZURE_ARM_TASK_EXCEPTION", "AZURE_BP_TASK_EXCEPTION", "MEDIA_NOT_SUPPORTED", "AWS_ECS_ERROR", "AWS_APPLICATION_AUTO_SCALING", "AWS_ECS_SERVICE_NOT_ACTIVE", "AWS_ECS_CLIENT_ERROR", "AWS_STS_ERROR", "FREEZE_EXCEPTION", "MISSING_EXCEPTION", "DELEGATE_TASK_EXPIRED", "DELEGATE_TASK_VALIDATION_FAILED", "MONGO_EXECUTION_TIMEOUT_EXCEPTION", "DELEGATE_NOT_REGISTERED", "TERRAFORM_VAULT_SECRET_CLEANUP_FAILURE", "APPROVAL_REJECTION", "TERRAGRUNT_EXECUTION_ERROR", "ADFS_ERROR", "TERRAFORM_CLOUD_ERROR", "CLUSTER_CREDENTIALS_NOT_FOUND", "SCM_API_ERROR", "INTERNAL_SERVER_ERROR", "SCM_FORBIDDEN", "AWS_EKS_ERROR", "OPA_POLICY_EVALUATION_ERROR", "USER_MARKED_FAILURE", "SSH_RETRY", "HTTP_CLIENT_ERROR_RESPONSE", "HTTP_INTERNAL_SERVER_ERROR", "HTTP_BAD_GATEWAY", "HTTP_SERVICE_UNAVAILABLE", "HTTP_GATEWAY_TIMEOUT", "HTTP_SERVER_ERROR_RESPONSE", "PIPELINE_UPDATE_EXCEPTION", "SERVICENOW_REFRESH_TOKEN_ERROR", "PARAMETER_FIELD_CAST_ERROR", "ABORT_ALL_ALREADY_NG", "WEBHOOK_EXCEPTION", "INVALID_OIDC_CONFIGURATION", "INVALID_CREDENTIALS", "INVALID_OR_PRIVATE_REPO", "BARRIER_FAILED_ERROR", "ELASTICSEARCH_NOT_AVAILABLE", "OBJECT_STORE_NOT_AVAILABLE", "NO_ELIGIBLE_RUNNERS", "NO_AVAILABLE_RUNNERS", "RUNNER_DISCONNECTED", "EVENT_LISTENER_STEP_FAILURE", "TRANSACTION_ABORTED", "UNRESOLVED_EXPRESSIONS_WITH_CONTEXT_ERROR" ]
          },
          "message" : {
            "type" : "string"
          },
          "correlationId" : {
            "type" : "string"
          },
          "errors" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/ValidationError"
            }
          }
        },
        "description" : "This is Failure entity as defied in Harness"
      },
      "ValidationError" : {
        "type" : "object",
        "properties" : {
          "fieldId" : {
            "type" : "string"
          },
          "error" : {
            "type" : "string"
          }
        }
      },
      "Error" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "code" : {
            "type" : "string",
            "enum" : [ "DEFAULT_ERROR_CODE", "INVALID_ARGUMENT", "INVALID_EMAIL", "DOMAIN_NOT_ALLOWED_TO_REGISTER", "COMMNITY_EDITION_NOT_FOUND", "DEPLOY_MODE_IS_NOT_ON_PREM", "USER_ALREADY_REGISTERED", "USER_INVITATION_DOES_NOT_EXIST", "USER_DOES_NOT_EXIST", "USER_INVITE_OPERATION_FAILED", "USER_DISABLED", "ACCOUNT_DOES_NOT_EXIST", "INACTIVE_ACCOUNT", "ACCOUNT_MIGRATED", "ACCOUNT_MIGRATED_TO_NEXT_GEN", "USER_DOMAIN_NOT_ALLOWED", "MAX_FAILED_ATTEMPT_COUNT_EXCEEDED", "RESOURCE_NOT_FOUND", "INVALID_FORMAT", "ROLE_DOES_NOT_EXIST", "EMAIL_NOT_VERIFIED", "EMAIL_VERIFICATION_TOKEN_NOT_FOUND", "INVALID_TOKEN", "REVOKED_TOKEN", "INVALID_CAPTCHA_TOKEN", "NOT_ACCOUNT_MGR_NOR_HAS_ALL_APP_ACCESS", "EXPIRED_TOKEN", "INVALID_AGENT_MTLS_AUTHORITY", "TOKEN_ALREADY_REFRESHED_ONCE", "ACCESS_DENIED", "NG_ACCESS_DENIED", "INVALID_CREDENTIAL", "INVALID_CREDENTIALS_THIRD_PARTY", "INVALID_KEY", "INVALID_CONNECTOR_TYPE", "INVALID_KEYPATH", "INVALID_VARIABLE", "UNKNOWN_HOST", "UNREACHABLE_HOST", "INVALID_PORT", "SSH_SESSION_TIMEOUT", "ALGORITHM_NEGOTIATION_ERROR", "SOCKET_CONNECTION_ERROR", "CONNECTION_ERROR", "COULD_NOT_PROCESS_ERROR", "SOCKET_CONNECTION_TIMEOUT", "WINRM_COMMAND_EXECUTION_TIMEOUT", "CONNECTION_TIMEOUT", "SSH_CONNECTION_ERROR", "USER_GROUP_ERROR", "INVALID_EXECUTION_ID", "ERROR_IN_GETTING_CHANNEL_STREAMS", "UNEXPECTED", "UNKNOWN_ERROR", "UNKNOWN_EXECUTOR_TYPE_ERROR", "DUPLICATE_STATE_NAMES", "TRANSITION_NOT_LINKED", "TRANSITION_TO_INCORRECT_STATE", "TRANSITION_TYPE_NULL", "STATES_WITH_DUP_TRANSITIONS", "BARRIERS_NOT_RUNNING_CONCURRENTLY", "NON_FORK_STATES", "NON_REPEAT_STATES", "INITIAL_STATE_NOT_DEFINED", "FILE_INTEGRITY_CHECK_FAILED", "INVALID_URL", "FILE_DOWNLOAD_FAILED", "PLATFORM_SOFTWARE_DELETE_ERROR", "INVALID_CSV_FILE", "INVALID_REQUEST", "SCHEMA_VALIDATION_FAILED", "FILTER_CREATION_ERROR", "INVALID_YAML_ERROR", "PLAN_CREATION_ERROR", "INVALID_INFRA_STATE", "PIPELINE_ALREADY_TRIGGERED", "NON_EXISTING_PIPELINE", "DUPLICATE_COMMAND_NAMES", "INVALID_PIPELINE", "COMMAND_DOES_NOT_EXIST", "DUPLICATE_ARTIFACTSTREAM_NAMES", "DUPLICATE_HOST_NAMES", "STATE_NOT_FOR_TYPE", "STATE_MACHINE_ISSUE", "STATE_DISCONTINUE_FAILED", "STATE_PAUSE_FAILED", "PAUSE_ALL_ALREADY", "RESUME_ALL_ALREADY", "ROLLBACK_ALREADY", "ABORT_ALL_ALREADY", "EXPIRE_ALL_ALREADY", "RETRY_FAILED", "UNKNOWN_ARTIFACT_TYPE", "UNKNOWN_STAGE_ELEMENT_WRAPPER_TYPE", "INIT_TIMEOUT", "LICENSE_EXPIRED", "NOT_LICENSED", "REQUEST_TIMEOUT", "SCM_REQUEST_TIMEOUT", "WORKFLOW_ALREADY_TRIGGERED", "JENKINS_ERROR", "INVALID_ARTIFACT_SOURCE", "INVALID_ARTIFACT_SERVER", "INVALID_CLOUD_PROVIDER", "UPDATE_NOT_ALLOWED", "DELETE_NOT_ALLOWED", "APPDYNAMICS_CONFIGURATION_ERROR", "APM_CONFIGURATION_ERROR", "SPLUNK_CONFIGURATION_ERROR", "ELK_CONFIGURATION_ERROR", "LOGZ_CONFIGURATION_ERROR", "SUMO_CONFIGURATION_ERROR", "INSTANA_CONFIGURATION_ERROR", "APPDYNAMICS_ERROR", "STACKDRIVER_ERROR", "STACKDRIVER_CONFIGURATION_ERROR", "NEWRELIC_CONFIGURATION_ERROR", "NEWRELIC_ERROR", "DYNA_TRACE_CONFIGURATION_ERROR", "DYNA_TRACE_ERROR", "CLOUDWATCH_ERROR", "CLOUDWATCH_CONFIGURATION_ERROR", "PROMETHEUS_CONFIGURATION_ERROR", "DATA_DOG_CONFIGURATION_ERROR", "SERVICE_GUARD_CONFIGURATION_ERROR", "ENCRYPTION_NOT_CONFIGURED", "UNAVAILABLE_DELEGATES", "WORKFLOW_EXECUTION_IN_PROGRESS", "PIPELINE_EXECUTION_IN_PROGRESS", "AWS_ACCESS_DENIED", "AWS_CLUSTER_NOT_FOUND", "AWS_SERVICE_NOT_FOUND", "IMAGE_NOT_FOUND", "ILLEGAL_ARGUMENT", "IMAGE_TAG_NOT_FOUND", "DELEGATE_NOT_AVAILABLE", "INVALID_YAML_PAYLOAD", "AUTHENTICATION_ERROR", "AUTHORIZATION_ERROR", "UNRECOGNIZED_YAML_FIELDS", "COULD_NOT_MAP_BEFORE_YAML", "MISSING_BEFORE_YAML", "MISSING_YAML", "NON_EMPTY_DELETIONS", "GENERAL_YAML_ERROR", "GENERAL_YAML_INFO", "YAML_GIT_SYNC_ERROR", "GIT_CONNECTION_ERROR", "GIT_ERROR", "ARTIFACT_SERVER_ERROR", "ENCRYPT_DECRYPT_ERROR", "SECRET_MANAGEMENT_ERROR", "SECRET_NOT_FOUND", "KMS_OPERATION_ERROR", "GCP_KMS_OPERATION_ERROR", "VAULT_OPERATION_ERROR", "AWS_SECRETS_MANAGER_OPERATION_ERROR", "AZURE_KEY_VAULT_OPERATION_ERROR", "AZURE_KEY_VAULT_INTERRUPT_ERROR", "UNSUPPORTED_OPERATION_EXCEPTION", "FEATURE_UNAVAILABLE", "GENERAL_ERROR", "BASELINE_CONFIGURATION_ERROR", "SAML_IDP_CONFIGURATION_NOT_AVAILABLE", "INVALID_AUTHENTICATION_MECHANISM", "INVALID_SAML_CONFIGURATION", "INVALID_OAUTH_CONFIGURATION", "INVALID_LDAP_CONFIGURATION", "USER_GROUP_SYNC_FAILURE", "USER_GROUP_ALREADY_EXIST", "INVALID_TWO_FACTOR_AUTHENTICATION_CONFIGURATION", "EXPLANATION", "HINT", "NOT_WHITELISTED_IP", "INVALID_TOTP_TOKEN", "EMAIL_FAILED", "SSL_HANDSHAKE_FAILED", "NO_APPS_ASSIGNED", "INVALID_INFRA_CONFIGURATION", "TEMPLATES_LINKED", "USER_HAS_NO_PERMISSIONS", "USER_NOT_AUTHORIZED", "USER_ALREADY_PRESENT", "EMAIL_ERROR", "INVALID_USAGE_RESTRICTION", "USAGE_RESTRICTION_ERROR", "STATE_EXECUTION_INSTANCE_NOT_FOUND", "DELEGATE_TASK_RETRY", "KUBERNETES_API_TASK_EXCEPTION", "KUBERNETES_TASK_EXCEPTION", "KUBERNETES_YAML_ERROR", "SAVE_FILE_INTO_AWS_STORAGE_FAILED", "READ_FILE_FROM_AWS_STORAGE_FAILED", "SAVE_FILE_INTO_GCP_STORAGE_FAILED", "READ_FILE_FROM_GCP_STORAGE_FAILED", "FILE_NOT_FOUND_ERROR", "USAGE_LIMITS_EXCEEDED", "EVENT_PUBLISH_FAILED", "CUSTOM_APPROVAL_ERROR", "JIRA_ERROR", "EXPRESSION_EVALUATION_FAILED", "KUBERNETES_VALUES_ERROR", "KUBERNETES_CLUSTER_ERROR", "INCORRECT_SIGN_IN_MECHANISM", "OAUTH_LOGIN_FAILED", "INVALID_TERRAFORM_TARGETS_REQUEST", "TERRAFORM_EXECUTION_ERROR", "FILE_READ_FAILED", "FILE_SIZE_EXCEEDS_LIMIT", "CLUSTER_NOT_FOUND", "MARKETPLACE_TOKEN_NOT_FOUND", "INVALID_MARKETPLACE_TOKEN", "INVALID_TICKETING_SERVER", "SERVICENOW_ERROR", "PASSWORD_EXPIRED", "USER_LOCKED", "PASSWORD_STRENGTH_CHECK_FAILED", "ACCOUNT_DISABLED", "INVALID_ACCOUNT_PERMISSION", "PAGERDUTY_ERROR", "HEALTH_ERROR", "SAML_TEST_SUCCESS_MECHANISM_NOT_ENABLED", "DOMAIN_WHITELIST_FILTER_CHECK_FAILED", "INVALID_DASHBOARD_UPDATE_REQUEST", "DUPLICATE_FIELD", "INVALID_AZURE_VAULT_CONFIGURATION", "USER_NOT_AUTHORIZED_DUE_TO_USAGE_RESTRICTIONS", "INVALID_ROLLBACK", "DATA_COLLECTION_ERROR", "SUMO_DATA_COLLECTION_ERROR", "DEPLOYMENT_GOVERNANCE_ERROR", "BATCH_PROCESSING_ERROR", "GRAPHQL_ERROR", "FILE_CREATE_ERROR", "ILLEGAL_STATE", "GIT_DIFF_COMMIT_NOT_IN_ORDER", "FAILED_TO_ACQUIRE_PERSISTENT_LOCK", "FAILED_TO_ACQUIRE_NON_PERSISTENT_LOCK", "POD_NOT_FOUND_ERROR", "COMMAND_EXECUTION_ERROR", "REGISTRY_EXCEPTION", "ENGINE_INTERRUPT_PROCESSING_EXCEPTION", "ENGINE_IO_EXCEPTION", "ENGINE_OUTCOME_EXCEPTION", "ENGINE_SWEEPING_OUTPUT_EXCEPTION", "CACHE_NOT_FOUND_EXCEPTION", "ENGINE_ENTITY_UPDATE_EXCEPTION", "SHELL_EXECUTION_EXCEPTION", "TEMPLATE_NOT_FOUND", "AZURE_SERVICE_EXCEPTION", "AZURE_CLIENT_EXCEPTION", "GIT_UNSEEN_REMOTE_HEAD_COMMIT", "TIMEOUT_ENGINE_EXCEPTION", "NO_AVAILABLE_DELEGATES", "NO_GLOBAL_DELEGATE_ACCOUNT", "NO_INSTALLED_DELEGATES", "DUPLICATE_DELEGATE_EXCEPTION", "GCP_MARKETPLACE_EXCEPTION", "MISSING_DEFAULT_GOOGLE_CREDENTIALS", "INCORRECT_DEFAULT_GOOGLE_CREDENTIALS", "OPTIMISTIC_LOCKING_EXCEPTION", "NG_PIPELINE_EXECUTION_EXCEPTION", "NG_PIPELINE_CREATE_EXCEPTION", "RESOURCE_NOT_FOUND_EXCEPTION", "PMS_INITIALIZE_SDK_EXCEPTION", "UNEXPECTED_SNIPPET_EXCEPTION", "UNEXPECTED_SCHEMA_EXCEPTION", "CONNECTOR_VALIDATION_EXCEPTION", "TIMESCALE_NOT_AVAILABLE", "MIGRATION_EXCEPTION", "REQUEST_PROCESSING_INTERRUPTED", "SECRET_MANAGER_ID_NOT_FOUND", "GCP_SECRET_MANAGER_OPERATION_ERROR", "GCP_SECRET_OPERATION_ERROR", "GIT_OPERATION_ERROR", "TASK_FAILURE_ERROR", "INSTANCE_STATS_PROCESS_ERROR", "INSTANCE_STATS_MIGRATION_ERROR", "DEPLOYMENT_MIGRATION_ERROR", "CG_LICENSE_USAGE_ERROR", "INSTANCE_STATS_AGGREGATION_ERROR", "UNRESOLVED_EXPRESSIONS_ERROR", "KRYO_HANDLER_NOT_FOUND_ERROR", "DELEGATE_ERROR_HANDLER_EXCEPTION", "DELEGATE_SERVICE_DRIVER_EXCEPTION", "DELEGATE_INSTALLATION_COMMAND_NOT_SUPPORTED_EXCEPTION", "UNEXPECTED_TYPE_ERROR", "EXCEPTION_HANDLER_NOT_FOUND", "CONNECTOR_NOT_FOUND_EXCEPTION", "GCP_SERVER_ERROR", "HTTP_RESPONSE_EXCEPTION", "SCM_NOT_FOUND_ERROR", "SCM_CONFLICT_ERROR", "SCM_CONFLICT_ERROR_V2", "SCM_UNPROCESSABLE_ENTITY", "PROCESS_EXECUTION_EXCEPTION", "SCM_UNAUTHORIZED", "SCM_BAD_REQUEST", "SCM_INTERNAL_SERVER_ERROR", "DATA", "CONTEXT", "PR_CREATION_ERROR", "URL_NOT_REACHABLE", "URL_NOT_PROVIDED", "ENGINE_EXPRESSION_EVALUATION_ERROR", "ENGINE_FUNCTOR_ERROR", "JIRA_CLIENT_ERROR", "SCM_NOT_MODIFIED", "APPROVAL_STEP_NG_ERROR", "BUCKET_SERVER_ERROR", "GIT_SYNC_ERROR", "TEMPLATE_EXCEPTION", "TEMPLATE_ALREADY_EXISTS_EXCEPTION", "ENTITY_REFERENCE_EXCEPTION", "ACTIVE_SERVICE_INSTANCES_PRESENT_EXCEPTION", "INVALID_INPUT_SET", "INVALID_OVERLAY_INPUT_SET", "RESOURCE_ALREADY_EXISTS", "INVALID_JSON_PAYLOAD", "POLICY_EVALUATION_FAILURE", "POLICY_SET_ERROR", "INVALID_ARTIFACTORY_REGISTRY_REQUEST", "INVALID_NEXUS_REGISTRY_REQUEST", "ENTITY_NOT_FOUND", "GITX_OAUTH_NOT_SET", "INVALID_AZURE_CONTAINER_REGISTRY_REQUEST", "AZURE_AUTHENTICATION_ERROR", "AZURE_CONFIG_ERROR", "DATA_PROCESSING_ERROR", "INVALID_AZURE_AKS_REQUEST", "AWS_IAM_ERROR", "AWS_CF_ERROR", "AWS_INSTANCE_ERROR", "AWS_VPC_ERROR", "AWS_TAG_ERROR", "AWS_ASG_ERROR", "AWS_LOAD_BALANCER_ERROR", "SCM_INTERNAL_SERVER_ERROR_V2", "SCM_FAILED_DEPENDENCY_ERROR", "SCM_UNAUTHORIZED_ERROR_V2", "TOO_MANY_REQUESTS", "SCM_RATE_LIMIT_ERROR", "INVALID_IDENTIFIER_REF", "SPOTINST_NULL_ERROR", "SPOTNIST_REST_EXCEPTION", "SCM_UNEXPECTED_ERROR", "DUPLICATE_FILE_IMPORT", "AZURE_APP_SERVICES_TASK_EXCEPTION", "AZURE_ARM_TASK_EXCEPTION", "AZURE_BP_TASK_EXCEPTION", "MEDIA_NOT_SUPPORTED", "AWS_ECS_ERROR", "AWS_APPLICATION_AUTO_SCALING", "AWS_ECS_SERVICE_NOT_ACTIVE", "AWS_ECS_CLIENT_ERROR", "AWS_STS_ERROR", "FREEZE_EXCEPTION", "MISSING_EXCEPTION", "DELEGATE_TASK_EXPIRED", "DELEGATE_TASK_VALIDATION_FAILED", "MONGO_EXECUTION_TIMEOUT_EXCEPTION", "DELEGATE_NOT_REGISTERED", "TERRAFORM_VAULT_SECRET_CLEANUP_FAILURE", "APPROVAL_REJECTION", "TERRAGRUNT_EXECUTION_ERROR", "ADFS_ERROR", "TERRAFORM_CLOUD_ERROR", "CLUSTER_CREDENTIALS_NOT_FOUND", "SCM_API_ERROR", "INTERNAL_SERVER_ERROR", "SCM_FORBIDDEN", "AWS_EKS_ERROR", "OPA_POLICY_EVALUATION_ERROR", "USER_MARKED_FAILURE", "SSH_RETRY", "HTTP_CLIENT_ERROR_RESPONSE", "HTTP_INTERNAL_SERVER_ERROR", "HTTP_BAD_GATEWAY", "HTTP_SERVICE_UNAVAILABLE", "HTTP_GATEWAY_TIMEOUT", "HTTP_SERVER_ERROR_RESPONSE", "PIPELINE_UPDATE_EXCEPTION", "SERVICENOW_REFRESH_TOKEN_ERROR", "PARAMETER_FIELD_CAST_ERROR", "ABORT_ALL_ALREADY_NG", "WEBHOOK_EXCEPTION", "INVALID_OIDC_CONFIGURATION", "INVALID_CREDENTIALS", "INVALID_OR_PRIVATE_REPO", "BARRIER_FAILED_ERROR", "ELASTICSEARCH_NOT_AVAILABLE", "OBJECT_STORE_NOT_AVAILABLE", "NO_ELIGIBLE_RUNNERS", "NO_AVAILABLE_RUNNERS", "RUNNER_DISCONNECTED", "EVENT_LISTENER_STEP_FAILURE", "TRANSACTION_ABORTED", "UNRESOLVED_EXPRESSIONS_WITH_CONTEXT_ERROR" ]
          },
          "message" : {
            "type" : "string"
          },
          "correlationId" : {
            "type" : "string"
          },
          "detailedMessage" : {
            "type" : "string"
          },
          "responseMessages" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/ResponseMessage"
            }
          },
          "metadata" : {
            "$ref" : "#/components/schemas/ErrorMetadata"
          }
        },
        "description" : "This is Error entity as defined in Harness"
      },
      "ErrorMetadata" : {
        "type" : "object",
        "properties" : {
          "type" : {
            "type" : "string"
          }
        },
        "description" : "This implements different error meta data objects",
        "discriminator" : {
          "propertyName" : "type"
        }
      },
      "ResponseMessage" : {
        "type" : "object",
        "properties" : {
          "code" : {
            "type" : "string",
            "enum" : [ "DEFAULT_ERROR_CODE", "INVALID_ARGUMENT", "INVALID_EMAIL", "DOMAIN_NOT_ALLOWED_TO_REGISTER", "COMMNITY_EDITION_NOT_FOUND", "DEPLOY_MODE_IS_NOT_ON_PREM", "USER_ALREADY_REGISTERED", "USER_INVITATION_DOES_NOT_EXIST", "USER_DOES_NOT_EXIST", "USER_INVITE_OPERATION_FAILED", "USER_DISABLED", "ACCOUNT_DOES_NOT_EXIST", "INACTIVE_ACCOUNT", "ACCOUNT_MIGRATED", "ACCOUNT_MIGRATED_TO_NEXT_GEN", "USER_DOMAIN_NOT_ALLOWED", "MAX_FAILED_ATTEMPT_COUNT_EXCEEDED", "RESOURCE_NOT_FOUND", "INVALID_FORMAT", "ROLE_DOES_NOT_EXIST", "EMAIL_NOT_VERIFIED", "EMAIL_VERIFICATION_TOKEN_NOT_FOUND", "INVALID_TOKEN", "REVOKED_TOKEN", "INVALID_CAPTCHA_TOKEN", "NOT_ACCOUNT_MGR_NOR_HAS_ALL_APP_ACCESS", "EXPIRED_TOKEN", "INVALID_AGENT_MTLS_AUTHORITY", "TOKEN_ALREADY_REFRESHED_ONCE", "ACCESS_DENIED", "NG_ACCESS_DENIED", "INVALID_CREDENTIAL", "INVALID_CREDENTIALS_THIRD_PARTY", "INVALID_KEY", "INVALID_CONNECTOR_TYPE", "INVALID_KEYPATH", "INVALID_VARIABLE", "UNKNOWN_HOST", "UNREACHABLE_HOST", "INVALID_PORT", "SSH_SESSION_TIMEOUT", "ALGORITHM_NEGOTIATION_ERROR", "SOCKET_CONNECTION_ERROR", "CONNECTION_ERROR", "COULD_NOT_PROCESS_ERROR", "SOCKET_CONNECTION_TIMEOUT", "WINRM_COMMAND_EXECUTION_TIMEOUT", "CONNECTION_TIMEOUT", "SSH_CONNECTION_ERROR", "USER_GROUP_ERROR", "INVALID_EXECUTION_ID", "ERROR_IN_GETTING_CHANNEL_STREAMS", "UNEXPECTED", "UNKNOWN_ERROR", "UNKNOWN_EXECUTOR_TYPE_ERROR", "DUPLICATE_STATE_NAMES", "TRANSITION_NOT_LINKED", "TRANSITION_TO_INCORRECT_STATE", "TRANSITION_TYPE_NULL", "STATES_WITH_DUP_TRANSITIONS", "BARRIERS_NOT_RUNNING_CONCURRENTLY", "NON_FORK_STATES", "NON_REPEAT_STATES", "INITIAL_STATE_NOT_DEFINED", "FILE_INTEGRITY_CHECK_FAILED", "INVALID_URL", "FILE_DOWNLOAD_FAILED", "PLATFORM_SOFTWARE_DELETE_ERROR", "INVALID_CSV_FILE", "INVALID_REQUEST", "SCHEMA_VALIDATION_FAILED", "FILTER_CREATION_ERROR", "INVALID_YAML_ERROR", "PLAN_CREATION_ERROR", "INVALID_INFRA_STATE", "PIPELINE_ALREADY_TRIGGERED", "NON_EXISTING_PIPELINE", "DUPLICATE_COMMAND_NAMES", "INVALID_PIPELINE", "COMMAND_DOES_NOT_EXIST", "DUPLICATE_ARTIFACTSTREAM_NAMES", "DUPLICATE_HOST_NAMES", "STATE_NOT_FOR_TYPE", "STATE_MACHINE_ISSUE", "STATE_DISCONTINUE_FAILED", "STATE_PAUSE_FAILED", "PAUSE_ALL_ALREADY", "RESUME_ALL_ALREADY", "ROLLBACK_ALREADY", "ABORT_ALL_ALREADY", "EXPIRE_ALL_ALREADY", "RETRY_FAILED", "UNKNOWN_ARTIFACT_TYPE", "UNKNOWN_STAGE_ELEMENT_WRAPPER_TYPE", "INIT_TIMEOUT", "LICENSE_EXPIRED", "NOT_LICENSED", "REQUEST_TIMEOUT", "SCM_REQUEST_TIMEOUT", "WORKFLOW_ALREADY_TRIGGERED", "JENKINS_ERROR", "INVALID_ARTIFACT_SOURCE", "INVALID_ARTIFACT_SERVER", "INVALID_CLOUD_PROVIDER", "UPDATE_NOT_ALLOWED", "DELETE_NOT_ALLOWED", "APPDYNAMICS_CONFIGURATION_ERROR", "APM_CONFIGURATION_ERROR", "SPLUNK_CONFIGURATION_ERROR", "ELK_CONFIGURATION_ERROR", "LOGZ_CONFIGURATION_ERROR", "SUMO_CONFIGURATION_ERROR", "INSTANA_CONFIGURATION_ERROR", "APPDYNAMICS_ERROR", "STACKDRIVER_ERROR", "STACKDRIVER_CONFIGURATION_ERROR", "NEWRELIC_CONFIGURATION_ERROR", "NEWRELIC_ERROR", "DYNA_TRACE_CONFIGURATION_ERROR", "DYNA_TRACE_ERROR", "CLOUDWATCH_ERROR", "CLOUDWATCH_CONFIGURATION_ERROR", "PROMETHEUS_CONFIGURATION_ERROR", "DATA_DOG_CONFIGURATION_ERROR", "SERVICE_GUARD_CONFIGURATION_ERROR", "ENCRYPTION_NOT_CONFIGURED", "UNAVAILABLE_DELEGATES", "WORKFLOW_EXECUTION_IN_PROGRESS", "PIPELINE_EXECUTION_IN_PROGRESS", "AWS_ACCESS_DENIED", "AWS_CLUSTER_NOT_FOUND", "AWS_SERVICE_NOT_FOUND", "IMAGE_NOT_FOUND", "ILLEGAL_ARGUMENT", "IMAGE_TAG_NOT_FOUND", "DELEGATE_NOT_AVAILABLE", "INVALID_YAML_PAYLOAD", "AUTHENTICATION_ERROR", "AUTHORIZATION_ERROR", "UNRECOGNIZED_YAML_FIELDS", "COULD_NOT_MAP_BEFORE_YAML", "MISSING_BEFORE_YAML", "MISSING_YAML", "NON_EMPTY_DELETIONS", "GENERAL_YAML_ERROR", "GENERAL_YAML_INFO", "YAML_GIT_SYNC_ERROR", "GIT_CONNECTION_ERROR", "GIT_ERROR", "ARTIFACT_SERVER_ERROR", "ENCRYPT_DECRYPT_ERROR", "SECRET_MANAGEMENT_ERROR", "SECRET_NOT_FOUND", "KMS_OPERATION_ERROR", "GCP_KMS_OPERATION_ERROR", "VAULT_OPERATION_ERROR", "AWS_SECRETS_MANAGER_OPERATION_ERROR", "AZURE_KEY_VAULT_OPERATION_ERROR", "AZURE_KEY_VAULT_INTERRUPT_ERROR", "UNSUPPORTED_OPERATION_EXCEPTION", "FEATURE_UNAVAILABLE", "GENERAL_ERROR", "BASELINE_CONFIGURATION_ERROR", "SAML_IDP_CONFIGURATION_NOT_AVAILABLE", "INVALID_AUTHENTICATION_MECHANISM", "INVALID_SAML_CONFIGURATION", "INVALID_OAUTH_CONFIGURATION", "INVALID_LDAP_CONFIGURATION", "USER_GROUP_SYNC_FAILURE", "USER_GROUP_ALREADY_EXIST", "INVALID_TWO_FACTOR_AUTHENTICATION_CONFIGURATION", "EXPLANATION", "HINT", "NOT_WHITELISTED_IP", "INVALID_TOTP_TOKEN", "EMAIL_FAILED", "SSL_HANDSHAKE_FAILED", "NO_APPS_ASSIGNED", "INVALID_INFRA_CONFIGURATION", "TEMPLATES_LINKED", "USER_HAS_NO_PERMISSIONS", "USER_NOT_AUTHORIZED", "USER_ALREADY_PRESENT", "EMAIL_ERROR", "INVALID_USAGE_RESTRICTION", "USAGE_RESTRICTION_ERROR", "STATE_EXECUTION_INSTANCE_NOT_FOUND", "DELEGATE_TASK_RETRY", "KUBERNETES_API_TASK_EXCEPTION", "KUBERNETES_TASK_EXCEPTION", "KUBERNETES_YAML_ERROR", "SAVE_FILE_INTO_AWS_STORAGE_FAILED", "READ_FILE_FROM_AWS_STORAGE_FAILED", "SAVE_FILE_INTO_GCP_STORAGE_FAILED", "READ_FILE_FROM_GCP_STORAGE_FAILED", "FILE_NOT_FOUND_ERROR", "USAGE_LIMITS_EXCEEDED", "EVENT_PUBLISH_FAILED", "CUSTOM_APPROVAL_ERROR", "JIRA_ERROR", "EXPRESSION_EVALUATION_FAILED", "KUBERNETES_VALUES_ERROR", "KUBERNETES_CLUSTER_ERROR", "INCORRECT_SIGN_IN_MECHANISM", "OAUTH_LOGIN_FAILED", "INVALID_TERRAFORM_TARGETS_REQUEST", "TERRAFORM_EXECUTION_ERROR", "FILE_READ_FAILED", "FILE_SIZE_EXCEEDS_LIMIT", "CLUSTER_NOT_FOUND", "MARKETPLACE_TOKEN_NOT_FOUND", "INVALID_MARKETPLACE_TOKEN", "INVALID_TICKETING_SERVER", "SERVICENOW_ERROR", "PASSWORD_EXPIRED", "USER_LOCKED", "PASSWORD_STRENGTH_CHECK_FAILED", "ACCOUNT_DISABLED", "INVALID_ACCOUNT_PERMISSION", "PAGERDUTY_ERROR", "HEALTH_ERROR", "SAML_TEST_SUCCESS_MECHANISM_NOT_ENABLED", "DOMAIN_WHITELIST_FILTER_CHECK_FAILED", "INVALID_DASHBOARD_UPDATE_REQUEST", "DUPLICATE_FIELD", "INVALID_AZURE_VAULT_CONFIGURATION", "USER_NOT_AUTHORIZED_DUE_TO_USAGE_RESTRICTIONS", "INVALID_ROLLBACK", "DATA_COLLECTION_ERROR", "SUMO_DATA_COLLECTION_ERROR", "DEPLOYMENT_GOVERNANCE_ERROR", "BATCH_PROCESSING_ERROR", "GRAPHQL_ERROR", "FILE_CREATE_ERROR", "ILLEGAL_STATE", "GIT_DIFF_COMMIT_NOT_IN_ORDER", "FAILED_TO_ACQUIRE_PERSISTENT_LOCK", "FAILED_TO_ACQUIRE_NON_PERSISTENT_LOCK", "POD_NOT_FOUND_ERROR", "COMMAND_EXECUTION_ERROR", "REGISTRY_EXCEPTION", "ENGINE_INTERRUPT_PROCESSING_EXCEPTION", "ENGINE_IO_EXCEPTION", "ENGINE_OUTCOME_EXCEPTION", "ENGINE_SWEEPING_OUTPUT_EXCEPTION", "CACHE_NOT_FOUND_EXCEPTION", "ENGINE_ENTITY_UPDATE_EXCEPTION", "SHELL_EXECUTION_EXCEPTION", "TEMPLATE_NOT_FOUND", "AZURE_SERVICE_EXCEPTION", "AZURE_CLIENT_EXCEPTION", "GIT_UNSEEN_REMOTE_HEAD_COMMIT", "TIMEOUT_ENGINE_EXCEPTION", "NO_AVAILABLE_DELEGATES", "NO_GLOBAL_DELEGATE_ACCOUNT", "NO_INSTALLED_DELEGATES", "DUPLICATE_DELEGATE_EXCEPTION", "GCP_MARKETPLACE_EXCEPTION", "MISSING_DEFAULT_GOOGLE_CREDENTIALS", "INCORRECT_DEFAULT_GOOGLE_CREDENTIALS", "OPTIMISTIC_LOCKING_EXCEPTION", "NG_PIPELINE_EXECUTION_EXCEPTION", "NG_PIPELINE_CREATE_EXCEPTION", "RESOURCE_NOT_FOUND_EXCEPTION", "PMS_INITIALIZE_SDK_EXCEPTION", "UNEXPECTED_SNIPPET_EXCEPTION", "UNEXPECTED_SCHEMA_EXCEPTION", "CONNECTOR_VALIDATION_EXCEPTION", "TIMESCALE_NOT_AVAILABLE", "MIGRATION_EXCEPTION", "REQUEST_PROCESSING_INTERRUPTED", "SECRET_MANAGER_ID_NOT_FOUND", "GCP_SECRET_MANAGER_OPERATION_ERROR", "GCP_SECRET_OPERATION_ERROR", "GIT_OPERATION_ERROR", "TASK_FAILURE_ERROR", "INSTANCE_STATS_PROCESS_ERROR", "INSTANCE_STATS_MIGRATION_ERROR", "DEPLOYMENT_MIGRATION_ERROR", "CG_LICENSE_USAGE_ERROR", "INSTANCE_STATS_AGGREGATION_ERROR", "UNRESOLVED_EXPRESSIONS_ERROR", "KRYO_HANDLER_NOT_FOUND_ERROR", "DELEGATE_ERROR_HANDLER_EXCEPTION", "DELEGATE_SERVICE_DRIVER_EXCEPTION", "DELEGATE_INSTALLATION_COMMAND_NOT_SUPPORTED_EXCEPTION", "UNEXPECTED_TYPE_ERROR", "EXCEPTION_HANDLER_NOT_FOUND", "CONNECTOR_NOT_FOUND_EXCEPTION", "GCP_SERVER_ERROR", "HTTP_RESPONSE_EXCEPTION", "SCM_NOT_FOUND_ERROR", "SCM_CONFLICT_ERROR", "SCM_CONFLICT_ERROR_V2", "SCM_UNPROCESSABLE_ENTITY", "PROCESS_EXECUTION_EXCEPTION", "SCM_UNAUTHORIZED", "SCM_BAD_REQUEST", "SCM_INTERNAL_SERVER_ERROR", "DATA", "CONTEXT", "PR_CREATION_ERROR", "URL_NOT_REACHABLE", "URL_NOT_PROVIDED", "ENGINE_EXPRESSION_EVALUATION_ERROR", "ENGINE_FUNCTOR_ERROR", "JIRA_CLIENT_ERROR", "SCM_NOT_MODIFIED", "APPROVAL_STEP_NG_ERROR", "BUCKET_SERVER_ERROR", "GIT_SYNC_ERROR", "TEMPLATE_EXCEPTION", "TEMPLATE_ALREADY_EXISTS_EXCEPTION", "ENTITY_REFERENCE_EXCEPTION", "ACTIVE_SERVICE_INSTANCES_PRESENT_EXCEPTION", "INVALID_INPUT_SET", "INVALID_OVERLAY_INPUT_SET", "RESOURCE_ALREADY_EXISTS", "INVALID_JSON_PAYLOAD", "POLICY_EVALUATION_FAILURE", "POLICY_SET_ERROR", "INVALID_ARTIFACTORY_REGISTRY_REQUEST", "INVALID_NEXUS_REGISTRY_REQUEST", "ENTITY_NOT_FOUND", "GITX_OAUTH_NOT_SET", "INVALID_AZURE_CONTAINER_REGISTRY_REQUEST", "AZURE_AUTHENTICATION_ERROR", "AZURE_CONFIG_ERROR", "DATA_PROCESSING_ERROR", "INVALID_AZURE_AKS_REQUEST", "AWS_IAM_ERROR", "AWS_CF_ERROR", "AWS_INSTANCE_ERROR", "AWS_VPC_ERROR", "AWS_TAG_ERROR", "AWS_ASG_ERROR", "AWS_LOAD_BALANCER_ERROR", "SCM_INTERNAL_SERVER_ERROR_V2", "SCM_FAILED_DEPENDENCY_ERROR", "SCM_UNAUTHORIZED_ERROR_V2", "TOO_MANY_REQUESTS", "SCM_RATE_LIMIT_ERROR", "INVALID_IDENTIFIER_REF", "SPOTINST_NULL_ERROR", "SPOTNIST_REST_EXCEPTION", "SCM_UNEXPECTED_ERROR", "DUPLICATE_FILE_IMPORT", "AZURE_APP_SERVICES_TASK_EXCEPTION", "AZURE_ARM_TASK_EXCEPTION", "AZURE_BP_TASK_EXCEPTION", "MEDIA_NOT_SUPPORTED", "AWS_ECS_ERROR", "AWS_APPLICATION_AUTO_SCALING", "AWS_ECS_SERVICE_NOT_ACTIVE", "AWS_ECS_CLIENT_ERROR", "AWS_STS_ERROR", "FREEZE_EXCEPTION", "MISSING_EXCEPTION", "DELEGATE_TASK_EXPIRED", "DELEGATE_TASK_VALIDATION_FAILED", "MONGO_EXECUTION_TIMEOUT_EXCEPTION", "DELEGATE_NOT_REGISTERED", "TERRAFORM_VAULT_SECRET_CLEANUP_FAILURE", "APPROVAL_REJECTION", "TERRAGRUNT_EXECUTION_ERROR", "ADFS_ERROR", "TERRAFORM_CLOUD_ERROR", "CLUSTER_CREDENTIALS_NOT_FOUND", "SCM_API_ERROR", "INTERNAL_SERVER_ERROR", "SCM_FORBIDDEN", "AWS_EKS_ERROR", "OPA_POLICY_EVALUATION_ERROR", "USER_MARKED_FAILURE", "SSH_RETRY", "HTTP_CLIENT_ERROR_RESPONSE", "HTTP_INTERNAL_SERVER_ERROR", "HTTP_BAD_GATEWAY", "HTTP_SERVICE_UNAVAILABLE", "HTTP_GATEWAY_TIMEOUT", "HTTP_SERVER_ERROR_RESPONSE", "PIPELINE_UPDATE_EXCEPTION", "SERVICENOW_REFRESH_TOKEN_ERROR", "PARAMETER_FIELD_CAST_ERROR", "ABORT_ALL_ALREADY_NG", "WEBHOOK_EXCEPTION", "INVALID_OIDC_CONFIGURATION", "INVALID_CREDENTIALS", "INVALID_OR_PRIVATE_REPO", "BARRIER_FAILED_ERROR", "ELASTICSEARCH_NOT_AVAILABLE", "OBJECT_STORE_NOT_AVAILABLE", "NO_ELIGIBLE_RUNNERS", "NO_AVAILABLE_RUNNERS", "RUNNER_DISCONNECTED", "EVENT_LISTENER_STEP_FAILURE", "TRANSACTION_ABORTED", "UNRESOLVED_EXPRESSIONS_WITH_CONTEXT_ERROR" ]
          },
          "level" : {
            "type" : "string",
            "enum" : [ "INFO", "ERROR" ]
          },
          "message" : {
            "type" : "string"
          },
          "exception" : {
            "type" : "object",
            "properties" : {
              "cause" : {
                "type" : "object",
                "properties" : {
                  "stackTrace" : {
                    "type" : "array",
                    "items" : {
                      "type" : "object",
                      "properties" : {
                        "classLoaderName" : {
                          "type" : "string"
                        },
                        "moduleName" : {
                          "type" : "string"
                        },
                        "moduleVersion" : {
                          "type" : "string"
                        },
                        "methodName" : {
                          "type" : "string"
                        },
                        "fileName" : {
                          "type" : "string"
                        },
                        "lineNumber" : {
                          "type" : "integer",
                          "format" : "int32"
                        },
                        "nativeMethod" : {
                          "type" : "boolean"
                        },
                        "className" : {
                          "type" : "string"
                        }
                      }
                    }
                  },
                  "message" : {
                    "type" : "string"
                  },
                  "suppressed" : {
                    "type" : "array",
                    "items" : {
                      "type" : "object",
                      "properties" : {
                        "stackTrace" : {
                          "type" : "array",
                          "items" : {
                            "type" : "object",
                            "properties" : {
                              "classLoaderName" : {
                                "type" : "string"
                              },
                              "moduleName" : {
                                "type" : "string"
                              },
                              "moduleVersion" : {
                                "type" : "string"
                              },
                              "methodName" : {
                                "type" : "string"
                              },
                              "fileName" : {
                                "type" : "string"
                              },
                              "lineNumber" : {
                                "type" : "integer",
                                "format" : "int32"
                              },
                              "nativeMethod" : {
                                "type" : "boolean"
                              },
                              "className" : {
                                "type" : "string"
                              }
                            }
                          }
                        },
                        "message" : {
                          "type" : "string"
                        },
                        "localizedMessage" : {
                          "type" : "string"
                        }
                      }
                    }
                  },
                  "localizedMessage" : {
                    "type" : "string"
                  }
                }
              },
              "stackTrace" : {
                "type" : "array",
                "items" : {
                  "type" : "object",
                  "properties" : {
                    "classLoaderName" : {
                      "type" : "string"
                    },
                    "moduleName" : {
                      "type" : "string"
                    },
                    "moduleVersion" : {
                      "type" : "string"
                    },
                    "methodName" : {
                      "type" : "string"
                    },
                    "fileName" : {
                      "type" : "string"
                    },
                    "lineNumber" : {
                      "type" : "integer",
                      "format" : "int32"
                    },
                    "nativeMethod" : {
                      "type" : "boolean"
                    },
                    "className" : {
                      "type" : "string"
                    }
                  }
                }
              },
              "message" : {
                "type" : "string"
              },
              "suppressed" : {
                "type" : "array",
                "items" : {
                  "type" : "object",
                  "properties" : {
                    "stackTrace" : {
                      "type" : "array",
                      "items" : {
                        "type" : "object",
                        "properties" : {
                          "classLoaderName" : {
                            "type" : "string"
                          },
                          "moduleName" : {
                            "type" : "string"
                          },
                          "moduleVersion" : {
                            "type" : "string"
                          },
                          "methodName" : {
                            "type" : "string"
                          },
                          "fileName" : {
                            "type" : "string"
                          },
                          "lineNumber" : {
                            "type" : "integer",
                            "format" : "int32"
                          },
                          "nativeMethod" : {
                            "type" : "boolean"
                          },
                          "className" : {
                            "type" : "string"
                          }
                        }
                      }
                    },
                    "message" : {
                      "type" : "string"
                    },
                    "localizedMessage" : {
                      "type" : "string"
                    }
                  }
                }
              },
              "localizedMessage" : {
                "type" : "string"
              }
            }
          },
          "failureTypes" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "enum" : [ "EXPIRED", "DELEGATE_PROVISIONING", "CONNECTIVITY", "AUTHENTICATION", "VERIFICATION_FAILURE", "APPLICATION_ERROR", "AUTHORIZATION_ERROR", "TIMEOUT_ERROR", "POLICY_EVALUATION_FAILURE", "INPUT_TIMEOUT_FAILURE", "APPROVAL_REJECTION", "DELEGATE_RESTART", "USER_MARKED_FAILURE", "INFRASTRUCTURE_FAILURE", "PLUGIN_IMAGE_FAILURE", "RESOURCE_LIMITS_FAILURE", "CONFIGURATION_FAILURE", "RETRYABLE_TRANSIENT_FAILURE" ]
            }
          },
          "failureSubTypes" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "enum" : [ "UNKNOWN_FAILURE_REASON", "SOCKET_TIMEOUT", "SSL_HANDSHAKE_EXCEPTION", "IO_EXCEPTION", "AUTHORIZATION", "VALIDATION", "CONNECTION_TIMEOUT", "API_REQUEST_EXCEPTION", "NO_ELIGIBLE_DELEGATE_AVAILABLE", "NON_ACTIVE_DELEGATE", "DELEGATE_DISCONNECTED", "GENERAL_ERROR", "INPUT_ERROR", "INVALID_PARAMETERS", "MISSING_CONFIGURATION", "SECRET_RESOLUTION_ERROR", "UNAUTHORIZED", "FORBIDDEN_ERROR", "DEPENDENCY_ISSUE", "EXECUTION_FAILURE", "INVALID_MANIFEST_CONFIGURATION", "RESOURCE_NOT_FOUND", "CERTIFICATE_ERROR", "UNKNOWN_COMMAND_FLAG", "HELM_EXISTING_RESOURCE_CONFLICT", "HELM_RESOURCE_ALREADY_EXISTS", "NO_DEPLOYED_HELM_RELEASES", "HELM_INSTALL_FAILED", "HELM_UPGRADE_FAILED", "HELM_ROLLBACK_FAILED", "HELM_FETCH_FAILED", "HELM_REPO_ADD_FAILED", "HELM_RENDER_CHART_FAILED", "HELM_LIST_RELEASE_FAILED", "HELM_RELEASE_HISTORY_FAILED", "RUNNER_FAILED_TO_START", "POD_SCHEDULING_FAILED", "CONTAINER_OOM_KILLED", "DISK_SPACE_EXHAUSTED", "STEP_SETUP_TIMEOUT", "FILE_SYSTEM_PERMISSION_ERROR", "DNS_RESOLUTION_FAILED", "CONNECTION_REFUSED", "PROXY_MISCONFIGURED", "GIT_FETCH_FAILED", "REGISTRY_UNREACHABLE", "DOCKER_IMAGE_PULL_FAILED", "ENTRYPOINT_SCRIPT_FAILED", "PLUGIN_STEP_TIMEOUT", "PLUGIN_CONFIGURATION_INVALID", "PLUGIN_CRASHED", "UNSUPPORTED_PLATFORM_ARCH", "SCRIPT_EXITED_NON_ZERO", "SCRIPT_SYNTAX_ERROR", "SCRIPT_RUNTIME_CRASH", "UNIT_TESTS_FAILED", "SECURITY_SCAN_FAILED", "LINT_FORMAT_FAILED", "DEPENDENCY_RESOLUTION_FAILED", "INVALID_CREDENTIALS", "ACCESS_FORBIDDEN", "STEP_NOT_ALLOWED", "REQUIRED_FIELD_MISSING", "INVALID_YAML", "EXPRESSION_EVALUATION_FAILED", "INPUT_TYPE_MISMATCH", "INVALID_RESOURCE_REFERENCE", "CPU_EXCEEDED", "MEMORY_EXCEEDED", "ORG_PROJECT_QUOTA_EXCEEDED", "STAGE_CONCURRENCY_EXCEEDED", "RATE_LIMIT_HIT", "INTERNAL_SERVER_ERROR", "PIPELINE_EXECUTION_FAILED", "EVENT_DISPATCH_FAILED", "STEP_FAILED_TO_START", "UNSUPPORTED_FEATURE", "STEP_EXECUTION_TIMEOUT", "STAGE_EXECUTION_TIMEOUT", "APPROVAL_EXPIRED", "ARTIFACT_FETCH_TIMEOUT", "DELEGATE_TEMPORARILY_BUSY", "INFRA_COMPONENT_RESTARTED", "NETWORK_GLITCH", "REGISTRY_RATE_LIMITED", "POD_EVICTION", "UNRECOGNIZED" ]
            }
          },
          "additionalInfo" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        }
      },
      "Filter" : {
        "required" : [ "filterProperties", "identifier", "name" ],
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string",
            "description" : "Name of the Filter."
          },
          "identifier" : {
            "type" : "string",
            "description" : "Identifier of the Filter."
          },
          "orgIdentifier" : {
            "type" : "string",
            "description" : "Organization Identifier for the Entity."
          },
          "projectIdentifier" : {
            "type" : "string",
            "description" : "Project Identifier for the Entity."
          },
          "filterProperties" : {
            "$ref" : "#/components/schemas/FilterProperties"
          },
          "filterVisibility" : {
            "type" : "string",
            "description" : "This indicates visibility of Filter, by default it is Everyone.",
            "enum" : [ "EveryOne", "OnlyCreator" ]
          }
        },
        "description" : "This has details of the Filter entity defined in Harness"
      },
      "FilterProperties" : {
        "required" : [ "filterType" ],
        "type" : "object",
        "properties" : {
          "tags" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "Filter tags as a key-value pair."
            },
            "description" : "Filter tags as a key-value pair."
          },
          "filterType" : {
            "type" : "string",
            "description" : "This specifies the corresponding Entity of the filter.",
            "enum" : [ "Connector", "Secret", "DelegateProfile", "Delegate", "PipelineSetup", "PipelineExecution", "Deployment", "Audit", "Template", "Trigger", "EnvironmentGroup", "FileStore", "CCMRecommendation", "Anomaly", "RIInventory", "SPInventory", "Autocud", "CCMConnector", "CCMK8sConnector", "Environment", "RuleExecution", "Override", "InputSet", "Webhook", "CCMBudget", "Service", "QueuedPipeline" ]
          }
        },
        "description" : "Properties of the Filter entity defined in Harness.",
        "discriminator" : {
          "propertyName" : "filterType"
        }
      },
      "ResponseDTOFilter" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "data" : {
            "$ref" : "#/components/schemas/Filter"
          },
          "metaData" : {
            "type" : "object"
          },
          "correlationId" : {
            "type" : "string"
          }
        }
      },
      "ResponseDTOBoolean" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "data" : {
            "type" : "boolean"
          },
          "metaData" : {
            "type" : "object"
          },
          "correlationId" : {
            "type" : "string"
          }
        }
      },
      "PageResponseFilter" : {
        "type" : "object",
        "properties" : {
          "totalPages" : {
            "type" : "integer",
            "format" : "int64"
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64"
          },
          "pageItemCount" : {
            "type" : "integer",
            "format" : "int64"
          },
          "pageSize" : {
            "type" : "integer",
            "format" : "int64"
          },
          "content" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/Filter"
            }
          },
          "pageIndex" : {
            "type" : "integer",
            "format" : "int64"
          },
          "empty" : {
            "type" : "boolean"
          },
          "pageToken" : {
            "type" : "string"
          }
        }
      },
      "ResponseDTOPageResponseFilter" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "data" : {
            "$ref" : "#/components/schemas/PageResponseFilter"
          },
          "metaData" : {
            "type" : "object"
          },
          "correlationId" : {
            "type" : "string"
          }
        }
      },
      "AddCollaboratorAuditEventData" : {
        "required" : [ "source", "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "source" : {
              "$ref" : "#/components/schemas/Source"
            }
          }
        } ]
      },
      "AuditEvent" : {
        "required" : [ "action", "authenticationInfo", "insertId", "module", "resource", "resourceScope", "timestamp" ],
        "type" : "object",
        "properties" : {
          "auditId" : {
            "type" : "string",
            "description" : "Identifier of the Audit."
          },
          "insertId" : {
            "type" : "string",
            "description" : "Insert Identifier of the Audit."
          },
          "resourceScope" : {
            "$ref" : "#/components/schemas/ResourceScope"
          },
          "httpRequestInfo" : {
            "$ref" : "#/components/schemas/HttpRequestInfo"
          },
          "requestMetadata" : {
            "$ref" : "#/components/schemas/RequestMetadata"
          },
          "timestamp" : {
            "type" : "integer",
            "format" : "int64"
          },
          "authenticationInfo" : {
            "$ref" : "#/components/schemas/AuthenticationInfo"
          },
          "impersonatingAuthenticationInfo" : {
            "$ref" : "#/components/schemas/AuthenticationInfo"
          },
          "module" : {
            "type" : "string",
            "description" : "Type of module associated with the Audit.",
            "enum" : [ "CD", "CI", "CV", "CF", "CE", "STO", "CHAOS", "AI_TEST_AUTOMATION", "SRM", "IACM", "CET", "IDP", "CODE", "SSCA", "AISRE", "CORE", "PMS", "TEMPLATESERVICE", "RMG", "GOVERNANCE", "PLATFORM", "SEI", "HAR", "DevopsEssentials", "FME", "DBOPS", "AI_AGENT_MLOPS", "AASP", "AARP", "AAST", "AISEC" ]
          },
          "environment" : {
            "$ref" : "#/components/schemas/Environment"
          },
          "resource" : {
            "$ref" : "#/components/schemas/Resource"
          },
          "action" : {
            "minLength" : 1,
            "type" : "string",
            "description" : "Action type associated with the Audit."
          },
          "auditEventData" : {
            "$ref" : "#/components/schemas/AuditEventData"
          },
          "internalInfo" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "Internal information."
            },
            "description" : "Internal information."
          }
        },
        "description" : "This has the AuditEvent details defined in Harness."
      },
      "AuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "properties" : {
          "type" : {
            "type" : "string"
          }
        },
        "discriminator" : {
          "propertyName" : "type"
        }
      },
      "AuthenticationInfo" : {
        "required" : [ "principal" ],
        "type" : "object",
        "properties" : {
          "principal" : {
            "$ref" : "#/components/schemas/Principal"
          },
          "labels" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "labels"
            },
            "description" : "labels"
          }
        },
        "description" : "This has the AuthenticationInfo details defined in Harness."
      },
      "ChaosAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "eventModule" : {
              "type" : "string"
            }
          }
        } ]
      },
      "Environment" : {
        "required" : [ "identifier", "type" ],
        "type" : "object",
        "properties" : {
          "type" : {
            "type" : "string",
            "enum" : [ "PreProduction", "Production" ]
          },
          "identifier" : {
            "type" : "string"
          }
        },
        "description" : "List of Environments"
      },
      "FeatureFlagAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "environment" : {
              "type" : "string"
            }
          }
        } ]
      },
      "GitopsAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "agentId" : {
              "type" : "string"
            }
          }
        } ]
      },
      "HttpRequestInfo" : {
        "type" : "object",
        "properties" : {
          "requestMethod" : {
            "type" : "string"
          }
        }
      },
      "InvitationSource" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/Source"
        } ]
      },
      "NodeExecutionEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "accountIdentifier" : {
              "type" : "string"
            },
            "orgIdentifier" : {
              "type" : "string"
            },
            "projectIdentifier" : {
              "type" : "string"
            },
            "pipelineIdentifier" : {
              "type" : "string"
            },
            "stageIdentifier" : {
              "type" : "string"
            },
            "stageType" : {
              "type" : "string"
            },
            "planExecutionId" : {
              "type" : "string"
            },
            "runSequence" : {
              "type" : "integer",
              "format" : "int32"
            },
            "nodeExecutionId" : {
              "type" : "string"
            },
            "status" : {
              "type" : "string"
            },
            "triggeredBy" : {
              "$ref" : "#/components/schemas/TriggeredByInfoAuditDetails"
            },
            "startTs" : {
              "type" : "integer",
              "format" : "int64"
            },
            "endTs" : {
              "type" : "integer",
              "format" : "int64"
            }
          }
        } ]
      },
      "OpaAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "eventModule" : {
              "type" : "string"
            }
          }
        } ]
      },
      "PageResponseAuditEvent" : {
        "type" : "object",
        "properties" : {
          "totalPages" : {
            "type" : "integer",
            "format" : "int64"
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64"
          },
          "pageItemCount" : {
            "type" : "integer",
            "format" : "int64"
          },
          "pageSize" : {
            "type" : "integer",
            "format" : "int64"
          },
          "content" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/AuditEvent"
            }
          },
          "pageIndex" : {
            "type" : "integer",
            "format" : "int64"
          },
          "empty" : {
            "type" : "boolean"
          },
          "pageToken" : {
            "type" : "string"
          }
        }
      },
      "PipelineMoveAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "sourceOrgIdentifier" : {
              "type" : "string"
            },
            "sourceProjectIdentifier" : {
              "type" : "string"
            },
            "targetOrgIdentifier" : {
              "type" : "string"
            },
            "targetProjectIdentifier" : {
              "type" : "string"
            }
          }
        } ]
      },
      "Principal" : {
        "required" : [ "identifier", "type" ],
        "type" : "object",
        "properties" : {
          "type" : {
            "type" : "string",
            "enum" : [ "USER", "SYSTEM", "API_KEY", "SERVICE_ACCOUNT" ]
          },
          "identifier" : {
            "type" : "string"
          }
        },
        "description" : "List of Principals"
      },
      "RequestMetadata" : {
        "type" : "object",
        "properties" : {
          "clientIP" : {
            "type" : "string"
          }
        }
      },
      "Resource" : {
        "required" : [ "identifier", "type" ],
        "type" : "object",
        "properties" : {
          "type" : {
            "type" : "string",
            "description" : "Resource Type"
          },
          "identifier" : {
            "type" : "string",
            "description" : "Resource Identifier"
          },
          "labels" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "Map of additional information about the Resource."
            },
            "description" : "Map of additional information about the Resource."
          }
        },
        "description" : "This contains info about Resource saved as a part of Audit Event"
      },
      "ResourceScope" : {
        "type" : "object",
        "properties" : {
          "accountIdentifier" : {
            "type" : "string",
            "description" : "Identifier of Account"
          },
          "orgIdentifier" : {
            "type" : "string",
            "description" : "Identifier of Organization"
          },
          "projectIdentifier" : {
            "type" : "string",
            "description" : "Identifier of Project"
          },
          "labels" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "Additional information about the Resource Scope"
            },
            "description" : "Additional information about the Resource Scope"
          }
        },
        "description" : "This has scope details for the resource defined in Harness."
      },
      "ResponseDTOPageResponseAuditEvent" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "data" : {
            "$ref" : "#/components/schemas/PageResponseAuditEvent"
          },
          "metaData" : {
            "type" : "object"
          },
          "correlationId" : {
            "type" : "string"
          }
        }
      },
      "RoleBinding" : {
        "type" : "object",
        "properties" : {
          "roleIdentifier" : {
            "type" : "string"
          },
          "resourceGroupIdentifier" : {
            "type" : "string"
          }
        }
      },
      "ServiceDiscoveryAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "eventModule" : {
              "type" : "string"
            }
          }
        } ]
      },
      "Source" : {
        "required" : [ "type" ],
        "type" : "object",
        "properties" : {
          "type" : {
            "type" : "string"
          }
        },
        "discriminator" : {
          "propertyName" : "type"
        }
      },
      "TemplateEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "comments" : {
              "type" : "string"
            },
            "templateUpdateEventType" : {
              "type" : "string"
            },
            "newStableVersion" : {
              "type" : "string"
            },
            "oldStableVersion" : {
              "type" : "string"
            },
            "label" : {
              "type" : "string"
            },
            "fromVersionLabel" : {
              "type" : "string"
            },
            "toVersionLabel" : {
              "type" : "string"
            }
          }
        } ]
      },
      "TriggeredByInfoAuditDetails" : {
        "type" : "object",
        "properties" : {
          "type" : {
            "type" : "string"
          },
          "identifier" : {
            "type" : "string"
          },
          "extraInfo" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        }
      },
      "UnsuccessfulLoginEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "loginType" : {
              "type" : "string"
            },
            "failureReason" : {
              "type" : "string"
            }
          }
        } ]
      },
      "UserInvitationAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "roleBindings" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/components/schemas/RoleBinding"
              }
            }
          }
        } ]
      },
      "UserInviteAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "roleBindings" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/components/schemas/RoleBinding"
              }
            }
          }
        } ]
      },
      "UserMembershipAuditEventData" : {
        "required" : [ "type" ],
        "type" : "object",
        "allOf" : [ {
          "$ref" : "#/components/schemas/AuditEventData"
        }, {
          "type" : "object",
          "properties" : {
            "mechanism" : {
              "type" : "string"
            }
          }
        } ]
      },
      "SortOrder" : {
        "type" : "object",
        "properties" : {
          "fieldName" : {
            "type" : "string"
          },
          "orderType" : {
            "type" : "string",
            "enum" : [ "ASC", "DESC" ]
          }
        }
      },
      "AuditFilterProperties" : {
        "type" : "object",
        "properties" : {
          "scopes" : {
            "type" : "array",
            "description" : "List of Resource Scopes",
            "items" : {
              "$ref" : "#/components/schemas/ResourceScope"
            }
          },
          "resources" : {
            "type" : "array",
            "description" : "List of Resources",
            "items" : {
              "$ref" : "#/components/schemas/Resource"
            }
          },
          "includeChildScopes" : {
            "type" : "boolean",
            "description" : "Include audits from child scopes",
            "default" : true
          },
          "modules" : {
            "type" : "array",
            "description" : "List of Module Types",
            "items" : {
              "type" : "string",
              "description" : "List of Module Types",
              "enum" : [ "CD", "CI", "CV", "CF", "CE", "STO", "CHAOS", "AI_TEST_AUTOMATION", "SRM", "IACM", "CET", "IDP", "CODE", "SSCA", "AISRE", "CORE", "PMS", "TEMPLATESERVICE", "RMG", "GOVERNANCE", "PLATFORM", "SEI", "HAR", "DevopsEssentials", "FME", "DBOPS", "AI_AGENT_MLOPS", "AASP", "AARP", "AAST", "AISEC" ]
            }
          },
          "actions" : {
            "type" : "array",
            "description" : "List of Actions",
            "items" : {
              "type" : "string",
              "description" : "List of Actions"
            }
          },
          "environments" : {
            "type" : "array",
            "description" : "List of Environments",
            "items" : {
              "$ref" : "#/components/schemas/Environment"
            }
          },
          "principals" : {
            "type" : "array",
            "description" : "List of Principals",
            "items" : {
              "$ref" : "#/components/schemas/Principal"
            }
          },
          "staticFilter" : {
            "type" : "string",
            "description" : "Pre-defined Filter",
            "enum" : [ "EXCLUDE_LOGIN_EVENTS", "EXCLUDE_SYSTEM_EVENTS" ]
          },
          "startTime" : {
            "type" : "integer",
            "description" : "Used to specify a start time for retrieving Audit events that occurred at or after the time indicated.",
            "format" : "int64"
          },
          "endTime" : {
            "type" : "integer",
            "description" : "Used to specify the end time for retrieving Audit events that occurred at or before the time indicated.",
            "format" : "int64"
          },
          "tags" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "Filter tags as a key-value pair."
            },
            "description" : "Filter tags as a key-value pair."
          },
          "filterType" : {
            "type" : "string",
            "description" : "This specifies the corresponding Entity of the filter.",
            "enum" : [ "Audit" ]
          }
        },
        "description" : "This contains the Audit Event filter information. This is used to filter Audit Events depending on the information provided."
      },
      "ResponseDTOSliceResponseAuditEvent" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "data" : {
            "$ref" : "#/components/schemas/SliceResponseAuditEvent"
          },
          "metaData" : {
            "type" : "object"
          },
          "correlationId" : {
            "type" : "string"
          }
        }
      },
      "SliceResponseAuditEvent" : {
        "type" : "object",
        "properties" : {
          "pageItemCount" : {
            "type" : "integer",
            "format" : "int64"
          },
          "pageSize" : {
            "type" : "integer",
            "format" : "int64"
          },
          "content" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/AuditEvent"
            }
          },
          "pageIndex" : {
            "type" : "integer",
            "format" : "int64"
          },
          "hasNext" : {
            "type" : "boolean"
          },
          "pageToken" : {
            "type" : "string"
          }
        }
      },
      "ResponseDTOYamlDiffRecord" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "data" : {
            "$ref" : "#/components/schemas/YamlDiffRecord"
          },
          "metaData" : {
            "type" : "object"
          },
          "correlationId" : {
            "type" : "string"
          }
        }
      },
      "YamlDiffRecord" : {
        "type" : "object",
        "properties" : {
          "oldYaml" : {
            "type" : "string",
            "description" : "Previous YAML version"
          },
          "newYaml" : {
            "type" : "string",
            "description" : "Current YAML version"
          }
        },
        "description" : "This has the YAML Difference of the record."
      },
      "AuditEventYamlDiff" : {
        "type" : "object",
        "properties" : {
          "auditEventId" : {
            "type" : "string",
            "description" : "The audit event ID this diff corresponds to."
          },
          "diff" : {
            "$ref" : "#/components/schemas/JsonNode"
          },
          "error" : {
            "type" : "string",
            "description" : "Error code if the diff could not be computed for this event."
          }
        },
        "description" : "Computed YAML diff for a single audit event in RFC 6902 JSON Patch format."
      },
      "JsonNode" : {
        "type" : "object",
        "description" : "RFC 6902 JSON Patch array representing field-level changes. Each entry has op (add/remove/replace), path, value, and fromValue (for replace/remove)."
      },
      "ResponseDTOYamlDiffResponse" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "SUCCESS", "FAILURE", "ERROR" ]
          },
          "data" : {
            "$ref" : "#/components/schemas/YamlDiffResponse"
          },
          "metaData" : {
            "type" : "object"
          },
          "correlationId" : {
            "type" : "string"
          }
        }
      },
      "YamlDiffResponse" : {
        "type" : "object",
        "properties" : {
          "diffs" : {
            "type" : "array",
            "description" : "Per-event diff results. Absent entries were silently omitted (non-whitelisted type or no yamlDiff record).",
            "items" : {
              "$ref" : "#/components/schemas/AuditEventYamlDiff"
            }
          },
          "batchTruncated" : {
            "type" : "boolean",
            "description" : "True when the total response size reached the 1 MB batch cap before all requested event IDs were processed. Remaining event IDs were omitted. Re-request in smaller batches to retrieve them."
          }
        },
        "description" : "Batch response containing per-event YAML diffs and a batch-level truncation indicator."
      },
      "YamlDiffRequest" : {
        "required" : [ "auditEventIds" ],
        "type" : "object",
        "properties" : {
          "auditEventIds" : {
            "maxItems" : 20,
            "minItems" : 0,
            "type" : "array",
            "description" : "List of audit event IDs to compute YAML diffs for. Maximum 20 per request.",
            "items" : {
              "type" : "string",
              "description" : "List of audit event IDs to compute YAML diffs for. Maximum 20 per request."
            }
          }
        },
        "description" : "Request body for computing YAML diffs for audit events."
      }
    }
  }
}