Audit Filters
This contains APIs related to Filter of type Audit as defined in Harness
Page number of navigation. If left empty, default value of 0 is assumed
0Number of entries per page. If left empty, default value of 100 is assumed
100Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Text to search/filter the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of Filters of type Audit
GET /auditFilters?accountIdentifier=text HTTP/1.1
Host: platform-service-6ccff6c88d-fn7wc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
This has details of the Filter entity defined in Harness
Name of the Filter.
Identifier of the Filter.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This indicates visibility of Filter, by default it is Everyone.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns created Filter
POST /auditFilters?accountIdentifier=text HTTP/1.1
Host: platform-service-6ccff6c88d-fn7wc
Content-Type: application/json
Accept: */*
Content-Length: 203
{
"name": "text",
"identifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"filterProperties": {
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"filterType": "Connector"
},
"filterVisibility": "EveryOne"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
This has details of the Filter entity defined in Harness
Name of the Filter.
Identifier of the Filter.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This indicates visibility of Filter, by default it is Everyone.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the updated Filter
PUT /auditFilters?accountIdentifier=text HTTP/1.1
Host: platform-service-6ccff6c88d-fn7wc
Content-Type: application/json
Accept: */*
Content-Length: 203
{
"name": "text",
"identifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"filterProperties": {
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"filterType": "Connector"
},
"filterVisibility": "EveryOne"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Filter Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns Filter of type Audit and having filterIdentifier as specified in request
GET /auditFilters/{identifier}?accountIdentifier=text HTTP/1.1
Host: platform-service-6ccff6c88d-fn7wc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Filter Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Boolean status whether request was successful or not
DELETE /auditFilters/{identifier}?accountIdentifier=text HTTP/1.1
Host: platform-service-6ccff6c88d-fn7wc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?