# Functions
CreateQueries to initialize the queries struct.
Helper to generate a random query name.
Helper to generate the time.Time for the expiration of a query or carve based on hours.
# Constants
CarveQueryType defines a regular query.
No description provided by the author
No description provided by the author
No description provided by the author
MetadataQueryType defines a regular query.
QueryTargetEnvironment defines environment as target.
QueryTargetLocalname defines localname as target.
QueryTargetPlatform defines platform as target.
QueryTargetUUID defines uuid as target.
StandardQueryType defines a regular query.
StatusActive defines active status constant.
StatusComplete defines complete status constant.
StatusExpired defines expired status constant.
TargetActive for active queries.
TargetAll for all queries but hidden.
TargetAllFull for all queries including hidden ones.
TargetCompleted for completed queries.
TargetDeleted for deleted queries.
TargetExpired for expired queries.
TargetHidden for hidden queries.
TargetHiddenActive for hidden active queries.
TargetHiddenCompleted for hidden completed queries.
TargetSaved for saved queries.
# Structs
DistributedQuery as abstraction of a distributed query.
DistributedQueryTarget to keep target logic for queries.
NodeQuery links a node to a query.
Queries to handle on-demand queries.
SavedQuery as abstraction of a saved query to be used in distributed, schedule or packs.
# Type aliases
QueryReadQueries to hold all the on-demand queries.