Skip to content
  • Auto
  • Light
  • Dark
Get Started

Attributes

Attributes

Attributes

Create Attribute Value
client.Attributes.New(ctx, body) (*ValueAttributeValueAttributeNewResponse, error)
post/api/v1/attributes
Get Attribute Value
client.Attributes.Get(ctx, id) (*ValueAttributeValueAttributeGetResponse, error)
get/api/v1/attributes/{id}
Delete Attribute Value
client.Attributes.Delete(ctx, id, body) (*AttributeDeleteResponse, error)
delete/api/v1/attribute/{id}
Attribute Value
AttributeValuestruct

AttributeValue is the value of an attribute of a defined type.

ShowShow
IDstring
optional

The ID of the AttributeValue.

AttributeTypeIDstring
optional

The ID of the AttributeType that this AttributeValue belongs to.

CreatedAtTime
optional
formatdate-time
DeletedAtTime
optional
formatdate-time
UpdatedAtTime
optional
formatdate-time
Valuestring
optional

The value of the AttributeValue. This is the string that will be displayed to the user.

AttributesCompliance Frameworks

Create Compliance Framework Attribute Value
client.Attributes.ComplianceFrameworks.New(ctx, body) (*ValueAttributeValueAttributeComplianceFrameworkNewResponse, error)
post/api/v1/attributes/compliance_frameworks
Get Compliance Framework Attribute Value
client.Attributes.ComplianceFrameworks.Get(ctx, id) (*ValueAttributeValueAttributeComplianceFrameworkGetResponse, error)
get/api/v1/attributes/compliance_frameworks/{id}
Delete Compliance Framework Attribute Value
client.Attributes.ComplianceFrameworks.Delete(ctx, id, body) (*AttributeComplianceFrameworkDeleteResponse, error)
delete/api/v1/attributes/compliance_frameworks/{id}

AttributesRisk Levels

Create Risk Level Attribute Value
client.Attributes.RiskLevels.New(ctx, body) (*ValueAttributeValueAttributeRiskLevelNewResponse, error)
post/api/v1/attributes/risk_levels
Get Risk Level Attribute Value
client.Attributes.RiskLevels.Get(ctx, id) (*ValueAttributeValueAttributeRiskLevelGetResponse, error)
get/api/v1/attributes/risk_levels/{id}
Delete Risk Level Attribute Value
client.Attributes.RiskLevels.Delete(ctx, id, body) (*AttributeRiskLevelDeleteResponse, error)
delete/api/v1/attributes/risk_levels/{id}

AttributesTypes

List Attribute Types
client.Attributes.Types.List(ctx, query) (*ListarrayNextPageTokenstringAttributeTypeListResponse, error)
get/api/v1/attributes/types
List Attribute Values
client.Attributes.Types.ListValues(ctx, attributeTypeID, query) (*ListarrayNextPageTokenstringAttributeTypeListValuesResponse, error)
get/api/v1/attributes/types/{attribute_type_id}/values