1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# frozen_string_literal: true
module Types
module Clusters
class AgentActivityEventType < BaseObject
graphql_name 'ClusterAgentActivityEvent'
authorize :read_cluster
connection_type_class(Types::CountableConnectionType)
field :recorded_at,
Types::TimeType,
null: true,
description: 'Timestamp the event was recorded.'
field :kind,
GraphQL::Types::String,
null: true,
description: 'Type of event.'
field :level,
GraphQL::Types::String,
null: true,
description: 'Severity of the event.'
field :user,
Types::UserType,
null: true,
description: 'User associated with the event.'
field :agent_token,
Types::Clusters::AgentTokenType,
null: true,
description: 'Agent token associated with the event.'
end
end
end
|