Current logic assumes a complex object assetId and pathSpec.
Based on the evolution of IDQL, we now just use resource_id.
In order to do this, the recommendation is to enhance opaTools ReqPrams struct to have the attribute Resource_ids []string. This allows the requesting app to ask about a specific resource(s). The reason for plural is to avoid constrain apps that might have multiple logical resources or just a simple name.
Current logic assumes a complex object
assetId
andpathSpec
.Based on the evolution of IDQL, we now just use
resource_id
.In order to do this, the recommendation is to enhance opaTools
ReqPrams
struct to have the attributeResource_ids []string
. This allows the requesting app to ask about a specific resource(s). The reason for plural is to avoid constrain apps that might have multiple logical resources or just a simple name.