Catalog Custom Properties

Catalog Custom Properties

Ingest catalog custom properties

Ingest catalog custom properties

Securityx-api-key
Request
query Parameters
dry_run
boolean

Dry run catalog custom properties

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema:
property
required
string
value
required
object
mode
string
Enum: "append" "replace"
required
object (ScorecardFilter)
skip_entity_refs
Array of strings
Responses
200

Example response

post/v1/catalog/custom-properties
Request samples
{
  • "property": "string",
  • "value": { },
  • "mode": "append",
  • "filter": {
    },
  • "skip_entity_refs": [
    ]
}
Response samples
{
  • "property": "string",
  • "entities_with_additions": {
    },
  • "entities_with_updates": {
    }
}

Delete catalog custom properties

Delete catalog custom properties

Securityx-api-key
Request
query Parameters
dry_run
boolean

Dry run catalog custom properties

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema:
property
required
string
required
object (ScorecardFilter)
skip_entity_refs
Array of strings
Responses
200

Example response

delete/v1/catalog/custom-properties
Request samples
{
  • "property": "string",
  • "filter": {
    },
  • "skip_entity_refs": [
    ]
}
Response samples
{
  • "property": "string",
  • "entities_with_deletion": {
    }
}

Get catalog custom properties for given entity

Get catalog custom properties for given entity

Securityx-api-key
Request
query Parameters
entity_ref
required
string

Identifier for catalog entity

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Example response

get/v1/catalog/custom-properties/entity
Request samples
Response samples
{
  • "properties": [
    ]
}

Ingest catalog custom properties for given entity

Ingest catalog custom properties for given entity

Securityx-api-key
Request
query Parameters
dry_run
boolean

Dry run catalog custom properties

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema:
entity_ref
string
property
string
value
object
mode
string
Enum: "append" "replace"
Array of objects (PropertyValue)
Responses
200

Example response

post/v1/catalog/custom-properties/entity
Request samples
{
  • "entity_ref": "string",
  • "property": "string",
  • "value": { },
  • "mode": "append",
  • "properties": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "message": "string"
}

Delete catalog custom properties for given entity

Delete catalog custom properties for given entity

Securityx-api-key
Request
query Parameters
dry_run
boolean

Dry run catalog custom properties

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema:
entity_ref
required
string
property
string
properties
Array of strings
Responses
200

Example response

delete/v1/catalog/custom-properties/entity
Request samples
{
  • "entity_ref": "string",
  • "property": "string",
  • "properties": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "message": "string"
}

Get entities for given custom property

Get entities for given custom property

Securityx-api-key
Request
query Parameters
property
required
string

Identifier for catalog property

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Example response

get/v1/catalog/custom-properties/property
Request samples
Response samples
{
  • "entity_refs": [
    ],
  • "mode": "string"
}

Ingest entities for given custom property

Ingest entities for given custom property

Securityx-api-key
Request
query Parameters
dry_run
boolean

Dry run catalog custom properties

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema:
entity_ref
string
property
string
value
object
mode
string
Enum: "append" "replace"
Array of objects (EntityValue)
Responses
200

Example response

post/v1/catalog/custom-properties/property
Request samples
{
  • "entity_ref": "string",
  • "property": "string",
  • "value": { },
  • "mode": "append",
  • "entity_refs": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "message": "string"
}

Delete entities for given custom property

Delete entities for given custom property

Securityx-api-key
Request
query Parameters
dry_run
boolean

Dry run catalog custom properties

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema:
property
required
string
entity_ref
string
entity_refs
Array of strings
Responses
200

Example response

delete/v1/catalog/custom-properties/property
Request samples
{
  • "property": "string",
  • "entity_ref": "string",
  • "entity_refs": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "message": "string"
}