INTERFACE
HubPolicyQueries
query entrypoint for hub policy provider
link GraphQL Schema definition
- interface HubPolicyQueries {
- # Get policy details based on filter criteria
- #
- # Arguments
- # after: Return records after the given cursor, as per GraphQL
- # Relay spec
- # before: Return records before the given cursor, as per GraphQL
- # Relay spec
- # filter: Optional filters to filter policies that are fetched
- # first: Return first N records in a paged response, as per
- # GraphQL Relay spec
- # sort: Results are sorted as per fields and order specified.
- # Supported fields are policyName, createdBy and updatedBy
- (
- String, :
- String, :
- QueryFilter, :
- Int, :
- QuerySort!] : [
- ): HubPolicyConnection
- # Get policy run details.
- # All providers may not have run details and in that case 'Not implemented'
- # exception should be thrown.
- #
- # Arguments
- # after: Return records after the given cursor, as per GraphQL
- # Relay spec
- # before: Return records before the given cursor, as per GraphQL
- # Relay spec
- # filter: Optional filters to filter policy runs that are
- # fetched.
- # first: Return first N records in a paged response, as per
- # GraphQL Relay spec
- # sort: Results are sorted as per fields and order specified.
- # Supported fields are name, status. Default Sort will be on LastUpdateTime
- (
- String, :
- String, :
- QueryFilter, :
- Int, :
- QuerySort!] : [
- ): HubPolicyRunConnection
- }