Skip to content
  • Auto
  • Light
  • Dark
Get Started

Retrieve

Get Compliance Framework Attribute Value
client.Attributes.ComplianceFrameworks.Get(ctx, id) (*ValueAttributeValueAttributeComplianceFrameworkGetResponse, error)
get/api/v1/attributes/compliance_frameworks/{id}

Get an attribute value by id.

Parameters
idstring

The id field.

Returns
AttributeComplianceFrameworkGetResponsestruct

The GetComplianceFrameworkAttributeValueResponse message.

Hide ParametersShow Parameters
ValueIDstringAttributeTypeIDstringCreatedAtTimeDeletedAtTimeUpdatedAtTimeValuestringAttributeValue
optional

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

Request example Go
package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/-go"
  "github.com/stainless-sdks/-go/option"
)

func main() {
  client := conductoronesdk.NewClient(
    option.WithAPIKey("My API Key"),
  )
  complianceFramework, err := client.Attributes.ComplianceFrameworks.Get(context.TODO(), "id")
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", complianceFramework.Value)
}
200 Example
{
  "value": {
    "id": "id",
    "attributeTypeId": "attributeTypeId",
    "value": "value"
  }
}