Documentation
¶
Overview ¶
Package api provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen v1.8.3 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.8.3 DO NOT EDIT.
Index ¶
- Constants
- func NewApiControllersActiveResponseControllerRunCommandRequest(server string, params *ActiveResponseControllerRunCommandParams, ...) (*http.Request, error)
- func NewApiControllersActiveResponseControllerRunCommandRequestWithBody(server string, params *ActiveResponseControllerRunCommandParams, ...) (*http.Request, error)
- func NewApiControllersAgentControllerAddAgentRequest(server string, params *AgentControllerAddAgentParams, ...) (*http.Request, error)
- func NewApiControllersAgentControllerAddAgentRequestWithBody(server string, params *AgentControllerAddAgentParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersAgentControllerDeleteAgentsRequest(server string, params *AgentControllerDeleteAgentsParams) (*http.Request, error)
- func NewApiControllersAgentControllerDeleteGroupsRequest(server string, params *AgentControllerDeleteGroupsParams) (*http.Request, error)
- func NewApiControllersAgentControllerDeleteMultipleAgentSingleGroupRequest(server string, params *AgentControllerDeleteMultipleAgentSingleGroupParams) (*http.Request, error)
- func NewApiControllersAgentControllerDeleteSingleAgentMultipleGroupsRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersAgentControllerDeleteSingleAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, ...) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentConfigRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentFieldsRequest(server string, params *AgentControllerGetAgentFieldsParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentKeyRequest(server string, agentId AgentId, params *AgentControllerGetAgentKeyParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentNoGroupRequest(server string, params *AgentControllerGetAgentNoGroupParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentOutdatedRequest(server string, params *AgentControllerGetAgentOutdatedParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentSummaryOsRequest(server string, params *AgentControllerGetAgentSummaryOsParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentSummaryStatusRequest(server string, params *AgentControllerGetAgentSummaryStatusParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentUpgradeRequest(server string, params *AgentControllerGetAgentUpgradeParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentsInGroupRequest(server string, groupId GroupId, params *AgentControllerGetAgentsInGroupParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetAgentsRequest(server string, params *AgentControllerGetAgentsParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetComponentStatsRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersAgentControllerGetDaemonStatsRequest(server string, agentId AgentId, params *AgentControllerGetDaemonStatsParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetGroupConfigRequest(server string, groupId GroupId, params *AgentControllerGetGroupConfigParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetGroupFileJsonRequest(server string, groupId GroupId, fileName FileName, ...) (*http.Request, error)
- func NewApiControllersAgentControllerGetGroupFileXmlRequest(server string, groupId GroupId, fileName FileName, ...) (*http.Request, error)
- func NewApiControllersAgentControllerGetGroupFilesRequest(server string, groupId GroupId, params *AgentControllerGetGroupFilesParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetListGroupRequest(server string, params *AgentControllerGetListGroupParams) (*http.Request, error)
- func NewApiControllersAgentControllerGetSyncAgentRequest(server string, agentId AgentId, params *AgentControllerGetSyncAgentParams) (*http.Request, error)
- func NewApiControllersAgentControllerInsertAgentRequest(server string, params *AgentControllerInsertAgentParams, ...) (*http.Request, error)
- func NewApiControllersAgentControllerInsertAgentRequestWithBody(server string, params *AgentControllerInsertAgentParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersAgentControllerPostGroupRequest(server string, params *AgentControllerPostGroupParams, ...) (*http.Request, error)
- func NewApiControllersAgentControllerPostGroupRequestWithBody(server string, params *AgentControllerPostGroupParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersAgentControllerPostNewAgentRequest(server string, params *AgentControllerPostNewAgentParams) (*http.Request, error)
- func NewApiControllersAgentControllerPutAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, ...) (*http.Request, error)
- func NewApiControllersAgentControllerPutGroupConfigRequestWithBody(server string, groupId GroupId, params *AgentControllerPutGroupConfigParams, ...) (*http.Request, error)
- func NewApiControllersAgentControllerPutMultipleAgentSingleGroupRequest(server string, params *AgentControllerPutMultipleAgentSingleGroupParams) (*http.Request, error)
- func NewApiControllersAgentControllerPutUpgradeAgentsRequest(server string, params *AgentControllerPutUpgradeAgentsParams) (*http.Request, error)
- func NewApiControllersAgentControllerPutUpgradeCustomAgentsRequest(server string, params *AgentControllerPutUpgradeCustomAgentsParams) (*http.Request, error)
- func NewApiControllersAgentControllerReconnectAgentsRequest(server string, params *AgentControllerReconnectAgentsParams) (*http.Request, error)
- func NewApiControllersAgentControllerRestartAgentRequest(server string, agentId AgentId, params *AgentControllerRestartAgentParams) (*http.Request, error)
- func NewApiControllersAgentControllerRestartAgentsByGroupRequest(server string, groupId GroupId, ...) (*http.Request, error)
- func NewApiControllersAgentControllerRestartAgentsByNodeRequest(server string, nodeId NodeId, params *AgentControllerRestartAgentsByNodeParams) (*http.Request, error)
- func NewApiControllersAgentControllerRestartAgentsRequest(server string, params *AgentControllerRestartAgentsParams) (*http.Request, error)
- func NewApiControllersCdbListControllerDeleteFileRequest(server string, filename ListFilenamePath, ...) (*http.Request, error)
- func NewApiControllersCdbListControllerGetFileRequest(server string, filename ListFilenamePath, ...) (*http.Request, error)
- func NewApiControllersCdbListControllerGetListsFilesRequest(server string, params *CdbListControllerGetListsFilesParams) (*http.Request, error)
- func NewApiControllersCdbListControllerGetListsRequest(server string, params *CdbListControllerGetListsParams) (*http.Request, error)
- func NewApiControllersCdbListControllerPutFileRequestWithBody(server string, filename ListFilenamePath, ...) (*http.Request, error)
- func NewApiControllersCiscatControllerGetAgentsCiscatResultsRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetApiConfigRequest(server string, params *ClusterControllerGetApiConfigParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetClusterNodeRequest(server string, params *ClusterControllerGetClusterNodeParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetClusterNodesRequest(server string, params *ClusterControllerGetClusterNodesParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetConfValidationRequest(server string, params *ClusterControllerGetConfValidationParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetConfigRequest(server string, params *ClusterControllerGetConfigParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetConfigurationNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetDaemonStatsNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetHealthcheckRequest(server string, params *ClusterControllerGetHealthcheckParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetInfoNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetInfoNodeParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetLogNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogNodeParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetLogSummaryNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetNodeConfigRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetNodesRulesetSyncStatusRequest(server string, params *ClusterControllerGetNodesRulesetSyncStatusParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetStatsAnalysisdNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetStatsHourlyNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetStatsNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsNodeParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetStatsRemotedNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetStatsWeeklyNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersClusterControllerGetStatusNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatusNodeParams) (*http.Request, error)
- func NewApiControllersClusterControllerGetStatusRequest(server string, params *ClusterControllerGetStatusParams) (*http.Request, error)
- func NewApiControllersClusterControllerPutRestartRequest(server string, params *ClusterControllerPutRestartParams) (*http.Request, error)
- func NewApiControllersClusterControllerUpdateConfigurationRequestWithBody(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewApiControllersDecoderControllerDeleteFileRequest(server string, filename XmlFilenamePath, ...) (*http.Request, error)
- func NewApiControllersDecoderControllerGetDecodersFilesRequest(server string, params *DecoderControllerGetDecodersFilesParams) (*http.Request, error)
- func NewApiControllersDecoderControllerGetDecodersParentsRequest(server string, params *DecoderControllerGetDecodersParentsParams) (*http.Request, error)
- func NewApiControllersDecoderControllerGetDecodersRequest(server string, params *DecoderControllerGetDecodersParams) (*http.Request, error)
- func NewApiControllersDecoderControllerGetFileRequest(server string, filename XmlFilenamePath, ...) (*http.Request, error)
- func NewApiControllersDecoderControllerPutFileRequestWithBody(server string, filename XmlFilenamePath, ...) (*http.Request, error)
- func NewApiControllersDefaultControllerDefaultInfoRequest(server string, params *DefaultControllerDefaultInfoParams) (*http.Request, error)
- func NewApiControllersEventControllerForwardEventRequest(server string, params *EventControllerForwardEventParams, ...) (*http.Request, error)
- func NewApiControllersEventControllerForwardEventRequestWithBody(server string, params *EventControllerForwardEventParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersExperimentalControllerClearRootcheckDatabaseRequest(server string, params *ExperimentalControllerClearRootcheckDatabaseParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerClearSyscheckDatabaseRequest(server string, params *ExperimentalControllerClearSyscheckDatabaseParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetCisCatResultsRequest(server string, params *ExperimentalControllerGetCisCatResultsParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetHardwareInfoRequest(server string, params *ExperimentalControllerGetHardwareInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetHotfixesInfoRequest(server string, params *ExperimentalControllerGetHotfixesInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetNetworkAddressInfoRequest(server string, params *ExperimentalControllerGetNetworkAddressInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetNetworkInterfaceInfoRequest(server string, params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetNetworkProtocolInfoRequest(server string, params *ExperimentalControllerGetNetworkProtocolInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetOsInfoRequest(server string, params *ExperimentalControllerGetOsInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetPackagesInfoRequest(server string, params *ExperimentalControllerGetPackagesInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetPortsInfoRequest(server string, params *ExperimentalControllerGetPortsInfoParams) (*http.Request, error)
- func NewApiControllersExperimentalControllerGetProcessesInfoRequest(server string, params *ExperimentalControllerGetProcessesInfoParams) (*http.Request, error)
- func NewApiControllersLogtestControllerEndLogtestSessionRequest(server string, token LogtestToken, ...) (*http.Request, error)
- func NewApiControllersLogtestControllerRunLogtestToolRequest(server string, params *LogtestControllerRunLogtestToolParams, ...) (*http.Request, error)
- func NewApiControllersLogtestControllerRunLogtestToolRequestWithBody(server string, params *LogtestControllerRunLogtestToolParams, ...) (*http.Request, error)
- func NewApiControllersManagerControllerCheckAvailableVersionRequest(server string, params *ManagerControllerCheckAvailableVersionParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetApiConfigRequest(server string, params *ManagerControllerGetApiConfigParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetConfValidationRequest(server string, params *ManagerControllerGetConfValidationParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetConfigurationRequest(server string, params *ManagerControllerGetConfigurationParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetDaemonStatsRequest(server string, params *ManagerControllerGetDaemonStatsParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetInfoRequest(server string, params *ManagerControllerGetInfoParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetLogRequest(server string, params *ManagerControllerGetLogParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetLogSummaryRequest(server string, params *ManagerControllerGetLogSummaryParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetManagerConfigOndemandRequest(server string, ...) (*http.Request, error)
- func NewApiControllersManagerControllerGetStatsAnalysisdRequest(server string, params *ManagerControllerGetStatsAnalysisdParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetStatsHourlyRequest(server string, params *ManagerControllerGetStatsHourlyParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetStatsRemotedRequest(server string, params *ManagerControllerGetStatsRemotedParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetStatsRequest(server string, params *ManagerControllerGetStatsParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetStatsWeeklyRequest(server string, params *ManagerControllerGetStatsWeeklyParams) (*http.Request, error)
- func NewApiControllersManagerControllerGetStatusRequest(server string, params *ManagerControllerGetStatusParams) (*http.Request, error)
- func NewApiControllersManagerControllerPutRestartRequest(server string, params *ManagerControllerPutRestartParams) (*http.Request, error)
- func NewApiControllersManagerControllerUpdateConfigurationRequestWithBody(server string, params *ManagerControllerUpdateConfigurationParams, ...) (*http.Request, error)
- func NewApiControllersMitreControllerGetGroupsRequest(server string, params *MitreControllerGetGroupsParams) (*http.Request, error)
- func NewApiControllersMitreControllerGetMetadataRequest(server string, params *MitreControllerGetMetadataParams) (*http.Request, error)
- func NewApiControllersMitreControllerGetMitigationsRequest(server string, params *MitreControllerGetMitigationsParams) (*http.Request, error)
- func NewApiControllersMitreControllerGetReferencesRequest(server string, params *MitreControllerGetReferencesParams) (*http.Request, error)
- func NewApiControllersMitreControllerGetSoftwareRequest(server string, params *MitreControllerGetSoftwareParams) (*http.Request, error)
- func NewApiControllersMitreControllerGetTacticsRequest(server string, params *MitreControllerGetTacticsParams) (*http.Request, error)
- func NewApiControllersMitreControllerGetTechniquesRequest(server string, params *MitreControllerGetTechniquesParams) (*http.Request, error)
- func NewApiControllersOverviewControllerGetOverviewAgentsRequest(server string, params *OverviewControllerGetOverviewAgentsParams) (*http.Request, error)
- func NewApiControllersRootcheckControllerDeleteRootcheckRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersRootcheckControllerGetLastScanAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersRootcheckControllerGetRootcheckAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersRootcheckControllerPutRootcheckRequest(server string, params *RootcheckControllerPutRootcheckParams) (*http.Request, error)
- func NewApiControllersRuleControllerDeleteFileRequest(server string, filename XmlFilenamePath, ...) (*http.Request, error)
- func NewApiControllersRuleControllerGetFileRequest(server string, filename XmlFilenamePath, params *RuleControllerGetFileParams) (*http.Request, error)
- func NewApiControllersRuleControllerGetRulesFilesRequest(server string, params *RuleControllerGetRulesFilesParams) (*http.Request, error)
- func NewApiControllersRuleControllerGetRulesGroupsRequest(server string, params *RuleControllerGetRulesGroupsParams) (*http.Request, error)
- func NewApiControllersRuleControllerGetRulesRequest(server string, params *RuleControllerGetRulesParams) (*http.Request, error)
- func NewApiControllersRuleControllerGetRulesRequirementRequest(server string, requirement RuleControllerGetRulesRequirementParamsRequirement, ...) (*http.Request, error)
- func NewApiControllersRuleControllerPutFileRequestWithBody(server string, filename XmlFilenamePath, params *RuleControllerPutFileParams, ...) (*http.Request, error)
- func NewApiControllersScaControllerGetScaAgentRequest(server string, agentId AgentId, params *ScaControllerGetScaAgentParams) (*http.Request, error)
- func NewApiControllersScaControllerGetScaChecksRequest(server string, agentId AgentId, policyId PolicyId, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerAddPolicyRequest(server string, params *SecurityControllerAddPolicyParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerAddPolicyRequestWithBody(server string, params *SecurityControllerAddPolicyParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerAddRoleRequest(server string, params *SecurityControllerAddRoleParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerAddRoleRequestWithBody(server string, params *SecurityControllerAddRoleParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerAddRuleRequest(server string, params *SecurityControllerAddRuleParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerAddRuleRequestWithBody(server string, params *SecurityControllerAddRuleParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerCreateUserRequest(server string, params *SecurityControllerCreateUserParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerCreateUserRequestWithBody(server string, params *SecurityControllerCreateUserParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerDeleteSecurityConfigRequest(server string, params *SecurityControllerDeleteSecurityConfigParams) (*http.Request, error)
- func NewApiControllersSecurityControllerDeleteUsersRequest(server string, params *SecurityControllerDeleteUsersParams) (*http.Request, error)
- func NewApiControllersSecurityControllerDeprecatedLoginUserRequest(server string, params *SecurityControllerDeprecatedLoginUserParams) (*http.Request, error)
- func NewApiControllersSecurityControllerEditRunAsRequest(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerGetPoliciesRequest(server string, params *SecurityControllerGetPoliciesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetRbacActionsRequest(server string, params *SecurityControllerGetRbacActionsParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetRbacResourcesRequest(server string, params *SecurityControllerGetRbacResourcesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetRolesRequest(server string, params *SecurityControllerGetRolesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetRulesRequest(server string, params *SecurityControllerGetRulesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetSecurityConfigRequest(server string, params *SecurityControllerGetSecurityConfigParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetUserMePoliciesRequest(server string, params *SecurityControllerGetUserMePoliciesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetUserMeRequest(server string, params *SecurityControllerGetUserMeParams) (*http.Request, error)
- func NewApiControllersSecurityControllerGetUsersRequest(server string, params *SecurityControllerGetUsersParams) (*http.Request, error)
- func NewApiControllersSecurityControllerLoginUserRequest(server string, params *SecurityControllerLoginUserParams) (*http.Request, error)
- func NewApiControllersSecurityControllerLogoutUserRequest(server string) (*http.Request, error)
- func NewApiControllersSecurityControllerPutSecurityConfigRequest(server string, params *SecurityControllerPutSecurityConfigParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerPutSecurityConfigRequestWithBody(server string, params *SecurityControllerPutSecurityConfigParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerRemovePoliciesRequest(server string, params *SecurityControllerRemovePoliciesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerRemoveRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams) (*http.Request, error)
- func NewApiControllersSecurityControllerRemoveRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams) (*http.Request, error)
- func NewApiControllersSecurityControllerRemoveRolesRequest(server string, params *SecurityControllerRemoveRolesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerRemoveRulesRequest(server string, params *SecurityControllerRemoveRulesParams) (*http.Request, error)
- func NewApiControllersSecurityControllerRemoveUserRoleRequest(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerRevokeAllTokensRequest(server string) (*http.Request, error)
- func NewApiControllersSecurityControllerRunAsLoginRequest(server string, params *SecurityControllerRunAsLoginParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerRunAsLoginRequestWithBody(server string, params *SecurityControllerRunAsLoginParams, contentType string, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerSetRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerSetRolePolicyParams) (*http.Request, error)
- func NewApiControllersSecurityControllerSetRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerSetRoleRuleParams) (*http.Request, error)
- func NewApiControllersSecurityControllerSetUserRoleRequest(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdatePolicyRequest(server string, policyId PolicyIdRbac, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdatePolicyRequestWithBody(server string, policyId PolicyIdRbac, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdateRoleRequest(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdateRoleRequestWithBody(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdateRuleRequest(server string, ruleId SecurityRuleId, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdateRuleRequestWithBody(server string, ruleId SecurityRuleId, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdateUserRequest(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewApiControllersSecurityControllerUpdateUserRequestWithBody(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewApiControllersSyscheckControllerDeleteSyscheckAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscheckControllerGetLastScanAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscheckControllerGetSyscheckAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscheckControllerPutSyscheckRequest(server string, params *SyscheckControllerPutSyscheckParams) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetHardwareInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetHotfixInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetNetworkAddressInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetNetworkInterfaceInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetNetworkProtocolInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetOsInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetOsInfoParams) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetPackagesInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetPortsInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersSyscollectorControllerGetProcessesInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersTaskControllerGetTasksStatusRequest(server string, params *TaskControllerGetTasksStatusParams) (*http.Request, error)
- func NewApiControllersVulnerabilityControllerGetLastScanAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersVulnerabilityControllerGetVulnerabilitiesFieldSummaryRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewApiControllersVulnerabilityControllerGetVulnerabilityAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- type APIClient
- type ActiveResponseBody
- type ActiveResponseController
- type ActiveResponseControllerInterface
- type ActiveResponseControllerRunCommandJSONBody
- type ActiveResponseControllerRunCommandJSONRequestBody
- type ActiveResponseControllerRunCommandParams
- type ActiveResponseControllerRunCommandResponse
- type Adapter
- type Address
- type Agent
- type AgentConfiguration
- type AgentController
- func (c *AgentController) AddAgent(params *AgentControllerAddAgentParams, ...) (*AgentIdKey, error)
- func (c *AgentController) AddAgentWithBody(params *AgentControllerAddAgentParams, arg2 string, body io.Reader, ...) (*AgentIdKey, error)
- func (c *AgentController) DeleteAgents(params *AgentControllerDeleteAgentsParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *AgentController) DeleteGroups(params *AgentControllerDeleteGroupsParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *AgentController) DeleteMultipleAgentSingleGroup(params *AgentControllerDeleteMultipleAgentSingleGroupParams, ...) (..., error)
- func (c *AgentController) DeleteSingleAgentMultipleGroups(arg1 AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams, ...) (..., error)
- func (c *AgentController) DeleteSingleAgentSingleGroup(arg1 AgentId, arg2 GroupId, ...) (*ApiResponse, error)
- func (c *AgentController) GetAgentConfig(arg1 AgentId, arg2 AgentControllerGetAgentConfigParamsComponent, ...) (*AgentConfiguration, error)
- func (c *AgentController) GetAgentFields(params *AgentControllerGetAgentFieldsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsDistinct, error)
- func (c *AgentController) GetAgentKey(arg1 AgentId, params *AgentControllerGetAgentKeyParams, ...) (*AllItemsResponseAgentsKeys, error)
- func (c *AgentController) GetAgentNoGroup(params *AgentControllerGetAgentNoGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
- func (c *AgentController) GetAgentOutdated(params *AgentControllerGetAgentOutdatedParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsSimple, error)
- func (c *AgentController) GetAgentSummaryOs(params *AgentControllerGetAgentSummaryOsParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *AgentController) GetAgentSummaryStatus(params *AgentControllerGetAgentSummaryStatusParams, ...) (*AgentsSummaryStatus, error)
- func (c *AgentController) GetAgentUpgrade(params *AgentControllerGetAgentUpgradeParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
- func (c *AgentController) GetAgents(params *AgentControllerGetAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
- func (c *AgentController) GetAgentsInGroup(arg1 GroupId, params *AgentControllerGetAgentsInGroupParams, ...) (*AllItemsResponseAgents, error)
- func (c *AgentController) GetComponentStats(arg1 AgentId, arg2 AgentControllerGetComponentStatsParamsComponent, ...) (*ApiResponse, error)
- func (c *AgentController) GetGroupConfig(arg1 GroupId, params *AgentControllerGetGroupConfigParams, ...) (..., error)
- func (c *AgentController) GetGroupFileJSON(arg1 GroupId, arg2 FileName, params *AgentControllerGetGroupFileJsonParams, ...) (*any, error)
- func (c *AgentController) GetGroupFileXML(arg1 GroupId, arg2 FileName, params *AgentControllerGetGroupFileXmlParams, ...) (*AgentControllerGetGroupFileXmlResponse, error)
- func (c *AgentController) GetGroupFiles(arg1 GroupId, params *AgentControllerGetGroupFilesParams, ...) (*AllItemsResponse, error)
- func (c *AgentController) GetListGroup(params *AgentControllerGetListGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseGroups, error)
- func (c *AgentController) GetSyncAgent(arg1 AgentId, params *AgentControllerGetSyncAgentParams, ...) (*AllItemsResponseAgentsSynced, error)
- func (c *AgentController) InsertAgent(params *AgentControllerInsertAgentParams, ...) (*AgentIdKey, error)
- func (c *AgentController) InsertAgentWithBody(params *AgentControllerInsertAgentParams, arg2 string, body io.Reader, ...) (*AgentIdKey, error)
- func (c *AgentController) PostGroup(params *AgentControllerPostGroupParams, ...) (*ApiResponse, error)
- func (c *AgentController) PostGroupWithBody(params *AgentControllerPostGroupParams, arg2 string, body io.Reader, ...) (*ApiResponse, error)
- func (c *AgentController) PostNewAgent(params *AgentControllerPostNewAgentParams, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
- func (c *AgentController) PutAgentSingleGroup(arg1 AgentId, arg2 GroupId, params *AgentControllerPutAgentSingleGroupParams, ...) (*ApiResponse, error)
- func (c *AgentController) PutGroupConfigWithBody(arg1 GroupId, params *AgentControllerPutGroupConfigParams, arg3 string, ...) (*ApiResponse, error)
- func (c *AgentController) PutMultipleAgentSingleGroup(params *AgentControllerPutMultipleAgentSingleGroupParams, ...) (..., error)
- func (c *AgentController) PutUpgradeAgents(params *AgentControllerPutUpgradeAgentsParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
- func (c *AgentController) PutUpgradeCustomAgents(params *AgentControllerPutUpgradeCustomAgentsParams, ...) (*ApiResponse, error)
- func (c *AgentController) ReconnectAgents(params *AgentControllerReconnectAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
- func (c *AgentController) RestartAgent(arg1 AgentId, params *AgentControllerRestartAgentParams, ...) (*ItemAffected, error)
- func (c *AgentController) RestartAgents(params *AgentControllerRestartAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
- func (c *AgentController) RestartAgentsByGroup(arg1 GroupId, params *AgentControllerRestartAgentsByGroupParams, ...) (*AllItemsResponseAgentIDs, error)
- func (c *AgentController) RestartAgentsByNode(arg1 NodeId, params *AgentControllerRestartAgentsByNodeParams, ...) (*AllItemsResponseAgentIDs, error)
- type AgentControllerAddAgentJSONBody
- type AgentControllerAddAgentJSONRequestBody
- type AgentControllerAddAgentParams
- type AgentControllerAddAgentResponse
- type AgentControllerDeleteAgentsParams
- type AgentControllerDeleteAgentsParamsStatus
- type AgentControllerDeleteAgentsResponse
- type AgentControllerDeleteGroupsParams
- type AgentControllerDeleteGroupsResponse
- type AgentControllerDeleteMultipleAgentSingleGroupParams
- type AgentControllerDeleteMultipleAgentSingleGroupResponse
- type AgentControllerDeleteSingleAgentMultipleGroupsParams
- type AgentControllerDeleteSingleAgentMultipleGroupsResponse
- type AgentControllerDeleteSingleAgentSingleGroupParams
- type AgentControllerDeleteSingleAgentSingleGroupResponse
- type AgentControllerGetAgentConfigParams
- type AgentControllerGetAgentConfigParamsComponent
- type AgentControllerGetAgentConfigParamsConfiguration
- type AgentControllerGetAgentConfigResponse
- type AgentControllerGetAgentFieldsParams
- type AgentControllerGetAgentFieldsResponse
- type AgentControllerGetAgentKeyParams
- type AgentControllerGetAgentKeyResponse
- type AgentControllerGetAgentNoGroupParams
- type AgentControllerGetAgentNoGroupResponse
- type AgentControllerGetAgentOutdatedParams
- type AgentControllerGetAgentOutdatedResponse
- type AgentControllerGetAgentSummaryOsParams
- type AgentControllerGetAgentSummaryOsResponse
- type AgentControllerGetAgentSummaryStatusParams
- type AgentControllerGetAgentSummaryStatusResponse
- type AgentControllerGetAgentUpgradeParams
- type AgentControllerGetAgentUpgradeResponse
- type AgentControllerGetAgentsInGroupParams
- type AgentControllerGetAgentsInGroupParamsStatus
- type AgentControllerGetAgentsInGroupResponse
- type AgentControllerGetAgentsParams
- type AgentControllerGetAgentsParamsGroupConfigStatus
- type AgentControllerGetAgentsParamsStatus
- type AgentControllerGetAgentsResponse
- type AgentControllerGetComponentStatsParams
- type AgentControllerGetComponentStatsParamsComponent
- type AgentControllerGetComponentStatsResponse
- type AgentControllerGetDaemonStatsParams
- type AgentControllerGetDaemonStatsParamsDaemonsList
- type AgentControllerGetDaemonStatsResponse
- type AgentControllerGetGroupConfigParams
- type AgentControllerGetGroupConfigResponse
- type AgentControllerGetGroupFileJsonParams
- type AgentControllerGetGroupFileJsonParamsType
- type AgentControllerGetGroupFileJsonResponse
- type AgentControllerGetGroupFileXmlParams
- type AgentControllerGetGroupFileXmlParamsType
- type AgentControllerGetGroupFileXmlResponse
- type AgentControllerGetGroupFilesParams
- type AgentControllerGetGroupFilesParamsHash
- type AgentControllerGetGroupFilesResponse
- type AgentControllerGetListGroupParams
- type AgentControllerGetListGroupParamsHash
- type AgentControllerGetListGroupResponse
- type AgentControllerGetSyncAgentParams
- type AgentControllerGetSyncAgentResponse
- type AgentControllerInsertAgentJSONBody
- type AgentControllerInsertAgentJSONRequestBody
- type AgentControllerInsertAgentParams
- type AgentControllerInsertAgentResponse
- type AgentControllerInterface
- type AgentControllerPostGroupJSONBody
- type AgentControllerPostGroupJSONRequestBody
- type AgentControllerPostGroupParams
- type AgentControllerPostGroupResponse
- type AgentControllerPostNewAgentParams
- type AgentControllerPostNewAgentResponse
- type AgentControllerPutAgentSingleGroupParams
- type AgentControllerPutAgentSingleGroupResponse
- type AgentControllerPutGroupConfigParams
- type AgentControllerPutGroupConfigResponse
- type AgentControllerPutMultipleAgentSingleGroupParams
- type AgentControllerPutMultipleAgentSingleGroupResponse
- type AgentControllerPutUpgradeAgentsParams
- type AgentControllerPutUpgradeAgentsResponse
- type AgentControllerPutUpgradeCustomAgentsParams
- type AgentControllerPutUpgradeCustomAgentsResponse
- type AgentControllerReconnectAgentsParams
- type AgentControllerReconnectAgentsResponse
- type AgentControllerRestartAgentParams
- type AgentControllerRestartAgentResponse
- type AgentControllerRestartAgentsByGroupParams
- type AgentControllerRestartAgentsByGroupResponse
- type AgentControllerRestartAgentsByNodeParams
- type AgentControllerRestartAgentsByNodeResponse
- type AgentControllerRestartAgentsParams
- type AgentControllerRestartAgentsResponse
- type AgentDistinct
- type AgentGroup
- type AgentGroupDeleted
- type AgentID
- type AgentIDListAll
- type AgentId
- type AgentIdKey
- type AgentInsertForce
- type AgentName
- type AgentSimple
- type AgentStatus
- type AgentSynced
- type AgentsList
- type AgentsListAll
- type AgentsSummaryStatus
- type AllItemsResponse
- type AllItemsResponseAgentIDs
- type AllItemsResponseAgents
- type AllItemsResponseAgentsDistinct
- type AllItemsResponseAgentsKeys
- type AllItemsResponseAgentsSimple
- type AllItemsResponseAgentsSynced
- type AllItemsResponseCiscatResult
- type AllItemsResponseClusterNodes
- type AllItemsResponseDecoders
- type AllItemsResponseDecodersFiles
- type AllItemsResponseGroupIDs
- type AllItemsResponseGroups
- type AllItemsResponseLastScan
- type AllItemsResponseLists
- type AllItemsResponseListsFiles
- type AllItemsResponseNodeHealthcheck
- type AllItemsResponseNodeIDs
- type AllItemsResponseNodeRulesetSynchronizationStatus
- type AllItemsResponsePolicies
- type AllItemsResponseRoles
- type AllItemsResponseRules
- type AllItemsResponseRulesFiles
- type AllItemsResponseSCAChecks
- type AllItemsResponseSCADatabase
- type AllItemsResponseSyscheckResult
- type AllItemsResponseSyscollectorHardware
- type AllItemsResponseSyscollectorHotfixes
- type AllItemsResponseSyscollectorInterface
- type AllItemsResponseSyscollectorNetwork
- type AllItemsResponseSyscollectorOS
- type AllItemsResponseSyscollectorPackages
- type AllItemsResponseSyscollectorPorts
- type AllItemsResponseSyscollectorProcesses
- type AllItemsResponseSyscollectorProtocol
- type AllItemsResponseUsers
- type AllItemsResponseValidationStatus
- type AllItemsResponseVulnerabilities
- type AllItemsResponseVulnerability
- type AllItemsResponseWazuhDaemonStats
- type AllItemsResponseWazuhDaemonStatsAgents
- type AllItemsResponseWazuhLogs
- type AllItemsResponseWazuhStats
- type AllowRunAs
- type ApiError
- type ApiError_DapiErrors
- type ApiResponse
- type Architecture
- type BasicInfo
- type Benchmark
- type BoardSerial
- type Broadcast
- type CDBList
- type CDBListFile
- type CDBListPair
- type CdbListController
- func (c *CdbListController) DeleteFile(arg1 ListFilenamePath, params *CdbListControllerDeleteFileParams, ...) (..., error)
- func (c *CdbListController) GetFile(arg1 ListFilenamePath, params *CdbListControllerGetFileParams, ...) (*AllItemsResponseListsFiles, error)
- func (c *CdbListController) GetLists(params *CdbListControllerGetListsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseLists, error)
- func (c *CdbListController) GetListsFiles(params *CdbListControllerGetListsFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseListsFiles, error)
- func (c *CdbListController) PutFileWithBody(arg1 ListFilenamePath, params *CdbListControllerPutFileParams, arg3 string, ...) (..., error)
- type CdbListControllerDeleteFileParams
- type CdbListControllerDeleteFileResponse
- type CdbListControllerGetFileParams
- type CdbListControllerGetFileResponse
- type CdbListControllerGetListsFilesParams
- type CdbListControllerGetListsFilesResponse
- type CdbListControllerGetListsParams
- type CdbListControllerGetListsResponse
- type CdbListControllerInterface
- type CdbListControllerPutFileParams
- type CdbListControllerPutFileResponse
- type Cis
- type CiscatController
- type CiscatControllerGetAgentsCiscatResultsParams
- type CiscatControllerGetAgentsCiscatResultsResponse
- type CiscatControllerInterface
- type CiscatResults
- type Client
- func (c *Client) ActiveResponseControllerRunCommand(ctx context.Context, params *ActiveResponseControllerRunCommandParams, ...) (*http.Response, error)
- func (c *Client) ActiveResponseControllerRunCommandWithBody(ctx context.Context, params *ActiveResponseControllerRunCommandParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerAddAgent(ctx context.Context, params *AgentControllerAddAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerAddAgentWithBody(ctx context.Context, params *AgentControllerAddAgentParams, contentType string, ...) (*http.Response, error)
- func (c *Client) AgentControllerDeleteAgents(ctx context.Context, params *AgentControllerDeleteAgentsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerDeleteGroups(ctx context.Context, params *AgentControllerDeleteGroupsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerDeleteMultipleAgentSingleGroup(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) AgentControllerDeleteSingleAgentMultipleGroups(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentControllerDeleteSingleAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentConfig(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentFields(ctx context.Context, params *AgentControllerGetAgentFieldsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentKey(ctx context.Context, agentId AgentId, params *AgentControllerGetAgentKeyParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentNoGroup(ctx context.Context, params *AgentControllerGetAgentNoGroupParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentOutdated(ctx context.Context, params *AgentControllerGetAgentOutdatedParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentSummaryOs(ctx context.Context, params *AgentControllerGetAgentSummaryOsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentSummaryStatus(ctx context.Context, params *AgentControllerGetAgentSummaryStatusParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentUpgrade(ctx context.Context, params *AgentControllerGetAgentUpgradeParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgents(ctx context.Context, params *AgentControllerGetAgentsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetAgentsInGroup(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetComponentStats(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetDaemonStats(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetGroupConfig(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetGroupFileJson(ctx context.Context, groupId GroupId, fileName FileName, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetGroupFileXml(ctx context.Context, groupId GroupId, fileName FileName, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetGroupFiles(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetListGroup(ctx context.Context, params *AgentControllerGetListGroupParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerGetSyncAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentControllerInsertAgent(ctx context.Context, params *AgentControllerInsertAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerInsertAgentWithBody(ctx context.Context, params *AgentControllerInsertAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerPostGroup(ctx context.Context, params *AgentControllerPostGroupParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerPostGroupWithBody(ctx context.Context, params *AgentControllerPostGroupParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerPostNewAgent(ctx context.Context, params *AgentControllerPostNewAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerPutAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentControllerPutGroupConfigWithBody(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentControllerPutMultipleAgentSingleGroup(ctx context.Context, params *AgentControllerPutMultipleAgentSingleGroupParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerPutUpgradeAgents(ctx context.Context, params *AgentControllerPutUpgradeAgentsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerPutUpgradeCustomAgents(ctx context.Context, params *AgentControllerPutUpgradeCustomAgentsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerReconnectAgents(ctx context.Context, params *AgentControllerReconnectAgentsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerRestartAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentControllerRestartAgents(ctx context.Context, params *AgentControllerRestartAgentsParams, ...) (*http.Response, error)
- func (c *Client) AgentControllerRestartAgentsByGroup(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentControllerRestartAgentsByNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) CdbListControllerDeleteFile(ctx context.Context, filename ListFilenamePath, ...) (*http.Response, error)
- func (c *Client) CdbListControllerGetFile(ctx context.Context, filename ListFilenamePath, ...) (*http.Response, error)
- func (c *Client) CdbListControllerGetLists(ctx context.Context, params *CdbListControllerGetListsParams, ...) (*http.Response, error)
- func (c *Client) CdbListControllerGetListsFiles(ctx context.Context, params *CdbListControllerGetListsFilesParams, ...) (*http.Response, error)
- func (c *Client) CdbListControllerPutFileWithBody(ctx context.Context, filename ListFilenamePath, ...) (*http.Response, error)
- func (c *Client) CiscatControllerGetAgentsCiscatResults(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetApiConfig(ctx context.Context, params *ClusterControllerGetApiConfigParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetClusterNode(ctx context.Context, params *ClusterControllerGetClusterNodeParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetClusterNodes(ctx context.Context, params *ClusterControllerGetClusterNodesParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetConfValidation(ctx context.Context, params *ClusterControllerGetConfValidationParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetConfig(ctx context.Context, params *ClusterControllerGetConfigParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetConfigurationNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetDaemonStatsNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetHealthcheck(ctx context.Context, params *ClusterControllerGetHealthcheckParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetInfoNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetLogNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetLogSummaryNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetNodeConfig(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetNodesRulesetSyncStatus(ctx context.Context, params *ClusterControllerGetNodesRulesetSyncStatusParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetStatsAnalysisdNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetStatsHourlyNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetStatsNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetStatsRemotedNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetStatsWeeklyNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetStatus(ctx context.Context, params *ClusterControllerGetStatusParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerGetStatusNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerPutRestart(ctx context.Context, params *ClusterControllerPutRestartParams, ...) (*http.Response, error)
- func (c *Client) ClusterControllerUpdateConfigurationWithBody(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) Debugf(format string, v ...any)
- func (c *Client) DecoderControllerDeleteFile(ctx context.Context, filename XmlFilenamePath, ...) (*http.Response, error)
- func (c *Client) DecoderControllerGetDecoders(ctx context.Context, params *DecoderControllerGetDecodersParams, ...) (*http.Response, error)
- func (c *Client) DecoderControllerGetDecodersFiles(ctx context.Context, params *DecoderControllerGetDecodersFilesParams, ...) (*http.Response, error)
- func (c *Client) DecoderControllerGetDecodersParents(ctx context.Context, params *DecoderControllerGetDecodersParentsParams, ...) (*http.Response, error)
- func (c *Client) DecoderControllerGetFile(ctx context.Context, filename XmlFilenamePath, ...) (*http.Response, error)
- func (c *Client) DecoderControllerPutFileWithBody(ctx context.Context, filename XmlFilenamePath, ...) (*http.Response, error)
- func (c *Client) DefaultControllerDefaultInfo(ctx context.Context, params *DefaultControllerDefaultInfoParams, ...) (*http.Response, error)
- func (c *Client) Do(req *http.Request) (*http.Response, error)
- func (c *Client) Errorf(format string, v ...any)
- func (c *Client) EventControllerForwardEvent(ctx context.Context, params *EventControllerForwardEventParams, ...) (*http.Response, error)
- func (c *Client) EventControllerForwardEventWithBody(ctx context.Context, params *EventControllerForwardEventParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerClearRootcheckDatabase(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerClearSyscheckDatabase(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetCisCatResults(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetHardwareInfo(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetHotfixesInfo(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetNetworkAddressInfo(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetNetworkInterfaceInfo(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetNetworkProtocolInfo(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetOsInfo(ctx context.Context, params *ExperimentalControllerGetOsInfoParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetPackagesInfo(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetPortsInfo(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams, ...) (*http.Response, error)
- func (c *Client) ExperimentalControllerGetProcessesInfo(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams, ...) (*http.Response, error)
- func (c *Client) LogtestControllerEndLogtestSession(ctx context.Context, token LogtestToken, ...) (*http.Response, error)
- func (c *Client) LogtestControllerRunLogtestTool(ctx context.Context, params *LogtestControllerRunLogtestToolParams, ...) (*http.Response, error)
- func (c *Client) LogtestControllerRunLogtestToolWithBody(ctx context.Context, params *LogtestControllerRunLogtestToolParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerCheckAvailableVersion(ctx context.Context, params *ManagerControllerCheckAvailableVersionParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetApiConfig(ctx context.Context, params *ManagerControllerGetApiConfigParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetConfValidation(ctx context.Context, params *ManagerControllerGetConfValidationParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetConfiguration(ctx context.Context, params *ManagerControllerGetConfigurationParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetDaemonStats(ctx context.Context, params *ManagerControllerGetDaemonStatsParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetInfo(ctx context.Context, params *ManagerControllerGetInfoParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetLog(ctx context.Context, params *ManagerControllerGetLogParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetLogSummary(ctx context.Context, params *ManagerControllerGetLogSummaryParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetManagerConfigOndemand(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetStats(ctx context.Context, params *ManagerControllerGetStatsParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetStatsAnalysisd(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetStatsHourly(ctx context.Context, params *ManagerControllerGetStatsHourlyParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetStatsRemoted(ctx context.Context, params *ManagerControllerGetStatsRemotedParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetStatsWeekly(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerGetStatus(ctx context.Context, params *ManagerControllerGetStatusParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerPutRestart(ctx context.Context, params *ManagerControllerPutRestartParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerUpdateConfigurationWithBody(ctx context.Context, params *ManagerControllerUpdateConfigurationParams, ...) (*http.Response, error)
- func (c *Client) MitreControllerGetGroups(ctx context.Context, params *MitreControllerGetGroupsParams, ...) (*http.Response, error)
- func (c *Client) MitreControllerGetMetadata(ctx context.Context, params *MitreControllerGetMetadataParams, ...) (*http.Response, error)
- func (c *Client) MitreControllerGetMitigations(ctx context.Context, params *MitreControllerGetMitigationsParams, ...) (*http.Response, error)
- func (c *Client) MitreControllerGetReferences(ctx context.Context, params *MitreControllerGetReferencesParams, ...) (*http.Response, error)
- func (c *Client) MitreControllerGetSoftware(ctx context.Context, params *MitreControllerGetSoftwareParams, ...) (*http.Response, error)
- func (c *Client) MitreControllerGetTactics(ctx context.Context, params *MitreControllerGetTacticsParams, ...) (*http.Response, error)
- func (c *Client) MitreControllerGetTechniques(ctx context.Context, params *MitreControllerGetTechniquesParams, ...) (*http.Response, error)
- func (c *Client) OverviewControllerGetOverviewAgents(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams, ...) (*http.Response, error)
- func (c *Client) RootcheckControllerDeleteRootcheck(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) RootcheckControllerGetLastScanAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) RootcheckControllerGetRootcheckAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) RootcheckControllerPutRootcheck(ctx context.Context, params *RootcheckControllerPutRootcheckParams, ...) (*http.Response, error)
- func (c *Client) RuleControllerDeleteFile(ctx context.Context, filename XmlFilenamePath, ...) (*http.Response, error)
- func (c *Client) RuleControllerGetFile(ctx context.Context, filename XmlFilenamePath, ...) (*http.Response, error)
- func (c *Client) RuleControllerGetRules(ctx context.Context, params *RuleControllerGetRulesParams, ...) (*http.Response, error)
- func (c *Client) RuleControllerGetRulesFiles(ctx context.Context, params *RuleControllerGetRulesFilesParams, ...) (*http.Response, error)
- func (c *Client) RuleControllerGetRulesGroups(ctx context.Context, params *RuleControllerGetRulesGroupsParams, ...) (*http.Response, error)
- func (c *Client) RuleControllerGetRulesRequirement(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) RuleControllerPutFileWithBody(ctx context.Context, filename XmlFilenamePath, ...) (*http.Response, error)
- func (c *Client) ScaControllerGetScaAgent(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams, ...) (*http.Response, error)
- func (c *Client) ScaControllerGetScaChecks(ctx context.Context, agentId AgentId, policyId PolicyId, ...) (*http.Response, error)
- func (c *Client) SecurityControllerAddPolicy(ctx context.Context, params *SecurityControllerAddPolicyParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerAddPolicyWithBody(ctx context.Context, params *SecurityControllerAddPolicyParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerAddRole(ctx context.Context, params *SecurityControllerAddRoleParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerAddRoleWithBody(ctx context.Context, params *SecurityControllerAddRoleParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerAddRule(ctx context.Context, params *SecurityControllerAddRuleParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerAddRuleWithBody(ctx context.Context, params *SecurityControllerAddRuleParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerCreateUser(ctx context.Context, params *SecurityControllerCreateUserParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerCreateUserWithBody(ctx context.Context, params *SecurityControllerCreateUserParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerDeleteSecurityConfig(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerDeleteUsers(ctx context.Context, params *SecurityControllerDeleteUsersParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerDeprecatedLoginUser(ctx context.Context, params *SecurityControllerDeprecatedLoginUserParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerEditRunAs(ctx context.Context, userId UserIdRequired, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetPolicies(ctx context.Context, params *SecurityControllerGetPoliciesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetRbacActions(ctx context.Context, params *SecurityControllerGetRbacActionsParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetRbacResources(ctx context.Context, params *SecurityControllerGetRbacResourcesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetRoles(ctx context.Context, params *SecurityControllerGetRolesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetRules(ctx context.Context, params *SecurityControllerGetRulesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetSecurityConfig(ctx context.Context, params *SecurityControllerGetSecurityConfigParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetUserMe(ctx context.Context, params *SecurityControllerGetUserMeParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetUserMePolicies(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerGetUsers(ctx context.Context, params *SecurityControllerGetUsersParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerLoginUser(ctx context.Context, params *SecurityControllerLoginUserParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerLogoutUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SecurityControllerPutSecurityConfig(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerPutSecurityConfigWithBody(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRemovePolicies(ctx context.Context, params *SecurityControllerRemovePoliciesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRemoveRolePolicy(ctx context.Context, roleId RoleId, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRemoveRoleRule(ctx context.Context, roleId RoleId, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRemoveRoles(ctx context.Context, params *SecurityControllerRemoveRolesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRemoveRules(ctx context.Context, params *SecurityControllerRemoveRulesParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRemoveUserRole(ctx context.Context, userId UserIdRequired, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRevokeAllTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SecurityControllerRunAsLogin(ctx context.Context, params *SecurityControllerRunAsLoginParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerRunAsLoginWithBody(ctx context.Context, params *SecurityControllerRunAsLoginParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerSetRolePolicy(ctx context.Context, roleId RoleId, ...) (*http.Response, error)
- func (c *Client) SecurityControllerSetRoleRule(ctx context.Context, roleId RoleId, ...) (*http.Response, error)
- func (c *Client) SecurityControllerSetUserRole(ctx context.Context, userId UserIdRequired, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdatePolicy(ctx context.Context, policyId PolicyIdRbac, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdatePolicyWithBody(ctx context.Context, policyId PolicyIdRbac, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdateRole(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdateRoleWithBody(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdateRule(ctx context.Context, ruleId SecurityRuleId, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdateRuleWithBody(ctx context.Context, ruleId SecurityRuleId, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdateUser(ctx context.Context, userId UserIdRequired, ...) (*http.Response, error)
- func (c *Client) SecurityControllerUpdateUserWithBody(ctx context.Context, userId UserIdRequired, ...) (*http.Response, error)
- func (c *Client) SyscheckControllerDeleteSyscheckAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscheckControllerGetLastScanAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscheckControllerGetSyscheckAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscheckControllerPutSyscheck(ctx context.Context, params *SyscheckControllerPutSyscheckParams, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetHardwareInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetHotfixInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetNetworkAddressInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetNetworkInterfaceInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetNetworkProtocolInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetOsInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetPackagesInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetPortsInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) SyscollectorControllerGetProcessesInfo(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) TaskControllerGetTasksStatus(ctx context.Context, params *TaskControllerGetTasksStatusParams, ...) (*http.Response, error)
- func (c *Client) Tracef(format string, v ...any)
- func (c *Client) VulnerabilityControllerGetLastScanAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) VulnerabilityControllerGetVulnerabilitiesFieldSummary(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) VulnerabilityControllerGetVulnerabilityAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) Warnf(format string, v ...any)
- type ClientInterface
- type ClientOption
- func WithBaseURL(baseURL string) ClientOption
- func WithContext(ctx context.Context) ClientOption
- func WithHttpClient(client *http.Client) ClientOption
- func WithHttpRequestDoer(doer HttpRequestDoer) ClientOption
- func WithInsecure(insecure bool) ClientOption
- func WithLogin(user string, password string) ClientOption
- func WithProxy(enabled bool, host string) ClientOption
- func WithRequestEditorFn(fn RequestEditorFn) ClientOption
- func WithTrace(trace bool) ClientOption
- func WithUserAgent(userAgent string) ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActiveResponseControllerRunCommandWithBodyWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, ...) (*ActiveResponseControllerRunCommandResponse, error)
- func (c *ClientWithResponses) ActiveResponseControllerRunCommandWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, ...) (*ActiveResponseControllerRunCommandResponse, error)
- func (c *ClientWithResponses) AgentControllerAddAgentWithBodyWithResponse(ctx context.Context, params *AgentControllerAddAgentParams, contentType string, ...) (*AgentControllerAddAgentResponse, error)
- func (c *ClientWithResponses) AgentControllerAddAgentWithResponse(ctx context.Context, params *AgentControllerAddAgentParams, ...) (*AgentControllerAddAgentResponse, error)
- func (c *ClientWithResponses) AgentControllerDeleteAgentsWithResponse(ctx context.Context, params *AgentControllerDeleteAgentsParams, ...) (*AgentControllerDeleteAgentsResponse, error)
- func (c *ClientWithResponses) AgentControllerDeleteGroupsWithResponse(ctx context.Context, params *AgentControllerDeleteGroupsParams, ...) (*AgentControllerDeleteGroupsResponse, error)
- func (c *ClientWithResponses) AgentControllerDeleteMultipleAgentSingleGroupWithResponse(ctx context.Context, ...) (*AgentControllerDeleteMultipleAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerDeleteSingleAgentMultipleGroupsWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentControllerDeleteSingleAgentMultipleGroupsResponse, error)
- func (c *ClientWithResponses) AgentControllerDeleteSingleAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*AgentControllerDeleteSingleAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentConfigWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentControllerGetAgentConfigResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentFieldsWithResponse(ctx context.Context, params *AgentControllerGetAgentFieldsParams, ...) (*AgentControllerGetAgentFieldsResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentKeyWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerGetAgentKeyParams, ...) (*AgentControllerGetAgentKeyResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentNoGroupWithResponse(ctx context.Context, params *AgentControllerGetAgentNoGroupParams, ...) (*AgentControllerGetAgentNoGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentOutdatedWithResponse(ctx context.Context, params *AgentControllerGetAgentOutdatedParams, ...) (*AgentControllerGetAgentOutdatedResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentSummaryOsWithResponse(ctx context.Context, params *AgentControllerGetAgentSummaryOsParams, ...) (*AgentControllerGetAgentSummaryOsResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentSummaryStatusWithResponse(ctx context.Context, params *AgentControllerGetAgentSummaryStatusParams, ...) (*AgentControllerGetAgentSummaryStatusResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentUpgradeWithResponse(ctx context.Context, params *AgentControllerGetAgentUpgradeParams, ...) (*AgentControllerGetAgentUpgradeResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentsInGroupWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentControllerGetAgentsInGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerGetAgentsWithResponse(ctx context.Context, params *AgentControllerGetAgentsParams, ...) (*AgentControllerGetAgentsResponse, error)
- func (c *ClientWithResponses) AgentControllerGetComponentStatsWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentControllerGetComponentStatsResponse, error)
- func (c *ClientWithResponses) AgentControllerGetDaemonStatsWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentControllerGetDaemonStatsResponse, error)
- func (c *ClientWithResponses) AgentControllerGetGroupConfigWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentControllerGetGroupConfigResponse, error)
- func (c *ClientWithResponses) AgentControllerGetGroupFileJsonWithResponse(ctx context.Context, groupId GroupId, fileName FileName, ...) (*AgentControllerGetGroupFileJsonResponse, error)
- func (c *ClientWithResponses) AgentControllerGetGroupFileXmlWithResponse(ctx context.Context, groupId GroupId, fileName FileName, ...) (*AgentControllerGetGroupFileXmlResponse, error)
- func (c *ClientWithResponses) AgentControllerGetGroupFilesWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentControllerGetGroupFilesResponse, error)
- func (c *ClientWithResponses) AgentControllerGetListGroupWithResponse(ctx context.Context, params *AgentControllerGetListGroupParams, ...) (*AgentControllerGetListGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerGetSyncAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentControllerGetSyncAgentResponse, error)
- func (c *ClientWithResponses) AgentControllerInsertAgentWithBodyWithResponse(ctx context.Context, params *AgentControllerInsertAgentParams, ...) (*AgentControllerInsertAgentResponse, error)
- func (c *ClientWithResponses) AgentControllerInsertAgentWithResponse(ctx context.Context, params *AgentControllerInsertAgentParams, ...) (*AgentControllerInsertAgentResponse, error)
- func (c *ClientWithResponses) AgentControllerPostGroupWithBodyWithResponse(ctx context.Context, params *AgentControllerPostGroupParams, ...) (*AgentControllerPostGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerPostGroupWithResponse(ctx context.Context, params *AgentControllerPostGroupParams, ...) (*AgentControllerPostGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerPostNewAgentWithResponse(ctx context.Context, params *AgentControllerPostNewAgentParams, ...) (*AgentControllerPostNewAgentResponse, error)
- func (c *ClientWithResponses) AgentControllerPutAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*AgentControllerPutAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerPutGroupConfigWithBodyWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentControllerPutGroupConfigResponse, error)
- func (c *ClientWithResponses) AgentControllerPutMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentControllerPutMultipleAgentSingleGroupParams, ...) (*AgentControllerPutMultipleAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerPutUpgradeAgentsWithResponse(ctx context.Context, params *AgentControllerPutUpgradeAgentsParams, ...) (*AgentControllerPutUpgradeAgentsResponse, error)
- func (c *ClientWithResponses) AgentControllerPutUpgradeCustomAgentsWithResponse(ctx context.Context, params *AgentControllerPutUpgradeCustomAgentsParams, ...) (*AgentControllerPutUpgradeCustomAgentsResponse, error)
- func (c *ClientWithResponses) AgentControllerReconnectAgentsWithResponse(ctx context.Context, params *AgentControllerReconnectAgentsParams, ...) (*AgentControllerReconnectAgentsResponse, error)
- func (c *ClientWithResponses) AgentControllerRestartAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentControllerRestartAgentResponse, error)
- func (c *ClientWithResponses) AgentControllerRestartAgentsByGroupWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentControllerRestartAgentsByGroupResponse, error)
- func (c *ClientWithResponses) AgentControllerRestartAgentsByNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*AgentControllerRestartAgentsByNodeResponse, error)
- func (c *ClientWithResponses) AgentControllerRestartAgentsWithResponse(ctx context.Context, params *AgentControllerRestartAgentsParams, ...) (*AgentControllerRestartAgentsResponse, error)
- func (c *ClientWithResponses) Authenticate() error
- func (c *ClientWithResponses) Authenticated() bool
- func (c *ClientWithResponses) CdbListControllerDeleteFileWithResponse(ctx context.Context, filename ListFilenamePath, ...) (*CdbListControllerDeleteFileResponse, error)
- func (c *ClientWithResponses) CdbListControllerGetFileWithResponse(ctx context.Context, filename ListFilenamePath, ...) (*CdbListControllerGetFileResponse, error)
- func (c *ClientWithResponses) CdbListControllerGetListsFilesWithResponse(ctx context.Context, params *CdbListControllerGetListsFilesParams, ...) (*CdbListControllerGetListsFilesResponse, error)
- func (c *ClientWithResponses) CdbListControllerGetListsWithResponse(ctx context.Context, params *CdbListControllerGetListsParams, ...) (*CdbListControllerGetListsResponse, error)
- func (c *ClientWithResponses) CdbListControllerPutFileWithBodyWithResponse(ctx context.Context, filename ListFilenamePath, ...) (*CdbListControllerPutFileResponse, error)
- func (c *ClientWithResponses) CiscatControllerGetAgentsCiscatResultsWithResponse(ctx context.Context, agentId AgentId, ...) (*CiscatControllerGetAgentsCiscatResultsResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetApiConfigWithResponse(ctx context.Context, params *ClusterControllerGetApiConfigParams, ...) (*ClusterControllerGetApiConfigResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetClusterNodeWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodeParams, ...) (*ClusterControllerGetClusterNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetClusterNodesWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodesParams, ...) (*ClusterControllerGetClusterNodesResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetConfValidationWithResponse(ctx context.Context, params *ClusterControllerGetConfValidationParams, ...) (*ClusterControllerGetConfValidationResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetConfigWithResponse(ctx context.Context, params *ClusterControllerGetConfigParams, ...) (*ClusterControllerGetConfigResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetConfigurationNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetConfigurationNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetDaemonStatsNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetDaemonStatsNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetHealthcheckWithResponse(ctx context.Context, params *ClusterControllerGetHealthcheckParams, ...) (*ClusterControllerGetHealthcheckResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetInfoNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams, ...) (*ClusterControllerGetInfoNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetLogNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams, ...) (*ClusterControllerGetLogNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetLogSummaryNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetLogSummaryNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetNodeConfigWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetNodeConfigResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetNodesRulesetSyncStatusWithResponse(ctx context.Context, params *ClusterControllerGetNodesRulesetSyncStatusParams, ...) (*ClusterControllerGetNodesRulesetSyncStatusResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetStatsAnalysisdNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetStatsAnalysisdNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetStatsHourlyNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetStatsHourlyNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetStatsNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetStatsNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetStatsRemotedNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetStatsRemotedNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetStatsWeeklyNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetStatsWeeklyNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetStatusNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetStatusNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerGetStatusWithResponse(ctx context.Context, params *ClusterControllerGetStatusParams, ...) (*ClusterControllerGetStatusResponse, error)
- func (c *ClientWithResponses) ClusterControllerPutRestartWithResponse(ctx context.Context, params *ClusterControllerPutRestartParams, ...) (*ClusterControllerPutRestartResponse, error)
- func (c *ClientWithResponses) ClusterControllerUpdateConfigurationWithBodyWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerUpdateConfigurationResponse, error)
- func (c *ClientWithResponses) DecoderControllerDeleteFileWithResponse(ctx context.Context, filename XmlFilenamePath, ...) (*DecoderControllerDeleteFileResponse, error)
- func (c *ClientWithResponses) DecoderControllerGetDecodersFilesWithResponse(ctx context.Context, params *DecoderControllerGetDecodersFilesParams, ...) (*DecoderControllerGetDecodersFilesResponse, error)
- func (c *ClientWithResponses) DecoderControllerGetDecodersParentsWithResponse(ctx context.Context, params *DecoderControllerGetDecodersParentsParams, ...) (*DecoderControllerGetDecodersParentsResponse, error)
- func (c *ClientWithResponses) DecoderControllerGetDecodersWithResponse(ctx context.Context, params *DecoderControllerGetDecodersParams, ...) (*DecoderControllerGetDecodersResponse, error)
- func (c *ClientWithResponses) DecoderControllerGetFileWithResponse(ctx context.Context, filename XmlFilenamePath, ...) (*DecoderControllerGetFileResponse, error)
- func (c *ClientWithResponses) DecoderControllerPutFileWithBodyWithResponse(ctx context.Context, filename XmlFilenamePath, ...) (*DecoderControllerPutFileResponse, error)
- func (c *ClientWithResponses) DefaultControllerDefaultInfoWithResponse(ctx context.Context, params *DefaultControllerDefaultInfoParams, ...) (*DefaultControllerDefaultInfoResponse, error)
- func (c *ClientWithResponses) EventControllerForwardEventWithBodyWithResponse(ctx context.Context, params *EventControllerForwardEventParams, ...) (*EventControllerForwardEventResponse, error)
- func (c *ClientWithResponses) EventControllerForwardEventWithResponse(ctx context.Context, params *EventControllerForwardEventParams, ...) (*EventControllerForwardEventResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerClearRootcheckDatabaseWithResponse(ctx context.Context, ...) (*ExperimentalControllerClearRootcheckDatabaseResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerClearSyscheckDatabaseWithResponse(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams, ...) (*ExperimentalControllerClearSyscheckDatabaseResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetCisCatResultsWithResponse(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams, ...) (*ExperimentalControllerGetCisCatResultsResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetHardwareInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams, ...) (*ExperimentalControllerGetHardwareInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetHotfixesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams, ...) (*ExperimentalControllerGetHotfixesInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetNetworkAddressInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams, ...) (*ExperimentalControllerGetNetworkAddressInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, ...) (*ExperimentalControllerGetNetworkInterfaceInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, ...) (*ExperimentalControllerGetNetworkProtocolInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetOsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetOsInfoParams, ...) (*ExperimentalControllerGetOsInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetPackagesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams, ...) (*ExperimentalControllerGetPackagesInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetPortsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams, ...) (*ExperimentalControllerGetPortsInfoResponse, error)
- func (c *ClientWithResponses) ExperimentalControllerGetProcessesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams, ...) (*ExperimentalControllerGetProcessesInfoResponse, error)
- func (c *ClientWithResponses) Logout() error
- func (c *ClientWithResponses) LogtestControllerEndLogtestSessionWithResponse(ctx context.Context, token LogtestToken, ...) (*LogtestControllerEndLogtestSessionResponse, error)
- func (c *ClientWithResponses) LogtestControllerRunLogtestToolWithBodyWithResponse(ctx context.Context, params *LogtestControllerRunLogtestToolParams, ...) (*LogtestControllerRunLogtestToolResponse, error)
- func (c *ClientWithResponses) LogtestControllerRunLogtestToolWithResponse(ctx context.Context, params *LogtestControllerRunLogtestToolParams, ...) (*LogtestControllerRunLogtestToolResponse, error)
- func (c *ClientWithResponses) ManagerControllerCheckAvailableVersionWithResponse(ctx context.Context, params *ManagerControllerCheckAvailableVersionParams, ...) (*ManagerControllerCheckAvailableVersionResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetApiConfigWithResponse(ctx context.Context, params *ManagerControllerGetApiConfigParams, ...) (*ManagerControllerGetApiConfigResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetConfValidationWithResponse(ctx context.Context, params *ManagerControllerGetConfValidationParams, ...) (*ManagerControllerGetConfValidationResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetConfigurationWithResponse(ctx context.Context, params *ManagerControllerGetConfigurationParams, ...) (*ManagerControllerGetConfigurationResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetDaemonStatsWithResponse(ctx context.Context, params *ManagerControllerGetDaemonStatsParams, ...) (*ManagerControllerGetDaemonStatsResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetInfoWithResponse(ctx context.Context, params *ManagerControllerGetInfoParams, ...) (*ManagerControllerGetInfoResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetLogSummaryWithResponse(ctx context.Context, params *ManagerControllerGetLogSummaryParams, ...) (*ManagerControllerGetLogSummaryResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetLogWithResponse(ctx context.Context, params *ManagerControllerGetLogParams, ...) (*ManagerControllerGetLogResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetManagerConfigOndemandWithResponse(ctx context.Context, ...) (*ManagerControllerGetManagerConfigOndemandResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetStatsAnalysisdWithResponse(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams, ...) (*ManagerControllerGetStatsAnalysisdResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetStatsHourlyWithResponse(ctx context.Context, params *ManagerControllerGetStatsHourlyParams, ...) (*ManagerControllerGetStatsHourlyResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetStatsRemotedWithResponse(ctx context.Context, params *ManagerControllerGetStatsRemotedParams, ...) (*ManagerControllerGetStatsRemotedResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetStatsWeeklyWithResponse(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams, ...) (*ManagerControllerGetStatsWeeklyResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetStatsWithResponse(ctx context.Context, params *ManagerControllerGetStatsParams, ...) (*ManagerControllerGetStatsResponse, error)
- func (c *ClientWithResponses) ManagerControllerGetStatusWithResponse(ctx context.Context, params *ManagerControllerGetStatusParams, ...) (*ManagerControllerGetStatusResponse, error)
- func (c *ClientWithResponses) ManagerControllerPutRestartWithResponse(ctx context.Context, params *ManagerControllerPutRestartParams, ...) (*ManagerControllerPutRestartResponse, error)
- func (c *ClientWithResponses) ManagerControllerUpdateConfigurationWithBodyWithResponse(ctx context.Context, params *ManagerControllerUpdateConfigurationParams, ...) (*ManagerControllerUpdateConfigurationResponse, error)
- func (c *ClientWithResponses) MitreControllerGetGroupsWithResponse(ctx context.Context, params *MitreControllerGetGroupsParams, ...) (*MitreControllerGetGroupsResponse, error)
- func (c *ClientWithResponses) MitreControllerGetMetadataWithResponse(ctx context.Context, params *MitreControllerGetMetadataParams, ...) (*MitreControllerGetMetadataResponse, error)
- func (c *ClientWithResponses) MitreControllerGetMitigationsWithResponse(ctx context.Context, params *MitreControllerGetMitigationsParams, ...) (*MitreControllerGetMitigationsResponse, error)
- func (c *ClientWithResponses) MitreControllerGetReferencesWithResponse(ctx context.Context, params *MitreControllerGetReferencesParams, ...) (*MitreControllerGetReferencesResponse, error)
- func (c *ClientWithResponses) MitreControllerGetSoftwareWithResponse(ctx context.Context, params *MitreControllerGetSoftwareParams, ...) (*MitreControllerGetSoftwareResponse, error)
- func (c *ClientWithResponses) MitreControllerGetTacticsWithResponse(ctx context.Context, params *MitreControllerGetTacticsParams, ...) (*MitreControllerGetTacticsResponse, error)
- func (c *ClientWithResponses) MitreControllerGetTechniquesWithResponse(ctx context.Context, params *MitreControllerGetTechniquesParams, ...) (*MitreControllerGetTechniquesResponse, error)
- func (c *ClientWithResponses) OverviewControllerGetOverviewAgentsWithResponse(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams, ...) (*OverviewControllerGetOverviewAgentsResponse, error)
- func (c *ClientWithResponses) RevokeAllTokens() error
- func (c *ClientWithResponses) RootcheckControllerDeleteRootcheckWithResponse(ctx context.Context, agentId AgentId, ...) (*RootcheckControllerDeleteRootcheckResponse, error)
- func (c *ClientWithResponses) RootcheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*RootcheckControllerGetLastScanAgentResponse, error)
- func (c *ClientWithResponses) RootcheckControllerGetRootcheckAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*RootcheckControllerGetRootcheckAgentResponse, error)
- func (c *ClientWithResponses) RootcheckControllerPutRootcheckWithResponse(ctx context.Context, params *RootcheckControllerPutRootcheckParams, ...) (*RootcheckControllerPutRootcheckResponse, error)
- func (c *ClientWithResponses) RuleControllerDeleteFileWithResponse(ctx context.Context, filename XmlFilenamePath, ...) (*RuleControllerDeleteFileResponse, error)
- func (c *ClientWithResponses) RuleControllerGetFileWithResponse(ctx context.Context, filename XmlFilenamePath, ...) (*RuleControllerGetFileResponse, error)
- func (c *ClientWithResponses) RuleControllerGetRulesFilesWithResponse(ctx context.Context, params *RuleControllerGetRulesFilesParams, ...) (*RuleControllerGetRulesFilesResponse, error)
- func (c *ClientWithResponses) RuleControllerGetRulesGroupsWithResponse(ctx context.Context, params *RuleControllerGetRulesGroupsParams, ...) (*RuleControllerGetRulesGroupsResponse, error)
- func (c *ClientWithResponses) RuleControllerGetRulesRequirementWithResponse(ctx context.Context, ...) (*RuleControllerGetRulesRequirementResponse, error)
- func (c *ClientWithResponses) RuleControllerGetRulesWithResponse(ctx context.Context, params *RuleControllerGetRulesParams, ...) (*RuleControllerGetRulesResponse, error)
- func (c *ClientWithResponses) RuleControllerPutFileWithBodyWithResponse(ctx context.Context, filename XmlFilenamePath, ...) (*RuleControllerPutFileResponse, error)
- func (c *ClientWithResponses) ScaControllerGetScaAgentWithResponse(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams, ...) (*ScaControllerGetScaAgentResponse, error)
- func (c *ClientWithResponses) ScaControllerGetScaChecksWithResponse(ctx context.Context, agentId AgentId, policyId PolicyId, ...) (*ScaControllerGetScaChecksResponse, error)
- func (c *ClientWithResponses) SecurityControllerAddPolicyWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, ...) (*SecurityControllerAddPolicyResponse, error)
- func (c *ClientWithResponses) SecurityControllerAddPolicyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, ...) (*SecurityControllerAddPolicyResponse, error)
- func (c *ClientWithResponses) SecurityControllerAddRoleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, ...) (*SecurityControllerAddRoleResponse, error)
- func (c *ClientWithResponses) SecurityControllerAddRoleWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, ...) (*SecurityControllerAddRoleResponse, error)
- func (c *ClientWithResponses) SecurityControllerAddRuleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, ...) (*SecurityControllerAddRuleResponse, error)
- func (c *ClientWithResponses) SecurityControllerAddRuleWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, ...) (*SecurityControllerAddRuleResponse, error)
- func (c *ClientWithResponses) SecurityControllerCreateUserWithBodyWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, ...) (*SecurityControllerCreateUserResponse, error)
- func (c *ClientWithResponses) SecurityControllerCreateUserWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, ...) (*SecurityControllerCreateUserResponse, error)
- func (c *ClientWithResponses) SecurityControllerDeleteSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams, ...) (*SecurityControllerDeleteSecurityConfigResponse, error)
- func (c *ClientWithResponses) SecurityControllerDeleteUsersWithResponse(ctx context.Context, params *SecurityControllerDeleteUsersParams, ...) (*SecurityControllerDeleteUsersResponse, error)
- func (c *ClientWithResponses) SecurityControllerDeprecatedLoginUserWithResponse(ctx context.Context, params *SecurityControllerDeprecatedLoginUserParams, ...) (*SecurityControllerDeprecatedLoginUserResponse, error)
- func (c *ClientWithResponses) SecurityControllerEditRunAsWithResponse(ctx context.Context, userId UserIdRequired, ...) (*SecurityControllerEditRunAsResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetPoliciesWithResponse(ctx context.Context, params *SecurityControllerGetPoliciesParams, ...) (*SecurityControllerGetPoliciesResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetRbacActionsWithResponse(ctx context.Context, params *SecurityControllerGetRbacActionsParams, ...) (*SecurityControllerGetRbacActionsResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetRbacResourcesWithResponse(ctx context.Context, params *SecurityControllerGetRbacResourcesParams, ...) (*SecurityControllerGetRbacResourcesResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetRolesWithResponse(ctx context.Context, params *SecurityControllerGetRolesParams, ...) (*SecurityControllerGetRolesResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetRulesWithResponse(ctx context.Context, params *SecurityControllerGetRulesParams, ...) (*SecurityControllerGetRulesResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerGetSecurityConfigParams, ...) (*SecurityControllerGetSecurityConfigResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetUserMePoliciesWithResponse(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams, ...) (*SecurityControllerGetUserMePoliciesResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetUserMeWithResponse(ctx context.Context, params *SecurityControllerGetUserMeParams, ...) (*SecurityControllerGetUserMeResponse, error)
- func (c *ClientWithResponses) SecurityControllerGetUsersWithResponse(ctx context.Context, params *SecurityControllerGetUsersParams, ...) (*SecurityControllerGetUsersResponse, error)
- func (c *ClientWithResponses) SecurityControllerLoginUserWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, ...) (*SecurityControllerLoginUserResponse, error)
- func (c *ClientWithResponses) SecurityControllerLogoutUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecurityControllerLogoutUserResponse, error)
- func (c *ClientWithResponses) SecurityControllerPutSecurityConfigWithBodyWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, ...) (*SecurityControllerPutSecurityConfigResponse, error)
- func (c *ClientWithResponses) SecurityControllerPutSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, ...) (*SecurityControllerPutSecurityConfigResponse, error)
- func (c *ClientWithResponses) SecurityControllerRemovePoliciesWithResponse(ctx context.Context, params *SecurityControllerRemovePoliciesParams, ...) (*SecurityControllerRemovePoliciesResponse, error)
- func (c *ClientWithResponses) SecurityControllerRemoveRolePolicyWithResponse(ctx context.Context, roleId RoleId, ...) (*SecurityControllerRemoveRolePolicyResponse, error)
- func (c *ClientWithResponses) SecurityControllerRemoveRoleRuleWithResponse(ctx context.Context, roleId RoleId, ...) (*SecurityControllerRemoveRoleRuleResponse, error)
- func (c *ClientWithResponses) SecurityControllerRemoveRolesWithResponse(ctx context.Context, params *SecurityControllerRemoveRolesParams, ...) (*SecurityControllerRemoveRolesResponse, error)
- func (c *ClientWithResponses) SecurityControllerRemoveRulesWithResponse(ctx context.Context, params *SecurityControllerRemoveRulesParams, ...) (*SecurityControllerRemoveRulesResponse, error)
- func (c *ClientWithResponses) SecurityControllerRemoveUserRoleWithResponse(ctx context.Context, userId UserIdRequired, ...) (*SecurityControllerRemoveUserRoleResponse, error)
- func (c *ClientWithResponses) SecurityControllerRevokeAllTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecurityControllerRevokeAllTokensResponse, error)
- func (c *ClientWithResponses) SecurityControllerRunAsLoginWithBodyWithResponse(ctx context.Context, params *SecurityControllerRunAsLoginParams, ...) (*SecurityControllerRunAsLoginResponse, error)
- func (c *ClientWithResponses) SecurityControllerRunAsLoginWithResponse(ctx context.Context, params *SecurityControllerRunAsLoginParams, ...) (*SecurityControllerRunAsLoginResponse, error)
- func (c *ClientWithResponses) SecurityControllerSetRolePolicyWithResponse(ctx context.Context, roleId RoleId, ...) (*SecurityControllerSetRolePolicyResponse, error)
- func (c *ClientWithResponses) SecurityControllerSetRoleRuleWithResponse(ctx context.Context, roleId RoleId, ...) (*SecurityControllerSetRoleRuleResponse, error)
- func (c *ClientWithResponses) SecurityControllerSetUserRoleWithResponse(ctx context.Context, userId UserIdRequired, ...) (*SecurityControllerSetUserRoleResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdatePolicyWithBodyWithResponse(ctx context.Context, policyId PolicyIdRbac, ...) (*SecurityControllerUpdatePolicyResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdatePolicyWithResponse(ctx context.Context, policyId PolicyIdRbac, ...) (*SecurityControllerUpdatePolicyResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdateRoleWithBodyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*SecurityControllerUpdateRoleResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdateRoleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*SecurityControllerUpdateRoleResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdateRuleWithBodyWithResponse(ctx context.Context, ruleId SecurityRuleId, ...) (*SecurityControllerUpdateRuleResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdateRuleWithResponse(ctx context.Context, ruleId SecurityRuleId, ...) (*SecurityControllerUpdateRuleResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdateUserWithBodyWithResponse(ctx context.Context, userId UserIdRequired, ...) (*SecurityControllerUpdateUserResponse, error)
- func (c *ClientWithResponses) SecurityControllerUpdateUserWithResponse(ctx context.Context, userId UserIdRequired, ...) (*SecurityControllerUpdateUserResponse, error)
- func (c *ClientWithResponses) SyscheckControllerDeleteSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscheckControllerDeleteSyscheckAgentResponse, error)
- func (c *ClientWithResponses) SyscheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscheckControllerGetLastScanAgentResponse, error)
- func (c *ClientWithResponses) SyscheckControllerGetSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscheckControllerGetSyscheckAgentResponse, error)
- func (c *ClientWithResponses) SyscheckControllerPutSyscheckWithResponse(ctx context.Context, params *SyscheckControllerPutSyscheckParams, ...) (*SyscheckControllerPutSyscheckResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetHardwareInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetHardwareInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetHotfixInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetHotfixInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetNetworkAddressInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetNetworkAddressInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetNetworkInterfaceInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetNetworkProtocolInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetOsInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetOsInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetPackagesInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetPackagesInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetPortsInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetPortsInfoResponse, error)
- func (c *ClientWithResponses) SyscollectorControllerGetProcessesInfoWithResponse(ctx context.Context, agentId AgentId, ...) (*SyscollectorControllerGetProcessesInfoResponse, error)
- func (c *ClientWithResponses) TaskControllerGetTasksStatusWithResponse(ctx context.Context, params *TaskControllerGetTasksStatusParams, ...) (*TaskControllerGetTasksStatusResponse, error)
- func (c *ClientWithResponses) VulnerabilityControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*VulnerabilityControllerGetLastScanAgentResponse, error)
- func (c *ClientWithResponses) VulnerabilityControllerGetVulnerabilitiesFieldSummaryWithResponse(ctx context.Context, agentId AgentId, ...) (*VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse, error)
- func (c *ClientWithResponses) VulnerabilityControllerGetVulnerabilityAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*VulnerabilityControllerGetVulnerabilityAgentResponse, error)
- type ClientWithResponsesInterface
- type ClusterController
- func (c *ClusterController) GetAPIConfig(params *ClusterControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *ClusterController) GetClusterNode(params *ClusterControllerGetClusterNodeParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *ClusterController) GetClusterNodes(params *ClusterControllerGetClusterNodesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseClusterNodes, error)
- func (c *ClusterController) GetConfValidation(params *ClusterControllerGetConfValidationParams, ...) (*AllItemsResponseValidationStatus, error)
- func (c *ClusterController) GetConfig(params *ClusterControllerGetConfigParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *ClusterController) GetConfigurationNode(arg1 NodeId, params *ClusterControllerGetConfigurationNodeParams, ...) (*WazuhManagerConfiguration, error)
- func (c *ClusterController) GetHealthcheck(params *ClusterControllerGetHealthcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponseNodeHealthcheck, error)
- func (c *ClusterController) GetInfoNode(arg1 NodeId, params *ClusterControllerGetInfoNodeParams, ...) (*WazuhInfo, error)
- func (c *ClusterController) GetLogNode(arg1 NodeId, params *ClusterControllerGetLogNodeParams, ...) (*AllItemsResponseWazuhLogs, error)
- func (c *ClusterController) GetLogSummaryNode(arg1 NodeId, params *ClusterControllerGetLogSummaryNodeParams, ...) (*WazuhLogsSummary, error)
- func (c *ClusterController) GetNodeConfig(arg1 NodeId, arg2 ClusterControllerGetNodeConfigParamsComponent, ...) (..., error)
- func (c *ClusterController) GetStatsAnalysisdNode(arg1 NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams, ...) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsHourlyNode(arg1 NodeId, params *ClusterControllerGetStatsHourlyNodeParams, ...) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsNode(arg1 NodeId, params *ClusterControllerGetStatsNodeParams, ...) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsRemotedNode(arg1 NodeId, params *ClusterControllerGetStatsRemotedNodeParams, ...) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsWeeklyNode(arg1 NodeId, params *ClusterControllerGetStatsWeeklyNodeParams, ...) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatus(params *ClusterControllerGetStatusParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *ClusterController) GetStatusNode(arg1 NodeId, params *ClusterControllerGetStatusNodeParams, ...) (*WazuhDaemonsStatus, error)
- func (c *ClusterController) PutRestart(params *ClusterControllerPutRestartParams, reqEditors ...RequestEditorFn) (*AllItemsResponseNodeIDs, error)
- func (c *ClusterController) UpdateConfigurationWithBody(arg1 NodeId, params *ClusterControllerUpdateConfigurationParams, arg3 string, ...) (..., error)
- type ClusterControllerGetApiConfigParams
- type ClusterControllerGetApiConfigResponse
- type ClusterControllerGetClusterNodeParams
- type ClusterControllerGetClusterNodeResponse
- type ClusterControllerGetClusterNodesParams
- type ClusterControllerGetClusterNodesParamsType
- type ClusterControllerGetClusterNodesResponse
- type ClusterControllerGetConfValidationParams
- type ClusterControllerGetConfValidationResponse
- type ClusterControllerGetConfigParams
- type ClusterControllerGetConfigResponse
- type ClusterControllerGetConfigurationNodeParams
- type ClusterControllerGetConfigurationNodeParamsSection
- type ClusterControllerGetConfigurationNodeResponse
- type ClusterControllerGetDaemonStatsNodeParams
- type ClusterControllerGetDaemonStatsNodeParamsDaemonsList
- type ClusterControllerGetDaemonStatsNodeResponse
- type ClusterControllerGetHealthcheckParams
- type ClusterControllerGetHealthcheckResponse
- type ClusterControllerGetInfoNodeParams
- type ClusterControllerGetInfoNodeResponse
- type ClusterControllerGetLogNodeParams
- type ClusterControllerGetLogNodeParamsLevel
- type ClusterControllerGetLogNodeParamsTag
- type ClusterControllerGetLogNodeResponse
- type ClusterControllerGetLogSummaryNodeParams
- type ClusterControllerGetLogSummaryNodeResponse
- type ClusterControllerGetNodeConfigParams
- type ClusterControllerGetNodeConfigParamsComponent
- type ClusterControllerGetNodeConfigParamsConfiguration
- type ClusterControllerGetNodeConfigResponse
- type ClusterControllerGetNodesRulesetSyncStatusParams
- type ClusterControllerGetNodesRulesetSyncStatusResponse
- type ClusterControllerGetStatsAnalysisdNodeParams
- type ClusterControllerGetStatsAnalysisdNodeResponse
- type ClusterControllerGetStatsHourlyNodeParams
- type ClusterControllerGetStatsHourlyNodeResponse
- type ClusterControllerGetStatsNodeParams
- type ClusterControllerGetStatsNodeResponse
- type ClusterControllerGetStatsRemotedNodeParams
- type ClusterControllerGetStatsRemotedNodeResponse
- type ClusterControllerGetStatsWeeklyNodeParams
- type ClusterControllerGetStatsWeeklyNodeResponse
- type ClusterControllerGetStatusNodeParams
- type ClusterControllerGetStatusNodeResponse
- type ClusterControllerGetStatusParams
- type ClusterControllerGetStatusResponse
- type ClusterControllerInterface
- type ClusterControllerPutRestartParams
- type ClusterControllerPutRestartResponse
- type ClusterControllerUpdateConfigurationParams
- type ClusterControllerUpdateConfigurationResponse
- type ClusterNode
- type ClusterNodeBasic
- type ClusterNodeBasicType
- type ClusterNodeName
- type Command
- type Component
- type Condition
- type Configuration
- type ConfigurationValidation
- type ConfigurationValidationStatus
- type ConfirmationMessage
- type CpuCores
- type CpuMhz
- type CpuName
- type Cve
- type CveSeverity
- type CveStatus
- type CveType
- type CveVersion
- type DHCPStatus
- type DaemonStatus
- type DaemonsList
- type DaemonsListAgents
- type Date
- type Decoder
- type DecoderController
- func (c *DecoderController) DeleteFile(arg1 XmlFilenamePath, params *DecoderControllerDeleteFileParams, ...) (*AllItemsResponse, error)
- func (c *DecoderController) GetDecoders(params *DecoderControllerGetDecodersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseDecoders, error)
- func (c *DecoderController) GetDecodersFiles(params *DecoderControllerGetDecodersFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseDecodersFiles, error)
- func (c *DecoderController) GetDecodersParents(params *DecoderControllerGetDecodersParentsParams, ...) (*AllItemsResponse, error)
- func (c *DecoderController) GetFile(arg1 XmlFilenamePath, params *DecoderControllerGetFileParams, ...) (*AllItemsResponse, error)
- func (c *DecoderController) PutFileWithBody(arg1 XmlFilenamePath, params *DecoderControllerPutFileParams, arg3 string, ...) (*AllItemsResponse, error)
- type DecoderControllerDeleteFileParams
- type DecoderControllerDeleteFileResponse
- type DecoderControllerGetDecodersFilesParams
- type DecoderControllerGetDecodersFilesParamsStatus
- type DecoderControllerGetDecodersFilesResponse
- type DecoderControllerGetDecodersParams
- type DecoderControllerGetDecodersParamsStatus
- type DecoderControllerGetDecodersParentsParams
- type DecoderControllerGetDecodersParentsResponse
- type DecoderControllerGetDecodersResponse
- type DecoderControllerGetFileParams
- type DecoderControllerGetFileResponse
- type DecoderControllerInterface
- type DecoderControllerPutFileParams
- type DecoderControllerPutFileResponse
- type DecoderFile
- type DecoderName
- type DefaultController
- type DefaultControllerDefaultInfoParams
- type DefaultControllerDefaultInfoResponse
- type DefaultControllerInterface
- type Description
- type Dhcp
- type Directory
- type DisconnectedTime
- type Distinct
- type Egroup
- type Endpoint
- type Error
- type Euser
- type EventControllerForwardEventJSONBody
- type EventControllerForwardEventJSONRequestBody
- type EventControllerForwardEventParams
- type EventControllerForwardEventResponse
- type ExperimentalController
- func (c *ExperimentalController) ClearRootcheckDatabase(params *ExperimentalControllerClearRootcheckDatabaseParams, ...) (*AllItemsResponse, error)
- func (c *ExperimentalController) ClearSyscheckDatabase(params *ExperimentalControllerClearSyscheckDatabaseParams, ...) (*AllItemsResponseAgentIDs, error)
- func (c *ExperimentalController) GetCisCatResults(params *ExperimentalControllerGetCisCatResultsParams, ...) (*AllItemsResponseCiscatResult, error)
- func (c *ExperimentalController) GetHardwareInfo(params *ExperimentalControllerGetHardwareInfoParams, ...) (*AllItemsResponseSyscollectorHardware, error)
- func (c *ExperimentalController) GetHotfixesInfo(params *ExperimentalControllerGetHotfixesInfoParams, ...) (*AllItemsResponseSyscollectorHotfixes, error)
- func (c *ExperimentalController) GetNetworkAddressInfo(params *ExperimentalControllerGetNetworkAddressInfoParams, ...) (*AllItemsResponseSyscollectorNetwork, error)
- func (c *ExperimentalController) GetNetworkInterfaceInfo(params *ExperimentalControllerGetNetworkInterfaceInfoParams, ...) (*AllItemsResponseSyscollectorInterface, error)
- func (c *ExperimentalController) GetNetworkProtocolInfo(params *ExperimentalControllerGetNetworkProtocolInfoParams, ...) (*AllItemsResponseSyscollectorProtocol, error)
- func (c *ExperimentalController) GetOsInfo(params *ExperimentalControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorOS, error)
- func (c *ExperimentalController) GetPackagesInfo(params *ExperimentalControllerGetPackagesInfoParams, ...) (*AllItemsResponseSyscollectorPackages, error)
- func (c *ExperimentalController) GetPortsInfo(params *ExperimentalControllerGetPortsInfoParams, ...) (*AllItemsResponseSyscollectorPorts, error)
- func (c *ExperimentalController) GetProcessesInfo(params *ExperimentalControllerGetProcessesInfoParams, ...) (*AllItemsResponseSyscollectorProcesses, error)
- type ExperimentalControllerClearRootcheckDatabaseParams
- type ExperimentalControllerClearRootcheckDatabaseResponse
- type ExperimentalControllerClearSyscheckDatabaseParams
- type ExperimentalControllerClearSyscheckDatabaseResponse
- type ExperimentalControllerGetCisCatResultsParams
- type ExperimentalControllerGetCisCatResultsResponse
- type ExperimentalControllerGetHardwareInfoParams
- type ExperimentalControllerGetHardwareInfoResponse
- type ExperimentalControllerGetHotfixesInfoParams
- type ExperimentalControllerGetHotfixesInfoResponse
- type ExperimentalControllerGetNetworkAddressInfoParams
- type ExperimentalControllerGetNetworkAddressInfoResponse
- type ExperimentalControllerGetNetworkInterfaceInfoParams
- type ExperimentalControllerGetNetworkInterfaceInfoResponse
- type ExperimentalControllerGetNetworkProtocolInfoParams
- type ExperimentalControllerGetNetworkProtocolInfoResponse
- type ExperimentalControllerGetOsInfoParams
- type ExperimentalControllerGetOsInfoResponse
- type ExperimentalControllerGetPackagesInfoParams
- type ExperimentalControllerGetPackagesInfoResponse
- type ExperimentalControllerGetPortsInfoParams
- type ExperimentalControllerGetPortsInfoResponse
- type ExperimentalControllerGetProcessesInfoParams
- type ExperimentalControllerGetProcessesInfoResponse
- type ExperimentalControllerInterface
- type ExtraAgentFields
- type Fail
- type Fgroup
- type Field
- type Fields
- type FileFormat
- type FileName
- type FilePath
- type Filename
- type Filetype
- type Force
- type ForceQuery
- type ForceSingleGroup
- type FullPathFilter
- type Gateway
- type Gdpr
- type GetDirnamesPath
- type Gpg13
- type Group
- type GroupConfigStatus
- type GroupConfiguration
- type GroupDelete
- type GroupID
- type GroupIDListAll
- type GroupId
- type GroupIdQuery
- type GroupsList
- type GroupsListAll
- type HTTPRequestDoer
- type Hash
- type Hashfilter
- type Hipaa
- type Hotfix
- type HttpRequestDoer
- type Iface
- type Installer
- type InvalidCredentialsResponse
- type InvalidHTTPMethodResponse
- type Ip
- type ItemAffected
- type LastScan
- type Level
- type Limit
- type ListFilenamePath
- type LocalIp
- type LocalPort
- type LocalPortInfo
- type LogLevel
- type LogLines
- type LogSummary
- type LogtestController
- func (c *LogtestController) EndLogtestSession(arg1 LogtestToken, params *LogtestControllerEndLogtestSessionParams, ...) (*ApiResponse, error)
- func (c *LogtestController) RunLogtestTool(params *LogtestControllerRunLogtestToolParams, ...) (*ApiResponse, error)
- func (c *LogtestController) RunLogtestToolWithBody(params *LogtestControllerRunLogtestToolParams, arg2 string, body io.Reader, ...) (*ApiResponse, error)
- type LogtestControllerEndLogtestSessionParams
- type LogtestControllerEndLogtestSessionResponse
- type LogtestControllerInterface
- type LogtestControllerRunLogtestToolJSONBody
- type LogtestControllerRunLogtestToolJSONRequestBody
- type LogtestControllerRunLogtestToolParams
- type LogtestControllerRunLogtestToolResponse
- type LogtestRequest
- type LogtestToken
- type ManagerController
- func (c *ManagerController) GetAPIConfig(params *ManagerControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
- func (c *ManagerController) GetConfValidation(params *ManagerControllerGetConfValidationParams, ...) (*ConfigurationValidation, error)
- func (c *ManagerController) GetConfiguration(params *ManagerControllerGetConfigurationParams, reqEditors ...RequestEditorFn) (*WazuhManagerConfiguration, error)
- func (c *ManagerController) GetInfo(params *ManagerControllerGetInfoParams, reqEditors ...RequestEditorFn) (*WazuhInfo, error)
- func (c *ManagerController) GetLog(params *ManagerControllerGetLogParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhLogs, error)
- func (c *ManagerController) GetLogSummary(params *ManagerControllerGetLogSummaryParams, reqEditors ...RequestEditorFn) (*WazuhLogsSummary, error)
- func (c *ManagerController) GetManagerConfigOndemand(arg1 ManagerControllerGetManagerConfigOndemandParamsComponent, ...) (..., error)
- func (c *ManagerController) GetStats(params *ManagerControllerGetStatsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsAnalysisd(params *ManagerControllerGetStatsAnalysisdParams, ...) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsHourly(params *ManagerControllerGetStatsHourlyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsRemoted(params *ManagerControllerGetStatsRemotedParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsWeekly(params *ManagerControllerGetStatsWeeklyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatus(params *ManagerControllerGetStatusParams, reqEditors ...RequestEditorFn) (*WazuhDaemonsStatus, error)
- func (c *ManagerController) PutRestart(params *ManagerControllerPutRestartParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
- func (c *ManagerController) UpdateConfigurationWithBody(params *ManagerControllerUpdateConfigurationParams, arg2 string, ...) (..., error)
- type ManagerControllerCheckAvailableVersionParams
- type ManagerControllerCheckAvailableVersionResponse
- type ManagerControllerGetApiConfigParams
- type ManagerControllerGetApiConfigResponse
- type ManagerControllerGetConfValidationParams
- type ManagerControllerGetConfValidationResponse
- type ManagerControllerGetConfigurationParams
- type ManagerControllerGetConfigurationParamsSection
- type ManagerControllerGetConfigurationResponse
- type ManagerControllerGetDaemonStatsParams
- type ManagerControllerGetDaemonStatsParamsDaemonsList
- type ManagerControllerGetDaemonStatsResponse
- type ManagerControllerGetInfoParams
- type ManagerControllerGetInfoResponse
- type ManagerControllerGetLogParams
- type ManagerControllerGetLogParamsLevel
- type ManagerControllerGetLogResponse
- type ManagerControllerGetLogSummaryParams
- type ManagerControllerGetLogSummaryResponse
- type ManagerControllerGetManagerConfigOndemandParams
- type ManagerControllerGetManagerConfigOndemandParamsComponent
- type ManagerControllerGetManagerConfigOndemandParamsConfiguration
- type ManagerControllerGetManagerConfigOndemandResponse
- type ManagerControllerGetStatsAnalysisdParams
- type ManagerControllerGetStatsAnalysisdResponse
- type ManagerControllerGetStatsHourlyParams
- type ManagerControllerGetStatsHourlyResponse
- type ManagerControllerGetStatsParams
- type ManagerControllerGetStatsRemotedParams
- type ManagerControllerGetStatsRemotedResponse
- type ManagerControllerGetStatsResponse
- type ManagerControllerGetStatsWeeklyParams
- type ManagerControllerGetStatsWeeklyResponse
- type ManagerControllerGetStatusParams
- type ManagerControllerGetStatusResponse
- type ManagerControllerInterface
- type ManagerControllerPutRestartParams
- type ManagerControllerPutRestartResponse
- type ManagerControllerUpdateConfigurationParams
- type ManagerControllerUpdateConfigurationResponse
- type ManagerHost
- type Md5
- type Mitre
- type MitreController
- func (c *MitreController) GetGroups(params *MitreControllerGetGroupsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- func (c *MitreController) GetMetadata(params *MitreControllerGetMetadataParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- func (c *MitreController) GetMitigations(params *MitreControllerGetMitigationsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- func (c *MitreController) GetReferences(params *MitreControllerGetReferencesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- func (c *MitreController) GetSoftware(params *MitreControllerGetSoftwareParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- func (c *MitreController) GetTactics(params *MitreControllerGetTacticsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- func (c *MitreController) GetTechniques(params *MitreControllerGetTechniquesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- type MitreControllerGetGroupsParams
- type MitreControllerGetGroupsResponse
- type MitreControllerGetMetadataParams
- type MitreControllerGetMetadataResponse
- type MitreControllerGetMitigationsParams
- type MitreControllerGetMitigationsResponse
- type MitreControllerGetReferencesParams
- type MitreControllerGetReferencesResponse
- type MitreControllerGetSoftwareParams
- type MitreControllerGetSoftwareResponse
- type MitreControllerGetTacticsParams
- type MitreControllerGetTacticsResponse
- type MitreControllerGetTechniquesParams
- type MitreControllerGetTechniquesResponse
- type MitreControllerInterface
- type MitreGroupId
- type MitreGroupIds
- type MitreMitigationId
- type MitreMitigationIds
- type MitreReferenceId
- type MitreReferenceIds
- type MitreSoftwareId
- type MitreSoftwareIds
- type MitreTacticId
- type MitreTacticIds
- type MitreTechniqueId
- type MitreTechniqueIds
- type Module
- type Mtu
- type N200DataEnabled
- type N200DataNodeType
- type N200DataRunning
- type Name
- type Netmask
- type NetworkInterfaceReceivedPackets
- type NetworkInterfaceSentPackets
- type NewVersions
- type Nist80053
- type Nlwp
- type Node
- type NodeHealthcheck
- type NodeID
- type NodeId
- type NodeName
- type NodeRulesetSyncStatus
- type NodeType
- type NodesList
- type Notchecked
- type Offset
- type OlderThan
- type OlderThanParam
- type OsName
- type OsPlatform
- type OsVersion
- type OverviewAgents
- type OverviewController
- type OverviewControllerGetOverviewAgentsParams
- type OverviewControllerGetOverviewAgentsResponse
- type OverviewControllerInterface
- type Overwrite
- type PackageVersion
- type Pass
- type PciDss
- type PermissionDeniedResponse
- type Pgrp
- type Pid
- type PoliciesRequest
- type PoliciesRequestNoRequired
- type PoliciesResponse
- type PolicyId
- type PolicyIdDELETE
- type PolicyIdRbac
- type PolicyIdsRbac
- type PolicyIdsRbacDelete
- type PolicyIdsRbacRequired
- type Ppid
- type Pretty
- type Priority
- type Process
- type ProcessName
- type ProcessPid
- type ProcessState
- type Profile
- type Proto
- type Protocol
- type Purge
- type Query
- type RamFree
- type RamTotal
- type Rationale
- type Raw
- type RawAPIResponse
- type Reason
- type References
- type RegisterIP
- type Registry
- type Release
- type Remediation
- type RemoteIp
- type RemotePortInfo
- type RequestEditorFn
- type RequestError
- type RequestTooLargeResponse
- type ResourceList
- type ResourceNotFoundResponse
- type ResponseError
- type Result
- type Rgroup
- type RoleId
- type RoleIdDELETE
- type RoleIds
- type RoleIdsDelete
- type RoleIdsRequired
- type RolesRequest
- type RolesRequestNoRequired
- type RolesResponse
- type RootcheckController
- func (c *RootcheckController) DeleteRootcheck(arg1 AgentId, params *RootcheckControllerDeleteRootcheckParams, ...) (*AllItemsResponse, error)
- func (c *RootcheckController) GetLastScanAgent(arg1 AgentId, params *RootcheckControllerGetLastScanAgentParams, ...) (*AllItemsResponse, error)
- func (c *RootcheckController) GetRootcheckAgent(arg1 AgentId, params *RootcheckControllerGetRootcheckAgentParams, ...) (*AllItemsResponse, error)
- func (c *RootcheckController) PutRootcheck(params *RootcheckControllerPutRootcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- type RootcheckControllerDeleteRootcheckParams
- type RootcheckControllerDeleteRootcheckResponse
- type RootcheckControllerGetLastScanAgentParams
- type RootcheckControllerGetLastScanAgentResponse
- type RootcheckControllerGetRootcheckAgentParams
- type RootcheckControllerGetRootcheckAgentResponse
- type RootcheckControllerInterface
- type RootcheckControllerPutRootcheckParams
- type RootcheckControllerPutRootcheckResponse
- type Rule
- type RuleController
- func (c *RuleController) DeleteFile(arg1 XmlFilenamePath, params *RuleControllerDeleteFileParams, ...) (*AllItemsResponse, error)
- func (c *RuleController) GetFile(arg1 XmlFilenamePath, params *RuleControllerGetFileParams, ...) (*AllItemsResponse, error)
- func (c *RuleController) GetRules(params *RuleControllerGetRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRules, error)
- func (c *RuleController) GetRulesFiles(params *RuleControllerGetRulesFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRulesFiles, error)
- func (c *RuleController) GetRulesGroups(params *RuleControllerGetRulesGroupsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
- func (c *RuleController) GetRulesRequirement(arg1 RuleControllerGetRulesRequirementParamsRequirement, ...) (*AllItemsResponse, error)
- func (c *RuleController) PutFileWithBody(arg1 XmlFilenamePath, params *RuleControllerPutFileParams, arg3 string, ...) (*AllItemsResponse, error)
- type RuleControllerDeleteFileParams
- type RuleControllerDeleteFileResponse
- type RuleControllerGetFileParams
- type RuleControllerGetFileResponse
- type RuleControllerGetRulesFilesParams
- type RuleControllerGetRulesFilesParamsStatus
- type RuleControllerGetRulesFilesResponse
- type RuleControllerGetRulesGroupsParams
- type RuleControllerGetRulesGroupsResponse
- type RuleControllerGetRulesParams
- type RuleControllerGetRulesParamsStatus
- type RuleControllerGetRulesRequirementParams
- type RuleControllerGetRulesRequirementParamsRequirement
- type RuleControllerGetRulesRequirementResponse
- type RuleControllerGetRulesResponse
- type RuleControllerInterface
- type RuleControllerPutFileParams
- type RuleControllerPutFileResponse
- type RuleFile
- type RuleIds
- type RuleRequirement
- type RulesetFile
- type RulesetStatus
- type RulesetStatusStatus
- type Ruser
- type RxBytes
- type RxDropped
- type RxErrors
- type RxPackets
- type SCAChecks
- type SCAChecksCondition
- type SCAChecksResult
- type SCADatabase
- type ScaController
- type ScaControllerGetScaAgentParams
- type ScaControllerGetScaAgentResponse
- type ScaControllerGetScaChecksParams
- type ScaControllerGetScaChecksResponse
- type ScaControllerInterface
- type ScaName
- type ScanIdTime
- type Score
- type Search
- type Section
- type SecurityConfiguration
- type SecurityConfigurationRbacMode
- type SecurityController
- func (c *SecurityController) AddPolicy(params *SecurityControllerAddPolicyParams, ...) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) AddPolicyWithBody(params *SecurityControllerAddPolicyParams, arg2 string, body io.Reader, ...) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) AddRole(params *SecurityControllerAddRoleParams, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) AddRoleWithBody(params *SecurityControllerAddRoleParams, arg2 string, body io.Reader, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) AddRule(params *SecurityControllerAddRuleParams, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) AddRuleWithBody(params *SecurityControllerAddRuleParams, arg2 string, body io.Reader, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) CreateUser(params *SecurityControllerCreateUserParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) CreateUserWithBody(params *SecurityControllerCreateUserParams, arg2 string, body io.Reader, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) DeleteSecurityConfig(params *SecurityControllerDeleteSecurityConfigParams, ...) (*map[string]any, error)
- func (c *SecurityController) DeleteUsers(params *SecurityControllerDeleteUsersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
- func (c *SecurityController) EditRunAs(arg1 UserIdRequired, params *SecurityControllerEditRunAsParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) GetPolicies(params *SecurityControllerGetPoliciesParams, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) GetRbacActions(params *SecurityControllerGetRbacActionsParams, reqEditors ...RequestEditorFn) (..., error)
- func (c *SecurityController) GetRbacResources(params *SecurityControllerGetRbacResourcesParams, ...) (..., error)
- func (c *SecurityController) GetRoles(params *SecurityControllerGetRolesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
- func (c *SecurityController) GetRules(params *SecurityControllerGetRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
- func (c *SecurityController) GetSecurityConfig(params *SecurityControllerGetSecurityConfigParams, ...) (*ApiResponse, error)
- func (c *SecurityController) GetUserMe(params *SecurityControllerGetUserMeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
- func (c *SecurityController) GetUserMePolicies(params *SecurityControllerGetUserMePoliciesParams, ...) (*ApiResponse, error)
- func (c *SecurityController) GetUsers(params *SecurityControllerGetUsersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
- func (c *SecurityController) LoginUser(params *SecurityControllerLoginUserParams, reqEditors ...RequestEditorFn) (*Token, error)
- func (c *SecurityController) LogoutUser(reqEditors ...RequestEditorFn) (*ApiResponse, error)
- func (c *SecurityController) PutSecurityConfig(params *SecurityControllerPutSecurityConfigParams, ...) (*map[string]any, error)
- func (c *SecurityController) PutSecurityConfigWithBody(params *SecurityControllerPutSecurityConfigParams, arg2 string, body io.Reader, ...) (*map[string]any, error)
- func (c *SecurityController) RemovePolicies(params *SecurityControllerRemovePoliciesParams, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) RemoveRolePolicy(arg1 RoleId, params *SecurityControllerRemoveRolePolicyParams, ...) (..., error)
- func (c *SecurityController) RemoveRoleRule(arg1 RoleId, params *SecurityControllerRemoveRoleRuleParams, ...) (..., error)
- func (c *SecurityController) RemoveRoles(params *SecurityControllerRemoveRolesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
- func (c *SecurityController) RemoveRules(params *SecurityControllerRemoveRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
- func (c *SecurityController) RemoveUserRole(arg1 UserIdRequired, params *SecurityControllerRemoveUserRoleParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) RevokeAllTokens(reqEditors ...RequestEditorFn) (*map[string]any, error)
- func (c *SecurityController) RunAsLogin(params *SecurityControllerRunAsLoginParams, ...) (..., error)
- func (c *SecurityController) RunAsLoginWithBody(params *SecurityControllerRunAsLoginParams, arg2 string, body io.Reader, ...) (..., error)
- func (c *SecurityController) SetRolePolicy(arg1 RoleId, params *SecurityControllerSetRolePolicyParams, ...) (..., error)
- func (c *SecurityController) SetRoleRule(arg1 RoleId, params *SecurityControllerSetRoleRuleParams, ...) (..., error)
- func (c *SecurityController) SetUserRole(arg1 UserIdRequired, params *SecurityControllerSetUserRoleParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdatePolicy(arg1 PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, ...) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) UpdatePolicyWithBody(arg1 PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, arg3 string, ...) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) UpdateRole(arg1 RoleId, params *SecurityControllerUpdateRoleParams, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) UpdateRoleWithBody(arg1 RoleId, params *SecurityControllerUpdateRoleParams, arg3 string, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) UpdateRule(arg1 SecurityRuleId, params *SecurityControllerUpdateRuleParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdateRuleWithBody(arg1 SecurityRuleId, params *SecurityControllerUpdateRuleParams, arg3 string, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdateUser(arg1 UserIdRequired, params *SecurityControllerUpdateUserParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdateUserWithBody(arg1 UserIdRequired, params *SecurityControllerUpdateUserParams, arg3 string, ...) (*AllItemsResponseUsers, error)
- type SecurityControllerAddPolicyJSONBody
- type SecurityControllerAddPolicyJSONRequestBody
- type SecurityControllerAddPolicyParams
- type SecurityControllerAddPolicyResponse
- type SecurityControllerAddRoleJSONBody
- type SecurityControllerAddRoleJSONRequestBody
- type SecurityControllerAddRoleParams
- type SecurityControllerAddRoleResponse
- type SecurityControllerAddRuleJSONBody
- type SecurityControllerAddRuleJSONRequestBody
- type SecurityControllerAddRuleParams
- type SecurityControllerAddRuleResponse
- type SecurityControllerCreateUserJSONBody
- type SecurityControllerCreateUserJSONRequestBody
- type SecurityControllerCreateUserParams
- type SecurityControllerCreateUserResponse
- type SecurityControllerDeleteSecurityConfigParams
- type SecurityControllerDeleteSecurityConfigResponse
- type SecurityControllerDeleteUsersParams
- type SecurityControllerDeleteUsersResponse
- type SecurityControllerDeprecatedLoginUserParams
- type SecurityControllerDeprecatedLoginUserResponse
- type SecurityControllerEditRunAsParams
- type SecurityControllerEditRunAsResponse
- type SecurityControllerGetPoliciesParams
- type SecurityControllerGetPoliciesResponse
- type SecurityControllerGetRbacActionsParams
- type SecurityControllerGetRbacActionsResponse
- type SecurityControllerGetRbacResourcesParams
- type SecurityControllerGetRbacResourcesParamsResource
- type SecurityControllerGetRbacResourcesResponse
- type SecurityControllerGetRolesParams
- type SecurityControllerGetRolesResponse
- type SecurityControllerGetRulesParams
- type SecurityControllerGetRulesResponse
- type SecurityControllerGetSecurityConfigParams
- type SecurityControllerGetSecurityConfigResponse
- type SecurityControllerGetUserMeParams
- type SecurityControllerGetUserMePoliciesParams
- type SecurityControllerGetUserMePoliciesResponse
- type SecurityControllerGetUserMeResponse
- type SecurityControllerGetUsersParams
- type SecurityControllerGetUsersResponse
- type SecurityControllerInterface
- type SecurityControllerLoginUserParams
- type SecurityControllerLoginUserResponse
- type SecurityControllerLogoutUserResponse
- type SecurityControllerPutSecurityConfigJSONBody
- type SecurityControllerPutSecurityConfigJSONRequestBody
- type SecurityControllerPutSecurityConfigParams
- type SecurityControllerPutSecurityConfigResponse
- type SecurityControllerRemovePoliciesParams
- type SecurityControllerRemovePoliciesResponse
- type SecurityControllerRemoveRolePolicyParams
- type SecurityControllerRemoveRolePolicyResponse
- type SecurityControllerRemoveRoleRuleParams
- type SecurityControllerRemoveRoleRuleResponse
- type SecurityControllerRemoveRolesParams
- type SecurityControllerRemoveRolesResponse
- type SecurityControllerRemoveRulesParams
- type SecurityControllerRemoveRulesResponse
- type SecurityControllerRemoveUserRoleParams
- type SecurityControllerRemoveUserRoleResponse
- type SecurityControllerRevokeAllTokensResponse
- type SecurityControllerRunAsLoginJSONBody
- type SecurityControllerRunAsLoginJSONRequestBody
- type SecurityControllerRunAsLoginParams
- type SecurityControllerRunAsLoginResponse
- type SecurityControllerSetRolePolicyParams
- type SecurityControllerSetRolePolicyResponse
- type SecurityControllerSetRoleRuleParams
- type SecurityControllerSetRoleRuleResponse
- type SecurityControllerSetUserRoleParams
- type SecurityControllerSetUserRoleResponse
- type SecurityControllerUpdatePolicyJSONBody
- type SecurityControllerUpdatePolicyJSONRequestBody
- type SecurityControllerUpdatePolicyParams
- type SecurityControllerUpdatePolicyResponse
- type SecurityControllerUpdateRoleJSONBody
- type SecurityControllerUpdateRoleJSONRequestBody
- type SecurityControllerUpdateRoleParams
- type SecurityControllerUpdateRoleResponse
- type SecurityControllerUpdateRuleJSONBody
- type SecurityControllerUpdateRuleJSONRequestBody
- type SecurityControllerUpdateRuleParams
- type SecurityControllerUpdateRuleResponse
- type SecurityControllerUpdateUserJSONBody
- type SecurityControllerUpdateUserJSONRequestBody
- type SecurityControllerUpdateUserParams
- type SecurityControllerUpdateUserResponse
- type SecurityPosition
- type SecurityRuleId
- type SecurityRuleIdDELETE
- type SecurityRuleIds
- type SecurityRuleIdsDelete
- type SecurityRuleIdsRequired
- type SecurityRulesRequest
- type SecurityRulesRequestNoRequired
- type Select
- type Sgroup
- type Sha1
- type Sha256
- type SimpleApiError
- type SimpleApiError_Error
- type Sort
- type State
- type StatsComponent
- type Status
- type StatusAgentParam
- type StatusDeleteAgentParam
- type StatusRLDParam
- type Summary
- type Suser
- type SyscheckArch
- type SyscheckController
- func (c *SyscheckController) DeleteSyscheckAgent(arg1 AgentId, params *SyscheckControllerDeleteSyscheckAgentParams, ...) (*AllItemsResponse, error)
- func (c *SyscheckController) GetLastScanAgent(arg1 AgentId, params *SyscheckControllerGetLastScanAgentParams, ...) (*AllItemsResponseLastScan, error)
- func (c *SyscheckController) GetSyscheckAgent(arg1 AgentId, params *SyscheckControllerGetSyscheckAgentParams, ...) (*AllItemsResponseSyscheckResult, error)
- func (c *SyscheckController) PutSyscheck(params *SyscheckControllerPutSyscheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
- type SyscheckControllerDeleteSyscheckAgentParams
- type SyscheckControllerDeleteSyscheckAgentResponse
- type SyscheckControllerGetLastScanAgentParams
- type SyscheckControllerGetLastScanAgentResponse
- type SyscheckControllerGetSyscheckAgentParams
- type SyscheckControllerGetSyscheckAgentParamsArch
- type SyscheckControllerGetSyscheckAgentParamsType
- type SyscheckControllerGetSyscheckAgentResponse
- type SyscheckControllerInterface
- type SyscheckControllerPutSyscheckParams
- type SyscheckControllerPutSyscheckResponse
- type SyscheckDatabase
- type SyscollectorController
- func (c *SyscollectorController) GetHardwareInfo(arg1 AgentId, params *SyscollectorControllerGetHardwareInfoParams, ...) (*AllItemsResponseSyscollectorHardware, error)
- func (c *SyscollectorController) GetHotfixInfo(arg1 AgentId, params *SyscollectorControllerGetHotfixInfoParams, ...) (*AllItemsResponseSyscollectorHotfixes, error)
- func (c *SyscollectorController) GetNetworkAddressInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams, ...) (*AllItemsResponseSyscollectorNetwork, error)
- func (c *SyscollectorController) GetNetworkInterfaceInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams, ...) (*AllItemsResponseSyscollectorInterface, error)
- func (c *SyscollectorController) GetNetworkProtocolInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams, ...) (*AllItemsResponseSyscollectorProtocol, error)
- func (c *SyscollectorController) GetOsInfo(arg1 AgentId, params *SyscollectorControllerGetOsInfoParams, ...) (*AllItemsResponseSyscollectorOS, error)
- func (c *SyscollectorController) GetPackagesInfo(arg1 AgentId, params *SyscollectorControllerGetPackagesInfoParams, ...) (*AllItemsResponseSyscollectorPackages, error)
- func (c *SyscollectorController) GetPortsInfo(arg1 AgentId, params *SyscollectorControllerGetPortsInfoParams, ...) (*AllItemsResponseSyscollectorPorts, error)
- func (c *SyscollectorController) GetProcessesInfo(arg1 AgentId, params *SyscollectorControllerGetProcessesInfoParams, ...) (*AllItemsResponseSyscollectorProcesses, error)
- type SyscollectorControllerGetHardwareInfoParams
- type SyscollectorControllerGetHardwareInfoResponse
- type SyscollectorControllerGetHotfixInfoParams
- type SyscollectorControllerGetHotfixInfoResponse
- type SyscollectorControllerGetNetworkAddressInfoParams
- type SyscollectorControllerGetNetworkAddressInfoResponse
- type SyscollectorControllerGetNetworkInterfaceInfoParams
- type SyscollectorControllerGetNetworkInterfaceInfoResponse
- type SyscollectorControllerGetNetworkProtocolInfoParams
- type SyscollectorControllerGetNetworkProtocolInfoResponse
- type SyscollectorControllerGetOsInfoParams
- type SyscollectorControllerGetOsInfoResponse
- type SyscollectorControllerGetPackagesInfoParams
- type SyscollectorControllerGetPackagesInfoResponse
- type SyscollectorControllerGetPortsInfoParams
- type SyscollectorControllerGetPortsInfoResponse
- type SyscollectorControllerGetProcessesInfoParams
- type SyscollectorControllerGetProcessesInfoResponse
- type SyscollectorControllerInterface
- type SyscollectorHardware
- type SyscollectorHotfix
- type SyscollectorInterface
- type SyscollectorInterfaceState
- type SyscollectorNetwork
- type SyscollectorOS
- type SyscollectorPackages
- type SyscollectorPackagesFormat
- type SyscollectorPackagesMultiarch
- type SyscollectorPorts
- type SyscollectorPortsProtocol
- type SyscollectorPortsState
- type SyscollectorProcess
- type SyscollectorProtocol
- type SyscollectorProtocolType
- type Tag
- type TaskController
- type TaskControllerGetTasksStatusParams
- type TaskControllerGetTasksStatusResponse
- type TaskControllerInterface
- type TaskId
- type TasksList
- type Title
- type Token
- type TooManyRequestsResponse
- type Tsc
- type TxBytes
- type TxDropped
- type TxErrors
- type TxPackets
- type TxQueue
- type TypeAgents
- type TypeSyscollector
- type Typesys
- type UnauthorizedResponse
- type Unknown
- type UpgradeVersion
- type UseHttp
- type UserId
- type UserIdDELETE
- type UserIdRequired
- type UserIds
- type UserIdsDelete
- type UsersResponse
- type ValidationStatus
- type ValueName
- type ValueType
- type Vendor
- type Version
- type Vulnerability
- type VulnerabilityController
- func (c *VulnerabilityController) GetLastScanAgent(arg1 AgentId, params *VulnerabilityControllerGetLastScanAgentParams, ...) (*AllItemsResponseLastScan, error)
- func (c *VulnerabilityController) GetVulnerabilitiesFieldSummary(arg1 AgentId, ...) (*ApiResponse, error)
- func (c *VulnerabilityController) GetVulnerabilityAgent(arg1 AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams, ...) (*AllItemsResponseVulnerabilities, error)
- type VulnerabilityControllerGetLastScanAgentParams
- type VulnerabilityControllerGetLastScanAgentResponse
- type VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams
- type VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField
- type VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse
- type VulnerabilityControllerGetVulnerabilityAgentParams
- type VulnerabilityControllerGetVulnerabilityAgentParamsStatus
- type VulnerabilityControllerGetVulnerabilityAgentParamsType
- type VulnerabilityControllerGetVulnerabilityAgentResponse
- type VulnerabilityControllerInterface
- type VulnerabilityField
- type WaitForComplete
- type WazuhAnalysisdStats
- type WazuhAnalysisdStatsAgentsItem
- type WazuhAnalysisdStatsAgentsItemName
- type WazuhAnalysisdStatsItem
- type WazuhAnalysisdStatsItemName
- type WazuhDBStatsItem
- type WazuhDBStatsItemName
- type WazuhDaemonsStatus
- type WazuhError
- type WazuhHourlyStats
- type WazuhInfo
- type WazuhInfoType
- type WazuhLogs
- type WazuhLogsLevel
- type WazuhLogsSummary
- type WazuhLogsTag
- type WazuhManagerConfiguration
- type WazuhRemotedStats
- type WazuhRemotedStatsAgentsItem
- type WazuhRemotedStatsAgentsItemName
- type WazuhRemotedStatsItem
- type WazuhRemotedStatsItemName
- type WazuhStats
- type WazuhWeeklyStats
- type WpkRepo
- type WrongContentTypeResponse
- type XmlFilename
- type XmlFilenamePath
Constants ¶
const ( BasicAuthScopes = "basicAuth.Scopes" JwtScopes = "jwt.Scopes" )
const ( // Agentless Component = "agentless" Analysis Component = "analysis" // Auth Component = "auth" Com Component = "com" Csyslog Component = "csyslog" Integrator Component = "integrator" // Logcollector Component = "logcollector" Mail Component = "mail" Monitor Component = "monitor" Request Component = "request" Syscheck Component = "syscheck" // ActiveResponse Configuration = "active_response" ActiveResponse1 Configuration = "active-response" // Alerts Configuration = "alerts" Buffer Configuration = "buffer" // Client Configuration = "client" // Cluster Configuration = "cluster" // Command Configuration = "command" Decoders Configuration = "decoders" // Global Configuration = "global" // Integration Configuration = "integration" Internal Configuration = "internal" // Labels Configuration = "labels" // Localfile Configuration = "localfile" // Logging Configuration = "logging" // Remote Configuration = "remote" // Reports Configuration = "reports" Rootcheck Configuration = "rootcheck" RuleTest Configuration = "rule_test" Rules Configuration = "rules" Socket Configuration = "socket" Wdb Configuration = "wdb" Wmodules Configuration = "wmodules" )
Defines values for Component.
Variables ¶
This section is empty.
Functions ¶
func NewApiControllersActiveResponseControllerRunCommandRequest ¶ added in v0.8.0
func NewApiControllersActiveResponseControllerRunCommandRequest(server string, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody) (*http.Request, error)
NewApiControllersActiveResponseControllerRunCommandRequest calls the generic ActiveResponseControllerRunCommand builder with application/json body
func NewApiControllersActiveResponseControllerRunCommandRequestWithBody ¶ added in v0.8.0
func NewApiControllersActiveResponseControllerRunCommandRequestWithBody(server string, params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersActiveResponseControllerRunCommandRequestWithBody generates requests for ActiveResponseControllerRunCommand with any type of body
func NewApiControllersAgentControllerAddAgentRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerAddAgentRequest(server string, params *AgentControllerAddAgentParams, body AgentControllerAddAgentJSONRequestBody) (*http.Request, error)
NewApiControllersAgentControllerAddAgentRequest calls the generic AgentControllerAddAgent builder with application/json body
func NewApiControllersAgentControllerAddAgentRequestWithBody ¶ added in v0.8.0
func NewApiControllersAgentControllerAddAgentRequestWithBody(server string, params *AgentControllerAddAgentParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersAgentControllerAddAgentRequestWithBody generates requests for AgentControllerAddAgent with any type of body
func NewApiControllersAgentControllerDeleteAgentsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerDeleteAgentsRequest(server string, params *AgentControllerDeleteAgentsParams) (*http.Request, error)
NewApiControllersAgentControllerDeleteAgentsRequest generates requests for AgentControllerDeleteAgents
func NewApiControllersAgentControllerDeleteGroupsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerDeleteGroupsRequest(server string, params *AgentControllerDeleteGroupsParams) (*http.Request, error)
NewApiControllersAgentControllerDeleteGroupsRequest generates requests for AgentControllerDeleteGroups
func NewApiControllersAgentControllerDeleteMultipleAgentSingleGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerDeleteMultipleAgentSingleGroupRequest(server string, params *AgentControllerDeleteMultipleAgentSingleGroupParams) (*http.Request, error)
NewApiControllersAgentControllerDeleteMultipleAgentSingleGroupRequest generates requests for AgentControllerDeleteMultipleAgentSingleGroup
func NewApiControllersAgentControllerDeleteSingleAgentMultipleGroupsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerDeleteSingleAgentMultipleGroupsRequest(server string, agentId AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams) (*http.Request, error)
NewApiControllersAgentControllerDeleteSingleAgentMultipleGroupsRequest generates requests for AgentControllerDeleteSingleAgentMultipleGroups
func NewApiControllersAgentControllerDeleteSingleAgentSingleGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerDeleteSingleAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, params *AgentControllerDeleteSingleAgentSingleGroupParams) (*http.Request, error)
NewApiControllersAgentControllerDeleteSingleAgentSingleGroupRequest generates requests for AgentControllerDeleteSingleAgentSingleGroup
func NewApiControllersAgentControllerGetAgentConfigRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentConfigRequest(server string, agentId AgentId, component AgentControllerGetAgentConfigParamsComponent, configuration AgentControllerGetAgentConfigParamsConfiguration, params *AgentControllerGetAgentConfigParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentConfigRequest generates requests for AgentControllerGetAgentConfig
func NewApiControllersAgentControllerGetAgentFieldsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentFieldsRequest(server string, params *AgentControllerGetAgentFieldsParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentFieldsRequest generates requests for AgentControllerGetAgentFields
func NewApiControllersAgentControllerGetAgentKeyRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentKeyRequest(server string, agentId AgentId, params *AgentControllerGetAgentKeyParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentKeyRequest generates requests for AgentControllerGetAgentKey
func NewApiControllersAgentControllerGetAgentNoGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentNoGroupRequest(server string, params *AgentControllerGetAgentNoGroupParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentNoGroupRequest generates requests for AgentControllerGetAgentNoGroup
func NewApiControllersAgentControllerGetAgentOutdatedRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentOutdatedRequest(server string, params *AgentControllerGetAgentOutdatedParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentOutdatedRequest generates requests for AgentControllerGetAgentOutdated
func NewApiControllersAgentControllerGetAgentSummaryOsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentSummaryOsRequest(server string, params *AgentControllerGetAgentSummaryOsParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentSummaryOsRequest generates requests for AgentControllerGetAgentSummaryOs
func NewApiControllersAgentControllerGetAgentSummaryStatusRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentSummaryStatusRequest(server string, params *AgentControllerGetAgentSummaryStatusParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentSummaryStatusRequest generates requests for AgentControllerGetAgentSummaryStatus
func NewApiControllersAgentControllerGetAgentUpgradeRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentUpgradeRequest(server string, params *AgentControllerGetAgentUpgradeParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentUpgradeRequest generates requests for AgentControllerGetAgentUpgrade
func NewApiControllersAgentControllerGetAgentsInGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentsInGroupRequest(server string, groupId GroupId, params *AgentControllerGetAgentsInGroupParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentsInGroupRequest generates requests for AgentControllerGetAgentsInGroup
func NewApiControllersAgentControllerGetAgentsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetAgentsRequest(server string, params *AgentControllerGetAgentsParams) (*http.Request, error)
NewApiControllersAgentControllerGetAgentsRequest generates requests for AgentControllerGetAgents
func NewApiControllersAgentControllerGetComponentStatsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetComponentStatsRequest(server string, agentId AgentId, component AgentControllerGetComponentStatsParamsComponent, params *AgentControllerGetComponentStatsParams) (*http.Request, error)
NewApiControllersAgentControllerGetComponentStatsRequest generates requests for AgentControllerGetComponentStats
func NewApiControllersAgentControllerGetDaemonStatsRequest ¶ added in v1.1.5
func NewApiControllersAgentControllerGetDaemonStatsRequest(server string, agentId AgentId, params *AgentControllerGetDaemonStatsParams) (*http.Request, error)
NewAgentControllerGetDaemonStatsRequest generates requests for AgentControllerGetDaemonStats
func NewApiControllersAgentControllerGetGroupConfigRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetGroupConfigRequest(server string, groupId GroupId, params *AgentControllerGetGroupConfigParams) (*http.Request, error)
NewApiControllersAgentControllerGetGroupConfigRequest generates requests for AgentControllerGetGroupConfig
func NewApiControllersAgentControllerGetGroupFileJsonRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetGroupFileJsonRequest(server string, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileJsonParams) (*http.Request, error)
NewApiControllersAgentControllerGetGroupFileJsonRequest generates requests for AgentControllerGetGroupFileJson
func NewApiControllersAgentControllerGetGroupFileXmlRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetGroupFileXmlRequest(server string, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileXmlParams) (*http.Request, error)
NewApiControllersAgentControllerGetGroupFileXmlRequest generates requests for AgentControllerGetGroupFileXml
func NewApiControllersAgentControllerGetGroupFilesRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetGroupFilesRequest(server string, groupId GroupId, params *AgentControllerGetGroupFilesParams) (*http.Request, error)
NewApiControllersAgentControllerGetGroupFilesRequest generates requests for AgentControllerGetGroupFiles
func NewApiControllersAgentControllerGetListGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetListGroupRequest(server string, params *AgentControllerGetListGroupParams) (*http.Request, error)
NewApiControllersAgentControllerGetListGroupRequest generates requests for AgentControllerGetListGroup
func NewApiControllersAgentControllerGetSyncAgentRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerGetSyncAgentRequest(server string, agentId AgentId, params *AgentControllerGetSyncAgentParams) (*http.Request, error)
NewApiControllersAgentControllerGetSyncAgentRequest generates requests for AgentControllerGetSyncAgent
func NewApiControllersAgentControllerInsertAgentRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerInsertAgentRequest(server string, params *AgentControllerInsertAgentParams, body AgentControllerInsertAgentJSONRequestBody) (*http.Request, error)
NewApiControllersAgentControllerInsertAgentRequest calls the generic AgentControllerInsertAgent builder with application/json body
func NewApiControllersAgentControllerInsertAgentRequestWithBody ¶ added in v0.8.0
func NewApiControllersAgentControllerInsertAgentRequestWithBody(server string, params *AgentControllerInsertAgentParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersAgentControllerInsertAgentRequestWithBody generates requests for AgentControllerInsertAgent with any type of body
func NewApiControllersAgentControllerPostGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerPostGroupRequest(server string, params *AgentControllerPostGroupParams, body AgentControllerPostGroupJSONRequestBody) (*http.Request, error)
NewApiControllersAgentControllerPostGroupRequest calls the generic AgentControllerPostGroup builder with application/json body
func NewApiControllersAgentControllerPostGroupRequestWithBody ¶ added in v0.8.0
func NewApiControllersAgentControllerPostGroupRequestWithBody(server string, params *AgentControllerPostGroupParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersAgentControllerPostGroupRequestWithBody generates requests for AgentControllerPostGroup with any type of body
func NewApiControllersAgentControllerPostNewAgentRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerPostNewAgentRequest(server string, params *AgentControllerPostNewAgentParams) (*http.Request, error)
NewApiControllersAgentControllerPostNewAgentRequest generates requests for AgentControllerPostNewAgent
func NewApiControllersAgentControllerPutAgentSingleGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerPutAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, params *AgentControllerPutAgentSingleGroupParams) (*http.Request, error)
NewApiControllersAgentControllerPutAgentSingleGroupRequest generates requests for AgentControllerPutAgentSingleGroup
func NewApiControllersAgentControllerPutGroupConfigRequestWithBody ¶ added in v0.8.0
func NewApiControllersAgentControllerPutGroupConfigRequestWithBody(server string, groupId GroupId, params *AgentControllerPutGroupConfigParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersAgentControllerPutGroupConfigRequestWithBody generates requests for AgentControllerPutGroupConfig with any type of body
func NewApiControllersAgentControllerPutMultipleAgentSingleGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerPutMultipleAgentSingleGroupRequest(server string, params *AgentControllerPutMultipleAgentSingleGroupParams) (*http.Request, error)
NewApiControllersAgentControllerPutMultipleAgentSingleGroupRequest generates requests for AgentControllerPutMultipleAgentSingleGroup
func NewApiControllersAgentControllerPutUpgradeAgentsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerPutUpgradeAgentsRequest(server string, params *AgentControllerPutUpgradeAgentsParams) (*http.Request, error)
NewApiControllersAgentControllerPutUpgradeAgentsRequest generates requests for AgentControllerPutUpgradeAgents
func NewApiControllersAgentControllerPutUpgradeCustomAgentsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerPutUpgradeCustomAgentsRequest(server string, params *AgentControllerPutUpgradeCustomAgentsParams) (*http.Request, error)
NewApiControllersAgentControllerPutUpgradeCustomAgentsRequest generates requests for AgentControllerPutUpgradeCustomAgents
func NewApiControllersAgentControllerReconnectAgentsRequest ¶ added in v0.10.0
func NewApiControllersAgentControllerReconnectAgentsRequest(server string, params *AgentControllerReconnectAgentsParams) (*http.Request, error)
NewApiControllersAgentControllerReconnectAgentsRequest generates requests for AgentControllerReconnectAgents
func NewApiControllersAgentControllerRestartAgentRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerRestartAgentRequest(server string, agentId AgentId, params *AgentControllerRestartAgentParams) (*http.Request, error)
NewApiControllersAgentControllerRestartAgentRequest generates requests for AgentControllerRestartAgent
func NewApiControllersAgentControllerRestartAgentsByGroupRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerRestartAgentsByGroupRequest(server string, groupId GroupId, params *AgentControllerRestartAgentsByGroupParams) (*http.Request, error)
NewApiControllersAgentControllerRestartAgentsByGroupRequest generates requests for AgentControllerRestartAgentsByGroup
func NewApiControllersAgentControllerRestartAgentsByNodeRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerRestartAgentsByNodeRequest(server string, nodeId NodeId, params *AgentControllerRestartAgentsByNodeParams) (*http.Request, error)
NewApiControllersAgentControllerRestartAgentsByNodeRequest generates requests for AgentControllerRestartAgentsByNode
func NewApiControllersAgentControllerRestartAgentsRequest ¶ added in v0.8.0
func NewApiControllersAgentControllerRestartAgentsRequest(server string, params *AgentControllerRestartAgentsParams) (*http.Request, error)
NewApiControllersAgentControllerRestartAgentsRequest generates requests for AgentControllerRestartAgents
func NewApiControllersCdbListControllerDeleteFileRequest ¶ added in v0.8.0
func NewApiControllersCdbListControllerDeleteFileRequest(server string, filename ListFilenamePath, params *CdbListControllerDeleteFileParams) (*http.Request, error)
NewApiControllersCdbListControllerDeleteFileRequest generates requests for CdbListControllerDeleteFile
func NewApiControllersCdbListControllerGetFileRequest ¶ added in v0.8.0
func NewApiControllersCdbListControllerGetFileRequest(server string, filename ListFilenamePath, params *CdbListControllerGetFileParams) (*http.Request, error)
NewApiControllersCdbListControllerGetFileRequest generates requests for CdbListControllerGetFile
func NewApiControllersCdbListControllerGetListsFilesRequest ¶ added in v0.8.0
func NewApiControllersCdbListControllerGetListsFilesRequest(server string, params *CdbListControllerGetListsFilesParams) (*http.Request, error)
NewApiControllersCdbListControllerGetListsFilesRequest generates requests for CdbListControllerGetListsFiles
func NewApiControllersCdbListControllerGetListsRequest ¶ added in v0.8.0
func NewApiControllersCdbListControllerGetListsRequest(server string, params *CdbListControllerGetListsParams) (*http.Request, error)
NewApiControllersCdbListControllerGetListsRequest generates requests for CdbListControllerGetLists
func NewApiControllersCdbListControllerPutFileRequestWithBody ¶ added in v0.8.0
func NewApiControllersCdbListControllerPutFileRequestWithBody(server string, filename ListFilenamePath, params *CdbListControllerPutFileParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersCdbListControllerPutFileRequestWithBody generates requests for CdbListControllerPutFile with any type of body
func NewApiControllersCiscatControllerGetAgentsCiscatResultsRequest ¶ added in v0.8.0
func NewApiControllersCiscatControllerGetAgentsCiscatResultsRequest(server string, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams) (*http.Request, error)
NewApiControllersCiscatControllerGetAgentsCiscatResultsRequest generates requests for CiscatControllerGetAgentsCiscatResults
func NewApiControllersClusterControllerGetApiConfigRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetApiConfigRequest(server string, params *ClusterControllerGetApiConfigParams) (*http.Request, error)
NewApiControllersClusterControllerGetApiConfigRequest generates requests for ClusterControllerGetApiConfig
func NewApiControllersClusterControllerGetClusterNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetClusterNodeRequest(server string, params *ClusterControllerGetClusterNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetClusterNodeRequest generates requests for ClusterControllerGetClusterNode
func NewApiControllersClusterControllerGetClusterNodesRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetClusterNodesRequest(server string, params *ClusterControllerGetClusterNodesParams) (*http.Request, error)
NewApiControllersClusterControllerGetClusterNodesRequest generates requests for ClusterControllerGetClusterNodes
func NewApiControllersClusterControllerGetConfValidationRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetConfValidationRequest(server string, params *ClusterControllerGetConfValidationParams) (*http.Request, error)
NewApiControllersClusterControllerGetConfValidationRequest generates requests for ClusterControllerGetConfValidation
func NewApiControllersClusterControllerGetConfigRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetConfigRequest(server string, params *ClusterControllerGetConfigParams) (*http.Request, error)
NewApiControllersClusterControllerGetConfigRequest generates requests for ClusterControllerGetConfig
func NewApiControllersClusterControllerGetConfigurationNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetConfigurationNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetConfigurationNodeRequest generates requests for ClusterControllerGetConfigurationNode
func NewApiControllersClusterControllerGetDaemonStatsNodeRequest ¶ added in v1.1.5
func NewApiControllersClusterControllerGetDaemonStatsNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetDaemonStatsNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetDaemonStatsNodeRequest generates requests for ClusterControllerGetDaemonStatsNode
func NewApiControllersClusterControllerGetHealthcheckRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetHealthcheckRequest(server string, params *ClusterControllerGetHealthcheckParams) (*http.Request, error)
NewApiControllersClusterControllerGetHealthcheckRequest generates requests for ClusterControllerGetHealthcheck
func NewApiControllersClusterControllerGetInfoNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetInfoNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetInfoNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetInfoNodeRequest generates requests for ClusterControllerGetInfoNode
func NewApiControllersClusterControllerGetLogNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetLogNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetLogNodeRequest generates requests for ClusterControllerGetLogNode
func NewApiControllersClusterControllerGetLogSummaryNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetLogSummaryNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetLogSummaryNodeRequest generates requests for ClusterControllerGetLogSummaryNode
func NewApiControllersClusterControllerGetNodeConfigRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetNodeConfigRequest(server string, nodeId NodeId, component ClusterControllerGetNodeConfigParamsComponent, configuration ClusterControllerGetNodeConfigParamsConfiguration, params *ClusterControllerGetNodeConfigParams) (*http.Request, error)
NewApiControllersClusterControllerGetNodeConfigRequest generates requests for ClusterControllerGetNodeConfig
func NewApiControllersClusterControllerGetNodesRulesetSyncStatusRequest ¶ added in v1.1.5
func NewApiControllersClusterControllerGetNodesRulesetSyncStatusRequest(server string, params *ClusterControllerGetNodesRulesetSyncStatusParams) (*http.Request, error)
NewClusterControllerGetNodesRulesetSyncStatusRequest generates requests for ClusterControllerGetNodesRulesetSyncStatus
func NewApiControllersClusterControllerGetStatsAnalysisdNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetStatsAnalysisdNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetStatsAnalysisdNodeRequest generates requests for ClusterControllerGetStatsAnalysisdNode
func NewApiControllersClusterControllerGetStatsHourlyNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetStatsHourlyNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetStatsHourlyNodeRequest generates requests for ClusterControllerGetStatsHourlyNode
func NewApiControllersClusterControllerGetStatsNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetStatsNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetStatsNodeRequest generates requests for ClusterControllerGetStatsNode
func NewApiControllersClusterControllerGetStatsRemotedNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetStatsRemotedNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetStatsRemotedNodeRequest generates requests for ClusterControllerGetStatsRemotedNode
func NewApiControllersClusterControllerGetStatsWeeklyNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetStatsWeeklyNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetStatsWeeklyNodeRequest generates requests for ClusterControllerGetStatsWeeklyNode
func NewApiControllersClusterControllerGetStatusNodeRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetStatusNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatusNodeParams) (*http.Request, error)
NewApiControllersClusterControllerGetStatusNodeRequest generates requests for ClusterControllerGetStatusNode
func NewApiControllersClusterControllerGetStatusRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerGetStatusRequest(server string, params *ClusterControllerGetStatusParams) (*http.Request, error)
NewApiControllersClusterControllerGetStatusRequest generates requests for ClusterControllerGetStatus
func NewApiControllersClusterControllerPutRestartRequest ¶ added in v0.8.0
func NewApiControllersClusterControllerPutRestartRequest(server string, params *ClusterControllerPutRestartParams) (*http.Request, error)
NewApiControllersClusterControllerPutRestartRequest generates requests for ClusterControllerPutRestart
func NewApiControllersClusterControllerUpdateConfigurationRequestWithBody ¶ added in v0.8.0
func NewApiControllersClusterControllerUpdateConfigurationRequestWithBody(server string, nodeId NodeId, params *ClusterControllerUpdateConfigurationParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersClusterControllerUpdateConfigurationRequestWithBody generates requests for ClusterControllerUpdateConfiguration with any type of body
func NewApiControllersDecoderControllerDeleteFileRequest ¶ added in v0.8.0
func NewApiControllersDecoderControllerDeleteFileRequest(server string, filename XmlFilenamePath, params *DecoderControllerDeleteFileParams) (*http.Request, error)
NewApiControllersDecoderControllerDeleteFileRequest generates requests for DecoderControllerDeleteFile
func NewApiControllersDecoderControllerGetDecodersFilesRequest ¶ added in v0.8.0
func NewApiControllersDecoderControllerGetDecodersFilesRequest(server string, params *DecoderControllerGetDecodersFilesParams) (*http.Request, error)
NewApiControllersDecoderControllerGetDecodersFilesRequest generates requests for DecoderControllerGetDecodersFiles
func NewApiControllersDecoderControllerGetDecodersParentsRequest ¶ added in v0.8.0
func NewApiControllersDecoderControllerGetDecodersParentsRequest(server string, params *DecoderControllerGetDecodersParentsParams) (*http.Request, error)
NewApiControllersDecoderControllerGetDecodersParentsRequest generates requests for DecoderControllerGetDecodersParents
func NewApiControllersDecoderControllerGetDecodersRequest ¶ added in v0.8.0
func NewApiControllersDecoderControllerGetDecodersRequest(server string, params *DecoderControllerGetDecodersParams) (*http.Request, error)
NewApiControllersDecoderControllerGetDecodersRequest generates requests for DecoderControllerGetDecoders
func NewApiControllersDecoderControllerGetFileRequest ¶ added in v0.8.0
func NewApiControllersDecoderControllerGetFileRequest(server string, filename XmlFilenamePath, params *DecoderControllerGetFileParams) (*http.Request, error)
NewApiControllersDecoderControllerGetFileRequest generates requests for DecoderControllerGetFile
func NewApiControllersDecoderControllerPutFileRequestWithBody ¶ added in v0.8.0
func NewApiControllersDecoderControllerPutFileRequestWithBody(server string, filename XmlFilenamePath, params *DecoderControllerPutFileParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersDecoderControllerPutFileRequestWithBody generates requests for DecoderControllerPutFile with any type of body
func NewApiControllersDefaultControllerDefaultInfoRequest ¶ added in v0.8.0
func NewApiControllersDefaultControllerDefaultInfoRequest(server string, params *DefaultControllerDefaultInfoParams) (*http.Request, error)
NewApiControllersDefaultControllerDefaultInfoRequest generates requests for DefaultControllerDefaultInfo
func NewApiControllersEventControllerForwardEventRequest ¶ added in v1.1.5
func NewApiControllersEventControllerForwardEventRequest(server string, params *EventControllerForwardEventParams, body EventControllerForwardEventJSONRequestBody) (*http.Request, error)
NewApiControllersEventControllerForwardEventRequest calls the generic EventControllerForwardEvent builder with application/json body
func NewApiControllersEventControllerForwardEventRequestWithBody ¶ added in v1.1.5
func NewApiControllersEventControllerForwardEventRequestWithBody(server string, params *EventControllerForwardEventParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersEventControllerForwardEventRequestWithBody generates requests for EventControllerForwardEvent with any type of body
func NewApiControllersExperimentalControllerClearRootcheckDatabaseRequest ¶ added in v0.10.0
func NewApiControllersExperimentalControllerClearRootcheckDatabaseRequest(server string, params *ExperimentalControllerClearRootcheckDatabaseParams) (*http.Request, error)
NewApiControllersExperimentalControllerClearRootcheckDatabaseRequest generates requests for ExperimentalControllerClearRootcheckDatabase
func NewApiControllersExperimentalControllerClearSyscheckDatabaseRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerClearSyscheckDatabaseRequest(server string, params *ExperimentalControllerClearSyscheckDatabaseParams) (*http.Request, error)
NewApiControllersExperimentalControllerClearSyscheckDatabaseRequest generates requests for ExperimentalControllerClearSyscheckDatabase
func NewApiControllersExperimentalControllerGetCisCatResultsRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetCisCatResultsRequest(server string, params *ExperimentalControllerGetCisCatResultsParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetCisCatResultsRequest generates requests for ExperimentalControllerGetCisCatResults
func NewApiControllersExperimentalControllerGetHardwareInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetHardwareInfoRequest(server string, params *ExperimentalControllerGetHardwareInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetHardwareInfoRequest generates requests for ExperimentalControllerGetHardwareInfo
func NewApiControllersExperimentalControllerGetHotfixesInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetHotfixesInfoRequest(server string, params *ExperimentalControllerGetHotfixesInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetHotfixesInfoRequest generates requests for ExperimentalControllerGetHotfixesInfo
func NewApiControllersExperimentalControllerGetNetworkAddressInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetNetworkAddressInfoRequest(server string, params *ExperimentalControllerGetNetworkAddressInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetNetworkAddressInfoRequest generates requests for ExperimentalControllerGetNetworkAddressInfo
func NewApiControllersExperimentalControllerGetNetworkInterfaceInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetNetworkInterfaceInfoRequest(server string, params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetNetworkInterfaceInfoRequest generates requests for ExperimentalControllerGetNetworkInterfaceInfo
func NewApiControllersExperimentalControllerGetNetworkProtocolInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetNetworkProtocolInfoRequest(server string, params *ExperimentalControllerGetNetworkProtocolInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetNetworkProtocolInfoRequest generates requests for ExperimentalControllerGetNetworkProtocolInfo
func NewApiControllersExperimentalControllerGetOsInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetOsInfoRequest(server string, params *ExperimentalControllerGetOsInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetOsInfoRequest generates requests for ExperimentalControllerGetOsInfo
func NewApiControllersExperimentalControllerGetPackagesInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetPackagesInfoRequest(server string, params *ExperimentalControllerGetPackagesInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetPackagesInfoRequest generates requests for ExperimentalControllerGetPackagesInfo
func NewApiControllersExperimentalControllerGetPortsInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetPortsInfoRequest(server string, params *ExperimentalControllerGetPortsInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetPortsInfoRequest generates requests for ExperimentalControllerGetPortsInfo
func NewApiControllersExperimentalControllerGetProcessesInfoRequest ¶ added in v0.8.0
func NewApiControllersExperimentalControllerGetProcessesInfoRequest(server string, params *ExperimentalControllerGetProcessesInfoParams) (*http.Request, error)
NewApiControllersExperimentalControllerGetProcessesInfoRequest generates requests for ExperimentalControllerGetProcessesInfo
func NewApiControllersLogtestControllerEndLogtestSessionRequest ¶ added in v0.8.0
func NewApiControllersLogtestControllerEndLogtestSessionRequest(server string, token LogtestToken, params *LogtestControllerEndLogtestSessionParams) (*http.Request, error)
NewApiControllersLogtestControllerEndLogtestSessionRequest generates requests for LogtestControllerEndLogtestSession
func NewApiControllersLogtestControllerRunLogtestToolRequest ¶ added in v0.8.0
func NewApiControllersLogtestControllerRunLogtestToolRequest(server string, params *LogtestControllerRunLogtestToolParams, body LogtestControllerRunLogtestToolJSONRequestBody) (*http.Request, error)
NewApiControllersLogtestControllerRunLogtestToolRequest calls the generic LogtestControllerRunLogtestTool builder with application/json body
func NewApiControllersLogtestControllerRunLogtestToolRequestWithBody ¶ added in v0.8.0
func NewApiControllersLogtestControllerRunLogtestToolRequestWithBody(server string, params *LogtestControllerRunLogtestToolParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersLogtestControllerRunLogtestToolRequestWithBody generates requests for LogtestControllerRunLogtestTool with any type of body
func NewApiControllersManagerControllerCheckAvailableVersionRequest ¶ added in v1.1.5
func NewApiControllersManagerControllerCheckAvailableVersionRequest(server string, params *ManagerControllerCheckAvailableVersionParams) (*http.Request, error)
NewApiControllersManagerControllerCheckAvailableVersionRequest generates requests for ManagerControllerCheckAvailableVersion
func NewApiControllersManagerControllerGetApiConfigRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetApiConfigRequest(server string, params *ManagerControllerGetApiConfigParams) (*http.Request, error)
NewApiControllersManagerControllerGetApiConfigRequest generates requests for ManagerControllerGetApiConfig
func NewApiControllersManagerControllerGetConfValidationRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetConfValidationRequest(server string, params *ManagerControllerGetConfValidationParams) (*http.Request, error)
NewApiControllersManagerControllerGetConfValidationRequest generates requests for ManagerControllerGetConfValidation
func NewApiControllersManagerControllerGetConfigurationRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetConfigurationRequest(server string, params *ManagerControllerGetConfigurationParams) (*http.Request, error)
NewApiControllersManagerControllerGetConfigurationRequest generates requests for ManagerControllerGetConfiguration
func NewApiControllersManagerControllerGetDaemonStatsRequest ¶ added in v1.1.5
func NewApiControllersManagerControllerGetDaemonStatsRequest(server string, params *ManagerControllerGetDaemonStatsParams) (*http.Request, error)
NewApiControllersManagerControllerGetDaemonStatsRequest generates requests for ManagerControllerGetDaemonStats
func NewApiControllersManagerControllerGetInfoRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetInfoRequest(server string, params *ManagerControllerGetInfoParams) (*http.Request, error)
NewApiControllersManagerControllerGetInfoRequest generates requests for ManagerControllerGetInfo
func NewApiControllersManagerControllerGetLogRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetLogRequest(server string, params *ManagerControllerGetLogParams) (*http.Request, error)
NewApiControllersManagerControllerGetLogRequest generates requests for ManagerControllerGetLog
func NewApiControllersManagerControllerGetLogSummaryRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetLogSummaryRequest(server string, params *ManagerControllerGetLogSummaryParams) (*http.Request, error)
NewApiControllersManagerControllerGetLogSummaryRequest generates requests for ManagerControllerGetLogSummary
func NewApiControllersManagerControllerGetManagerConfigOndemandRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetManagerConfigOndemandRequest(server string, component ManagerControllerGetManagerConfigOndemandParamsComponent, configuration ManagerControllerGetManagerConfigOndemandParamsConfiguration, params *ManagerControllerGetManagerConfigOndemandParams) (*http.Request, error)
NewApiControllersManagerControllerGetManagerConfigOndemandRequest generates requests for ManagerControllerGetManagerConfigOndemand
func NewApiControllersManagerControllerGetStatsAnalysisdRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetStatsAnalysisdRequest(server string, params *ManagerControllerGetStatsAnalysisdParams) (*http.Request, error)
NewApiControllersManagerControllerGetStatsAnalysisdRequest generates requests for ManagerControllerGetStatsAnalysisd
func NewApiControllersManagerControllerGetStatsHourlyRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetStatsHourlyRequest(server string, params *ManagerControllerGetStatsHourlyParams) (*http.Request, error)
NewApiControllersManagerControllerGetStatsHourlyRequest generates requests for ManagerControllerGetStatsHourly
func NewApiControllersManagerControllerGetStatsRemotedRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetStatsRemotedRequest(server string, params *ManagerControllerGetStatsRemotedParams) (*http.Request, error)
NewApiControllersManagerControllerGetStatsRemotedRequest generates requests for ManagerControllerGetStatsRemoted
func NewApiControllersManagerControllerGetStatsRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetStatsRequest(server string, params *ManagerControllerGetStatsParams) (*http.Request, error)
NewApiControllersManagerControllerGetStatsRequest generates requests for ManagerControllerGetStats
func NewApiControllersManagerControllerGetStatsWeeklyRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetStatsWeeklyRequest(server string, params *ManagerControllerGetStatsWeeklyParams) (*http.Request, error)
NewApiControllersManagerControllerGetStatsWeeklyRequest generates requests for ManagerControllerGetStatsWeekly
func NewApiControllersManagerControllerGetStatusRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerGetStatusRequest(server string, params *ManagerControllerGetStatusParams) (*http.Request, error)
NewApiControllersManagerControllerGetStatusRequest generates requests for ManagerControllerGetStatus
func NewApiControllersManagerControllerPutRestartRequest ¶ added in v0.8.0
func NewApiControllersManagerControllerPutRestartRequest(server string, params *ManagerControllerPutRestartParams) (*http.Request, error)
NewApiControllersManagerControllerPutRestartRequest generates requests for ManagerControllerPutRestart
func NewApiControllersManagerControllerUpdateConfigurationRequestWithBody ¶ added in v0.8.0
func NewApiControllersManagerControllerUpdateConfigurationRequestWithBody(server string, params *ManagerControllerUpdateConfigurationParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersManagerControllerUpdateConfigurationRequestWithBody generates requests for ManagerControllerUpdateConfiguration with any type of body
func NewApiControllersMitreControllerGetGroupsRequest ¶ added in v0.10.0
func NewApiControllersMitreControllerGetGroupsRequest(server string, params *MitreControllerGetGroupsParams) (*http.Request, error)
NewApiControllersMitreControllerGetGroupsRequest generates requests for MitreControllerGetGroups
func NewApiControllersMitreControllerGetMetadataRequest ¶ added in v0.10.0
func NewApiControllersMitreControllerGetMetadataRequest(server string, params *MitreControllerGetMetadataParams) (*http.Request, error)
NewApiControllersMitreControllerGetMetadataRequest generates requests for MitreControllerGetMetadata
func NewApiControllersMitreControllerGetMitigationsRequest ¶ added in v0.10.0
func NewApiControllersMitreControllerGetMitigationsRequest(server string, params *MitreControllerGetMitigationsParams) (*http.Request, error)
NewApiControllersMitreControllerGetMitigationsRequest generates requests for MitreControllerGetMitigations
func NewApiControllersMitreControllerGetReferencesRequest ¶ added in v0.10.0
func NewApiControllersMitreControllerGetReferencesRequest(server string, params *MitreControllerGetReferencesParams) (*http.Request, error)
NewApiControllersMitreControllerGetReferencesRequest generates requests for MitreControllerGetReferences
func NewApiControllersMitreControllerGetSoftwareRequest ¶ added in v0.10.0
func NewApiControllersMitreControllerGetSoftwareRequest(server string, params *MitreControllerGetSoftwareParams) (*http.Request, error)
NewApiControllersMitreControllerGetSoftwareRequest generates requests for MitreControllerGetSoftware
func NewApiControllersMitreControllerGetTacticsRequest ¶ added in v0.10.0
func NewApiControllersMitreControllerGetTacticsRequest(server string, params *MitreControllerGetTacticsParams) (*http.Request, error)
NewApiControllersMitreControllerGetTacticsRequest generates requests for MitreControllerGetTactics
func NewApiControllersMitreControllerGetTechniquesRequest ¶ added in v0.10.0
func NewApiControllersMitreControllerGetTechniquesRequest(server string, params *MitreControllerGetTechniquesParams) (*http.Request, error)
NewApiControllersMitreControllerGetTechniquesRequest generates requests for MitreControllerGetTechniques
func NewApiControllersOverviewControllerGetOverviewAgentsRequest ¶ added in v0.8.0
func NewApiControllersOverviewControllerGetOverviewAgentsRequest(server string, params *OverviewControllerGetOverviewAgentsParams) (*http.Request, error)
NewApiControllersOverviewControllerGetOverviewAgentsRequest generates requests for OverviewControllerGetOverviewAgents
func NewApiControllersRootcheckControllerDeleteRootcheckRequest ¶ added in v0.8.0
func NewApiControllersRootcheckControllerDeleteRootcheckRequest(server string, agentId AgentId, params *RootcheckControllerDeleteRootcheckParams) (*http.Request, error)
NewApiControllersRootcheckControllerDeleteRootcheckRequest generates requests for RootcheckControllerDeleteRootcheck
func NewApiControllersRootcheckControllerGetLastScanAgentRequest ¶ added in v0.8.0
func NewApiControllersRootcheckControllerGetLastScanAgentRequest(server string, agentId AgentId, params *RootcheckControllerGetLastScanAgentParams) (*http.Request, error)
NewApiControllersRootcheckControllerGetLastScanAgentRequest generates requests for RootcheckControllerGetLastScanAgent
func NewApiControllersRootcheckControllerGetRootcheckAgentRequest ¶ added in v0.8.0
func NewApiControllersRootcheckControllerGetRootcheckAgentRequest(server string, agentId AgentId, params *RootcheckControllerGetRootcheckAgentParams) (*http.Request, error)
NewApiControllersRootcheckControllerGetRootcheckAgentRequest generates requests for RootcheckControllerGetRootcheckAgent
func NewApiControllersRootcheckControllerPutRootcheckRequest ¶ added in v0.8.0
func NewApiControllersRootcheckControllerPutRootcheckRequest(server string, params *RootcheckControllerPutRootcheckParams) (*http.Request, error)
NewApiControllersRootcheckControllerPutRootcheckRequest generates requests for RootcheckControllerPutRootcheck
func NewApiControllersRuleControllerDeleteFileRequest ¶ added in v0.8.0
func NewApiControllersRuleControllerDeleteFileRequest(server string, filename XmlFilenamePath, params *RuleControllerDeleteFileParams) (*http.Request, error)
NewApiControllersRuleControllerDeleteFileRequest generates requests for RuleControllerDeleteFile
func NewApiControllersRuleControllerGetFileRequest ¶ added in v0.8.0
func NewApiControllersRuleControllerGetFileRequest(server string, filename XmlFilenamePath, params *RuleControllerGetFileParams) (*http.Request, error)
NewApiControllersRuleControllerGetFileRequest generates requests for RuleControllerGetFile
func NewApiControllersRuleControllerGetRulesFilesRequest ¶ added in v0.8.0
func NewApiControllersRuleControllerGetRulesFilesRequest(server string, params *RuleControllerGetRulesFilesParams) (*http.Request, error)
NewApiControllersRuleControllerGetRulesFilesRequest generates requests for RuleControllerGetRulesFiles
func NewApiControllersRuleControllerGetRulesGroupsRequest ¶ added in v0.8.0
func NewApiControllersRuleControllerGetRulesGroupsRequest(server string, params *RuleControllerGetRulesGroupsParams) (*http.Request, error)
NewApiControllersRuleControllerGetRulesGroupsRequest generates requests for RuleControllerGetRulesGroups
func NewApiControllersRuleControllerGetRulesRequest ¶ added in v0.8.0
func NewApiControllersRuleControllerGetRulesRequest(server string, params *RuleControllerGetRulesParams) (*http.Request, error)
NewApiControllersRuleControllerGetRulesRequest generates requests for RuleControllerGetRules
func NewApiControllersRuleControllerGetRulesRequirementRequest ¶ added in v0.8.0
func NewApiControllersRuleControllerGetRulesRequirementRequest(server string, requirement RuleControllerGetRulesRequirementParamsRequirement, params *RuleControllerGetRulesRequirementParams) (*http.Request, error)
NewApiControllersRuleControllerGetRulesRequirementRequest generates requests for RuleControllerGetRulesRequirement
func NewApiControllersRuleControllerPutFileRequestWithBody ¶ added in v0.8.0
func NewApiControllersRuleControllerPutFileRequestWithBody(server string, filename XmlFilenamePath, params *RuleControllerPutFileParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersRuleControllerPutFileRequestWithBody generates requests for RuleControllerPutFile with any type of body
func NewApiControllersScaControllerGetScaAgentRequest ¶ added in v0.8.0
func NewApiControllersScaControllerGetScaAgentRequest(server string, agentId AgentId, params *ScaControllerGetScaAgentParams) (*http.Request, error)
NewApiControllersScaControllerGetScaAgentRequest generates requests for ScaControllerGetScaAgent
func NewApiControllersScaControllerGetScaChecksRequest ¶ added in v0.8.0
func NewApiControllersScaControllerGetScaChecksRequest(server string, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams) (*http.Request, error)
NewApiControllersScaControllerGetScaChecksRequest generates requests for ScaControllerGetScaChecks
func NewApiControllersSecurityControllerAddPolicyRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerAddPolicyRequest(server string, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerAddPolicyRequest calls the generic SecurityControllerAddPolicy builder with application/json body
func NewApiControllersSecurityControllerAddPolicyRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerAddPolicyRequestWithBody(server string, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerAddPolicyRequestWithBody generates requests for SecurityControllerAddPolicy with any type of body
func NewApiControllersSecurityControllerAddRoleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerAddRoleRequest(server string, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerAddRoleRequest calls the generic SecurityControllerAddRole builder with application/json body
func NewApiControllersSecurityControllerAddRoleRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerAddRoleRequestWithBody(server string, params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerAddRoleRequestWithBody generates requests for SecurityControllerAddRole with any type of body
func NewApiControllersSecurityControllerAddRuleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerAddRuleRequest(server string, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerAddRuleRequest calls the generic SecurityControllerAddRule builder with application/json body
func NewApiControllersSecurityControllerAddRuleRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerAddRuleRequestWithBody(server string, params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerAddRuleRequestWithBody generates requests for SecurityControllerAddRule with any type of body
func NewApiControllersSecurityControllerCreateUserRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerCreateUserRequest(server string, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerCreateUserRequest calls the generic SecurityControllerCreateUser builder with application/json body
func NewApiControllersSecurityControllerCreateUserRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerCreateUserRequestWithBody(server string, params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerCreateUserRequestWithBody generates requests for SecurityControllerCreateUser with any type of body
func NewApiControllersSecurityControllerDeleteSecurityConfigRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerDeleteSecurityConfigRequest(server string, params *SecurityControllerDeleteSecurityConfigParams) (*http.Request, error)
NewApiControllersSecurityControllerDeleteSecurityConfigRequest generates requests for SecurityControllerDeleteSecurityConfig
func NewApiControllersSecurityControllerDeleteUsersRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerDeleteUsersRequest(server string, params *SecurityControllerDeleteUsersParams) (*http.Request, error)
NewApiControllersSecurityControllerDeleteUsersRequest generates requests for SecurityControllerDeleteUsers
func NewApiControllersSecurityControllerDeprecatedLoginUserRequest ¶ added in v1.1.5
func NewApiControllersSecurityControllerDeprecatedLoginUserRequest(server string, params *SecurityControllerDeprecatedLoginUserParams) (*http.Request, error)
NewApiControllersSecurityControllerDeprecatedLoginUserRequest generates requests for SecurityControllerDeprecatedLoginUser
func NewApiControllersSecurityControllerEditRunAsRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerEditRunAsRequest(server string, userId UserIdRequired, params *SecurityControllerEditRunAsParams) (*http.Request, error)
NewApiControllersSecurityControllerEditRunAsRequest generates requests for SecurityControllerEditRunAs
func NewApiControllersSecurityControllerGetPoliciesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetPoliciesRequest(server string, params *SecurityControllerGetPoliciesParams) (*http.Request, error)
NewApiControllersSecurityControllerGetPoliciesRequest generates requests for SecurityControllerGetPolicies
func NewApiControllersSecurityControllerGetRbacActionsRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetRbacActionsRequest(server string, params *SecurityControllerGetRbacActionsParams) (*http.Request, error)
NewApiControllersSecurityControllerGetRbacActionsRequest generates requests for SecurityControllerGetRbacActions
func NewApiControllersSecurityControllerGetRbacResourcesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetRbacResourcesRequest(server string, params *SecurityControllerGetRbacResourcesParams) (*http.Request, error)
NewApiControllersSecurityControllerGetRbacResourcesRequest generates requests for SecurityControllerGetRbacResources
func NewApiControllersSecurityControllerGetRolesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetRolesRequest(server string, params *SecurityControllerGetRolesParams) (*http.Request, error)
NewApiControllersSecurityControllerGetRolesRequest generates requests for SecurityControllerGetRoles
func NewApiControllersSecurityControllerGetRulesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetRulesRequest(server string, params *SecurityControllerGetRulesParams) (*http.Request, error)
NewApiControllersSecurityControllerGetRulesRequest generates requests for SecurityControllerGetRules
func NewApiControllersSecurityControllerGetSecurityConfigRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetSecurityConfigRequest(server string, params *SecurityControllerGetSecurityConfigParams) (*http.Request, error)
NewApiControllersSecurityControllerGetSecurityConfigRequest generates requests for SecurityControllerGetSecurityConfig
func NewApiControllersSecurityControllerGetUserMePoliciesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetUserMePoliciesRequest(server string, params *SecurityControllerGetUserMePoliciesParams) (*http.Request, error)
NewApiControllersSecurityControllerGetUserMePoliciesRequest generates requests for SecurityControllerGetUserMePolicies
func NewApiControllersSecurityControllerGetUserMeRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetUserMeRequest(server string, params *SecurityControllerGetUserMeParams) (*http.Request, error)
NewApiControllersSecurityControllerGetUserMeRequest generates requests for SecurityControllerGetUserMe
func NewApiControllersSecurityControllerGetUsersRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerGetUsersRequest(server string, params *SecurityControllerGetUsersParams) (*http.Request, error)
NewApiControllersSecurityControllerGetUsersRequest generates requests for SecurityControllerGetUsers
func NewApiControllersSecurityControllerLoginUserRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerLoginUserRequest(server string, params *SecurityControllerLoginUserParams) (*http.Request, error)
NewApiControllersSecurityControllerLoginUserRequest generates requests for SecurityControllerLoginUser
func NewApiControllersSecurityControllerLogoutUserRequest ¶ added in v0.8.0
NewApiControllersSecurityControllerLogoutUserRequest generates requests for SecurityControllerLogoutUser
func NewApiControllersSecurityControllerPutSecurityConfigRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerPutSecurityConfigRequest(server string, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerPutSecurityConfigRequest calls the generic SecurityControllerPutSecurityConfig builder with application/json body
func NewApiControllersSecurityControllerPutSecurityConfigRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerPutSecurityConfigRequestWithBody(server string, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerPutSecurityConfigRequestWithBody generates requests for SecurityControllerPutSecurityConfig with any type of body
func NewApiControllersSecurityControllerRemovePoliciesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRemovePoliciesRequest(server string, params *SecurityControllerRemovePoliciesParams) (*http.Request, error)
NewApiControllersSecurityControllerRemovePoliciesRequest generates requests for SecurityControllerRemovePolicies
func NewApiControllersSecurityControllerRemoveRolePolicyRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRemoveRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams) (*http.Request, error)
NewApiControllersSecurityControllerRemoveRolePolicyRequest generates requests for SecurityControllerRemoveRolePolicy
func NewApiControllersSecurityControllerRemoveRoleRuleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRemoveRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams) (*http.Request, error)
NewApiControllersSecurityControllerRemoveRoleRuleRequest generates requests for SecurityControllerRemoveRoleRule
func NewApiControllersSecurityControllerRemoveRolesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRemoveRolesRequest(server string, params *SecurityControllerRemoveRolesParams) (*http.Request, error)
NewApiControllersSecurityControllerRemoveRolesRequest generates requests for SecurityControllerRemoveRoles
func NewApiControllersSecurityControllerRemoveRulesRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRemoveRulesRequest(server string, params *SecurityControllerRemoveRulesParams) (*http.Request, error)
NewApiControllersSecurityControllerRemoveRulesRequest generates requests for SecurityControllerRemoveRules
func NewApiControllersSecurityControllerRemoveUserRoleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRemoveUserRoleRequest(server string, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*http.Request, error)
NewApiControllersSecurityControllerRemoveUserRoleRequest generates requests for SecurityControllerRemoveUserRole
func NewApiControllersSecurityControllerRevokeAllTokensRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRevokeAllTokensRequest(server string) (*http.Request, error)
NewApiControllersSecurityControllerRevokeAllTokensRequest generates requests for SecurityControllerRevokeAllTokens
func NewApiControllersSecurityControllerRunAsLoginRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerRunAsLoginRequest(server string, params *SecurityControllerRunAsLoginParams, body SecurityControllerRunAsLoginJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerRunAsLoginRequest calls the generic SecurityControllerRunAsLogin builder with application/json body
func NewApiControllersSecurityControllerRunAsLoginRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerRunAsLoginRequestWithBody(server string, params *SecurityControllerRunAsLoginParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerRunAsLoginRequestWithBody generates requests for SecurityControllerRunAsLogin with any type of body
func NewApiControllersSecurityControllerSetRolePolicyRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerSetRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerSetRolePolicyParams) (*http.Request, error)
NewApiControllersSecurityControllerSetRolePolicyRequest generates requests for SecurityControllerSetRolePolicy
func NewApiControllersSecurityControllerSetRoleRuleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerSetRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerSetRoleRuleParams) (*http.Request, error)
NewApiControllersSecurityControllerSetRoleRuleRequest generates requests for SecurityControllerSetRoleRule
func NewApiControllersSecurityControllerSetUserRoleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerSetUserRoleRequest(server string, userId UserIdRequired, params *SecurityControllerSetUserRoleParams) (*http.Request, error)
NewApiControllersSecurityControllerSetUserRoleRequest generates requests for SecurityControllerSetUserRole
func NewApiControllersSecurityControllerUpdatePolicyRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdatePolicyRequest(server string, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerUpdatePolicyRequest calls the generic SecurityControllerUpdatePolicy builder with application/json body
func NewApiControllersSecurityControllerUpdatePolicyRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdatePolicyRequestWithBody(server string, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerUpdatePolicyRequestWithBody generates requests for SecurityControllerUpdatePolicy with any type of body
func NewApiControllersSecurityControllerUpdateRoleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdateRoleRequest(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerUpdateRoleRequest calls the generic SecurityControllerUpdateRole builder with application/json body
func NewApiControllersSecurityControllerUpdateRoleRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdateRoleRequestWithBody(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerUpdateRoleRequestWithBody generates requests for SecurityControllerUpdateRole with any type of body
func NewApiControllersSecurityControllerUpdateRuleRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdateRuleRequest(server string, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerUpdateRuleRequest calls the generic SecurityControllerUpdateRule builder with application/json body
func NewApiControllersSecurityControllerUpdateRuleRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdateRuleRequestWithBody(server string, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerUpdateRuleRequestWithBody generates requests for SecurityControllerUpdateRule with any type of body
func NewApiControllersSecurityControllerUpdateUserRequest ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdateUserRequest(server string, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody) (*http.Request, error)
NewApiControllersSecurityControllerUpdateUserRequest calls the generic SecurityControllerUpdateUser builder with application/json body
func NewApiControllersSecurityControllerUpdateUserRequestWithBody ¶ added in v0.8.0
func NewApiControllersSecurityControllerUpdateUserRequestWithBody(server string, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader) (*http.Request, error)
NewApiControllersSecurityControllerUpdateUserRequestWithBody generates requests for SecurityControllerUpdateUser with any type of body
func NewApiControllersSyscheckControllerDeleteSyscheckAgentRequest ¶ added in v0.8.0
func NewApiControllersSyscheckControllerDeleteSyscheckAgentRequest(server string, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*http.Request, error)
NewApiControllersSyscheckControllerDeleteSyscheckAgentRequest generates requests for SyscheckControllerDeleteSyscheckAgent
func NewApiControllersSyscheckControllerGetLastScanAgentRequest ¶ added in v0.8.0
func NewApiControllersSyscheckControllerGetLastScanAgentRequest(server string, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams) (*http.Request, error)
NewApiControllersSyscheckControllerGetLastScanAgentRequest generates requests for SyscheckControllerGetLastScanAgent
func NewApiControllersSyscheckControllerGetSyscheckAgentRequest ¶ added in v0.8.0
func NewApiControllersSyscheckControllerGetSyscheckAgentRequest(server string, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*http.Request, error)
NewApiControllersSyscheckControllerGetSyscheckAgentRequest generates requests for SyscheckControllerGetSyscheckAgent
func NewApiControllersSyscheckControllerPutSyscheckRequest ¶ added in v0.8.0
func NewApiControllersSyscheckControllerPutSyscheckRequest(server string, params *SyscheckControllerPutSyscheckParams) (*http.Request, error)
NewApiControllersSyscheckControllerPutSyscheckRequest generates requests for SyscheckControllerPutSyscheck
func NewApiControllersSyscollectorControllerGetHardwareInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetHardwareInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetHardwareInfoRequest generates requests for SyscollectorControllerGetHardwareInfo
func NewApiControllersSyscollectorControllerGetHotfixInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetHotfixInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetHotfixInfoRequest generates requests for SyscollectorControllerGetHotfixInfo
func NewApiControllersSyscollectorControllerGetNetworkAddressInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetNetworkAddressInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetNetworkAddressInfoRequest generates requests for SyscollectorControllerGetNetworkAddressInfo
func NewApiControllersSyscollectorControllerGetNetworkInterfaceInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetNetworkInterfaceInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetNetworkInterfaceInfoRequest generates requests for SyscollectorControllerGetNetworkInterfaceInfo
func NewApiControllersSyscollectorControllerGetNetworkProtocolInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetNetworkProtocolInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetNetworkProtocolInfoRequest generates requests for SyscollectorControllerGetNetworkProtocolInfo
func NewApiControllersSyscollectorControllerGetOsInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetOsInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetOsInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetOsInfoRequest generates requests for SyscollectorControllerGetOsInfo
func NewApiControllersSyscollectorControllerGetPackagesInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetPackagesInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetPackagesInfoRequest generates requests for SyscollectorControllerGetPackagesInfo
func NewApiControllersSyscollectorControllerGetPortsInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetPortsInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetPortsInfoRequest generates requests for SyscollectorControllerGetPortsInfo
func NewApiControllersSyscollectorControllerGetProcessesInfoRequest ¶ added in v0.8.0
func NewApiControllersSyscollectorControllerGetProcessesInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams) (*http.Request, error)
NewApiControllersSyscollectorControllerGetProcessesInfoRequest generates requests for SyscollectorControllerGetProcessesInfo
func NewApiControllersTaskControllerGetTasksStatusRequest ¶ added in v0.8.0
func NewApiControllersTaskControllerGetTasksStatusRequest(server string, params *TaskControllerGetTasksStatusParams) (*http.Request, error)
NewApiControllersTaskControllerGetTasksStatusRequest generates requests for TaskControllerGetTasksStatus
func NewApiControllersVulnerabilityControllerGetLastScanAgentRequest ¶ added in v0.10.0
func NewApiControllersVulnerabilityControllerGetLastScanAgentRequest(server string, agentId AgentId, params *VulnerabilityControllerGetLastScanAgentParams) (*http.Request, error)
NewApiControllersVulnerabilityControllerGetLastScanAgentRequest generates requests for VulnerabilityControllerGetLastScanAgent
func NewApiControllersVulnerabilityControllerGetVulnerabilitiesFieldSummaryRequest ¶ added in v0.10.0
func NewApiControllersVulnerabilityControllerGetVulnerabilitiesFieldSummaryRequest(server string, agentId AgentId, field VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField, params *VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams) (*http.Request, error)
NewApiControllersVulnerabilityControllerGetVulnerabilitiesFieldSummaryRequest generates requests for VulnerabilityControllerGetVulnerabilitiesFieldSummary
func NewApiControllersVulnerabilityControllerGetVulnerabilityAgentRequest ¶ added in v0.8.0
func NewApiControllersVulnerabilityControllerGetVulnerabilityAgentRequest(server string, agentId AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams) (*http.Request, error)
NewApiControllersVulnerabilityControllerGetVulnerabilityAgentRequest generates requests for VulnerabilityControllerGetVulnerabilityAgent
Types ¶
type APIClient ¶
type APIClient struct {
*ClientWithResponses
Lazy bool
DefaultController DefaultControllerInterface
LogtestController LogtestControllerInterface
ManagerController ManagerControllerInterface
MitreController MitreControllerInterface
OverviewController OverviewControllerInterface
RootcheckController RootcheckControllerInterface
ActiveResponseController ActiveResponseControllerInterface
CiscatController CiscatControllerInterface
SyscheckController SyscheckControllerInterface
SyscollectorController SyscollectorControllerInterface
ScaController ScaControllerInterface
VulnerabilityController VulnerabilityControllerInterface
ClusterController ClusterControllerInterface
ExperimentalController ExperimentalControllerInterface
AgentController AgentControllerInterface
DecoderController DecoderControllerInterface
SecurityController SecurityControllerInterface
TaskController TaskControllerInterface
CdbListController CdbListControllerInterface
RuleController RuleControllerInterface
}
APIClient extended client with less abstract api access
func NewAPIClient ¶
func NewAPIClient(baseURL string, opts ...ClientOption) (*APIClient, error)
NewAPIClient Create a new API (yes, naming is awkward)
func NewClientFromEnvironment ¶
func NewClientFromEnvironment(opts ...ClientOption) (*APIClient, error)
NewClientFromEnvironment creates a new client from default environment variables
func (*APIClient) ServerAddress ¶
ServerAddress return the Wazuh server address
type ActiveResponseBody ¶
type ActiveResponseBody struct {
Alert *struct {
// Alert data depending on the AR executed
Data *map[string]any `json:"data,omitempty"`
} `json:"alert,omitempty"`
// Command arguments
Arguments *[]string `json:"arguments,omitempty"`
// Command running in the agent. If this value starts by `!`, then it refers to a script name instead of a command name
Command string `json:"command"`
// Whether the specified command is a custom command or not
Custom *bool `json:"custom,omitempty"`
}
ActiveResponseBody defines model for ActiveResponseBody.
type ActiveResponseController ¶
type ActiveResponseController struct {
*ClientWithResponses
}
ActiveResponseController implementation of the ActiveResponseController interface
func (*ActiveResponseController) RunCommand ¶
func (c *ActiveResponseController) RunCommand(params *ActiveResponseControllerRunCommandParams, arg2 ActiveResponseControllerRunCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiResponse, error)
RunCommand calls the ActiveResponse controller´s function
func (*ActiveResponseController) RunCommandWithBody ¶
func (c *ActiveResponseController) RunCommandWithBody(params *ActiveResponseControllerRunCommandParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
RunCommandWithBody calls the ActiveResponse controller´s function
type ActiveResponseControllerInterface ¶
type ActiveResponseControllerInterface interface {
RunCommandWithBody(params *ActiveResponseControllerRunCommandParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
RunCommand(params *ActiveResponseControllerRunCommandParams, arg2 ActiveResponseControllerRunCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiResponse, error)
}
ActiveResponseControllerInterface contains all methods for the wazuh controller api
type ActiveResponseControllerRunCommandJSONBody ¶
type ActiveResponseControllerRunCommandJSONBody ActiveResponseBody
ActiveResponseControllerRunCommandJSONBody defines parameters for ActiveResponseControllerRunCommand.
type ActiveResponseControllerRunCommandJSONRequestBody ¶
type ActiveResponseControllerRunCommandJSONRequestBody ActiveResponseControllerRunCommandJSONBody
ActiveResponseControllerRunCommandJSONRequestBody defines body for ActiveResponseControllerRunCommand for application/json ContentType.
type ActiveResponseControllerRunCommandParams ¶
type ActiveResponseControllerRunCommandParams struct {
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ActiveResponseControllerRunCommandParams defines parameters for ActiveResponseControllerRunCommand.
type ActiveResponseControllerRunCommandResponse ¶
type ActiveResponseControllerRunCommandResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersActiveResponseControllerRunCommandResponse ¶ added in v0.8.0
func ParseApiControllersActiveResponseControllerRunCommandResponse(rsp *http.Response) (*ActiveResponseControllerRunCommandResponse, error)
ParseApiControllersActiveResponseControllerRunCommandResponse parses an HTTP response from a ActiveResponseControllerRunCommandWithResponse call
func (ActiveResponseControllerRunCommandResponse) Status ¶
func (r ActiveResponseControllerRunCommandResponse) Status() string
Status returns HTTPResponse.Status
func (ActiveResponseControllerRunCommandResponse) StatusCode ¶
func (r ActiveResponseControllerRunCommandResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Agent ¶
type Agent struct {
// Embedded struct due to allOf(#/components/schemas/AgentSimple)
AgentSimple `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/ExtraAgentFields)
ExtraAgentFields `yaml:",inline"`
}
Agent defines model for Agent.
type AgentConfiguration ¶
Current agent's configuration. The output varies with requested component and the agent configuration
type AgentController ¶ added in v0.8.0
type AgentController struct {
*ClientWithResponses
}
AgentController implementation of the AgentController interface
func (*AgentController) AddAgent ¶ added in v0.8.0
func (c *AgentController) AddAgent(params *AgentControllerAddAgentParams, arg2 AgentControllerAddAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
AddAgent calls the Agent controller´s function
func (*AgentController) AddAgentWithBody ¶ added in v0.8.0
func (c *AgentController) AddAgentWithBody(params *AgentControllerAddAgentParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
AddAgentWithBody calls the Agent controller´s function
func (*AgentController) DeleteAgents ¶ added in v0.8.0
func (c *AgentController) DeleteAgents(params *AgentControllerDeleteAgentsParams, reqEditors ...RequestEditorFn) (*struct { AllItemsResponseAgentIDs "yaml:\",inline\"" }, error)
DeleteAgents calls the Agent controller´s function
func (*AgentController) DeleteGroups ¶ added in v0.8.0
func (c *AgentController) DeleteGroups(params *AgentControllerDeleteGroupsParams, reqEditors ...RequestEditorFn) (*struct { AgentGroupDeleted "yaml:\",inline\"" }, error)
DeleteGroups calls the Agent controller´s function
func (*AgentController) DeleteMultipleAgentSingleGroup ¶ added in v0.8.0
func (c *AgentController) DeleteMultipleAgentSingleGroup(params *AgentControllerDeleteMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*struct { AllItemsResponseAgentIDs "yaml:\",inline\"" }, error)
DeleteMultipleAgentSingleGroup calls the Agent controller´s function
func (*AgentController) DeleteSingleAgentMultipleGroups ¶ added in v0.8.0
func (c *AgentController) DeleteSingleAgentMultipleGroups(arg1 AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams, reqEditors ...RequestEditorFn) (*struct { AllItemsResponseGroupIDs "yaml:\",inline\"" }, error)
DeleteSingleAgentMultipleGroups calls the Agent controller´s function
func (*AgentController) DeleteSingleAgentSingleGroup ¶ added in v0.8.0
func (c *AgentController) DeleteSingleAgentSingleGroup(arg1 AgentId, arg2 GroupId, params *AgentControllerDeleteSingleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
DeleteSingleAgentSingleGroup calls the Agent controller´s function
func (*AgentController) GetAgentConfig ¶ added in v0.8.0
func (c *AgentController) GetAgentConfig(arg1 AgentId, arg2 AgentControllerGetAgentConfigParamsComponent, arg3 AgentControllerGetAgentConfigParamsConfiguration, params *AgentControllerGetAgentConfigParams, reqEditors ...RequestEditorFn) (*AgentConfiguration, error)
GetAgentConfig calls the Agent controller´s function
func (*AgentController) GetAgentFields ¶ added in v0.8.0
func (c *AgentController) GetAgentFields(params *AgentControllerGetAgentFieldsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsDistinct, error)
GetAgentFields calls the Agent controller´s function
func (*AgentController) GetAgentKey ¶ added in v0.8.0
func (c *AgentController) GetAgentKey(arg1 AgentId, params *AgentControllerGetAgentKeyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsKeys, error)
GetAgentKey calls the Agent controller´s function
func (*AgentController) GetAgentNoGroup ¶ added in v0.8.0
func (c *AgentController) GetAgentNoGroup(params *AgentControllerGetAgentNoGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
GetAgentNoGroup calls the Agent controller´s function
func (*AgentController) GetAgentOutdated ¶ added in v0.8.0
func (c *AgentController) GetAgentOutdated(params *AgentControllerGetAgentOutdatedParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsSimple, error)
GetAgentOutdated calls the Agent controller´s function
func (*AgentController) GetAgentSummaryOs ¶ added in v0.8.0
func (c *AgentController) GetAgentSummaryOs(params *AgentControllerGetAgentSummaryOsParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
GetAgentSummaryOs calls the Agent controller´s function
func (*AgentController) GetAgentSummaryStatus ¶ added in v0.8.0
func (c *AgentController) GetAgentSummaryStatus(params *AgentControllerGetAgentSummaryStatusParams, reqEditors ...RequestEditorFn) (*AgentsSummaryStatus, error)
GetAgentSummaryStatus calls the Agent controller´s function
func (*AgentController) GetAgentUpgrade ¶ added in v0.8.0
func (c *AgentController) GetAgentUpgrade(params *AgentControllerGetAgentUpgradeParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetAgentUpgrade calls the Agent controller´s function
func (*AgentController) GetAgents ¶ added in v0.8.0
func (c *AgentController) GetAgents(params *AgentControllerGetAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
GetAgents calls the Agent controller´s function
func (*AgentController) GetAgentsInGroup ¶ added in v0.8.0
func (c *AgentController) GetAgentsInGroup(arg1 GroupId, params *AgentControllerGetAgentsInGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
GetAgentsInGroup calls the Agent controller´s function
func (*AgentController) GetComponentStats ¶ added in v0.8.0
func (c *AgentController) GetComponentStats(arg1 AgentId, arg2 AgentControllerGetComponentStatsParamsComponent, params *AgentControllerGetComponentStatsParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetComponentStats calls the Agent controller´s function
func (*AgentController) GetGroupConfig ¶ added in v0.8.0
func (c *AgentController) GetGroupConfig(arg1 GroupId, params *AgentControllerGetGroupConfigParams, reqEditors ...RequestEditorFn) (*struct { AffectedItems *[]GroupConfiguration "json:\"affected_items,omitempty\"" TotalAffectedItems *int32 "json:\"total_affected_items,omitempty\"" }, error)
GetGroupConfig calls the Agent controller´s function
func (*AgentController) GetGroupFileJSON ¶ added in v0.8.0
func (c *AgentController) GetGroupFileJSON(arg1 GroupId, arg2 FileName, params *AgentControllerGetGroupFileJsonParams, reqEditors ...RequestEditorFn) (*any, error)
GetGroupFileJSON calls the Agent controller´s function
func (*AgentController) GetGroupFileXML ¶ added in v0.8.0
func (c *AgentController) GetGroupFileXML(arg1 GroupId, arg2 FileName, params *AgentControllerGetGroupFileXmlParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFileXmlResponse, error)
GetGroupFileXML calls the Agent controller´s function
func (*AgentController) GetGroupFiles ¶ added in v0.8.0
func (c *AgentController) GetGroupFiles(arg1 GroupId, params *AgentControllerGetGroupFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetGroupFiles calls the Agent controller´s function
func (*AgentController) GetListGroup ¶ added in v0.8.0
func (c *AgentController) GetListGroup(params *AgentControllerGetListGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseGroups, error)
GetListGroup calls the Agent controller´s function
func (*AgentController) GetSyncAgent ¶ added in v0.8.0
func (c *AgentController) GetSyncAgent(arg1 AgentId, params *AgentControllerGetSyncAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsSynced, error)
GetSyncAgent calls the Agent controller´s function
func (*AgentController) InsertAgent ¶ added in v0.8.0
func (c *AgentController) InsertAgent(params *AgentControllerInsertAgentParams, arg2 AgentControllerInsertAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
InsertAgent calls the Agent controller´s function
func (*AgentController) InsertAgentWithBody ¶ added in v0.8.0
func (c *AgentController) InsertAgentWithBody(params *AgentControllerInsertAgentParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
InsertAgentWithBody calls the Agent controller´s function
func (*AgentController) PostGroup ¶ added in v0.8.0
func (c *AgentController) PostGroup(params *AgentControllerPostGroupParams, arg2 AgentControllerPostGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PostGroup calls the Agent controller´s function
func (*AgentController) PostGroupWithBody ¶ added in v0.8.0
func (c *AgentController) PostGroupWithBody(params *AgentControllerPostGroupParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PostGroupWithBody calls the Agent controller´s function
func (*AgentController) PostNewAgent ¶ added in v0.8.0
func (c *AgentController) PostNewAgent(params *AgentControllerPostNewAgentParams, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
PostNewAgent calls the Agent controller´s function
func (*AgentController) PutAgentSingleGroup ¶ added in v0.8.0
func (c *AgentController) PutAgentSingleGroup(arg1 AgentId, arg2 GroupId, params *AgentControllerPutAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutAgentSingleGroup calls the Agent controller´s function
func (*AgentController) PutGroupConfigWithBody ¶ added in v0.8.0
func (c *AgentController) PutGroupConfigWithBody(arg1 GroupId, params *AgentControllerPutGroupConfigParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutGroupConfigWithBody calls the Agent controller´s function
func (*AgentController) PutMultipleAgentSingleGroup ¶ added in v0.8.0
func (c *AgentController) PutMultipleAgentSingleGroup(params *AgentControllerPutMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*struct { AllItemsResponseAgentIDs "yaml:\",inline\"" }, error)
PutMultipleAgentSingleGroup calls the Agent controller´s function
func (*AgentController) PutUpgradeAgents ¶ added in v0.8.0
func (c *AgentController) PutUpgradeAgents(params *AgentControllerPutUpgradeAgentsParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutUpgradeAgents calls the Agent controller´s function
func (*AgentController) PutUpgradeCustomAgents ¶ added in v0.8.0
func (c *AgentController) PutUpgradeCustomAgents(params *AgentControllerPutUpgradeCustomAgentsParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutUpgradeCustomAgents calls the Agent controller´s function
func (*AgentController) ReconnectAgents ¶ added in v0.10.0
func (c *AgentController) ReconnectAgents(params *AgentControllerReconnectAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
ReconnectAgents calls the Agent controller´s function
func (*AgentController) RestartAgent ¶ added in v0.10.0
func (c *AgentController) RestartAgent(arg1 AgentId, params *AgentControllerRestartAgentParams, reqEditors ...RequestEditorFn) (*ItemAffected, error)
RestartAgent calls the Agent controller´s function
func (*AgentController) RestartAgents ¶ added in v0.10.0
func (c *AgentController) RestartAgents(params *AgentControllerRestartAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
RestartAgents calls the Agent controller´s function
func (*AgentController) RestartAgentsByGroup ¶ added in v0.10.0
func (c *AgentController) RestartAgentsByGroup(arg1 GroupId, params *AgentControllerRestartAgentsByGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
RestartAgentsByGroup calls the Agent controller´s function
func (*AgentController) RestartAgentsByNode ¶ added in v0.10.0
func (c *AgentController) RestartAgentsByNode(arg1 NodeId, params *AgentControllerRestartAgentsByNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
RestartAgentsByNode calls the Agent controller´s function
type AgentControllerAddAgentJSONBody ¶ added in v0.8.0
type AgentControllerAddAgentJSONBody struct {
// If this is not included, the API will get the IP automatically. Allowed values: IP, IP/NET, ANY
Ip *string `json:"ip,omitempty"`
// Agent name
Name string `json:"name"`
}
AgentControllerAddAgentJSONBody defines parameters for AgentControllerAddAgent.
type AgentControllerAddAgentJSONRequestBody ¶ added in v0.8.0
type AgentControllerAddAgentJSONRequestBody AgentControllerAddAgentJSONBody
AgentControllerAddAgentJSONRequestBody defines body for AgentControllerAddAgent for application/json ContentType.
type AgentControllerAddAgentParams ¶ added in v0.8.0
type AgentControllerAddAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerAddAgentParams defines parameters for AgentControllerAddAgent.
type AgentControllerAddAgentResponse ¶ added in v0.8.0
type AgentControllerAddAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AgentIdKey `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerAddAgentResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerAddAgentResponse(rsp *http.Response) (*AgentControllerAddAgentResponse, error)
ParseApiControllersAgentControllerAddAgentResponse parses an HTTP response from a AgentControllerAddAgentWithResponse call
func (AgentControllerAddAgentResponse) Status ¶ added in v0.8.0
func (r AgentControllerAddAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerAddAgentResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerAddAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerDeleteAgentsParams ¶ added in v0.8.0
type AgentControllerDeleteAgentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), use the keyword `all` to select all agents
AgentsList AgentsListAll `json:"agents_list"`
// Permanently delete an agent from the key store
Purge *Purge `json:"purge,omitempty"`
// Filter by agent status (use commas to enter multiple statuses)
Status StatusDeleteAgentParam `json:"status"`
// Consider only agents whose last keep alive is older than the specified time frame. For never_connected agents, register date is considered instead of last keep alive. For example, `7d`, `10s` and `10` are valid values. When no time unit is specified, seconds are assumed. Use 0s to select all agents
OlderThan *OlderThan `json:"older_than,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Filter by OS platform
OsPlatform *OsPlatform `json:"os.platform,omitempty"`
// Filter by OS version
OsVersion *OsVersion `json:"os.version,omitempty"`
// Filter by OS name
OsName *OsName `json:"os.name,omitempty"`
// Filter by manager hostname where agents are connected to
Manager *ManagerHost `json:"manager,omitempty"`
// Filter by agents version using one of the following formats: 'X.Y.Z', 'vX.Y.Z', 'wazuh X.Y.Z' or 'wazuh vX.Y.Z'. For example: '4.4.0'
Version *Version `json:"version,omitempty"`
// Filter by group of agents
Group *AgentGroup `json:"group,omitempty"`
// Filter by node name
NodeName *NodeName `json:"node_name,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by the IP used by the agent to communicate with the manager. If it's not available, it will have the same value as registerIP
Ip *Ip `json:"ip,omitempty"`
// Filter by the IP used when registering the agent
RegisterIP *RegisterIP `json:"registerIP,omitempty"`
}
AgentControllerDeleteAgentsParams defines parameters for AgentControllerDeleteAgents.
type AgentControllerDeleteAgentsParamsStatus ¶ added in v0.8.0
type AgentControllerDeleteAgentsParamsStatus string
AgentControllerDeleteAgentsParamsStatus defines parameters for AgentControllerDeleteAgents.
type AgentControllerDeleteAgentsResponse ¶ added in v0.8.0
type AgentControllerDeleteAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponseAgentIDs)
AllItemsResponseAgentIDs `yaml:",inline"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerDeleteAgentsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerDeleteAgentsResponse(rsp *http.Response) (*AgentControllerDeleteAgentsResponse, error)
ParseApiControllersAgentControllerDeleteAgentsResponse parses an HTTP response from a AgentControllerDeleteAgentsWithResponse call
func (AgentControllerDeleteAgentsResponse) Status ¶ added in v0.8.0
func (r AgentControllerDeleteAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerDeleteAgentsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerDeleteAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerDeleteGroupsParams ¶ added in v0.8.0
type AgentControllerDeleteGroupsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of group IDs (separated by comma), use the keyword 'all' to select all groups
GroupsList GroupsListAll `json:"groups_list"`
}
AgentControllerDeleteGroupsParams defines parameters for AgentControllerDeleteGroups.
type AgentControllerDeleteGroupsResponse ¶ added in v0.8.0
type AgentControllerDeleteGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Embedded struct due to allOf(#/components/schemas/AgentGroupDeleted)
AgentGroupDeleted `yaml:",inline"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerDeleteGroupsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerDeleteGroupsResponse(rsp *http.Response) (*AgentControllerDeleteGroupsResponse, error)
ParseApiControllersAgentControllerDeleteGroupsResponse parses an HTTP response from a AgentControllerDeleteGroupsWithResponse call
func (AgentControllerDeleteGroupsResponse) Status ¶ added in v0.8.0
func (r AgentControllerDeleteGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerDeleteGroupsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerDeleteGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerDeleteMultipleAgentSingleGroupParams ¶ added in v0.8.0
type AgentControllerDeleteMultipleAgentSingleGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), use the keyword `all` to select all agents
AgentsList AgentsListAll `json:"agents_list"`
// Group ID. (Name of the group)
GroupId GroupIdQuery `json:"group_id"`
}
AgentControllerDeleteMultipleAgentSingleGroupParams defines parameters for AgentControllerDeleteMultipleAgentSingleGroup.
type AgentControllerDeleteMultipleAgentSingleGroupResponse ¶ added in v0.8.0
type AgentControllerDeleteMultipleAgentSingleGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponseAgentIDs)
AllItemsResponseAgentIDs `yaml:",inline"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerDeleteMultipleAgentSingleGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerDeleteMultipleAgentSingleGroupResponse(rsp *http.Response) (*AgentControllerDeleteMultipleAgentSingleGroupResponse, error)
ParseApiControllersAgentControllerDeleteMultipleAgentSingleGroupResponse parses an HTTP response from a AgentControllerDeleteMultipleAgentSingleGroupWithResponse call
func (AgentControllerDeleteMultipleAgentSingleGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerDeleteMultipleAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerDeleteMultipleAgentSingleGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerDeleteMultipleAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerDeleteSingleAgentMultipleGroupsParams ¶ added in v0.8.0
type AgentControllerDeleteSingleAgentMultipleGroupsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of group IDs (separated by comma), all groups selected by default if not specified
GroupsList *GroupsList `json:"groups_list,omitempty"`
}
AgentControllerDeleteSingleAgentMultipleGroupsParams defines parameters for AgentControllerDeleteSingleAgentMultipleGroups.
type AgentControllerDeleteSingleAgentMultipleGroupsResponse ¶ added in v0.8.0
type AgentControllerDeleteSingleAgentMultipleGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponseGroupIDs)
AllItemsResponseGroupIDs `yaml:",inline"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerDeleteSingleAgentMultipleGroupsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerDeleteSingleAgentMultipleGroupsResponse(rsp *http.Response) (*AgentControllerDeleteSingleAgentMultipleGroupsResponse, error)
ParseApiControllersAgentControllerDeleteSingleAgentMultipleGroupsResponse parses an HTTP response from a AgentControllerDeleteSingleAgentMultipleGroupsWithResponse call
func (AgentControllerDeleteSingleAgentMultipleGroupsResponse) Status ¶ added in v0.8.0
func (r AgentControllerDeleteSingleAgentMultipleGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerDeleteSingleAgentMultipleGroupsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerDeleteSingleAgentMultipleGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerDeleteSingleAgentSingleGroupParams ¶ added in v0.8.0
type AgentControllerDeleteSingleAgentSingleGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerDeleteSingleAgentSingleGroupParams defines parameters for AgentControllerDeleteSingleAgentSingleGroup.
type AgentControllerDeleteSingleAgentSingleGroupResponse ¶ added in v0.8.0
type AgentControllerDeleteSingleAgentSingleGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerDeleteSingleAgentSingleGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerDeleteSingleAgentSingleGroupResponse(rsp *http.Response) (*AgentControllerDeleteSingleAgentSingleGroupResponse, error)
ParseApiControllersAgentControllerDeleteSingleAgentSingleGroupResponse parses an HTTP response from a AgentControllerDeleteSingleAgentSingleGroupWithResponse call
func (AgentControllerDeleteSingleAgentSingleGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerDeleteSingleAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerDeleteSingleAgentSingleGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerDeleteSingleAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentConfigParams ¶ added in v0.8.0
type AgentControllerGetAgentConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerGetAgentConfigParams defines parameters for AgentControllerGetAgentConfig.
type AgentControllerGetAgentConfigParamsComponent ¶ added in v0.8.0
type AgentControllerGetAgentConfigParamsComponent string
AgentControllerGetAgentConfigParamsComponent defines parameters for AgentControllerGetAgentConfig.
type AgentControllerGetAgentConfigParamsConfiguration ¶ added in v0.8.0
type AgentControllerGetAgentConfigParamsConfiguration string
AgentControllerGetAgentConfigParamsConfiguration defines parameters for AgentControllerGetAgentConfig.
type AgentControllerGetAgentConfigResponse ¶ added in v0.8.0
type AgentControllerGetAgentConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Current agent's configuration. The output varies with requested component and the agent configuration
Data *AgentConfiguration `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentConfigResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentConfigResponse(rsp *http.Response) (*AgentControllerGetAgentConfigResponse, error)
ParseApiControllersAgentControllerGetAgentConfigResponse parses an HTTP response from a AgentControllerGetAgentConfigWithResponse call
func (AgentControllerGetAgentConfigResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentConfigResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentFieldsParams ¶ added in v0.8.0
type AgentControllerGetAgentFieldsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of fields affecting the operation
Fields *Fields `json:"fields,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
}
AgentControllerGetAgentFieldsParams defines parameters for AgentControllerGetAgentFields.
type AgentControllerGetAgentFieldsResponse ¶ added in v0.8.0
type AgentControllerGetAgentFieldsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentsDistinct `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentFieldsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentFieldsResponse(rsp *http.Response) (*AgentControllerGetAgentFieldsResponse, error)
ParseApiControllersAgentControllerGetAgentFieldsResponse parses an HTTP response from a AgentControllerGetAgentFieldsWithResponse call
func (AgentControllerGetAgentFieldsResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentFieldsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentKeyParams ¶ added in v0.8.0
type AgentControllerGetAgentKeyParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerGetAgentKeyParams defines parameters for AgentControllerGetAgentKey.
type AgentControllerGetAgentKeyResponse ¶ added in v0.8.0
type AgentControllerGetAgentKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentsKeys `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentKeyResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentKeyResponse(rsp *http.Response) (*AgentControllerGetAgentKeyResponse, error)
ParseApiControllersAgentControllerGetAgentKeyResponse parses an HTTP response from a AgentControllerGetAgentKeyWithResponse call
func (AgentControllerGetAgentKeyResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentKeyResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentKeyResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentNoGroupParams ¶ added in v0.8.0
type AgentControllerGetAgentNoGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
}
AgentControllerGetAgentNoGroupParams defines parameters for AgentControllerGetAgentNoGroup.
type AgentControllerGetAgentNoGroupResponse ¶ added in v0.8.0
type AgentControllerGetAgentNoGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgents `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentNoGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentNoGroupResponse(rsp *http.Response) (*AgentControllerGetAgentNoGroupResponse, error)
ParseApiControllersAgentControllerGetAgentNoGroupResponse parses an HTTP response from a AgentControllerGetAgentNoGroupWithResponse call
func (AgentControllerGetAgentNoGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentNoGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentNoGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentNoGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentOutdatedParams ¶ added in v0.8.0
type AgentControllerGetAgentOutdatedParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
}
AgentControllerGetAgentOutdatedParams defines parameters for AgentControllerGetAgentOutdated.
type AgentControllerGetAgentOutdatedResponse ¶ added in v0.8.0
type AgentControllerGetAgentOutdatedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentsSimple `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentOutdatedResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentOutdatedResponse(rsp *http.Response) (*AgentControllerGetAgentOutdatedResponse, error)
ParseApiControllersAgentControllerGetAgentOutdatedResponse parses an HTTP response from a AgentControllerGetAgentOutdatedWithResponse call
func (AgentControllerGetAgentOutdatedResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentOutdatedResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentOutdatedResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentOutdatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentSummaryOsParams ¶ added in v0.8.0
type AgentControllerGetAgentSummaryOsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerGetAgentSummaryOsParams defines parameters for AgentControllerGetAgentSummaryOs.
type AgentControllerGetAgentSummaryOsResponse ¶ added in v0.8.0
type AgentControllerGetAgentSummaryOsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentSummaryOsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentSummaryOsResponse(rsp *http.Response) (*AgentControllerGetAgentSummaryOsResponse, error)
ParseApiControllersAgentControllerGetAgentSummaryOsResponse parses an HTTP response from a AgentControllerGetAgentSummaryOsWithResponse call
func (AgentControllerGetAgentSummaryOsResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentSummaryOsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentSummaryOsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentSummaryOsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentSummaryStatusParams ¶ added in v0.8.0
type AgentControllerGetAgentSummaryStatusParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerGetAgentSummaryStatusParams defines parameters for AgentControllerGetAgentSummaryStatus.
type AgentControllerGetAgentSummaryStatusResponse ¶ added in v0.8.0
type AgentControllerGetAgentSummaryStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AgentsSummaryStatus `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentSummaryStatusResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentSummaryStatusResponse(rsp *http.Response) (*AgentControllerGetAgentSummaryStatusResponse, error)
ParseApiControllersAgentControllerGetAgentSummaryStatusResponse parses an HTTP response from a AgentControllerGetAgentSummaryStatusWithResponse call
func (AgentControllerGetAgentSummaryStatusResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentSummaryStatusResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentSummaryStatusResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentSummaryStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentUpgradeParams ¶ added in v0.8.0
type AgentControllerGetAgentUpgradeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Filter by OS platform
OsPlatform *OsPlatform `json:"os.platform,omitempty"`
// Filter by OS version
OsVersion *OsVersion `json:"os.version,omitempty"`
// Filter by OS name
OsName *OsName `json:"os.name,omitempty"`
// Filter by manager hostname where agents are connected to
Manager *ManagerHost `json:"manager,omitempty"`
// Filter by agents version using one of the following formats: 'X.Y.Z', 'vX.Y.Z', 'wazuh X.Y.Z' or 'wazuh vX.Y.Z'. For example: '4.4.0'
Version *Version `json:"version,omitempty"`
// Filter by group of agents
Group *AgentGroup `json:"group,omitempty"`
// Filter by node name
NodeName *NodeName `json:"node_name,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by the IP used by the agent to communicate with the manager. If it's not available, it will have the same value as registerIP
Ip *Ip `json:"ip,omitempty"`
// Filter by the IP used when registering the agent
RegisterIP *RegisterIP `json:"registerIP,omitempty"`
}
AgentControllerGetAgentUpgradeParams defines parameters for AgentControllerGetAgentUpgrade.
type AgentControllerGetAgentUpgradeResponse ¶ added in v0.8.0
type AgentControllerGetAgentUpgradeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentUpgradeResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentUpgradeResponse(rsp *http.Response) (*AgentControllerGetAgentUpgradeResponse, error)
ParseApiControllersAgentControllerGetAgentUpgradeResponse parses an HTTP response from a AgentControllerGetAgentUpgradeWithResponse call
func (AgentControllerGetAgentUpgradeResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentUpgradeResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentsInGroupParams ¶ added in v0.8.0
type AgentControllerGetAgentsInGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Filter by agent status (use commas to enter multiple statuses)
Status *StatusAgentParam `json:"status,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
AgentControllerGetAgentsInGroupParams defines parameters for AgentControllerGetAgentsInGroup.
type AgentControllerGetAgentsInGroupParamsStatus ¶ added in v0.8.0
type AgentControllerGetAgentsInGroupParamsStatus string
AgentControllerGetAgentsInGroupParamsStatus defines parameters for AgentControllerGetAgentsInGroup.
type AgentControllerGetAgentsInGroupResponse ¶ added in v0.8.0
type AgentControllerGetAgentsInGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgents `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentsInGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentsInGroupResponse(rsp *http.Response) (*AgentControllerGetAgentsInGroupResponse, error)
ParseApiControllersAgentControllerGetAgentsInGroupResponse parses an HTTP response from a AgentControllerGetAgentsInGroupWithResponse call
func (AgentControllerGetAgentsInGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentsInGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentsInGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentsInGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetAgentsParams ¶ added in v0.8.0
type AgentControllerGetAgentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Filter by agent status (use commas to enter multiple statuses)
Status *StatusAgentParam `json:"status,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Filter out agents whose time lapse from last keep alive signal is longer than specified. Time in seconds, ‘[n_days]d’, ‘[n_hours]h’, ‘[n_minutes]m’ or ‘[n_seconds]s’. For never_connected agents, uses the register date. For example, `7d`, `10s` and `10` are valid values. If no time unit is specified, seconds are used
OlderThan *OlderThanParam `json:"older_than,omitempty"`
// Filter by OS platform
OsPlatform *OsPlatform `json:"os.platform,omitempty"`
// Filter by OS version
OsVersion *OsVersion `json:"os.version,omitempty"`
// Filter by OS name
OsName *OsName `json:"os.name,omitempty"`
// Filter by manager hostname where agents are connected to
Manager *ManagerHost `json:"manager,omitempty"`
// Filter by agents version using one of the following formats: 'X.Y.Z', 'vX.Y.Z', 'wazuh X.Y.Z' or 'wazuh vX.Y.Z'. For example: '4.4.0'
Version *Version `json:"version,omitempty"`
// Filter by group of agents
Group *AgentGroup `json:"group,omitempty"`
// Filter by node name
NodeName *NodeName `json:"node_name,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by the IP used by the agent to communicate with the manager. If it's not available, it will have the same value as registerIP
Ip *Ip `json:"ip,omitempty"`
// Filter by the IP used when registering the agent
RegisterIP *RegisterIP `json:"registerIP,omitempty"`
// Agent groups configuration sync status
GroupConfigStatus *AgentControllerGetAgentsParamsGroupConfigStatus `json:"group_config_status,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
AgentControllerGetAgentsParams defines parameters for AgentControllerGetAgents.
type AgentControllerGetAgentsParamsGroupConfigStatus ¶ added in v1.1.5
type AgentControllerGetAgentsParamsGroupConfigStatus string
AgentControllerGetAgentsParamsGroupConfigStatus defines parameters for AgentControllerGetAgents.
type AgentControllerGetAgentsParamsStatus ¶ added in v0.8.0
type AgentControllerGetAgentsParamsStatus string
AgentControllerGetAgentsParamsStatus defines parameters for AgentControllerGetAgents.
type AgentControllerGetAgentsResponse ¶ added in v0.8.0
type AgentControllerGetAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgents `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetAgentsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetAgentsResponse(rsp *http.Response) (*AgentControllerGetAgentsResponse, error)
ParseApiControllersAgentControllerGetAgentsResponse parses an HTTP response from a AgentControllerGetAgentsWithResponse call
func (AgentControllerGetAgentsResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetAgentsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetComponentStatsParams ¶ added in v0.8.0
type AgentControllerGetComponentStatsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerGetComponentStatsParams defines parameters for AgentControllerGetComponentStats.
type AgentControllerGetComponentStatsParamsComponent ¶ added in v0.8.0
type AgentControllerGetComponentStatsParamsComponent string
AgentControllerGetComponentStatsParamsComponent defines parameters for AgentControllerGetComponentStats.
type AgentControllerGetComponentStatsResponse ¶ added in v0.8.0
type AgentControllerGetComponentStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetComponentStatsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetComponentStatsResponse(rsp *http.Response) (*AgentControllerGetComponentStatsResponse, error)
ParseApiControllersAgentControllerGetComponentStatsResponse parses an HTTP response from a AgentControllerGetComponentStatsWithResponse call
func (AgentControllerGetComponentStatsResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetComponentStatsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetComponentStatsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetComponentStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetDaemonStatsParams ¶ added in v1.1.5
type AgentControllerGetDaemonStatsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of daemon names (separated by comma), all daemons selected by default if not specified
DaemonsList *DaemonsListAgents `json:"daemons_list,omitempty"`
}
AgentControllerGetDaemonStatsParams defines parameters for AgentControllerGetDaemonStats.
type AgentControllerGetDaemonStatsParamsDaemonsList ¶ added in v1.1.5
type AgentControllerGetDaemonStatsParamsDaemonsList string
AgentControllerGetDaemonStatsParamsDaemonsList defines parameters for AgentControllerGetDaemonStats.
type AgentControllerGetDaemonStatsResponse ¶ added in v1.1.5
type AgentControllerGetDaemonStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhDaemonStatsAgents `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetDaemonStatsResponse ¶ added in v1.1.5
func ParseApiControllersAgentControllerGetDaemonStatsResponse(rsp *http.Response) (*AgentControllerGetDaemonStatsResponse, error)
ParseApiControllersAgentControllerGetDaemonStatsResponse parses an HTTP response from a AgentControllerGetDaemonStatsWithResponse call
func (AgentControllerGetDaemonStatsResponse) Status ¶ added in v1.1.5
func (r AgentControllerGetDaemonStatsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetDaemonStatsResponse) StatusCode ¶ added in v1.1.5
func (r AgentControllerGetDaemonStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetGroupConfigParams ¶ added in v0.8.0
type AgentControllerGetGroupConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
}
AgentControllerGetGroupConfigParams defines parameters for AgentControllerGetGroupConfig.
type AgentControllerGetGroupConfigResponse ¶ added in v0.8.0
type AgentControllerGetGroupConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
AffectedItems *[]GroupConfiguration `json:"affected_items,omitempty"`
TotalAffectedItems *int32 `json:"total_affected_items,omitempty"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetGroupConfigResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetGroupConfigResponse(rsp *http.Response) (*AgentControllerGetGroupConfigResponse, error)
ParseApiControllersAgentControllerGetGroupConfigResponse parses an HTTP response from a AgentControllerGetGroupConfigWithResponse call
func (AgentControllerGetGroupConfigResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetGroupConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetGroupConfigResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetGroupConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetGroupFileJsonParams ¶ added in v0.8.0
type AgentControllerGetGroupFileJsonParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Type of file
Type *TypeAgents `json:"type,omitempty"`
}
AgentControllerGetGroupFileJsonParams defines parameters for AgentControllerGetGroupFileJson.
type AgentControllerGetGroupFileJsonParamsType ¶ added in v0.8.0
type AgentControllerGetGroupFileJsonParamsType string
AgentControllerGetGroupFileJsonParamsType defines parameters for AgentControllerGetGroupFileJson.
type AgentControllerGetGroupFileJsonResponse ¶ added in v0.8.0
type AgentControllerGetGroupFileJsonResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *any `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetGroupFileJsonResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetGroupFileJsonResponse(rsp *http.Response) (*AgentControllerGetGroupFileJsonResponse, error)
ParseApiControllersAgentControllerGetGroupFileJsonResponse parses an HTTP response from a AgentControllerGetGroupFileJsonWithResponse call
func (AgentControllerGetGroupFileJsonResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetGroupFileJsonResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetGroupFileJsonResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetGroupFileJsonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetGroupFileXmlParams ¶ added in v0.8.0
type AgentControllerGetGroupFileXmlParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Type of file
Type *TypeAgents `json:"type,omitempty"`
}
AgentControllerGetGroupFileXmlParams defines parameters for AgentControllerGetGroupFileXml.
type AgentControllerGetGroupFileXmlParamsType ¶ added in v0.8.0
type AgentControllerGetGroupFileXmlParamsType string
AgentControllerGetGroupFileXmlParamsType defines parameters for AgentControllerGetGroupFileXml.
type AgentControllerGetGroupFileXmlResponse ¶ added in v0.8.0
type AgentControllerGetGroupFileXmlResponse struct {
Body []byte
HTTPResponse *http.Response
XML200 *string
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetGroupFileXmlResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetGroupFileXmlResponse(rsp *http.Response) (*AgentControllerGetGroupFileXmlResponse, error)
ParseApiControllersAgentControllerGetGroupFileXmlResponse parses an HTTP response from a AgentControllerGetGroupFileXmlWithResponse call
func (AgentControllerGetGroupFileXmlResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetGroupFileXmlResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetGroupFileXmlResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetGroupFileXmlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetGroupFilesParams ¶ added in v0.8.0
type AgentControllerGetGroupFilesParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select algorithm to generate the returned checksums
Hash *AgentControllerGetGroupFilesParamsHash `json:"hash,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
AgentControllerGetGroupFilesParams defines parameters for AgentControllerGetGroupFiles.
type AgentControllerGetGroupFilesParamsHash ¶ added in v0.8.0
type AgentControllerGetGroupFilesParamsHash string
AgentControllerGetGroupFilesParamsHash defines parameters for AgentControllerGetGroupFiles.
type AgentControllerGetGroupFilesResponse ¶ added in v0.8.0
type AgentControllerGetGroupFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetGroupFilesResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetGroupFilesResponse(rsp *http.Response) (*AgentControllerGetGroupFilesResponse, error)
ParseApiControllersAgentControllerGetGroupFilesResponse parses an HTTP response from a AgentControllerGetGroupFilesWithResponse call
func (AgentControllerGetGroupFilesResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetGroupFilesResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetGroupFilesResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetGroupFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetListGroupParams ¶ added in v0.8.0
type AgentControllerGetListGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of group IDs (separated by comma), all groups selected by default if not specified
GroupsList *GroupsList `json:"groups_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select algorithm to generate the returned checksums
Hash *AgentControllerGetListGroupParamsHash `json:"hash,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
AgentControllerGetListGroupParams defines parameters for AgentControllerGetListGroup.
type AgentControllerGetListGroupParamsHash ¶ added in v0.8.0
type AgentControllerGetListGroupParamsHash string
AgentControllerGetListGroupParamsHash defines parameters for AgentControllerGetListGroup.
type AgentControllerGetListGroupResponse ¶ added in v0.8.0
type AgentControllerGetListGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseGroups `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetListGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetListGroupResponse(rsp *http.Response) (*AgentControllerGetListGroupResponse, error)
ParseApiControllersAgentControllerGetListGroupResponse parses an HTTP response from a AgentControllerGetListGroupWithResponse call
func (AgentControllerGetListGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetListGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetListGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetListGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerGetSyncAgentParams ¶ added in v0.8.0
type AgentControllerGetSyncAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerGetSyncAgentParams defines parameters for AgentControllerGetSyncAgent.
type AgentControllerGetSyncAgentResponse ¶ added in v0.8.0
type AgentControllerGetSyncAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentsSynced `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerGetSyncAgentResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerGetSyncAgentResponse(rsp *http.Response) (*AgentControllerGetSyncAgentResponse, error)
ParseApiControllersAgentControllerGetSyncAgentResponse parses an HTTP response from a AgentControllerGetSyncAgentWithResponse call
func (AgentControllerGetSyncAgentResponse) Status ¶ added in v0.8.0
func (r AgentControllerGetSyncAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerGetSyncAgentResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerGetSyncAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerInsertAgentJSONBody ¶ added in v0.8.0
type AgentControllerInsertAgentJSONBody struct {
// Remove the old agent with the same name, ID or IP if the configuration is matched
Force *AgentInsertForce `json:"force,omitempty"`
// Agent ID
Id *AgentID `json:"id,omitempty"`
// If this is not included, the API will get the IP automatically. Allowed values: IP, IP/NET, ANY
Ip *string `json:"ip,omitempty"`
// Key to use when communicating with the manager. The agent must have the same key on its `client.keys` file
Key *string `json:"key,omitempty"`
// Agent name
Name string `json:"name"`
}
AgentControllerInsertAgentJSONBody defines parameters for AgentControllerInsertAgent.
type AgentControllerInsertAgentJSONRequestBody ¶ added in v0.8.0
type AgentControllerInsertAgentJSONRequestBody AgentControllerInsertAgentJSONBody
AgentControllerInsertAgentJSONRequestBody defines body for AgentControllerInsertAgent for application/json ContentType.
type AgentControllerInsertAgentParams ¶ added in v0.8.0
type AgentControllerInsertAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerInsertAgentParams defines parameters for AgentControllerInsertAgent.
type AgentControllerInsertAgentResponse ¶ added in v0.8.0
type AgentControllerInsertAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AgentIdKey `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerInsertAgentResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerInsertAgentResponse(rsp *http.Response) (*AgentControllerInsertAgentResponse, error)
ParseApiControllersAgentControllerInsertAgentResponse parses an HTTP response from a AgentControllerInsertAgentWithResponse call
func (AgentControllerInsertAgentResponse) Status ¶ added in v0.8.0
func (r AgentControllerInsertAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerInsertAgentResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerInsertAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerInterface ¶ added in v0.8.0
type AgentControllerInterface interface {
AddAgentWithBody(params *AgentControllerAddAgentParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
AddAgent(params *AgentControllerAddAgentParams, arg2 AgentControllerAddAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
DeleteAgents(params *AgentControllerDeleteAgentsParams, reqEditors ...RequestEditorFn) (*struct {
AllItemsResponseAgentIDs "yaml:\",inline\""
}, error)
DeleteGroups(params *AgentControllerDeleteGroupsParams, reqEditors ...RequestEditorFn) (*struct {
AgentGroupDeleted "yaml:\",inline\""
}, error)
DeleteMultipleAgentSingleGroup(params *AgentControllerDeleteMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*struct {
AllItemsResponseAgentIDs "yaml:\",inline\""
}, error)
DeleteSingleAgentMultipleGroups(arg1 AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams, reqEditors ...RequestEditorFn) (*struct {
AllItemsResponseGroupIDs "yaml:\",inline\""
}, error)
DeleteSingleAgentSingleGroup(arg1 AgentId, arg2 GroupId, params *AgentControllerDeleteSingleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetAgentConfig(arg1 AgentId, arg2 AgentControllerGetAgentConfigParamsComponent, arg3 AgentControllerGetAgentConfigParamsConfiguration, params *AgentControllerGetAgentConfigParams, reqEditors ...RequestEditorFn) (*AgentConfiguration, error)
GetAgentFields(params *AgentControllerGetAgentFieldsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsDistinct, error)
GetAgentKey(arg1 AgentId, params *AgentControllerGetAgentKeyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsKeys, error)
GetAgentNoGroup(params *AgentControllerGetAgentNoGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
GetAgentOutdated(params *AgentControllerGetAgentOutdatedParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsSimple, error)
GetAgentSummaryOs(params *AgentControllerGetAgentSummaryOsParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
GetAgentSummaryStatus(params *AgentControllerGetAgentSummaryStatusParams, reqEditors ...RequestEditorFn) (*AgentsSummaryStatus, error)
GetAgentUpgrade(params *AgentControllerGetAgentUpgradeParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetAgentsInGroup(arg1 GroupId, params *AgentControllerGetAgentsInGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
GetAgents(params *AgentControllerGetAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgents, error)
GetComponentStats(arg1 AgentId, arg2 AgentControllerGetComponentStatsParamsComponent, params *AgentControllerGetComponentStatsParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetGroupConfig(arg1 GroupId, params *AgentControllerGetGroupConfigParams, reqEditors ...RequestEditorFn) (*struct {
AffectedItems *[]GroupConfiguration "json:\"affected_items,omitempty\""
TotalAffectedItems *int32 "json:\"total_affected_items,omitempty\""
}, error)
GetGroupFileJSON(arg1 GroupId, arg2 FileName, params *AgentControllerGetGroupFileJsonParams, reqEditors ...RequestEditorFn) (*any, error)
GetGroupFileXML(arg1 GroupId, arg2 FileName, params *AgentControllerGetGroupFileXmlParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFileXmlResponse, error)
GetGroupFiles(arg1 GroupId, params *AgentControllerGetGroupFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetListGroup(params *AgentControllerGetListGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseGroups, error)
GetSyncAgent(arg1 AgentId, params *AgentControllerGetSyncAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentsSynced, error)
InsertAgentWithBody(params *AgentControllerInsertAgentParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
InsertAgent(params *AgentControllerInsertAgentParams, arg2 AgentControllerInsertAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
PostGroupWithBody(params *AgentControllerPostGroupParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PostGroup(params *AgentControllerPostGroupParams, arg2 AgentControllerPostGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PostNewAgent(params *AgentControllerPostNewAgentParams, reqEditors ...RequestEditorFn) (*AgentIdKey, error)
PutAgentSingleGroup(arg1 AgentId, arg2 GroupId, params *AgentControllerPutAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutGroupConfigWithBody(arg1 GroupId, params *AgentControllerPutGroupConfigParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutMultipleAgentSingleGroup(params *AgentControllerPutMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*struct {
AllItemsResponseAgentIDs "yaml:\",inline\""
}, error)
PutUpgradeAgents(params *AgentControllerPutUpgradeAgentsParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutUpgradeCustomAgents(params *AgentControllerPutUpgradeCustomAgentsParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
ReconnectAgents(params *AgentControllerReconnectAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
RestartAgent(arg1 AgentId, params *AgentControllerRestartAgentParams, reqEditors ...RequestEditorFn) (*ItemAffected, error)
RestartAgentsByGroup(arg1 GroupId, params *AgentControllerRestartAgentsByGroupParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
RestartAgentsByNode(arg1 NodeId, params *AgentControllerRestartAgentsByNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
RestartAgents(params *AgentControllerRestartAgentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
}
AgentControllerInterface contains all methods for the wazuh controller api
type AgentControllerPostGroupJSONBody ¶ added in v0.8.0
type AgentControllerPostGroupJSONBody struct {
// Group name. It can contain any of the characters between a-z, A-Z, 0-9, '_', '-' and '.'. Names '.' and '..' are restricted.
GroupId string `json:"group_id"`
}
AgentControllerPostGroupJSONBody defines parameters for AgentControllerPostGroup.
type AgentControllerPostGroupJSONRequestBody ¶ added in v0.8.0
type AgentControllerPostGroupJSONRequestBody AgentControllerPostGroupJSONBody
AgentControllerPostGroupJSONRequestBody defines body for AgentControllerPostGroup for application/json ContentType.
type AgentControllerPostGroupParams ¶ added in v0.8.0
type AgentControllerPostGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerPostGroupParams defines parameters for AgentControllerPostGroup.
type AgentControllerPostGroupResponse ¶ added in v0.8.0
type AgentControllerPostGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerPostGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerPostGroupResponse(rsp *http.Response) (*AgentControllerPostGroupResponse, error)
ParseApiControllersAgentControllerPostGroupResponse parses an HTTP response from a AgentControllerPostGroupWithResponse call
func (AgentControllerPostGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerPostGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerPostGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerPostGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerPostNewAgentParams ¶ added in v0.8.0
type AgentControllerPostNewAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Agent name. The special characters allowed are: '-','_','.'
AgentName AgentName `json:"agent_name"`
}
AgentControllerPostNewAgentParams defines parameters for AgentControllerPostNewAgent.
type AgentControllerPostNewAgentResponse ¶ added in v0.8.0
type AgentControllerPostNewAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AgentIdKey `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerPostNewAgentResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerPostNewAgentResponse(rsp *http.Response) (*AgentControllerPostNewAgentResponse, error)
ParseApiControllersAgentControllerPostNewAgentResponse parses an HTTP response from a AgentControllerPostNewAgentWithResponse call
func (AgentControllerPostNewAgentResponse) Status ¶ added in v0.8.0
func (r AgentControllerPostNewAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerPostNewAgentResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerPostNewAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerPutAgentSingleGroupParams ¶ added in v0.8.0
type AgentControllerPutAgentSingleGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Removes the agent from all groups to which it belongs and assigns it to the specified group
ForceSingleGroup *ForceSingleGroup `json:"force_single_group,omitempty"`
}
AgentControllerPutAgentSingleGroupParams defines parameters for AgentControllerPutAgentSingleGroup.
type AgentControllerPutAgentSingleGroupResponse ¶ added in v0.8.0
type AgentControllerPutAgentSingleGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerPutAgentSingleGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerPutAgentSingleGroupResponse(rsp *http.Response) (*AgentControllerPutAgentSingleGroupResponse, error)
ParseApiControllersAgentControllerPutAgentSingleGroupResponse parses an HTTP response from a AgentControllerPutAgentSingleGroupWithResponse call
func (AgentControllerPutAgentSingleGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerPutAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerPutAgentSingleGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerPutAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerPutGroupConfigParams ¶ added in v0.8.0
type AgentControllerPutGroupConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerPutGroupConfigParams defines parameters for AgentControllerPutGroupConfig.
type AgentControllerPutGroupConfigResponse ¶ added in v0.8.0
type AgentControllerPutGroupConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerPutGroupConfigResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerPutGroupConfigResponse(rsp *http.Response) (*AgentControllerPutGroupConfigResponse, error)
ParseApiControllersAgentControllerPutGroupConfigResponse parses an HTTP response from a AgentControllerPutGroupConfigWithResponse call
func (AgentControllerPutGroupConfigResponse) Status ¶ added in v0.8.0
func (r AgentControllerPutGroupConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerPutGroupConfigResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerPutGroupConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerPutMultipleAgentSingleGroupParams ¶ added in v0.8.0
type AgentControllerPutMultipleAgentSingleGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// Group ID. (Name of the group)
GroupId GroupIdQuery `json:"group_id"`
// Removes the agent from all groups to which it belongs and assigns it to the specified group
ForceSingleGroup *ForceSingleGroup `json:"force_single_group,omitempty"`
}
AgentControllerPutMultipleAgentSingleGroupParams defines parameters for AgentControllerPutMultipleAgentSingleGroup.
type AgentControllerPutMultipleAgentSingleGroupResponse ¶ added in v0.8.0
type AgentControllerPutMultipleAgentSingleGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponseAgentIDs)
AllItemsResponseAgentIDs `yaml:",inline"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerPutMultipleAgentSingleGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerPutMultipleAgentSingleGroupResponse(rsp *http.Response) (*AgentControllerPutMultipleAgentSingleGroupResponse, error)
ParseApiControllersAgentControllerPutMultipleAgentSingleGroupResponse parses an HTTP response from a AgentControllerPutMultipleAgentSingleGroupWithResponse call
func (AgentControllerPutMultipleAgentSingleGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerPutMultipleAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerPutMultipleAgentSingleGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerPutMultipleAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerPutUpgradeAgentsParams ¶ added in v0.8.0
type AgentControllerPutUpgradeAgentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), use the keyword `all` to select all agents
AgentsList AgentsListAll `json:"agents_list"`
// WPK repository
WpkRepo *WpkRepo `json:"wpk_repo,omitempty"`
// Wazuh version to upgrade to
UpgradeVersion *UpgradeVersion `json:"upgrade_version,omitempty"`
// Use http protocol. If it's false use https. By default the value is set to false
UseHttp *UseHttp `json:"use_http,omitempty"`
// Force upgrade
Force *Force `json:"force,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Filter by OS platform
OsPlatform *OsPlatform `json:"os.platform,omitempty"`
// Filter by OS version
OsVersion *OsVersion `json:"os.version,omitempty"`
// Filter by OS name
OsName *OsName `json:"os.name,omitempty"`
// Filter by manager hostname where agents are connected to
Manager *ManagerHost `json:"manager,omitempty"`
// Filter by agents version using one of the following formats: 'X.Y.Z', 'vX.Y.Z', 'wazuh X.Y.Z' or 'wazuh vX.Y.Z'. For example: '4.4.0'
Version *Version `json:"version,omitempty"`
// Filter by group of agents
Group *AgentGroup `json:"group,omitempty"`
// Filter by node name
NodeName *NodeName `json:"node_name,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by the IP used by the agent to communicate with the manager. If it's not available, it will have the same value as registerIP
Ip *Ip `json:"ip,omitempty"`
// Filter by the IP used when registering the agent
RegisterIP *RegisterIP `json:"registerIP,omitempty"`
}
AgentControllerPutUpgradeAgentsParams defines parameters for AgentControllerPutUpgradeAgents.
type AgentControllerPutUpgradeAgentsResponse ¶ added in v0.8.0
type AgentControllerPutUpgradeAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerPutUpgradeAgentsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerPutUpgradeAgentsResponse(rsp *http.Response) (*AgentControllerPutUpgradeAgentsResponse, error)
ParseApiControllersAgentControllerPutUpgradeAgentsResponse parses an HTTP response from a AgentControllerPutUpgradeAgentsWithResponse call
func (AgentControllerPutUpgradeAgentsResponse) Status ¶ added in v0.8.0
func (r AgentControllerPutUpgradeAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerPutUpgradeAgentsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerPutUpgradeAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerPutUpgradeCustomAgentsParams ¶ added in v0.8.0
type AgentControllerPutUpgradeCustomAgentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), use the keyword `all` to select all agents
AgentsList AgentsListAll `json:"agents_list"`
// Full path to the WPK file. The file must be on a folder on the Wazuh's installation directory (by default, <code>/var/ossec</code>)
FilePath FilePath `json:"file_path"`
// Installation script. Default is <code>upgrade.sh</code> or <code>upgrade.bat</code> for windows agents
Installer *Installer `json:"installer,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Filter by OS platform
OsPlatform *OsPlatform `json:"os.platform,omitempty"`
// Filter by OS version
OsVersion *OsVersion `json:"os.version,omitempty"`
// Filter by OS name
OsName *OsName `json:"os.name,omitempty"`
// Filter by manager hostname where agents are connected to
Manager *ManagerHost `json:"manager,omitempty"`
// Filter by agents version using one of the following formats: 'X.Y.Z', 'vX.Y.Z', 'wazuh X.Y.Z' or 'wazuh vX.Y.Z'. For example: '4.4.0'
Version *Version `json:"version,omitempty"`
// Filter by group of agents
Group *AgentGroup `json:"group,omitempty"`
// Filter by node name
NodeName *NodeName `json:"node_name,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by the IP used by the agent to communicate with the manager. If it's not available, it will have the same value as registerIP
Ip *Ip `json:"ip,omitempty"`
// Filter by the IP used when registering the agent
RegisterIP *RegisterIP `json:"registerIP,omitempty"`
}
AgentControllerPutUpgradeCustomAgentsParams defines parameters for AgentControllerPutUpgradeCustomAgents.
type AgentControllerPutUpgradeCustomAgentsResponse ¶ added in v0.8.0
type AgentControllerPutUpgradeCustomAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerPutUpgradeCustomAgentsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerPutUpgradeCustomAgentsResponse(rsp *http.Response) (*AgentControllerPutUpgradeCustomAgentsResponse, error)
ParseApiControllersAgentControllerPutUpgradeCustomAgentsResponse parses an HTTP response from a AgentControllerPutUpgradeCustomAgentsWithResponse call
func (AgentControllerPutUpgradeCustomAgentsResponse) Status ¶ added in v0.8.0
func (r AgentControllerPutUpgradeCustomAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerPutUpgradeCustomAgentsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerPutUpgradeCustomAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerReconnectAgentsParams ¶ added in v0.10.0
type AgentControllerReconnectAgentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
}
AgentControllerReconnectAgentsParams defines parameters for AgentControllerReconnectAgents.
type AgentControllerReconnectAgentsResponse ¶ added in v0.10.0
type AgentControllerReconnectAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentIDs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerReconnectAgentsResponse ¶ added in v0.10.0
func ParseApiControllersAgentControllerReconnectAgentsResponse(rsp *http.Response) (*AgentControllerReconnectAgentsResponse, error)
ParseApiControllersAgentControllerReconnectAgentsResponse parses an HTTP response from a AgentControllerReconnectAgentsWithResponse call
func (AgentControllerReconnectAgentsResponse) Status ¶ added in v0.10.0
func (r AgentControllerReconnectAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerReconnectAgentsResponse) StatusCode ¶ added in v0.10.0
func (r AgentControllerReconnectAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerRestartAgentParams ¶ added in v0.8.0
type AgentControllerRestartAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerRestartAgentParams defines parameters for AgentControllerRestartAgent.
type AgentControllerRestartAgentResponse ¶ added in v0.8.0
type AgentControllerRestartAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *ItemAffected `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerRestartAgentResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerRestartAgentResponse(rsp *http.Response) (*AgentControllerRestartAgentResponse, error)
ParseApiControllersAgentControllerRestartAgentResponse parses an HTTP response from a AgentControllerRestartAgentWithResponse call
func (AgentControllerRestartAgentResponse) Status ¶ added in v0.8.0
func (r AgentControllerRestartAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerRestartAgentResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerRestartAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerRestartAgentsByGroupParams ¶ added in v0.8.0
type AgentControllerRestartAgentsByGroupParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerRestartAgentsByGroupParams defines parameters for AgentControllerRestartAgentsByGroup.
type AgentControllerRestartAgentsByGroupResponse ¶ added in v0.8.0
type AgentControllerRestartAgentsByGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentIDs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerRestartAgentsByGroupResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerRestartAgentsByGroupResponse(rsp *http.Response) (*AgentControllerRestartAgentsByGroupResponse, error)
ParseApiControllersAgentControllerRestartAgentsByGroupResponse parses an HTTP response from a AgentControllerRestartAgentsByGroupWithResponse call
func (AgentControllerRestartAgentsByGroupResponse) Status ¶ added in v0.8.0
func (r AgentControllerRestartAgentsByGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerRestartAgentsByGroupResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerRestartAgentsByGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerRestartAgentsByNodeParams ¶ added in v0.8.0
type AgentControllerRestartAgentsByNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
AgentControllerRestartAgentsByNodeParams defines parameters for AgentControllerRestartAgentsByNode.
type AgentControllerRestartAgentsByNodeResponse ¶ added in v0.8.0
type AgentControllerRestartAgentsByNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentIDs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerRestartAgentsByNodeResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerRestartAgentsByNodeResponse(rsp *http.Response) (*AgentControllerRestartAgentsByNodeResponse, error)
ParseApiControllersAgentControllerRestartAgentsByNodeResponse parses an HTTP response from a AgentControllerRestartAgentsByNodeWithResponse call
func (AgentControllerRestartAgentsByNodeResponse) Status ¶ added in v0.8.0
func (r AgentControllerRestartAgentsByNodeResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerRestartAgentsByNodeResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerRestartAgentsByNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentControllerRestartAgentsParams ¶ added in v0.8.0
type AgentControllerRestartAgentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
}
AgentControllerRestartAgentsParams defines parameters for AgentControllerRestartAgents.
type AgentControllerRestartAgentsResponse ¶ added in v0.8.0
type AgentControllerRestartAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentIDs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersAgentControllerRestartAgentsResponse ¶ added in v0.8.0
func ParseApiControllersAgentControllerRestartAgentsResponse(rsp *http.Response) (*AgentControllerRestartAgentsResponse, error)
ParseApiControllersAgentControllerRestartAgentsResponse parses an HTTP response from a AgentControllerRestartAgentsWithResponse call
func (AgentControllerRestartAgentsResponse) Status ¶ added in v0.8.0
func (r AgentControllerRestartAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentControllerRestartAgentsResponse) StatusCode ¶ added in v0.8.0
func (r AgentControllerRestartAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentDistinct ¶
type AgentDistinct struct {
// Embedded struct due to allOf(#/components/schemas/AgentSimple)
AgentSimple `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/ExtraAgentFields)
ExtraAgentFields `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Number of agents with the specified unique fields
Count *int32 `json:"count,omitempty"`
}
AgentDistinct defines model for AgentDistinct.
type AgentGroup ¶
type AgentGroup struct {
// MD5 checksum of the group configuration file (agent.conf)
ConfigSum string `json:"configSum"`
// Number of agents belonging to that group
Count int `json:"count"`
// MD5 checksum of all group shared files merged in a single one (merged.mg)
MergedSum *string `json:"mergedSum,omitempty"`
Name string `json:"name"`
}
AgentGroup defines model for AgentGroup.
type AgentGroupDeleted ¶
type AgentGroupDeleted struct {
// List of removed groups with the agents which belonged to it and might have been reassigned to group default
AffectedItems []GroupDelete `json:"affected_items"`
}
AgentGroupDeleted defines model for AgentGroupDeleted.
type AgentIdKey ¶
AgentIdKey defines model for AgentIdKey.
type AgentInsertForce ¶ added in v0.10.0
type AgentInsertForce struct {
// Time the agent must has been registered to force the insertion. Time in seconds, ‘[n_days]d’, ‘[n_hours]h’, ‘[n_minutes]m’ or ‘[n_seconds]s’. For example, `7d`, `10s` and `10` are valid values. If no time unit is specified, seconds are used
AfterRegistrationTime *string `json:"after_registration_time,omitempty"`
// Enable force option
Enabled *bool `json:"enabled,omitempty"`
DisconnectedTime *DisconnectedTime `json:"disconnected_time,omitempty"`
}
Remove the old agent with the same name, ID or IP if the configuration is matched
type AgentSimple ¶
type AgentSimple struct {
// Agent ID
Id *AgentID `json:"id,omitempty"`
// Agent name used at registration process
Name *string `json:"name,omitempty"`
// Wazuh version the agent has installed
Version *string `json:"version,omitempty"`
}
AgentSimple defines model for AgentSimple.
type AgentStatus ¶
type AgentStatus string
Agent status. It is calculated based on the last keepalive and the Wazuh version
const ( AgentStatusActive AgentStatus = "active" AgentStatusDisconnected AgentStatus = "disconnected" AgentStatusNeverConnected AgentStatus = "never_connected" AgentStatusPending AgentStatus = "pending" )
Defines values for AgentStatus.
type AgentSynced ¶
type AgentSynced struct {
// Agent ID
Id *string `json:"id,omitempty"`
// Sync info
Synced *bool `json:"synced,omitempty"`
}
AgentSynced defines model for AgentSynced.
type AgentsListAll ¶ added in v0.10.0
type AgentsListAll []AgentIDListAll
AgentsListAll defines model for agents_list_all.
type AgentsSummaryStatus ¶
type AgentsSummaryStatus struct {
Configuration *struct {
NotSynced *int32 `json:"not_synced,omitempty"`
Synced *int32 `json:"synced,omitempty"`
Total *int32 `json:"total,omitempty"`
} `json:"configuration,omitempty"`
Connection *struct {
Active *int32 `json:"active,omitempty"`
Disconnected *int32 `json:"disconnected,omitempty"`
NeverConnected *int32 `json:"never_connected,omitempty"`
Pending *int32 `json:"pending,omitempty"`
Total *int32 `json:"total,omitempty"`
} `json:"connection,omitempty"`
}
AgentsSummaryStatus defines model for AgentsSummaryStatus.
type AllItemsResponse ¶
type AllItemsResponse struct {
// List of items that have failed applying the requested operation
FailedItems []SimpleApiError `json:"failed_items"`
// Number of items that have successfully applied the requested operation
TotalAffectedItems int32 `json:"total_affected_items"`
// Number of items that have failed applying the requested operation
TotalFailedItems int32 `json:"total_failed_items"`
}
AllItemsResponse defines model for AllItemsResponse.
type AllItemsResponseAgentIDs ¶
type AllItemsResponseAgentIDs struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []AgentID `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseAgentIDs defines model for AllItemsResponseAgentIDs.
type AllItemsResponseAgents ¶
type AllItemsResponseAgents struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []Agent `json:"affected_items"`
}
AllItemsResponseAgents defines model for AllItemsResponseAgents.
type AllItemsResponseAgentsDistinct ¶
type AllItemsResponseAgentsDistinct struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []AgentDistinct `json:"affected_items"`
}
AllItemsResponseAgentsDistinct defines model for AllItemsResponseAgentsDistinct.
type AllItemsResponseAgentsKeys ¶
type AllItemsResponseAgentsKeys struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []AgentIdKey `json:"affected_items"`
}
AllItemsResponseAgentsKeys defines model for AllItemsResponseAgentsKeys.
type AllItemsResponseAgentsSimple ¶
type AllItemsResponseAgentsSimple struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []AgentSimple `json:"affected_items"`
}
AllItemsResponseAgentsSimple defines model for AllItemsResponseAgentsSimple.
type AllItemsResponseAgentsSynced ¶
type AllItemsResponseAgentsSynced struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []AgentSynced `json:"affected_items"`
}
AllItemsResponseAgentsSynced defines model for AllItemsResponseAgentsSynced.
type AllItemsResponseCiscatResult ¶
type AllItemsResponseCiscatResult struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []CiscatResults `json:"affected_items"`
}
AllItemsResponseCiscatResult defines model for AllItemsResponseCiscatResult.
type AllItemsResponseClusterNodes ¶
type AllItemsResponseClusterNodes struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []ClusterNode `json:"affected_items"`
}
AllItemsResponseClusterNodes defines model for AllItemsResponseClusterNodes.
type AllItemsResponseDecoders ¶
type AllItemsResponseDecoders struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []Decoder `json:"affected_items"`
}
AllItemsResponseDecoders defines model for AllItemsResponseDecoders.
type AllItemsResponseDecodersFiles ¶
type AllItemsResponseDecodersFiles struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []DecoderFile `json:"affected_items"`
}
AllItemsResponseDecodersFiles defines model for AllItemsResponseDecodersFiles.
type AllItemsResponseGroupIDs ¶
type AllItemsResponseGroupIDs struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []GroupID `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseGroupIDs defines model for AllItemsResponseGroupIDs.
type AllItemsResponseGroups ¶
type AllItemsResponseGroups struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []AgentGroup `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseGroups defines model for AllItemsResponseGroups.
type AllItemsResponseLastScan ¶ added in v0.10.0
type AllItemsResponseLastScan struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []LastScan `json:"affected_items"`
}
AllItemsResponseLastScan defines model for AllItemsResponseLastScan.
type AllItemsResponseLists ¶
type AllItemsResponseLists struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []CDBList `json:"affected_items"`
}
AllItemsResponseLists defines model for AllItemsResponseLists.
type AllItemsResponseListsFiles ¶
type AllItemsResponseListsFiles struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []CDBListFile `json:"affected_items"`
}
AllItemsResponseListsFiles defines model for AllItemsResponseListsFiles.
type AllItemsResponseNodeHealthcheck ¶
type AllItemsResponseNodeHealthcheck struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []NodeHealthcheck `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseNodeHealthcheck defines model for AllItemsResponseNodeHealthcheck.
type AllItemsResponseNodeIDs ¶
type AllItemsResponseNodeIDs struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []NodeID `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseNodeIDs defines model for AllItemsResponseNodeIDs.
type AllItemsResponseNodeRulesetSynchronizationStatus ¶ added in v1.1.5
type AllItemsResponseNodeRulesetSynchronizationStatus struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []NodeRulesetSyncStatus `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseNodeRulesetSynchronizationStatus defines model for AllItemsResponseNodeRulesetSynchronizationStatus.
type AllItemsResponsePolicies ¶
type AllItemsResponsePolicies struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []any `json:"affected_items"`
}
AllItemsResponsePolicies defines model for AllItemsResponsePolicies.
type AllItemsResponseRoles ¶
type AllItemsResponseRoles struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []RolesResponse `json:"affected_items"`
}
AllItemsResponseRoles defines model for AllItemsResponseRoles.
type AllItemsResponseRules ¶
type AllItemsResponseRules struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []Rule `json:"affected_items"`
}
AllItemsResponseRules defines model for AllItemsResponseRules.
type AllItemsResponseRulesFiles ¶
type AllItemsResponseRulesFiles struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []RuleFile `json:"affected_items"`
}
AllItemsResponseRulesFiles defines model for AllItemsResponseRulesFiles.
type AllItemsResponseSCAChecks ¶
type AllItemsResponseSCAChecks struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SCAChecks `json:"affected_items"`
}
AllItemsResponseSCAChecks defines model for AllItemsResponseSCAChecks.
type AllItemsResponseSCADatabase ¶
type AllItemsResponseSCADatabase struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SCADatabase `json:"affected_items"`
}
AllItemsResponseSCADatabase defines model for AllItemsResponseSCADatabase.
type AllItemsResponseSyscheckResult ¶
type AllItemsResponseSyscheckResult struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscheckDatabase `json:"affected_items"`
}
AllItemsResponseSyscheckResult defines model for AllItemsResponseSyscheckResult.
type AllItemsResponseSyscollectorHardware ¶
type AllItemsResponseSyscollectorHardware struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorHardware `json:"affected_items"`
}
AllItemsResponseSyscollectorHardware defines model for AllItemsResponseSyscollectorHardware.
type AllItemsResponseSyscollectorHotfixes ¶
type AllItemsResponseSyscollectorHotfixes struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorHotfix `json:"affected_items"`
}
AllItemsResponseSyscollectorHotfixes defines model for AllItemsResponseSyscollectorHotfixes.
type AllItemsResponseSyscollectorInterface ¶
type AllItemsResponseSyscollectorInterface struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorInterface `json:"affected_items"`
}
AllItemsResponseSyscollectorInterface defines model for AllItemsResponseSyscollectorInterface.
type AllItemsResponseSyscollectorNetwork ¶
type AllItemsResponseSyscollectorNetwork struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorNetwork `json:"affected_items"`
}
AllItemsResponseSyscollectorNetwork defines model for AllItemsResponseSyscollectorNetwork.
type AllItemsResponseSyscollectorOS ¶
type AllItemsResponseSyscollectorOS struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorOS `json:"affected_items"`
}
AllItemsResponseSyscollectorOS defines model for AllItemsResponseSyscollectorOS.
type AllItemsResponseSyscollectorPackages ¶
type AllItemsResponseSyscollectorPackages struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorPackages `json:"affected_items"`
}
AllItemsResponseSyscollectorPackages defines model for AllItemsResponseSyscollectorPackages.
type AllItemsResponseSyscollectorPorts ¶
type AllItemsResponseSyscollectorPorts struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorPorts `json:"affected_items"`
}
AllItemsResponseSyscollectorPorts defines model for AllItemsResponseSyscollectorPorts.
type AllItemsResponseSyscollectorProcesses ¶
type AllItemsResponseSyscollectorProcesses struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorProcess `json:"affected_items"`
}
AllItemsResponseSyscollectorProcesses defines model for AllItemsResponseSyscollectorProcesses.
type AllItemsResponseSyscollectorProtocol ¶
type AllItemsResponseSyscollectorProtocol struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []SyscollectorProtocol `json:"affected_items"`
}
AllItemsResponseSyscollectorProtocol defines model for AllItemsResponseSyscollectorProtocol.
type AllItemsResponseUsers ¶
type AllItemsResponseUsers struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []UsersResponse `json:"affected_items"`
}
AllItemsResponseUsers defines model for AllItemsResponseUsers.
type AllItemsResponseValidationStatus ¶
type AllItemsResponseValidationStatus struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []ValidationStatus `json:"affected_items"`
}
AllItemsResponseValidationStatus defines model for AllItemsResponseValidationStatus.
type AllItemsResponseVulnerabilities ¶ added in v0.10.0
type AllItemsResponseVulnerabilities struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []Vulnerability `json:"affected_items"`
}
AllItemsResponseAgentsSimple defines model for AllItemsResponseAgentsSimple.
type AllItemsResponseVulnerability ¶ added in v0.10.0
type AllItemsResponseVulnerability struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseVulnerabilities `json:"data,omitempty"`
}
type AllItemsResponseWazuhDaemonStats ¶ added in v1.1.5
type AllItemsResponseWazuhDaemonStats struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []any `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseWazuhDaemonStats defines model for AllItemsResponseWazuhDaemonStats.
type AllItemsResponseWazuhDaemonStatsAgents ¶ added in v1.1.5
type AllItemsResponseWazuhDaemonStatsAgents struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []any `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseWazuhDaemonStatsAgents defines model for AllItemsResponseWazuhDaemonStatsAgents.
type AllItemsResponseWazuhLogs ¶
type AllItemsResponseWazuhLogs struct {
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []WazuhLogs `json:"affected_items"`
}
AllItemsResponseWazuhLogs defines model for AllItemsResponseWazuhLogs.
type AllItemsResponseWazuhStats ¶
type AllItemsResponseWazuhStats struct {
// Embedded fields due to inline allOf schema
// Items that successfully applied the API call action
AffectedItems []any `json:"affected_items"`
// Embedded struct due to allOf(#/components/schemas/AllItemsResponse)
AllItemsResponse `yaml:",inline"`
}
AllItemsResponseWazuhStats defines model for AllItemsResponseWazuhStats.
type ApiError ¶
type ApiError struct {
ApiCode *int32 `json:"code,omitempty"`
ApiDapiErrors *ApiError_DapiErrors `json:"dapi_errors,omitempty"`
ApiDetail string `json:"detail"`
ApiInstance *string `json:"instance,omitempty"`
ApiRemediation *string `json:"remediation,omitempty"`
ApiTitle string `json:"title"`
}
ApiError defines model for ApiError.
type ApiError_DapiErrors ¶
type ApiError_DapiErrors struct {
AdditionalProperties map[string]struct {
Error *string `json:"error,omitempty"`
Logfile *string `json:"logfile,omitempty"`
} `json:"-"`
}
ApiError_DapiErrors defines model for ApiError.DapiErrors.
func (ApiError_DapiErrors) Get ¶ added in v0.8.0
func (a ApiError_DapiErrors) Get(fieldName string) (value struct { Error *string `json:"error,omitempty"` Logfile *string `json:"logfile,omitempty"` }, found bool)
Getter for additional properties for ApiError_DapiErrors. Returns the specified element and whether it was found
func (ApiError_DapiErrors) MarshalJSON ¶ added in v0.8.0
func (a ApiError_DapiErrors) MarshalJSON() ([]byte, error)
Override default JSON handling for ApiError_DapiErrors to handle AdditionalProperties
func (*ApiError_DapiErrors) Set ¶ added in v0.8.0
func (a *ApiError_DapiErrors) Set(fieldName string, value struct { Error *string `json:"error,omitempty"` Logfile *string `json:"logfile,omitempty"` })
Setter for additional properties for ApiError_DapiErrors
func (*ApiError_DapiErrors) UnmarshalJSON ¶ added in v0.8.0
func (a *ApiError_DapiErrors) UnmarshalJSON(b []byte) error
Override default JSON handling for ApiError_DapiErrors to handle AdditionalProperties
type ApiResponse ¶
type ApiResponse struct {
// Human readable description to explain the result of the request
Message *string `json:"message,omitempty"`
ErrorCode int `json:"error,omitempty"`
}
ApiResponse defines model for ApiResponse.
func (*ApiResponse) Error ¶
func (e *ApiResponse) Error() string
type BasicInfo ¶
type BasicInfo struct {
// API version in the manager
ApiVersion *string `json:"api_version,omitempty"`
// Server hostname
Hostname *string `json:"hostname,omitempty"`
// API license name
LicenseName *string `json:"license_name,omitempty"`
// API license url
LicenseUrl *string `json:"license_url,omitempty"`
// API revision
Revision *string `json:"revision,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
// API title name
Title *string `json:"title,omitempty"`
}
BasicInfo defines model for BasicInfo.
type CDBList ¶
type CDBList struct {
// Embedded struct due to allOf(#/components/schemas/RulesetFile)
RulesetFile `yaml:",inline"`
// Embedded fields due to inline allOf schema
Items *[]CDBListPair `json:"items,omitempty"`
}
CDBList defines model for CDBList.
type CDBListPair ¶
type CDBListPair struct {
// Value of the CDB list item key
Key string `json:"key"`
// Value of the CDB list item value
Value string `json:"value"`
}
CDBListPair defines model for CDBListPair.
type CdbListController ¶ added in v0.8.0
type CdbListController struct {
*ClientWithResponses
}
CdbListController implementation of the CdbListController interface
func (*CdbListController) DeleteFile ¶ added in v0.8.0
func (c *CdbListController) DeleteFile(arg1 ListFilenamePath, params *CdbListControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" ConfirmationMessage "yaml:\",inline\"" }, error)
DeleteFile calls the CdbList controller´s function
func (*CdbListController) GetFile ¶ added in v0.8.0
func (c *CdbListController) GetFile(arg1 ListFilenamePath, params *CdbListControllerGetFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponseListsFiles, error)
GetFile calls the CdbList controller´s function
func (*CdbListController) GetLists ¶ added in v0.8.0
func (c *CdbListController) GetLists(params *CdbListControllerGetListsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseLists, error)
GetLists calls the CdbList controller´s function
func (*CdbListController) GetListsFiles ¶ added in v0.8.0
func (c *CdbListController) GetListsFiles(params *CdbListControllerGetListsFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseListsFiles, error)
GetListsFiles calls the CdbList controller´s function
func (*CdbListController) PutFileWithBody ¶ added in v0.8.0
func (c *CdbListController) PutFileWithBody(arg1 ListFilenamePath, params *CdbListControllerPutFileParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" ConfirmationMessage "yaml:\",inline\"" }, error)
PutFileWithBody calls the CdbList controller´s function
type CdbListControllerDeleteFileParams ¶ added in v0.8.0
type CdbListControllerDeleteFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
CdbListControllerDeleteFileParams defines parameters for CdbListControllerDeleteFile.
type CdbListControllerDeleteFileResponse ¶ added in v0.8.0
type CdbListControllerDeleteFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/ConfirmationMessage)
ConfirmationMessage `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersCdbListControllerDeleteFileResponse ¶ added in v0.8.0
func ParseApiControllersCdbListControllerDeleteFileResponse(rsp *http.Response) (*CdbListControllerDeleteFileResponse, error)
ParseApiControllersCdbListControllerDeleteFileResponse parses an HTTP response from a CdbListControllerDeleteFileWithResponse call
func (CdbListControllerDeleteFileResponse) Status ¶ added in v0.8.0
func (r CdbListControllerDeleteFileResponse) Status() string
Status returns HTTPResponse.Status
func (CdbListControllerDeleteFileResponse) StatusCode ¶ added in v0.8.0
func (r CdbListControllerDeleteFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CdbListControllerGetFileParams ¶ added in v0.8.0
type CdbListControllerGetFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
}
CdbListControllerGetFileParams defines parameters for CdbListControllerGetFile.
type CdbListControllerGetFileResponse ¶ added in v0.8.0
type CdbListControllerGetFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseListsFiles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersCdbListControllerGetFileResponse ¶ added in v0.8.0
func ParseApiControllersCdbListControllerGetFileResponse(rsp *http.Response) (*CdbListControllerGetFileResponse, error)
ParseApiControllersCdbListControllerGetFileResponse parses an HTTP response from a CdbListControllerGetFileWithResponse call
func (CdbListControllerGetFileResponse) Status ¶ added in v0.8.0
func (r CdbListControllerGetFileResponse) Status() string
Status returns HTTPResponse.Status
func (CdbListControllerGetFileResponse) StatusCode ¶ added in v0.8.0
func (r CdbListControllerGetFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CdbListControllerGetListsFilesParams ¶ added in v0.8.0
type CdbListControllerGetListsFilesParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
// Filter by filename
Filename *Filename `json:"filename,omitempty"`
}
CdbListControllerGetListsFilesParams defines parameters for CdbListControllerGetListsFiles.
type CdbListControllerGetListsFilesResponse ¶ added in v0.8.0
type CdbListControllerGetListsFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseListsFiles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersCdbListControllerGetListsFilesResponse ¶ added in v0.8.0
func ParseApiControllersCdbListControllerGetListsFilesResponse(rsp *http.Response) (*CdbListControllerGetListsFilesResponse, error)
ParseApiControllersCdbListControllerGetListsFilesResponse parses an HTTP response from a CdbListControllerGetListsFilesWithResponse call
func (CdbListControllerGetListsFilesResponse) Status ¶ added in v0.8.0
func (r CdbListControllerGetListsFilesResponse) Status() string
Status returns HTTPResponse.Status
func (CdbListControllerGetListsFilesResponse) StatusCode ¶ added in v0.8.0
func (r CdbListControllerGetListsFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CdbListControllerGetListsParams ¶ added in v0.8.0
type CdbListControllerGetListsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
// Filter by filename
Filename *Filename `json:"filename,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
CdbListControllerGetListsParams defines parameters for CdbListControllerGetLists.
type CdbListControllerGetListsResponse ¶ added in v0.8.0
type CdbListControllerGetListsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseLists `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersCdbListControllerGetListsResponse ¶ added in v0.8.0
func ParseApiControllersCdbListControllerGetListsResponse(rsp *http.Response) (*CdbListControllerGetListsResponse, error)
ParseApiControllersCdbListControllerGetListsResponse parses an HTTP response from a CdbListControllerGetListsWithResponse call
func (CdbListControllerGetListsResponse) Status ¶ added in v0.8.0
func (r CdbListControllerGetListsResponse) Status() string
Status returns HTTPResponse.Status
func (CdbListControllerGetListsResponse) StatusCode ¶ added in v0.8.0
func (r CdbListControllerGetListsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CdbListControllerInterface ¶ added in v0.8.0
type CdbListControllerInterface interface {
DeleteFile(arg1 ListFilenamePath, params *CdbListControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
ConfirmationMessage "yaml:\",inline\""
}, error)
GetFile(arg1 ListFilenamePath, params *CdbListControllerGetFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponseListsFiles, error)
GetListsFiles(params *CdbListControllerGetListsFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseListsFiles, error)
GetLists(params *CdbListControllerGetListsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseLists, error)
PutFileWithBody(arg1 ListFilenamePath, params *CdbListControllerPutFileParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
ConfirmationMessage "yaml:\",inline\""
}, error)
}
CdbListControllerInterface contains all methods for the wazuh controller api
type CdbListControllerPutFileParams ¶ added in v0.8.0
type CdbListControllerPutFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// If set to false, an exception will be raised when updating contents of an already existing filename
Overwrite *Overwrite `json:"overwrite,omitempty"`
}
CdbListControllerPutFileParams defines parameters for CdbListControllerPutFile.
type CdbListControllerPutFileResponse ¶ added in v0.8.0
type CdbListControllerPutFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/ConfirmationMessage)
ConfirmationMessage `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersCdbListControllerPutFileResponse ¶ added in v0.8.0
func ParseApiControllersCdbListControllerPutFileResponse(rsp *http.Response) (*CdbListControllerPutFileResponse, error)
ParseApiControllersCdbListControllerPutFileResponse parses an HTTP response from a CdbListControllerPutFileWithResponse call
func (CdbListControllerPutFileResponse) Status ¶ added in v0.8.0
func (r CdbListControllerPutFileResponse) Status() string
Status returns HTTPResponse.Status
func (CdbListControllerPutFileResponse) StatusCode ¶ added in v0.8.0
func (r CdbListControllerPutFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CiscatController ¶
type CiscatController struct {
*ClientWithResponses
}
CiscatController implementation of the CiscatController interface
func (*CiscatController) GetAgentsCiscatResults ¶
func (c *CiscatController) GetAgentsCiscatResults(arg1 AgentId, params *CiscatControllerGetAgentsCiscatResultsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseCiscatResult, error)
GetAgentsCiscatResults calls the Ciscat controller´s function
type CiscatControllerGetAgentsCiscatResultsParams ¶
type CiscatControllerGetAgentsCiscatResultsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by benchmark type
Benchmark *Benchmark `json:"benchmark,omitempty"`
// Filter by evaluated profile
Profile *Profile `json:"profile,omitempty"`
// Filter by passed checks
Pass *Pass `json:"pass,omitempty"`
// Filter by failed checks
Fail *Fail `json:"fail,omitempty"`
// Filter by encountered errors
Error *Error `json:"error,omitempty"`
// Filter by not checked
Notchecked *Notchecked `json:"notchecked,omitempty"`
// Filter by unknown results
Unknown *Unknown `json:"unknown,omitempty"`
// Filter by final score
Score *Score `json:"score,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
}
CiscatControllerGetAgentsCiscatResultsParams defines parameters for CiscatControllerGetAgentsCiscatResults.
type CiscatControllerGetAgentsCiscatResultsResponse ¶
type CiscatControllerGetAgentsCiscatResultsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseCiscatResult `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersCiscatControllerGetAgentsCiscatResultsResponse ¶ added in v0.8.0
func ParseApiControllersCiscatControllerGetAgentsCiscatResultsResponse(rsp *http.Response) (*CiscatControllerGetAgentsCiscatResultsResponse, error)
ParseApiControllersCiscatControllerGetAgentsCiscatResultsResponse parses an HTTP response from a CiscatControllerGetAgentsCiscatResultsWithResponse call
func (CiscatControllerGetAgentsCiscatResultsResponse) Status ¶
func (r CiscatControllerGetAgentsCiscatResultsResponse) Status() string
Status returns HTTPResponse.Status
func (CiscatControllerGetAgentsCiscatResultsResponse) StatusCode ¶
func (r CiscatControllerGetAgentsCiscatResultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CiscatControllerInterface ¶
type CiscatControllerInterface interface {
GetAgentsCiscatResults(arg1 AgentId, params *CiscatControllerGetAgentsCiscatResultsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseCiscatResult, error)
}
CiscatControllerInterface contains all methods for the wazuh controller api
type CiscatResults ¶
type CiscatResults struct {
// CIS-CAT benchmark where the profile is defined
Benchmark *string `json:"benchmark,omitempty"`
// Number of checks that CIS-CAT was not able to run
Error *int32 `json:"error,omitempty"`
// Number of failed checks. If this number is higher than 0 the host will probably have a vulnerability
Fail *int32 `json:"fail,omitempty"`
// Number of not passed checks
Notchecked *int32 `json:"notchecked,omitempty"`
// Number of passed checks
Pass *int32 `json:"pass,omitempty"`
// CIS-CAT profile scanned
Profile *string `json:"profile,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
// Percentage of passed checks
Score *int32 `json:"score,omitempty"`
// Number of checks which status CIS-CAT was not able to determine
Unknown *int32 `json:"unknown,omitempty"`
}
CiscatResults defines model for CiscatResults.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HTTPRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
// contains filtered or unexported fields
}
The Client for the wazuh REST API
func NewClient ¶
func NewClient(baseURL string, opts ...ClientOption) (*Client, error)
NewClient returns a new wazuh API client
func (*Client) ActiveResponseControllerRunCommand ¶
func (c *Client) ActiveResponseControllerRunCommand(ctx context.Context, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActiveResponseControllerRunCommandWithBody ¶
func (*Client) AgentControllerAddAgent ¶ added in v0.8.0
func (c *Client) AgentControllerAddAgent(ctx context.Context, params *AgentControllerAddAgentParams, body AgentControllerAddAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerAddAgentWithBody ¶ added in v0.8.0
func (*Client) AgentControllerDeleteAgents ¶ added in v0.8.0
func (c *Client) AgentControllerDeleteAgents(ctx context.Context, params *AgentControllerDeleteAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerDeleteGroups ¶ added in v0.8.0
func (c *Client) AgentControllerDeleteGroups(ctx context.Context, params *AgentControllerDeleteGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerDeleteMultipleAgentSingleGroup ¶ added in v0.8.0
func (c *Client) AgentControllerDeleteMultipleAgentSingleGroup(ctx context.Context, params *AgentControllerDeleteMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerDeleteSingleAgentMultipleGroups ¶ added in v0.8.0
func (c *Client) AgentControllerDeleteSingleAgentMultipleGroups(ctx context.Context, agentId AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerDeleteSingleAgentSingleGroup ¶ added in v0.8.0
func (c *Client) AgentControllerDeleteSingleAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerDeleteSingleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentConfig ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentConfig(ctx context.Context, agentId AgentId, component AgentControllerGetAgentConfigParamsComponent, configuration AgentControllerGetAgentConfigParamsConfiguration, params *AgentControllerGetAgentConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentFields ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentFields(ctx context.Context, params *AgentControllerGetAgentFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentKey ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentKey(ctx context.Context, agentId AgentId, params *AgentControllerGetAgentKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentNoGroup ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentNoGroup(ctx context.Context, params *AgentControllerGetAgentNoGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentOutdated ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentOutdated(ctx context.Context, params *AgentControllerGetAgentOutdatedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentSummaryOs ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentSummaryOs(ctx context.Context, params *AgentControllerGetAgentSummaryOsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentSummaryStatus ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentSummaryStatus(ctx context.Context, params *AgentControllerGetAgentSummaryStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentUpgrade ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentUpgrade(ctx context.Context, params *AgentControllerGetAgentUpgradeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgents ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgents(ctx context.Context, params *AgentControllerGetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetAgentsInGroup ¶ added in v0.8.0
func (c *Client) AgentControllerGetAgentsInGroup(ctx context.Context, groupId GroupId, params *AgentControllerGetAgentsInGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetComponentStats ¶ added in v0.8.0
func (c *Client) AgentControllerGetComponentStats(ctx context.Context, agentId AgentId, component AgentControllerGetComponentStatsParamsComponent, params *AgentControllerGetComponentStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetDaemonStats ¶ added in v1.1.5
func (c *Client) AgentControllerGetDaemonStats(ctx context.Context, agentId AgentId, params *AgentControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetGroupConfig ¶ added in v0.8.0
func (c *Client) AgentControllerGetGroupConfig(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetGroupFileJson ¶ added in v0.8.0
func (c *Client) AgentControllerGetGroupFileJson(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileJsonParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetGroupFileXml ¶ added in v0.8.0
func (c *Client) AgentControllerGetGroupFileXml(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileXmlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetGroupFiles ¶ added in v0.8.0
func (c *Client) AgentControllerGetGroupFiles(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetListGroup ¶ added in v0.8.0
func (c *Client) AgentControllerGetListGroup(ctx context.Context, params *AgentControllerGetListGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerGetSyncAgent ¶ added in v0.8.0
func (c *Client) AgentControllerGetSyncAgent(ctx context.Context, agentId AgentId, params *AgentControllerGetSyncAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerInsertAgent ¶ added in v0.8.0
func (c *Client) AgentControllerInsertAgent(ctx context.Context, params *AgentControllerInsertAgentParams, body AgentControllerInsertAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerInsertAgentWithBody ¶ added in v0.8.0
func (*Client) AgentControllerPostGroup ¶ added in v0.8.0
func (c *Client) AgentControllerPostGroup(ctx context.Context, params *AgentControllerPostGroupParams, body AgentControllerPostGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerPostGroupWithBody ¶ added in v0.8.0
func (*Client) AgentControllerPostNewAgent ¶ added in v0.8.0
func (c *Client) AgentControllerPostNewAgent(ctx context.Context, params *AgentControllerPostNewAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerPutAgentSingleGroup ¶ added in v0.8.0
func (c *Client) AgentControllerPutAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerPutAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerPutGroupConfigWithBody ¶ added in v0.8.0
func (*Client) AgentControllerPutMultipleAgentSingleGroup ¶ added in v0.8.0
func (c *Client) AgentControllerPutMultipleAgentSingleGroup(ctx context.Context, params *AgentControllerPutMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerPutUpgradeAgents ¶ added in v0.8.0
func (c *Client) AgentControllerPutUpgradeAgents(ctx context.Context, params *AgentControllerPutUpgradeAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerPutUpgradeCustomAgents ¶ added in v0.8.0
func (c *Client) AgentControllerPutUpgradeCustomAgents(ctx context.Context, params *AgentControllerPutUpgradeCustomAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerReconnectAgents ¶ added in v0.10.0
func (c *Client) AgentControllerReconnectAgents(ctx context.Context, params *AgentControllerReconnectAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerRestartAgent ¶ added in v0.8.0
func (c *Client) AgentControllerRestartAgent(ctx context.Context, agentId AgentId, params *AgentControllerRestartAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerRestartAgents ¶ added in v0.8.0
func (c *Client) AgentControllerRestartAgents(ctx context.Context, params *AgentControllerRestartAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerRestartAgentsByGroup ¶ added in v0.8.0
func (c *Client) AgentControllerRestartAgentsByGroup(ctx context.Context, groupId GroupId, params *AgentControllerRestartAgentsByGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentControllerRestartAgentsByNode ¶ added in v0.8.0
func (c *Client) AgentControllerRestartAgentsByNode(ctx context.Context, nodeId NodeId, params *AgentControllerRestartAgentsByNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CdbListControllerDeleteFile ¶ added in v0.8.0
func (c *Client) CdbListControllerDeleteFile(ctx context.Context, filename ListFilenamePath, params *CdbListControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CdbListControllerGetFile ¶ added in v0.8.0
func (c *Client) CdbListControllerGetFile(ctx context.Context, filename ListFilenamePath, params *CdbListControllerGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CdbListControllerGetLists ¶ added in v0.8.0
func (c *Client) CdbListControllerGetLists(ctx context.Context, params *CdbListControllerGetListsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CdbListControllerGetListsFiles ¶ added in v0.8.0
func (c *Client) CdbListControllerGetListsFiles(ctx context.Context, params *CdbListControllerGetListsFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CdbListControllerPutFileWithBody ¶ added in v0.8.0
func (c *Client) CdbListControllerPutFileWithBody(ctx context.Context, filename ListFilenamePath, params *CdbListControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CiscatControllerGetAgentsCiscatResults ¶
func (c *Client) CiscatControllerGetAgentsCiscatResults(ctx context.Context, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetApiConfig ¶
func (c *Client) ClusterControllerGetApiConfig(ctx context.Context, params *ClusterControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetClusterNode ¶
func (c *Client) ClusterControllerGetClusterNode(ctx context.Context, params *ClusterControllerGetClusterNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetClusterNodes ¶
func (c *Client) ClusterControllerGetClusterNodes(ctx context.Context, params *ClusterControllerGetClusterNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetConfValidation ¶
func (c *Client) ClusterControllerGetConfValidation(ctx context.Context, params *ClusterControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetConfig ¶
func (c *Client) ClusterControllerGetConfig(ctx context.Context, params *ClusterControllerGetConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetConfigurationNode ¶
func (c *Client) ClusterControllerGetConfigurationNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetDaemonStatsNode ¶ added in v1.1.5
func (c *Client) ClusterControllerGetDaemonStatsNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetDaemonStatsNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetHealthcheck ¶
func (c *Client) ClusterControllerGetHealthcheck(ctx context.Context, params *ClusterControllerGetHealthcheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetInfoNode ¶
func (c *Client) ClusterControllerGetInfoNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetLogNode ¶
func (c *Client) ClusterControllerGetLogNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetLogSummaryNode ¶
func (c *Client) ClusterControllerGetLogSummaryNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetNodeConfig ¶
func (c *Client) ClusterControllerGetNodeConfig(ctx context.Context, nodeId NodeId, component ClusterControllerGetNodeConfigParamsComponent, configuration ClusterControllerGetNodeConfigParamsConfiguration, params *ClusterControllerGetNodeConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetNodesRulesetSyncStatus ¶ added in v1.1.5
func (c *Client) ClusterControllerGetNodesRulesetSyncStatus(ctx context.Context, params *ClusterControllerGetNodesRulesetSyncStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetStatsAnalysisdNode ¶
func (c *Client) ClusterControllerGetStatsAnalysisdNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetStatsHourlyNode ¶
func (c *Client) ClusterControllerGetStatsHourlyNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetStatsNode ¶
func (c *Client) ClusterControllerGetStatsNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetStatsRemotedNode ¶
func (c *Client) ClusterControllerGetStatsRemotedNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetStatsWeeklyNode ¶
func (c *Client) ClusterControllerGetStatsWeeklyNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetStatus ¶
func (c *Client) ClusterControllerGetStatus(ctx context.Context, params *ClusterControllerGetStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerGetStatusNode ¶
func (c *Client) ClusterControllerGetStatusNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatusNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerPutRestart ¶
func (c *Client) ClusterControllerPutRestart(ctx context.Context, params *ClusterControllerPutRestartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClusterControllerUpdateConfigurationWithBody ¶ added in v0.8.0
func (*Client) DecoderControllerDeleteFile ¶ added in v0.8.0
func (c *Client) DecoderControllerDeleteFile(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DecoderControllerGetDecoders ¶ added in v0.8.0
func (c *Client) DecoderControllerGetDecoders(ctx context.Context, params *DecoderControllerGetDecodersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DecoderControllerGetDecodersFiles ¶ added in v0.8.0
func (c *Client) DecoderControllerGetDecodersFiles(ctx context.Context, params *DecoderControllerGetDecodersFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DecoderControllerGetDecodersParents ¶ added in v0.8.0
func (c *Client) DecoderControllerGetDecodersParents(ctx context.Context, params *DecoderControllerGetDecodersParentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DecoderControllerGetFile ¶ added in v0.8.0
func (c *Client) DecoderControllerGetFile(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DecoderControllerPutFileWithBody ¶ added in v0.8.0
func (c *Client) DecoderControllerPutFileWithBody(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DefaultControllerDefaultInfo ¶
func (c *Client) DefaultControllerDefaultInfo(ctx context.Context, params *DefaultControllerDefaultInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EventControllerForwardEvent ¶ added in v1.1.5
func (c *Client) EventControllerForwardEvent(ctx context.Context, params *EventControllerForwardEventParams, body EventControllerForwardEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EventControllerForwardEventWithBody ¶ added in v1.1.5
func (*Client) ExperimentalControllerClearRootcheckDatabase ¶ added in v0.10.0
func (c *Client) ExperimentalControllerClearRootcheckDatabase(ctx context.Context, params *ExperimentalControllerClearRootcheckDatabaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerClearSyscheckDatabase ¶
func (c *Client) ExperimentalControllerClearSyscheckDatabase(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetCisCatResults ¶
func (c *Client) ExperimentalControllerGetCisCatResults(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetHardwareInfo ¶
func (c *Client) ExperimentalControllerGetHardwareInfo(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetHotfixesInfo ¶
func (c *Client) ExperimentalControllerGetHotfixesInfo(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetNetworkAddressInfo ¶
func (c *Client) ExperimentalControllerGetNetworkAddressInfo(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetNetworkInterfaceInfo ¶
func (c *Client) ExperimentalControllerGetNetworkInterfaceInfo(ctx context.Context, params *ExperimentalControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetNetworkProtocolInfo ¶
func (c *Client) ExperimentalControllerGetNetworkProtocolInfo(ctx context.Context, params *ExperimentalControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetOsInfo ¶
func (c *Client) ExperimentalControllerGetOsInfo(ctx context.Context, params *ExperimentalControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetPackagesInfo ¶
func (c *Client) ExperimentalControllerGetPackagesInfo(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetPortsInfo ¶
func (c *Client) ExperimentalControllerGetPortsInfo(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExperimentalControllerGetProcessesInfo ¶
func (c *Client) ExperimentalControllerGetProcessesInfo(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LogtestControllerEndLogtestSession ¶ added in v0.8.0
func (c *Client) LogtestControllerEndLogtestSession(ctx context.Context, token LogtestToken, params *LogtestControllerEndLogtestSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LogtestControllerRunLogtestTool ¶ added in v0.8.0
func (c *Client) LogtestControllerRunLogtestTool(ctx context.Context, params *LogtestControllerRunLogtestToolParams, body LogtestControllerRunLogtestToolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LogtestControllerRunLogtestToolWithBody ¶ added in v0.8.0
func (*Client) ManagerControllerCheckAvailableVersion ¶ added in v1.1.5
func (c *Client) ManagerControllerCheckAvailableVersion(ctx context.Context, params *ManagerControllerCheckAvailableVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetApiConfig ¶
func (c *Client) ManagerControllerGetApiConfig(ctx context.Context, params *ManagerControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetConfValidation ¶
func (c *Client) ManagerControllerGetConfValidation(ctx context.Context, params *ManagerControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetConfiguration ¶
func (c *Client) ManagerControllerGetConfiguration(ctx context.Context, params *ManagerControllerGetConfigurationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetDaemonStats ¶ added in v1.1.5
func (c *Client) ManagerControllerGetDaemonStats(ctx context.Context, params *ManagerControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetInfo ¶
func (c *Client) ManagerControllerGetInfo(ctx context.Context, params *ManagerControllerGetInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetLog ¶
func (c *Client) ManagerControllerGetLog(ctx context.Context, params *ManagerControllerGetLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetLogSummary ¶
func (c *Client) ManagerControllerGetLogSummary(ctx context.Context, params *ManagerControllerGetLogSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetManagerConfigOndemand ¶
func (c *Client) ManagerControllerGetManagerConfigOndemand(ctx context.Context, component ManagerControllerGetManagerConfigOndemandParamsComponent, configuration ManagerControllerGetManagerConfigOndemandParamsConfiguration, params *ManagerControllerGetManagerConfigOndemandParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetStats ¶
func (c *Client) ManagerControllerGetStats(ctx context.Context, params *ManagerControllerGetStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetStatsAnalysisd ¶
func (c *Client) ManagerControllerGetStatsAnalysisd(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetStatsHourly ¶
func (c *Client) ManagerControllerGetStatsHourly(ctx context.Context, params *ManagerControllerGetStatsHourlyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetStatsRemoted ¶
func (c *Client) ManagerControllerGetStatsRemoted(ctx context.Context, params *ManagerControllerGetStatsRemotedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetStatsWeekly ¶
func (c *Client) ManagerControllerGetStatsWeekly(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerGetStatus ¶
func (c *Client) ManagerControllerGetStatus(ctx context.Context, params *ManagerControllerGetStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerPutRestart ¶
func (c *Client) ManagerControllerPutRestart(ctx context.Context, params *ManagerControllerPutRestartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerControllerUpdateConfigurationWithBody ¶ added in v0.8.0
func (*Client) MitreControllerGetGroups ¶ added in v0.10.0
func (c *Client) MitreControllerGetGroups(ctx context.Context, params *MitreControllerGetGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MitreControllerGetMetadata ¶ added in v0.10.0
func (c *Client) MitreControllerGetMetadata(ctx context.Context, params *MitreControllerGetMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MitreControllerGetMitigations ¶ added in v0.10.0
func (c *Client) MitreControllerGetMitigations(ctx context.Context, params *MitreControllerGetMitigationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MitreControllerGetReferences ¶ added in v0.10.0
func (c *Client) MitreControllerGetReferences(ctx context.Context, params *MitreControllerGetReferencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MitreControllerGetSoftware ¶ added in v0.10.0
func (c *Client) MitreControllerGetSoftware(ctx context.Context, params *MitreControllerGetSoftwareParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MitreControllerGetTactics ¶ added in v0.10.0
func (c *Client) MitreControllerGetTactics(ctx context.Context, params *MitreControllerGetTacticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MitreControllerGetTechniques ¶ added in v0.10.0
func (c *Client) MitreControllerGetTechniques(ctx context.Context, params *MitreControllerGetTechniquesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OverviewControllerGetOverviewAgents ¶
func (c *Client) OverviewControllerGetOverviewAgents(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RootcheckControllerDeleteRootcheck ¶ added in v0.8.0
func (c *Client) RootcheckControllerDeleteRootcheck(ctx context.Context, agentId AgentId, params *RootcheckControllerDeleteRootcheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RootcheckControllerGetLastScanAgent ¶ added in v0.8.0
func (c *Client) RootcheckControllerGetLastScanAgent(ctx context.Context, agentId AgentId, params *RootcheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RootcheckControllerGetRootcheckAgent ¶ added in v0.8.0
func (c *Client) RootcheckControllerGetRootcheckAgent(ctx context.Context, agentId AgentId, params *RootcheckControllerGetRootcheckAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RootcheckControllerPutRootcheck ¶ added in v0.8.0
func (c *Client) RootcheckControllerPutRootcheck(ctx context.Context, params *RootcheckControllerPutRootcheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RuleControllerDeleteFile ¶ added in v0.8.0
func (c *Client) RuleControllerDeleteFile(ctx context.Context, filename XmlFilenamePath, params *RuleControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RuleControllerGetFile ¶ added in v0.8.0
func (c *Client) RuleControllerGetFile(ctx context.Context, filename XmlFilenamePath, params *RuleControllerGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RuleControllerGetRules ¶ added in v0.8.0
func (c *Client) RuleControllerGetRules(ctx context.Context, params *RuleControllerGetRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RuleControllerGetRulesFiles ¶ added in v0.8.0
func (c *Client) RuleControllerGetRulesFiles(ctx context.Context, params *RuleControllerGetRulesFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RuleControllerGetRulesGroups ¶ added in v0.8.0
func (c *Client) RuleControllerGetRulesGroups(ctx context.Context, params *RuleControllerGetRulesGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RuleControllerGetRulesRequirement ¶ added in v0.8.0
func (c *Client) RuleControllerGetRulesRequirement(ctx context.Context, requirement RuleControllerGetRulesRequirementParamsRequirement, params *RuleControllerGetRulesRequirementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RuleControllerPutFileWithBody ¶ added in v0.8.0
func (c *Client) RuleControllerPutFileWithBody(ctx context.Context, filename XmlFilenamePath, params *RuleControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaControllerGetScaAgent ¶
func (c *Client) ScaControllerGetScaAgent(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaControllerGetScaChecks ¶
func (c *Client) ScaControllerGetScaChecks(ctx context.Context, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerAddPolicy ¶
func (c *Client) SecurityControllerAddPolicy(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerAddPolicyWithBody ¶
func (*Client) SecurityControllerAddRole ¶
func (c *Client) SecurityControllerAddRole(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerAddRoleWithBody ¶
func (*Client) SecurityControllerAddRule ¶
func (c *Client) SecurityControllerAddRule(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerAddRuleWithBody ¶
func (*Client) SecurityControllerCreateUser ¶
func (c *Client) SecurityControllerCreateUser(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerCreateUserWithBody ¶
func (*Client) SecurityControllerDeleteSecurityConfig ¶
func (c *Client) SecurityControllerDeleteSecurityConfig(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerDeleteUsers ¶
func (c *Client) SecurityControllerDeleteUsers(ctx context.Context, params *SecurityControllerDeleteUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerDeprecatedLoginUser ¶ added in v1.1.5
func (c *Client) SecurityControllerDeprecatedLoginUser(ctx context.Context, params *SecurityControllerDeprecatedLoginUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerEditRunAs ¶ added in v0.8.0
func (c *Client) SecurityControllerEditRunAs(ctx context.Context, userId UserIdRequired, params *SecurityControllerEditRunAsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetPolicies ¶
func (c *Client) SecurityControllerGetPolicies(ctx context.Context, params *SecurityControllerGetPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetRbacActions ¶
func (c *Client) SecurityControllerGetRbacActions(ctx context.Context, params *SecurityControllerGetRbacActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetRbacResources ¶
func (c *Client) SecurityControllerGetRbacResources(ctx context.Context, params *SecurityControllerGetRbacResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetRoles ¶
func (c *Client) SecurityControllerGetRoles(ctx context.Context, params *SecurityControllerGetRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetRules ¶
func (c *Client) SecurityControllerGetRules(ctx context.Context, params *SecurityControllerGetRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetSecurityConfig ¶
func (c *Client) SecurityControllerGetSecurityConfig(ctx context.Context, params *SecurityControllerGetSecurityConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetUserMe ¶
func (c *Client) SecurityControllerGetUserMe(ctx context.Context, params *SecurityControllerGetUserMeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetUserMePolicies ¶
func (c *Client) SecurityControllerGetUserMePolicies(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerGetUsers ¶
func (c *Client) SecurityControllerGetUsers(ctx context.Context, params *SecurityControllerGetUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerLoginUser ¶
func (c *Client) SecurityControllerLoginUser(ctx context.Context, params *SecurityControllerLoginUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerLogoutUser ¶
func (*Client) SecurityControllerPutSecurityConfig ¶
func (c *Client) SecurityControllerPutSecurityConfig(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerPutSecurityConfigWithBody ¶
func (*Client) SecurityControllerRemovePolicies ¶
func (c *Client) SecurityControllerRemovePolicies(ctx context.Context, params *SecurityControllerRemovePoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerRemoveRolePolicy ¶
func (c *Client) SecurityControllerRemoveRolePolicy(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerRemoveRoleRule ¶
func (c *Client) SecurityControllerRemoveRoleRule(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerRemoveRoles ¶
func (c *Client) SecurityControllerRemoveRoles(ctx context.Context, params *SecurityControllerRemoveRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerRemoveRules ¶
func (c *Client) SecurityControllerRemoveRules(ctx context.Context, params *SecurityControllerRemoveRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerRemoveUserRole ¶
func (c *Client) SecurityControllerRemoveUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerRevokeAllTokens ¶
func (*Client) SecurityControllerRunAsLogin ¶ added in v0.8.0
func (c *Client) SecurityControllerRunAsLogin(ctx context.Context, params *SecurityControllerRunAsLoginParams, body SecurityControllerRunAsLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerRunAsLoginWithBody ¶ added in v0.8.0
func (*Client) SecurityControllerSetRolePolicy ¶
func (c *Client) SecurityControllerSetRolePolicy(ctx context.Context, roleId RoleId, params *SecurityControllerSetRolePolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerSetRoleRule ¶
func (c *Client) SecurityControllerSetRoleRule(ctx context.Context, roleId RoleId, params *SecurityControllerSetRoleRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerSetUserRole ¶
func (c *Client) SecurityControllerSetUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerUpdatePolicy ¶
func (c *Client) SecurityControllerUpdatePolicy(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerUpdatePolicyWithBody ¶
func (c *Client) SecurityControllerUpdatePolicyWithBody(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerUpdateRole ¶
func (c *Client) SecurityControllerUpdateRole(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerUpdateRoleWithBody ¶
func (*Client) SecurityControllerUpdateRule ¶
func (c *Client) SecurityControllerUpdateRule(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerUpdateRuleWithBody ¶
func (c *Client) SecurityControllerUpdateRuleWithBody(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerUpdateUser ¶
func (c *Client) SecurityControllerUpdateUser(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SecurityControllerUpdateUserWithBody ¶
func (c *Client) SecurityControllerUpdateUserWithBody(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscheckControllerDeleteSyscheckAgent ¶
func (c *Client) SyscheckControllerDeleteSyscheckAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscheckControllerGetLastScanAgent ¶
func (c *Client) SyscheckControllerGetLastScanAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscheckControllerGetSyscheckAgent ¶
func (c *Client) SyscheckControllerGetSyscheckAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscheckControllerPutSyscheck ¶
func (c *Client) SyscheckControllerPutSyscheck(ctx context.Context, params *SyscheckControllerPutSyscheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetHardwareInfo ¶
func (c *Client) SyscollectorControllerGetHardwareInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetHotfixInfo ¶
func (c *Client) SyscollectorControllerGetHotfixInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetNetworkAddressInfo ¶
func (c *Client) SyscollectorControllerGetNetworkAddressInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetNetworkInterfaceInfo ¶
func (c *Client) SyscollectorControllerGetNetworkInterfaceInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetNetworkProtocolInfo ¶
func (c *Client) SyscollectorControllerGetNetworkProtocolInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetOsInfo ¶
func (c *Client) SyscollectorControllerGetOsInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetPackagesInfo ¶
func (c *Client) SyscollectorControllerGetPackagesInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetPortsInfo ¶
func (c *Client) SyscollectorControllerGetPortsInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SyscollectorControllerGetProcessesInfo ¶
func (c *Client) SyscollectorControllerGetProcessesInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TaskControllerGetTasksStatus ¶ added in v0.8.0
func (c *Client) TaskControllerGetTasksStatus(ctx context.Context, params *TaskControllerGetTasksStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) VulnerabilityControllerGetLastScanAgent ¶ added in v0.10.0
func (c *Client) VulnerabilityControllerGetLastScanAgent(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) VulnerabilityControllerGetVulnerabilitiesFieldSummary ¶ added in v0.10.0
func (c *Client) VulnerabilityControllerGetVulnerabilitiesFieldSummary(ctx context.Context, agentId AgentId, field VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField, params *VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) VulnerabilityControllerGetVulnerabilityAgent ¶ added in v0.8.0
func (c *Client) VulnerabilityControllerGetVulnerabilityAgent(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// DefaultControllerDefaultInfo request
DefaultControllerDefaultInfo(ctx context.Context, params *DefaultControllerDefaultInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActiveResponseControllerRunCommand request with any body
ActiveResponseControllerRunCommandWithBody(ctx context.Context, params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ActiveResponseControllerRunCommand(ctx context.Context, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerDeleteAgents request
AgentControllerDeleteAgents(ctx context.Context, params *AgentControllerDeleteAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgents request
AgentControllerGetAgents(ctx context.Context, params *AgentControllerGetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerAddAgent request with any body
AgentControllerAddAgentWithBody(ctx context.Context, params *AgentControllerAddAgentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentControllerAddAgent(ctx context.Context, params *AgentControllerAddAgentParams, body AgentControllerAddAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerDeleteMultipleAgentSingleGroup request
AgentControllerDeleteMultipleAgentSingleGroup(ctx context.Context, params *AgentControllerDeleteMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerPutMultipleAgentSingleGroup request
AgentControllerPutMultipleAgentSingleGroup(ctx context.Context, params *AgentControllerPutMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerRestartAgentsByGroup request
AgentControllerRestartAgentsByGroup(ctx context.Context, groupId GroupId, params *AgentControllerRestartAgentsByGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerInsertAgent request with any body
AgentControllerInsertAgentWithBody(ctx context.Context, params *AgentControllerInsertAgentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentControllerInsertAgent(ctx context.Context, params *AgentControllerInsertAgentParams, body AgentControllerInsertAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerPostNewAgent request
AgentControllerPostNewAgent(ctx context.Context, params *AgentControllerPostNewAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentNoGroup request
AgentControllerGetAgentNoGroup(ctx context.Context, params *AgentControllerGetAgentNoGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerRestartAgentsByNode request
AgentControllerRestartAgentsByNode(ctx context.Context, nodeId NodeId, params *AgentControllerRestartAgentsByNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentOutdated request
AgentControllerGetAgentOutdated(ctx context.Context, params *AgentControllerGetAgentOutdatedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerReconnectAgents request
AgentControllerReconnectAgents(ctx context.Context, params *AgentControllerReconnectAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerRestartAgents request
AgentControllerRestartAgents(ctx context.Context, params *AgentControllerRestartAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentFields request
AgentControllerGetAgentFields(ctx context.Context, params *AgentControllerGetAgentFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentSummaryOs request
AgentControllerGetAgentSummaryOs(ctx context.Context, params *AgentControllerGetAgentSummaryOsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentSummaryStatus request
AgentControllerGetAgentSummaryStatus(ctx context.Context, params *AgentControllerGetAgentSummaryStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerPutUpgradeAgents request
AgentControllerPutUpgradeAgents(ctx context.Context, params *AgentControllerPutUpgradeAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerPutUpgradeCustomAgents request
AgentControllerPutUpgradeCustomAgents(ctx context.Context, params *AgentControllerPutUpgradeCustomAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentUpgrade request
AgentControllerGetAgentUpgrade(ctx context.Context, params *AgentControllerGetAgentUpgradeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentConfig request
AgentControllerGetAgentConfig(ctx context.Context, agentId AgentId, component AgentControllerGetAgentConfigParamsComponent, configuration AgentControllerGetAgentConfigParamsConfiguration, params *AgentControllerGetAgentConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetDaemonStats request
AgentControllerGetDaemonStats(ctx context.Context, agentId AgentId, params *AgentControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerDeleteSingleAgentMultipleGroups request
AgentControllerDeleteSingleAgentMultipleGroups(ctx context.Context, agentId AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetSyncAgent request
AgentControllerGetSyncAgent(ctx context.Context, agentId AgentId, params *AgentControllerGetSyncAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerDeleteSingleAgentSingleGroup request
AgentControllerDeleteSingleAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerDeleteSingleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerPutAgentSingleGroup request
AgentControllerPutAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerPutAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentKey request
AgentControllerGetAgentKey(ctx context.Context, agentId AgentId, params *AgentControllerGetAgentKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerRestartAgent request
AgentControllerRestartAgent(ctx context.Context, agentId AgentId, params *AgentControllerRestartAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetComponentStats request
AgentControllerGetComponentStats(ctx context.Context, agentId AgentId, component AgentControllerGetComponentStatsParamsComponent, params *AgentControllerGetComponentStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CiscatControllerGetAgentsCiscatResults request
CiscatControllerGetAgentsCiscatResults(ctx context.Context, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetApiConfig request
ClusterControllerGetApiConfig(ctx context.Context, params *ClusterControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetConfValidation request
ClusterControllerGetConfValidation(ctx context.Context, params *ClusterControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetHealthcheck request
ClusterControllerGetHealthcheck(ctx context.Context, params *ClusterControllerGetHealthcheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetConfig request
ClusterControllerGetConfig(ctx context.Context, params *ClusterControllerGetConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetClusterNode request
ClusterControllerGetClusterNode(ctx context.Context, params *ClusterControllerGetClusterNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetClusterNodes request
ClusterControllerGetClusterNodes(ctx context.Context, params *ClusterControllerGetClusterNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerPutRestart request
ClusterControllerPutRestart(ctx context.Context, params *ClusterControllerPutRestartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetNodesRulesetSyncStatus request
ClusterControllerGetNodesRulesetSyncStatus(ctx context.Context, params *ClusterControllerGetNodesRulesetSyncStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetStatus request
ClusterControllerGetStatus(ctx context.Context, params *ClusterControllerGetStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetConfigurationNode request
ClusterControllerGetConfigurationNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerUpdateConfiguration request with any body
ClusterControllerUpdateConfigurationWithBody(ctx context.Context, nodeId NodeId, params *ClusterControllerUpdateConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetNodeConfig request
ClusterControllerGetNodeConfig(ctx context.Context, nodeId NodeId, component ClusterControllerGetNodeConfigParamsComponent, configuration ClusterControllerGetNodeConfigParamsConfiguration, params *ClusterControllerGetNodeConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetDaemonStatsNode request
ClusterControllerGetDaemonStatsNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetDaemonStatsNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetInfoNode request
ClusterControllerGetInfoNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetLogNode request
ClusterControllerGetLogNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetLogSummaryNode request
ClusterControllerGetLogSummaryNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetStatsNode request
ClusterControllerGetStatsNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetStatsAnalysisdNode request
ClusterControllerGetStatsAnalysisdNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetStatsHourlyNode request
ClusterControllerGetStatsHourlyNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetStatsRemotedNode request
ClusterControllerGetStatsRemotedNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetStatsWeeklyNode request
ClusterControllerGetStatsWeeklyNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClusterControllerGetStatusNode request
ClusterControllerGetStatusNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatusNodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DecoderControllerGetDecoders request
DecoderControllerGetDecoders(ctx context.Context, params *DecoderControllerGetDecodersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DecoderControllerGetDecodersFiles request
DecoderControllerGetDecodersFiles(ctx context.Context, params *DecoderControllerGetDecodersFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DecoderControllerDeleteFile request
DecoderControllerDeleteFile(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DecoderControllerGetFile request
DecoderControllerGetFile(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DecoderControllerPutFile request with any body
DecoderControllerPutFileWithBody(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DecoderControllerGetDecodersParents request
DecoderControllerGetDecodersParents(ctx context.Context, params *DecoderControllerGetDecodersParentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EventControllerForwardEvent request with any body
EventControllerForwardEventWithBody(ctx context.Context, params *EventControllerForwardEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EventControllerForwardEvent(ctx context.Context, params *EventControllerForwardEventParams, body EventControllerForwardEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetCisCatResults request
ExperimentalControllerGetCisCatResults(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerClearRootcheckDatabase request
ExperimentalControllerClearRootcheckDatabase(ctx context.Context, params *ExperimentalControllerClearRootcheckDatabaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerClearSyscheckDatabase request
ExperimentalControllerClearSyscheckDatabase(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetHardwareInfo request
ExperimentalControllerGetHardwareInfo(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetHotfixesInfo request
ExperimentalControllerGetHotfixesInfo(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetNetworkAddressInfo request
ExperimentalControllerGetNetworkAddressInfo(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetNetworkInterfaceInfo request
ExperimentalControllerGetNetworkInterfaceInfo(ctx context.Context, params *ExperimentalControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetNetworkProtocolInfo request
ExperimentalControllerGetNetworkProtocolInfo(ctx context.Context, params *ExperimentalControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetOsInfo request
ExperimentalControllerGetOsInfo(ctx context.Context, params *ExperimentalControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetPackagesInfo request
ExperimentalControllerGetPackagesInfo(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetPortsInfo request
ExperimentalControllerGetPortsInfo(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExperimentalControllerGetProcessesInfo request
ExperimentalControllerGetProcessesInfo(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerDeleteGroups request
AgentControllerDeleteGroups(ctx context.Context, params *AgentControllerDeleteGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetListGroup request
AgentControllerGetListGroup(ctx context.Context, params *AgentControllerGetListGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerPostGroup request with any body
AgentControllerPostGroupWithBody(ctx context.Context, params *AgentControllerPostGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentControllerPostGroup(ctx context.Context, params *AgentControllerPostGroupParams, body AgentControllerPostGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetAgentsInGroup request
AgentControllerGetAgentsInGroup(ctx context.Context, groupId GroupId, params *AgentControllerGetAgentsInGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetGroupConfig request
AgentControllerGetGroupConfig(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerPutGroupConfig request with any body
AgentControllerPutGroupConfigWithBody(ctx context.Context, groupId GroupId, params *AgentControllerPutGroupConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetGroupFiles request
AgentControllerGetGroupFiles(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetGroupFileJson request
AgentControllerGetGroupFileJson(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileJsonParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentControllerGetGroupFileXml request
AgentControllerGetGroupFileXml(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileXmlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CdbListControllerGetLists request
CdbListControllerGetLists(ctx context.Context, params *CdbListControllerGetListsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CdbListControllerGetListsFiles request
CdbListControllerGetListsFiles(ctx context.Context, params *CdbListControllerGetListsFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CdbListControllerDeleteFile request
CdbListControllerDeleteFile(ctx context.Context, filename ListFilenamePath, params *CdbListControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CdbListControllerGetFile request
CdbListControllerGetFile(ctx context.Context, filename ListFilenamePath, params *CdbListControllerGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CdbListControllerPutFile request with any body
CdbListControllerPutFileWithBody(ctx context.Context, filename ListFilenamePath, params *CdbListControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogtestControllerRunLogtestTool request with any body
LogtestControllerRunLogtestToolWithBody(ctx context.Context, params *LogtestControllerRunLogtestToolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LogtestControllerRunLogtestTool(ctx context.Context, params *LogtestControllerRunLogtestToolParams, body LogtestControllerRunLogtestToolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogtestControllerEndLogtestSession request
LogtestControllerEndLogtestSession(ctx context.Context, token LogtestToken, params *LogtestControllerEndLogtestSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetApiConfig request
ManagerControllerGetApiConfig(ctx context.Context, params *ManagerControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetConfiguration request
ManagerControllerGetConfiguration(ctx context.Context, params *ManagerControllerGetConfigurationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerUpdateConfiguration request with any body
ManagerControllerUpdateConfigurationWithBody(ctx context.Context, params *ManagerControllerUpdateConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetConfValidation request
ManagerControllerGetConfValidation(ctx context.Context, params *ManagerControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetManagerConfigOndemand request
ManagerControllerGetManagerConfigOndemand(ctx context.Context, component ManagerControllerGetManagerConfigOndemandParamsComponent, configuration ManagerControllerGetManagerConfigOndemandParamsConfiguration, params *ManagerControllerGetManagerConfigOndemandParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetDaemonStats request
ManagerControllerGetDaemonStats(ctx context.Context, params *ManagerControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetInfo request
ManagerControllerGetInfo(ctx context.Context, params *ManagerControllerGetInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetLog request
ManagerControllerGetLog(ctx context.Context, params *ManagerControllerGetLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetLogSummary request
ManagerControllerGetLogSummary(ctx context.Context, params *ManagerControllerGetLogSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerPutRestart request
ManagerControllerPutRestart(ctx context.Context, params *ManagerControllerPutRestartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetStats request
ManagerControllerGetStats(ctx context.Context, params *ManagerControllerGetStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetStatsAnalysisd request
ManagerControllerGetStatsAnalysisd(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetStatsHourly request
ManagerControllerGetStatsHourly(ctx context.Context, params *ManagerControllerGetStatsHourlyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetStatsRemoted request
ManagerControllerGetStatsRemoted(ctx context.Context, params *ManagerControllerGetStatsRemotedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetStatsWeekly request
ManagerControllerGetStatsWeekly(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerGetStatus request
ManagerControllerGetStatus(ctx context.Context, params *ManagerControllerGetStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerControllerCheckAvailableVersion request
ManagerControllerCheckAvailableVersion(ctx context.Context, params *ManagerControllerCheckAvailableVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitreControllerGetGroups request
MitreControllerGetGroups(ctx context.Context, params *MitreControllerGetGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitreControllerGetMetadata request
MitreControllerGetMetadata(ctx context.Context, params *MitreControllerGetMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitreControllerGetMitigations request
MitreControllerGetMitigations(ctx context.Context, params *MitreControllerGetMitigationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitreControllerGetReferences request
MitreControllerGetReferences(ctx context.Context, params *MitreControllerGetReferencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitreControllerGetSoftware request
MitreControllerGetSoftware(ctx context.Context, params *MitreControllerGetSoftwareParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitreControllerGetTactics request
MitreControllerGetTactics(ctx context.Context, params *MitreControllerGetTacticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MitreControllerGetTechniques request
MitreControllerGetTechniques(ctx context.Context, params *MitreControllerGetTechniquesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OverviewControllerGetOverviewAgents request
OverviewControllerGetOverviewAgents(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RootcheckControllerPutRootcheck request
RootcheckControllerPutRootcheck(ctx context.Context, params *RootcheckControllerPutRootcheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RootcheckControllerDeleteRootcheck request
RootcheckControllerDeleteRootcheck(ctx context.Context, agentId AgentId, params *RootcheckControllerDeleteRootcheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RootcheckControllerGetRootcheckAgent request
RootcheckControllerGetRootcheckAgent(ctx context.Context, agentId AgentId, params *RootcheckControllerGetRootcheckAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RootcheckControllerGetLastScanAgent request
RootcheckControllerGetLastScanAgent(ctx context.Context, agentId AgentId, params *RootcheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleControllerGetRules request
RuleControllerGetRules(ctx context.Context, params *RuleControllerGetRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleControllerGetRulesFiles request
RuleControllerGetRulesFiles(ctx context.Context, params *RuleControllerGetRulesFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleControllerDeleteFile request
RuleControllerDeleteFile(ctx context.Context, filename XmlFilenamePath, params *RuleControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleControllerGetFile request
RuleControllerGetFile(ctx context.Context, filename XmlFilenamePath, params *RuleControllerGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleControllerPutFile request with any body
RuleControllerPutFileWithBody(ctx context.Context, filename XmlFilenamePath, params *RuleControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleControllerGetRulesGroups request
RuleControllerGetRulesGroups(ctx context.Context, params *RuleControllerGetRulesGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RuleControllerGetRulesRequirement request
RuleControllerGetRulesRequirement(ctx context.Context, requirement RuleControllerGetRulesRequirementParamsRequirement, params *RuleControllerGetRulesRequirementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScaControllerGetScaAgent request
ScaControllerGetScaAgent(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScaControllerGetScaChecks request
ScaControllerGetScaChecks(ctx context.Context, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetRbacActions request
SecurityControllerGetRbacActions(ctx context.Context, params *SecurityControllerGetRbacActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerDeleteSecurityConfig request
SecurityControllerDeleteSecurityConfig(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetSecurityConfig request
SecurityControllerGetSecurityConfig(ctx context.Context, params *SecurityControllerGetSecurityConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerPutSecurityConfig request with any body
SecurityControllerPutSecurityConfigWithBody(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerPutSecurityConfig(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRemovePolicies request
SecurityControllerRemovePolicies(ctx context.Context, params *SecurityControllerRemovePoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetPolicies request
SecurityControllerGetPolicies(ctx context.Context, params *SecurityControllerGetPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerAddPolicy request with any body
SecurityControllerAddPolicyWithBody(ctx context.Context, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerAddPolicy(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerUpdatePolicy request with any body
SecurityControllerUpdatePolicyWithBody(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerUpdatePolicy(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetRbacResources request
SecurityControllerGetRbacResources(ctx context.Context, params *SecurityControllerGetRbacResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRemoveRoles request
SecurityControllerRemoveRoles(ctx context.Context, params *SecurityControllerRemoveRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetRoles request
SecurityControllerGetRoles(ctx context.Context, params *SecurityControllerGetRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerAddRole request with any body
SecurityControllerAddRoleWithBody(ctx context.Context, params *SecurityControllerAddRoleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerAddRole(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerUpdateRole request with any body
SecurityControllerUpdateRoleWithBody(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerUpdateRole(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRemoveRolePolicy request
SecurityControllerRemoveRolePolicy(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerSetRolePolicy request
SecurityControllerSetRolePolicy(ctx context.Context, roleId RoleId, params *SecurityControllerSetRolePolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRemoveRoleRule request
SecurityControllerRemoveRoleRule(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerSetRoleRule request
SecurityControllerSetRoleRule(ctx context.Context, roleId RoleId, params *SecurityControllerSetRoleRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRemoveRules request
SecurityControllerRemoveRules(ctx context.Context, params *SecurityControllerRemoveRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetRules request
SecurityControllerGetRules(ctx context.Context, params *SecurityControllerGetRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerAddRule request with any body
SecurityControllerAddRuleWithBody(ctx context.Context, params *SecurityControllerAddRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerAddRule(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerUpdateRule request with any body
SecurityControllerUpdateRuleWithBody(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerUpdateRule(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerLogoutUser request
SecurityControllerLogoutUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerDeprecatedLoginUser request
SecurityControllerDeprecatedLoginUser(ctx context.Context, params *SecurityControllerDeprecatedLoginUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerLoginUser request
SecurityControllerLoginUser(ctx context.Context, params *SecurityControllerLoginUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRunAsLogin request with any body
SecurityControllerRunAsLoginWithBody(ctx context.Context, params *SecurityControllerRunAsLoginParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerRunAsLogin(ctx context.Context, params *SecurityControllerRunAsLoginParams, body SecurityControllerRunAsLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRevokeAllTokens request
SecurityControllerRevokeAllTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerDeleteUsers request
SecurityControllerDeleteUsers(ctx context.Context, params *SecurityControllerDeleteUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetUsers request
SecurityControllerGetUsers(ctx context.Context, params *SecurityControllerGetUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerCreateUser request with any body
SecurityControllerCreateUserWithBody(ctx context.Context, params *SecurityControllerCreateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerCreateUser(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetUserMe request
SecurityControllerGetUserMe(ctx context.Context, params *SecurityControllerGetUserMeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerGetUserMePolicies request
SecurityControllerGetUserMePolicies(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerUpdateUser request with any body
SecurityControllerUpdateUserWithBody(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityControllerUpdateUser(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerRemoveUserRole request
SecurityControllerRemoveUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerSetUserRole request
SecurityControllerSetUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityControllerEditRunAs request
SecurityControllerEditRunAs(ctx context.Context, userId UserIdRequired, params *SecurityControllerEditRunAsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscheckControllerPutSyscheck request
SyscheckControllerPutSyscheck(ctx context.Context, params *SyscheckControllerPutSyscheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscheckControllerDeleteSyscheckAgent request
SyscheckControllerDeleteSyscheckAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscheckControllerGetSyscheckAgent request
SyscheckControllerGetSyscheckAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscheckControllerGetLastScanAgent request
SyscheckControllerGetLastScanAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetHardwareInfo request
SyscollectorControllerGetHardwareInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetHotfixInfo request
SyscollectorControllerGetHotfixInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetNetworkAddressInfo request
SyscollectorControllerGetNetworkAddressInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetNetworkInterfaceInfo request
SyscollectorControllerGetNetworkInterfaceInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetNetworkProtocolInfo request
SyscollectorControllerGetNetworkProtocolInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetOsInfo request
SyscollectorControllerGetOsInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetPackagesInfo request
SyscollectorControllerGetPackagesInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetPortsInfo request
SyscollectorControllerGetPortsInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyscollectorControllerGetProcessesInfo request
SyscollectorControllerGetProcessesInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TaskControllerGetTasksStatus request
TaskControllerGetTasksStatus(ctx context.Context, params *TaskControllerGetTasksStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// VulnerabilityControllerGetVulnerabilityAgent request
VulnerabilityControllerGetVulnerabilityAgent(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// VulnerabilityControllerGetLastScanAgent request
VulnerabilityControllerGetLastScanAgent(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// VulnerabilityControllerGetVulnerabilitiesFieldSummary request
VulnerabilityControllerGetVulnerabilitiesFieldSummary(ctx context.Context, agentId AgentId, field VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField, params *VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithContext ¶
func WithContext(ctx context.Context) ClientOption
WithContext specifies the credentials for
func WithHttpClient ¶ added in v1.2.2
func WithHttpClient(client *http.Client) ClientOption
WithHttpClient allows overriding the default client the transport settings like "WithProxy" and "WithInsecure" will have no further impact
func WithHttpRequestDoer ¶ added in v1.2.2
func WithHttpRequestDoer(doer HttpRequestDoer) ClientOption
WithHttpRequestDoer allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithInsecure ¶
func WithInsecure(insecure bool) ClientOption
WithInsecure accept all certificates
func WithLogin ¶
func WithLogin(user string, password string) ClientOption
WithLogin specifies the credentials for
func WithProxy ¶ added in v1.1.1
func WithProxy(enabled bool, host string) ClientOption
WithProxy write all requests to the log
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
func WithUserAgent ¶
func WithUserAgent(userAgent string) ClientOption
WithUserAgent specify a user agent string to identify the client
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ActiveResponseControllerRunCommandWithBodyWithResponse ¶
func (c *ClientWithResponses) ActiveResponseControllerRunCommandWithBodyWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveResponseControllerRunCommandResponse, error)
ActiveResponseControllerRunCommandWithBodyWithResponse request with arbitrary body returning *ActiveResponseControllerRunCommandResponse
func (*ClientWithResponses) ActiveResponseControllerRunCommandWithResponse ¶
func (c *ClientWithResponses) ActiveResponseControllerRunCommandWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveResponseControllerRunCommandResponse, error)
func (*ClientWithResponses) AgentControllerAddAgentWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerAddAgentWithBodyWithResponse(ctx context.Context, params *AgentControllerAddAgentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerAddAgentResponse, error)
AgentControllerAddAgentWithBodyWithResponse request with arbitrary body returning *AgentControllerAddAgentResponse
func (*ClientWithResponses) AgentControllerAddAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerAddAgentWithResponse(ctx context.Context, params *AgentControllerAddAgentParams, body AgentControllerAddAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentControllerAddAgentResponse, error)
func (*ClientWithResponses) AgentControllerDeleteAgentsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerDeleteAgentsWithResponse(ctx context.Context, params *AgentControllerDeleteAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteAgentsResponse, error)
AgentControllerDeleteAgentsWithResponse request returning *AgentControllerDeleteAgentsResponse
func (*ClientWithResponses) AgentControllerDeleteGroupsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerDeleteGroupsWithResponse(ctx context.Context, params *AgentControllerDeleteGroupsParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteGroupsResponse, error)
AgentControllerDeleteGroupsWithResponse request returning *AgentControllerDeleteGroupsResponse
func (*ClientWithResponses) AgentControllerDeleteMultipleAgentSingleGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerDeleteMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentControllerDeleteMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteMultipleAgentSingleGroupResponse, error)
AgentControllerDeleteMultipleAgentSingleGroupWithResponse request returning *AgentControllerDeleteMultipleAgentSingleGroupResponse
func (*ClientWithResponses) AgentControllerDeleteSingleAgentMultipleGroupsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerDeleteSingleAgentMultipleGroupsWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteSingleAgentMultipleGroupsResponse, error)
AgentControllerDeleteSingleAgentMultipleGroupsWithResponse request returning *AgentControllerDeleteSingleAgentMultipleGroupsResponse
func (*ClientWithResponses) AgentControllerDeleteSingleAgentSingleGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerDeleteSingleAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerDeleteSingleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteSingleAgentSingleGroupResponse, error)
AgentControllerDeleteSingleAgentSingleGroupWithResponse request returning *AgentControllerDeleteSingleAgentSingleGroupResponse
func (*ClientWithResponses) AgentControllerGetAgentConfigWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentConfigWithResponse(ctx context.Context, agentId AgentId, component AgentControllerGetAgentConfigParamsComponent, configuration AgentControllerGetAgentConfigParamsConfiguration, params *AgentControllerGetAgentConfigParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentConfigResponse, error)
AgentControllerGetAgentConfigWithResponse request returning *AgentControllerGetAgentConfigResponse
func (*ClientWithResponses) AgentControllerGetAgentFieldsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentFieldsWithResponse(ctx context.Context, params *AgentControllerGetAgentFieldsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentFieldsResponse, error)
AgentControllerGetAgentFieldsWithResponse request returning *AgentControllerGetAgentFieldsResponse
func (*ClientWithResponses) AgentControllerGetAgentKeyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentKeyWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerGetAgentKeyParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentKeyResponse, error)
AgentControllerGetAgentKeyWithResponse request returning *AgentControllerGetAgentKeyResponse
func (*ClientWithResponses) AgentControllerGetAgentNoGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentNoGroupWithResponse(ctx context.Context, params *AgentControllerGetAgentNoGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentNoGroupResponse, error)
AgentControllerGetAgentNoGroupWithResponse request returning *AgentControllerGetAgentNoGroupResponse
func (*ClientWithResponses) AgentControllerGetAgentOutdatedWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentOutdatedWithResponse(ctx context.Context, params *AgentControllerGetAgentOutdatedParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentOutdatedResponse, error)
AgentControllerGetAgentOutdatedWithResponse request returning *AgentControllerGetAgentOutdatedResponse
func (*ClientWithResponses) AgentControllerGetAgentSummaryOsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentSummaryOsWithResponse(ctx context.Context, params *AgentControllerGetAgentSummaryOsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentSummaryOsResponse, error)
AgentControllerGetAgentSummaryOsWithResponse request returning *AgentControllerGetAgentSummaryOsResponse
func (*ClientWithResponses) AgentControllerGetAgentSummaryStatusWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentSummaryStatusWithResponse(ctx context.Context, params *AgentControllerGetAgentSummaryStatusParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentSummaryStatusResponse, error)
AgentControllerGetAgentSummaryStatusWithResponse request returning *AgentControllerGetAgentSummaryStatusResponse
func (*ClientWithResponses) AgentControllerGetAgentUpgradeWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentUpgradeWithResponse(ctx context.Context, params *AgentControllerGetAgentUpgradeParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentUpgradeResponse, error)
AgentControllerGetAgentUpgradeWithResponse request returning *AgentControllerGetAgentUpgradeResponse
func (*ClientWithResponses) AgentControllerGetAgentsInGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentsInGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerGetAgentsInGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentsInGroupResponse, error)
AgentControllerGetAgentsInGroupWithResponse request returning *AgentControllerGetAgentsInGroupResponse
func (*ClientWithResponses) AgentControllerGetAgentsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetAgentsWithResponse(ctx context.Context, params *AgentControllerGetAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentsResponse, error)
AgentControllerGetAgentsWithResponse request returning *AgentControllerGetAgentsResponse
func (*ClientWithResponses) AgentControllerGetComponentStatsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetComponentStatsWithResponse(ctx context.Context, agentId AgentId, component AgentControllerGetComponentStatsParamsComponent, params *AgentControllerGetComponentStatsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetComponentStatsResponse, error)
AgentControllerGetComponentStatsWithResponse request returning *AgentControllerGetComponentStatsResponse
func (*ClientWithResponses) AgentControllerGetDaemonStatsWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) AgentControllerGetDaemonStatsWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetDaemonStatsResponse, error)
AgentControllerGetDaemonStatsWithResponse request returning *AgentControllerGetDaemonStatsResponse
func (*ClientWithResponses) AgentControllerGetGroupConfigWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetGroupConfigWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupConfigParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupConfigResponse, error)
AgentControllerGetGroupConfigWithResponse request returning *AgentControllerGetGroupConfigResponse
func (*ClientWithResponses) AgentControllerGetGroupFileJsonWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetGroupFileJsonWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileJsonParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFileJsonResponse, error)
AgentControllerGetGroupFileJsonWithResponse request returning *AgentControllerGetGroupFileJsonResponse
func (*ClientWithResponses) AgentControllerGetGroupFileXmlWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetGroupFileXmlWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileXmlParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFileXmlResponse, error)
AgentControllerGetGroupFileXmlWithResponse request returning *AgentControllerGetGroupFileXmlResponse
func (*ClientWithResponses) AgentControllerGetGroupFilesWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetGroupFilesWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupFilesParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFilesResponse, error)
AgentControllerGetGroupFilesWithResponse request returning *AgentControllerGetGroupFilesResponse
func (*ClientWithResponses) AgentControllerGetListGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetListGroupWithResponse(ctx context.Context, params *AgentControllerGetListGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerGetListGroupResponse, error)
AgentControllerGetListGroupWithResponse request returning *AgentControllerGetListGroupResponse
func (*ClientWithResponses) AgentControllerGetSyncAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerGetSyncAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerGetSyncAgentParams, reqEditors ...RequestEditorFn) (*AgentControllerGetSyncAgentResponse, error)
AgentControllerGetSyncAgentWithResponse request returning *AgentControllerGetSyncAgentResponse
func (*ClientWithResponses) AgentControllerInsertAgentWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerInsertAgentWithBodyWithResponse(ctx context.Context, params *AgentControllerInsertAgentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerInsertAgentResponse, error)
AgentControllerInsertAgentWithBodyWithResponse request with arbitrary body returning *AgentControllerInsertAgentResponse
func (*ClientWithResponses) AgentControllerInsertAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerInsertAgentWithResponse(ctx context.Context, params *AgentControllerInsertAgentParams, body AgentControllerInsertAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentControllerInsertAgentResponse, error)
func (*ClientWithResponses) AgentControllerPostGroupWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPostGroupWithBodyWithResponse(ctx context.Context, params *AgentControllerPostGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerPostGroupResponse, error)
AgentControllerPostGroupWithBodyWithResponse request with arbitrary body returning *AgentControllerPostGroupResponse
func (*ClientWithResponses) AgentControllerPostGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPostGroupWithResponse(ctx context.Context, params *AgentControllerPostGroupParams, body AgentControllerPostGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentControllerPostGroupResponse, error)
func (*ClientWithResponses) AgentControllerPostNewAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPostNewAgentWithResponse(ctx context.Context, params *AgentControllerPostNewAgentParams, reqEditors ...RequestEditorFn) (*AgentControllerPostNewAgentResponse, error)
AgentControllerPostNewAgentWithResponse request returning *AgentControllerPostNewAgentResponse
func (*ClientWithResponses) AgentControllerPutAgentSingleGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPutAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerPutAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerPutAgentSingleGroupResponse, error)
AgentControllerPutAgentSingleGroupWithResponse request returning *AgentControllerPutAgentSingleGroupResponse
func (*ClientWithResponses) AgentControllerPutGroupConfigWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPutGroupConfigWithBodyWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerPutGroupConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerPutGroupConfigResponse, error)
AgentControllerPutGroupConfigWithBodyWithResponse request with arbitrary body returning *AgentControllerPutGroupConfigResponse
func (*ClientWithResponses) AgentControllerPutMultipleAgentSingleGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPutMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentControllerPutMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerPutMultipleAgentSingleGroupResponse, error)
AgentControllerPutMultipleAgentSingleGroupWithResponse request returning *AgentControllerPutMultipleAgentSingleGroupResponse
func (*ClientWithResponses) AgentControllerPutUpgradeAgentsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPutUpgradeAgentsWithResponse(ctx context.Context, params *AgentControllerPutUpgradeAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerPutUpgradeAgentsResponse, error)
AgentControllerPutUpgradeAgentsWithResponse request returning *AgentControllerPutUpgradeAgentsResponse
func (*ClientWithResponses) AgentControllerPutUpgradeCustomAgentsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerPutUpgradeCustomAgentsWithResponse(ctx context.Context, params *AgentControllerPutUpgradeCustomAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerPutUpgradeCustomAgentsResponse, error)
AgentControllerPutUpgradeCustomAgentsWithResponse request returning *AgentControllerPutUpgradeCustomAgentsResponse
func (*ClientWithResponses) AgentControllerReconnectAgentsWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) AgentControllerReconnectAgentsWithResponse(ctx context.Context, params *AgentControllerReconnectAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerReconnectAgentsResponse, error)
AgentControllerReconnectAgentsWithResponse request returning *AgentControllerReconnectAgentsResponse
func (*ClientWithResponses) AgentControllerRestartAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerRestartAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerRestartAgentParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentResponse, error)
AgentControllerRestartAgentWithResponse request returning *AgentControllerRestartAgentResponse
func (*ClientWithResponses) AgentControllerRestartAgentsByGroupWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerRestartAgentsByGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerRestartAgentsByGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentsByGroupResponse, error)
AgentControllerRestartAgentsByGroupWithResponse request returning *AgentControllerRestartAgentsByGroupResponse
func (*ClientWithResponses) AgentControllerRestartAgentsByNodeWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerRestartAgentsByNodeWithResponse(ctx context.Context, nodeId NodeId, params *AgentControllerRestartAgentsByNodeParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentsByNodeResponse, error)
AgentControllerRestartAgentsByNodeWithResponse request returning *AgentControllerRestartAgentsByNodeResponse
func (*ClientWithResponses) AgentControllerRestartAgentsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) AgentControllerRestartAgentsWithResponse(ctx context.Context, params *AgentControllerRestartAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentsResponse, error)
AgentControllerRestartAgentsWithResponse request returning *AgentControllerRestartAgentsResponse
func (*ClientWithResponses) Authenticate ¶
func (c *ClientWithResponses) Authenticate() error
Authenticate login using basic auth to optain a token
func (*ClientWithResponses) Authenticated ¶ added in v0.3.0
func (c *ClientWithResponses) Authenticated() bool
func (*ClientWithResponses) CdbListControllerDeleteFileWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) CdbListControllerDeleteFileWithResponse(ctx context.Context, filename ListFilenamePath, params *CdbListControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*CdbListControllerDeleteFileResponse, error)
CdbListControllerDeleteFileWithResponse request returning *CdbListControllerDeleteFileResponse
func (*ClientWithResponses) CdbListControllerGetFileWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) CdbListControllerGetFileWithResponse(ctx context.Context, filename ListFilenamePath, params *CdbListControllerGetFileParams, reqEditors ...RequestEditorFn) (*CdbListControllerGetFileResponse, error)
CdbListControllerGetFileWithResponse request returning *CdbListControllerGetFileResponse
func (*ClientWithResponses) CdbListControllerGetListsFilesWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) CdbListControllerGetListsFilesWithResponse(ctx context.Context, params *CdbListControllerGetListsFilesParams, reqEditors ...RequestEditorFn) (*CdbListControllerGetListsFilesResponse, error)
CdbListControllerGetListsFilesWithResponse request returning *CdbListControllerGetListsFilesResponse
func (*ClientWithResponses) CdbListControllerGetListsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) CdbListControllerGetListsWithResponse(ctx context.Context, params *CdbListControllerGetListsParams, reqEditors ...RequestEditorFn) (*CdbListControllerGetListsResponse, error)
CdbListControllerGetListsWithResponse request returning *CdbListControllerGetListsResponse
func (*ClientWithResponses) CdbListControllerPutFileWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) CdbListControllerPutFileWithBodyWithResponse(ctx context.Context, filename ListFilenamePath, params *CdbListControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CdbListControllerPutFileResponse, error)
CdbListControllerPutFileWithBodyWithResponse request with arbitrary body returning *CdbListControllerPutFileResponse
func (*ClientWithResponses) CiscatControllerGetAgentsCiscatResultsWithResponse ¶
func (c *ClientWithResponses) CiscatControllerGetAgentsCiscatResultsWithResponse(ctx context.Context, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams, reqEditors ...RequestEditorFn) (*CiscatControllerGetAgentsCiscatResultsResponse, error)
CiscatControllerGetAgentsCiscatResultsWithResponse request returning *CiscatControllerGetAgentsCiscatResultsResponse
func (*ClientWithResponses) ClusterControllerGetApiConfigWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetApiConfigWithResponse(ctx context.Context, params *ClusterControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetApiConfigResponse, error)
ClusterControllerGetApiConfigWithResponse request returning *ClusterControllerGetApiConfigResponse
func (*ClientWithResponses) ClusterControllerGetClusterNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetClusterNodeWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetClusterNodeResponse, error)
ClusterControllerGetClusterNodeWithResponse request returning *ClusterControllerGetClusterNodeResponse
func (*ClientWithResponses) ClusterControllerGetClusterNodesWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetClusterNodesWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodesParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetClusterNodesResponse, error)
ClusterControllerGetClusterNodesWithResponse request returning *ClusterControllerGetClusterNodesResponse
func (*ClientWithResponses) ClusterControllerGetConfValidationWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetConfValidationWithResponse(ctx context.Context, params *ClusterControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetConfValidationResponse, error)
ClusterControllerGetConfValidationWithResponse request returning *ClusterControllerGetConfValidationResponse
func (*ClientWithResponses) ClusterControllerGetConfigWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetConfigWithResponse(ctx context.Context, params *ClusterControllerGetConfigParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetConfigResponse, error)
ClusterControllerGetConfigWithResponse request returning *ClusterControllerGetConfigResponse
func (*ClientWithResponses) ClusterControllerGetConfigurationNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetConfigurationNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetConfigurationNodeResponse, error)
ClusterControllerGetConfigurationNodeWithResponse request returning *ClusterControllerGetConfigurationNodeResponse
func (*ClientWithResponses) ClusterControllerGetDaemonStatsNodeWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) ClusterControllerGetDaemonStatsNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetDaemonStatsNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetDaemonStatsNodeResponse, error)
ClusterControllerGetDaemonStatsNodeWithResponse request returning *ClusterControllerGetDaemonStatsNodeResponse
func (*ClientWithResponses) ClusterControllerGetHealthcheckWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetHealthcheckWithResponse(ctx context.Context, params *ClusterControllerGetHealthcheckParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetHealthcheckResponse, error)
ClusterControllerGetHealthcheckWithResponse request returning *ClusterControllerGetHealthcheckResponse
func (*ClientWithResponses) ClusterControllerGetInfoNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetInfoNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetInfoNodeResponse, error)
ClusterControllerGetInfoNodeWithResponse request returning *ClusterControllerGetInfoNodeResponse
func (*ClientWithResponses) ClusterControllerGetLogNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetLogNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetLogNodeResponse, error)
ClusterControllerGetLogNodeWithResponse request returning *ClusterControllerGetLogNodeResponse
func (*ClientWithResponses) ClusterControllerGetLogSummaryNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetLogSummaryNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetLogSummaryNodeResponse, error)
ClusterControllerGetLogSummaryNodeWithResponse request returning *ClusterControllerGetLogSummaryNodeResponse
func (*ClientWithResponses) ClusterControllerGetNodeConfigWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetNodeConfigWithResponse(ctx context.Context, nodeId NodeId, component ClusterControllerGetNodeConfigParamsComponent, configuration ClusterControllerGetNodeConfigParamsConfiguration, params *ClusterControllerGetNodeConfigParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetNodeConfigResponse, error)
ClusterControllerGetNodeConfigWithResponse request returning *ClusterControllerGetNodeConfigResponse
func (*ClientWithResponses) ClusterControllerGetNodesRulesetSyncStatusWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) ClusterControllerGetNodesRulesetSyncStatusWithResponse(ctx context.Context, params *ClusterControllerGetNodesRulesetSyncStatusParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetNodesRulesetSyncStatusResponse, error)
ClusterControllerGetNodesRulesetSyncStatusWithResponse request returning *ClusterControllerGetNodesRulesetSyncStatusResponse
func (*ClientWithResponses) ClusterControllerGetStatsAnalysisdNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsAnalysisdNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsAnalysisdNodeResponse, error)
ClusterControllerGetStatsAnalysisdNodeWithResponse request returning *ClusterControllerGetStatsAnalysisdNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsHourlyNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsHourlyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsHourlyNodeResponse, error)
ClusterControllerGetStatsHourlyNodeWithResponse request returning *ClusterControllerGetStatsHourlyNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsNodeResponse, error)
ClusterControllerGetStatsNodeWithResponse request returning *ClusterControllerGetStatsNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsRemotedNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsRemotedNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsRemotedNodeResponse, error)
ClusterControllerGetStatsRemotedNodeWithResponse request returning *ClusterControllerGetStatsRemotedNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsWeeklyNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsWeeklyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsWeeklyNodeResponse, error)
ClusterControllerGetStatsWeeklyNodeWithResponse request returning *ClusterControllerGetStatsWeeklyNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatusNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatusNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatusNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatusNodeResponse, error)
ClusterControllerGetStatusNodeWithResponse request returning *ClusterControllerGetStatusNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatusWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatusWithResponse(ctx context.Context, params *ClusterControllerGetStatusParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatusResponse, error)
ClusterControllerGetStatusWithResponse request returning *ClusterControllerGetStatusResponse
func (*ClientWithResponses) ClusterControllerPutRestartWithResponse ¶
func (c *ClientWithResponses) ClusterControllerPutRestartWithResponse(ctx context.Context, params *ClusterControllerPutRestartParams, reqEditors ...RequestEditorFn) (*ClusterControllerPutRestartResponse, error)
ClusterControllerPutRestartWithResponse request returning *ClusterControllerPutRestartResponse
func (*ClientWithResponses) ClusterControllerUpdateConfigurationWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) ClusterControllerUpdateConfigurationWithBodyWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerUpdateConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClusterControllerUpdateConfigurationResponse, error)
ClusterControllerUpdateConfigurationWithBodyWithResponse request with arbitrary body returning *ClusterControllerUpdateConfigurationResponse
func (*ClientWithResponses) DecoderControllerDeleteFileWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) DecoderControllerDeleteFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*DecoderControllerDeleteFileResponse, error)
DecoderControllerDeleteFileWithResponse request returning *DecoderControllerDeleteFileResponse
func (*ClientWithResponses) DecoderControllerGetDecodersFilesWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) DecoderControllerGetDecodersFilesWithResponse(ctx context.Context, params *DecoderControllerGetDecodersFilesParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetDecodersFilesResponse, error)
DecoderControllerGetDecodersFilesWithResponse request returning *DecoderControllerGetDecodersFilesResponse
func (*ClientWithResponses) DecoderControllerGetDecodersParentsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) DecoderControllerGetDecodersParentsWithResponse(ctx context.Context, params *DecoderControllerGetDecodersParentsParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetDecodersParentsResponse, error)
DecoderControllerGetDecodersParentsWithResponse request returning *DecoderControllerGetDecodersParentsResponse
func (*ClientWithResponses) DecoderControllerGetDecodersWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) DecoderControllerGetDecodersWithResponse(ctx context.Context, params *DecoderControllerGetDecodersParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetDecodersResponse, error)
DecoderControllerGetDecodersWithResponse request returning *DecoderControllerGetDecodersResponse
func (*ClientWithResponses) DecoderControllerGetFileWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) DecoderControllerGetFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerGetFileParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetFileResponse, error)
DecoderControllerGetFileWithResponse request returning *DecoderControllerGetFileResponse
func (*ClientWithResponses) DecoderControllerPutFileWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) DecoderControllerPutFileWithBodyWithResponse(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecoderControllerPutFileResponse, error)
DecoderControllerPutFileWithBodyWithResponse request with arbitrary body returning *DecoderControllerPutFileResponse
func (*ClientWithResponses) DefaultControllerDefaultInfoWithResponse ¶
func (c *ClientWithResponses) DefaultControllerDefaultInfoWithResponse(ctx context.Context, params *DefaultControllerDefaultInfoParams, reqEditors ...RequestEditorFn) (*DefaultControllerDefaultInfoResponse, error)
DefaultControllerDefaultInfoWithResponse request returning *DefaultControllerDefaultInfoResponse
func (*ClientWithResponses) EventControllerForwardEventWithBodyWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) EventControllerForwardEventWithBodyWithResponse(ctx context.Context, params *EventControllerForwardEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventControllerForwardEventResponse, error)
EventControllerForwardEventWithBodyWithResponse request with arbitrary body returning *EventControllerForwardEventResponse
func (*ClientWithResponses) EventControllerForwardEventWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) EventControllerForwardEventWithResponse(ctx context.Context, params *EventControllerForwardEventParams, body EventControllerForwardEventJSONRequestBody, reqEditors ...RequestEditorFn) (*EventControllerForwardEventResponse, error)
func (*ClientWithResponses) ExperimentalControllerClearRootcheckDatabaseWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) ExperimentalControllerClearRootcheckDatabaseWithResponse(ctx context.Context, params *ExperimentalControllerClearRootcheckDatabaseParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerClearRootcheckDatabaseResponse, error)
ExperimentalControllerClearRootcheckDatabaseWithResponse request returning *ExperimentalControllerClearRootcheckDatabaseResponse
func (*ClientWithResponses) ExperimentalControllerClearSyscheckDatabaseWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerClearSyscheckDatabaseWithResponse(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerClearSyscheckDatabaseResponse, error)
ExperimentalControllerClearSyscheckDatabaseWithResponse request returning *ExperimentalControllerClearSyscheckDatabaseResponse
func (*ClientWithResponses) ExperimentalControllerGetCisCatResultsWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetCisCatResultsWithResponse(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetCisCatResultsResponse, error)
ExperimentalControllerGetCisCatResultsWithResponse request returning *ExperimentalControllerGetCisCatResultsResponse
func (*ClientWithResponses) ExperimentalControllerGetHardwareInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetHardwareInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetHardwareInfoResponse, error)
ExperimentalControllerGetHardwareInfoWithResponse request returning *ExperimentalControllerGetHardwareInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetHotfixesInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetHotfixesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetHotfixesInfoResponse, error)
ExperimentalControllerGetHotfixesInfoWithResponse request returning *ExperimentalControllerGetHotfixesInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetNetworkAddressInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetNetworkAddressInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetNetworkAddressInfoResponse, error)
ExperimentalControllerGetNetworkAddressInfoWithResponse request returning *ExperimentalControllerGetNetworkAddressInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetNetworkInterfaceInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetNetworkInterfaceInfoResponse, error)
ExperimentalControllerGetNetworkInterfaceInfoWithResponse request returning *ExperimentalControllerGetNetworkInterfaceInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetNetworkProtocolInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetNetworkProtocolInfoResponse, error)
ExperimentalControllerGetNetworkProtocolInfoWithResponse request returning *ExperimentalControllerGetNetworkProtocolInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetOsInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetOsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetOsInfoResponse, error)
ExperimentalControllerGetOsInfoWithResponse request returning *ExperimentalControllerGetOsInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetPackagesInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetPackagesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetPackagesInfoResponse, error)
ExperimentalControllerGetPackagesInfoWithResponse request returning *ExperimentalControllerGetPackagesInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetPortsInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetPortsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetPortsInfoResponse, error)
ExperimentalControllerGetPortsInfoWithResponse request returning *ExperimentalControllerGetPortsInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetProcessesInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetProcessesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetProcessesInfoResponse, error)
ExperimentalControllerGetProcessesInfoWithResponse request returning *ExperimentalControllerGetProcessesInfoResponse
func (*ClientWithResponses) Logout ¶ added in v0.8.2
func (c *ClientWithResponses) Logout() error
func (*ClientWithResponses) LogtestControllerEndLogtestSessionWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) LogtestControllerEndLogtestSessionWithResponse(ctx context.Context, token LogtestToken, params *LogtestControllerEndLogtestSessionParams, reqEditors ...RequestEditorFn) (*LogtestControllerEndLogtestSessionResponse, error)
LogtestControllerEndLogtestSessionWithResponse request returning *LogtestControllerEndLogtestSessionResponse
func (*ClientWithResponses) LogtestControllerRunLogtestToolWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) LogtestControllerRunLogtestToolWithBodyWithResponse(ctx context.Context, params *LogtestControllerRunLogtestToolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogtestControllerRunLogtestToolResponse, error)
LogtestControllerRunLogtestToolWithBodyWithResponse request with arbitrary body returning *LogtestControllerRunLogtestToolResponse
func (*ClientWithResponses) LogtestControllerRunLogtestToolWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) LogtestControllerRunLogtestToolWithResponse(ctx context.Context, params *LogtestControllerRunLogtestToolParams, body LogtestControllerRunLogtestToolJSONRequestBody, reqEditors ...RequestEditorFn) (*LogtestControllerRunLogtestToolResponse, error)
func (*ClientWithResponses) ManagerControllerCheckAvailableVersionWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) ManagerControllerCheckAvailableVersionWithResponse(ctx context.Context, params *ManagerControllerCheckAvailableVersionParams, reqEditors ...RequestEditorFn) (*ManagerControllerCheckAvailableVersionResponse, error)
ManagerControllerCheckAvailableVersionWithResponse request returning *ManagerControllerCheckAvailableVersionResponse
func (*ClientWithResponses) ManagerControllerGetApiConfigWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetApiConfigWithResponse(ctx context.Context, params *ManagerControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetApiConfigResponse, error)
ManagerControllerGetApiConfigWithResponse request returning *ManagerControllerGetApiConfigResponse
func (*ClientWithResponses) ManagerControllerGetConfValidationWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetConfValidationWithResponse(ctx context.Context, params *ManagerControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetConfValidationResponse, error)
ManagerControllerGetConfValidationWithResponse request returning *ManagerControllerGetConfValidationResponse
func (*ClientWithResponses) ManagerControllerGetConfigurationWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetConfigurationWithResponse(ctx context.Context, params *ManagerControllerGetConfigurationParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetConfigurationResponse, error)
ManagerControllerGetConfigurationWithResponse request returning *ManagerControllerGetConfigurationResponse
func (*ClientWithResponses) ManagerControllerGetDaemonStatsWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) ManagerControllerGetDaemonStatsWithResponse(ctx context.Context, params *ManagerControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetDaemonStatsResponse, error)
ManagerControllerGetDaemonStatsWithResponse request returning *ManagerControllerGetDaemonStatsResponse
func (*ClientWithResponses) ManagerControllerGetInfoWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetInfoWithResponse(ctx context.Context, params *ManagerControllerGetInfoParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetInfoResponse, error)
ManagerControllerGetInfoWithResponse request returning *ManagerControllerGetInfoResponse
func (*ClientWithResponses) ManagerControllerGetLogSummaryWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetLogSummaryWithResponse(ctx context.Context, params *ManagerControllerGetLogSummaryParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetLogSummaryResponse, error)
ManagerControllerGetLogSummaryWithResponse request returning *ManagerControllerGetLogSummaryResponse
func (*ClientWithResponses) ManagerControllerGetLogWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetLogWithResponse(ctx context.Context, params *ManagerControllerGetLogParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetLogResponse, error)
ManagerControllerGetLogWithResponse request returning *ManagerControllerGetLogResponse
func (*ClientWithResponses) ManagerControllerGetManagerConfigOndemandWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetManagerConfigOndemandWithResponse(ctx context.Context, component ManagerControllerGetManagerConfigOndemandParamsComponent, configuration ManagerControllerGetManagerConfigOndemandParamsConfiguration, params *ManagerControllerGetManagerConfigOndemandParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetManagerConfigOndemandResponse, error)
ManagerControllerGetManagerConfigOndemandWithResponse request returning *ManagerControllerGetManagerConfigOndemandResponse
func (*ClientWithResponses) ManagerControllerGetStatsAnalysisdWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsAnalysisdWithResponse(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsAnalysisdResponse, error)
ManagerControllerGetStatsAnalysisdWithResponse request returning *ManagerControllerGetStatsAnalysisdResponse
func (*ClientWithResponses) ManagerControllerGetStatsHourlyWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsHourlyWithResponse(ctx context.Context, params *ManagerControllerGetStatsHourlyParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsHourlyResponse, error)
ManagerControllerGetStatsHourlyWithResponse request returning *ManagerControllerGetStatsHourlyResponse
func (*ClientWithResponses) ManagerControllerGetStatsRemotedWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsRemotedWithResponse(ctx context.Context, params *ManagerControllerGetStatsRemotedParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsRemotedResponse, error)
ManagerControllerGetStatsRemotedWithResponse request returning *ManagerControllerGetStatsRemotedResponse
func (*ClientWithResponses) ManagerControllerGetStatsWeeklyWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsWeeklyWithResponse(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsWeeklyResponse, error)
ManagerControllerGetStatsWeeklyWithResponse request returning *ManagerControllerGetStatsWeeklyResponse
func (*ClientWithResponses) ManagerControllerGetStatsWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsWithResponse(ctx context.Context, params *ManagerControllerGetStatsParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsResponse, error)
ManagerControllerGetStatsWithResponse request returning *ManagerControllerGetStatsResponse
func (*ClientWithResponses) ManagerControllerGetStatusWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatusWithResponse(ctx context.Context, params *ManagerControllerGetStatusParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatusResponse, error)
ManagerControllerGetStatusWithResponse request returning *ManagerControllerGetStatusResponse
func (*ClientWithResponses) ManagerControllerPutRestartWithResponse ¶
func (c *ClientWithResponses) ManagerControllerPutRestartWithResponse(ctx context.Context, params *ManagerControllerPutRestartParams, reqEditors ...RequestEditorFn) (*ManagerControllerPutRestartResponse, error)
ManagerControllerPutRestartWithResponse request returning *ManagerControllerPutRestartResponse
func (*ClientWithResponses) ManagerControllerUpdateConfigurationWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) ManagerControllerUpdateConfigurationWithBodyWithResponse(ctx context.Context, params *ManagerControllerUpdateConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagerControllerUpdateConfigurationResponse, error)
ManagerControllerUpdateConfigurationWithBodyWithResponse request with arbitrary body returning *ManagerControllerUpdateConfigurationResponse
func (*ClientWithResponses) MitreControllerGetGroupsWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) MitreControllerGetGroupsWithResponse(ctx context.Context, params *MitreControllerGetGroupsParams, reqEditors ...RequestEditorFn) (*MitreControllerGetGroupsResponse, error)
MitreControllerGetGroupsWithResponse request returning *MitreControllerGetGroupsResponse
func (*ClientWithResponses) MitreControllerGetMetadataWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) MitreControllerGetMetadataWithResponse(ctx context.Context, params *MitreControllerGetMetadataParams, reqEditors ...RequestEditorFn) (*MitreControllerGetMetadataResponse, error)
MitreControllerGetMetadataWithResponse request returning *MitreControllerGetMetadataResponse
func (*ClientWithResponses) MitreControllerGetMitigationsWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) MitreControllerGetMitigationsWithResponse(ctx context.Context, params *MitreControllerGetMitigationsParams, reqEditors ...RequestEditorFn) (*MitreControllerGetMitigationsResponse, error)
MitreControllerGetMitigationsWithResponse request returning *MitreControllerGetMitigationsResponse
func (*ClientWithResponses) MitreControllerGetReferencesWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) MitreControllerGetReferencesWithResponse(ctx context.Context, params *MitreControllerGetReferencesParams, reqEditors ...RequestEditorFn) (*MitreControllerGetReferencesResponse, error)
MitreControllerGetReferencesWithResponse request returning *MitreControllerGetReferencesResponse
func (*ClientWithResponses) MitreControllerGetSoftwareWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) MitreControllerGetSoftwareWithResponse(ctx context.Context, params *MitreControllerGetSoftwareParams, reqEditors ...RequestEditorFn) (*MitreControllerGetSoftwareResponse, error)
MitreControllerGetSoftwareWithResponse request returning *MitreControllerGetSoftwareResponse
func (*ClientWithResponses) MitreControllerGetTacticsWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) MitreControllerGetTacticsWithResponse(ctx context.Context, params *MitreControllerGetTacticsParams, reqEditors ...RequestEditorFn) (*MitreControllerGetTacticsResponse, error)
MitreControllerGetTacticsWithResponse request returning *MitreControllerGetTacticsResponse
func (*ClientWithResponses) MitreControllerGetTechniquesWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) MitreControllerGetTechniquesWithResponse(ctx context.Context, params *MitreControllerGetTechniquesParams, reqEditors ...RequestEditorFn) (*MitreControllerGetTechniquesResponse, error)
MitreControllerGetTechniquesWithResponse request returning *MitreControllerGetTechniquesResponse
func (*ClientWithResponses) OverviewControllerGetOverviewAgentsWithResponse ¶
func (c *ClientWithResponses) OverviewControllerGetOverviewAgentsWithResponse(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams, reqEditors ...RequestEditorFn) (*OverviewControllerGetOverviewAgentsResponse, error)
OverviewControllerGetOverviewAgentsWithResponse request returning *OverviewControllerGetOverviewAgentsResponse
func (*ClientWithResponses) RevokeAllTokens ¶ added in v0.8.2
func (c *ClientWithResponses) RevokeAllTokens() error
func (*ClientWithResponses) RootcheckControllerDeleteRootcheckWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RootcheckControllerDeleteRootcheckWithResponse(ctx context.Context, agentId AgentId, params *RootcheckControllerDeleteRootcheckParams, reqEditors ...RequestEditorFn) (*RootcheckControllerDeleteRootcheckResponse, error)
RootcheckControllerDeleteRootcheckWithResponse request returning *RootcheckControllerDeleteRootcheckResponse
func (*ClientWithResponses) RootcheckControllerGetLastScanAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RootcheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *RootcheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*RootcheckControllerGetLastScanAgentResponse, error)
RootcheckControllerGetLastScanAgentWithResponse request returning *RootcheckControllerGetLastScanAgentResponse
func (*ClientWithResponses) RootcheckControllerGetRootcheckAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RootcheckControllerGetRootcheckAgentWithResponse(ctx context.Context, agentId AgentId, params *RootcheckControllerGetRootcheckAgentParams, reqEditors ...RequestEditorFn) (*RootcheckControllerGetRootcheckAgentResponse, error)
RootcheckControllerGetRootcheckAgentWithResponse request returning *RootcheckControllerGetRootcheckAgentResponse
func (*ClientWithResponses) RootcheckControllerPutRootcheckWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RootcheckControllerPutRootcheckWithResponse(ctx context.Context, params *RootcheckControllerPutRootcheckParams, reqEditors ...RequestEditorFn) (*RootcheckControllerPutRootcheckResponse, error)
RootcheckControllerPutRootcheckWithResponse request returning *RootcheckControllerPutRootcheckResponse
func (*ClientWithResponses) RuleControllerDeleteFileWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RuleControllerDeleteFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *RuleControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*RuleControllerDeleteFileResponse, error)
RuleControllerDeleteFileWithResponse request returning *RuleControllerDeleteFileResponse
func (*ClientWithResponses) RuleControllerGetFileWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RuleControllerGetFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *RuleControllerGetFileParams, reqEditors ...RequestEditorFn) (*RuleControllerGetFileResponse, error)
RuleControllerGetFileWithResponse request returning *RuleControllerGetFileResponse
func (*ClientWithResponses) RuleControllerGetRulesFilesWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RuleControllerGetRulesFilesWithResponse(ctx context.Context, params *RuleControllerGetRulesFilesParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesFilesResponse, error)
RuleControllerGetRulesFilesWithResponse request returning *RuleControllerGetRulesFilesResponse
func (*ClientWithResponses) RuleControllerGetRulesGroupsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RuleControllerGetRulesGroupsWithResponse(ctx context.Context, params *RuleControllerGetRulesGroupsParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesGroupsResponse, error)
RuleControllerGetRulesGroupsWithResponse request returning *RuleControllerGetRulesGroupsResponse
func (*ClientWithResponses) RuleControllerGetRulesRequirementWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RuleControllerGetRulesRequirementWithResponse(ctx context.Context, requirement RuleControllerGetRulesRequirementParamsRequirement, params *RuleControllerGetRulesRequirementParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesRequirementResponse, error)
RuleControllerGetRulesRequirementWithResponse request returning *RuleControllerGetRulesRequirementResponse
func (*ClientWithResponses) RuleControllerGetRulesWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RuleControllerGetRulesWithResponse(ctx context.Context, params *RuleControllerGetRulesParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesResponse, error)
RuleControllerGetRulesWithResponse request returning *RuleControllerGetRulesResponse
func (*ClientWithResponses) RuleControllerPutFileWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RuleControllerPutFileWithBodyWithResponse(ctx context.Context, filename XmlFilenamePath, params *RuleControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RuleControllerPutFileResponse, error)
RuleControllerPutFileWithBodyWithResponse request with arbitrary body returning *RuleControllerPutFileResponse
func (*ClientWithResponses) ScaControllerGetScaAgentWithResponse ¶
func (c *ClientWithResponses) ScaControllerGetScaAgentWithResponse(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams, reqEditors ...RequestEditorFn) (*ScaControllerGetScaAgentResponse, error)
ScaControllerGetScaAgentWithResponse request returning *ScaControllerGetScaAgentResponse
func (*ClientWithResponses) ScaControllerGetScaChecksWithResponse ¶
func (c *ClientWithResponses) ScaControllerGetScaChecksWithResponse(ctx context.Context, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams, reqEditors ...RequestEditorFn) (*ScaControllerGetScaChecksResponse, error)
ScaControllerGetScaChecksWithResponse request returning *ScaControllerGetScaChecksResponse
func (*ClientWithResponses) SecurityControllerAddPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddPolicyWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerAddPolicyResponse, error)
SecurityControllerAddPolicyWithBodyWithResponse request with arbitrary body returning *SecurityControllerAddPolicyResponse
func (*ClientWithResponses) SecurityControllerAddPolicyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddPolicyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerAddPolicyResponse, error)
func (*ClientWithResponses) SecurityControllerAddRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRoleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerAddRoleResponse, error)
SecurityControllerAddRoleWithBodyWithResponse request with arbitrary body returning *SecurityControllerAddRoleResponse
func (*ClientWithResponses) SecurityControllerAddRoleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRoleWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerAddRoleResponse, error)
func (*ClientWithResponses) SecurityControllerAddRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRuleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerAddRuleResponse, error)
SecurityControllerAddRuleWithBodyWithResponse request with arbitrary body returning *SecurityControllerAddRuleResponse
func (*ClientWithResponses) SecurityControllerAddRuleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRuleWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerAddRuleResponse, error)
func (*ClientWithResponses) SecurityControllerCreateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerCreateUserWithBodyWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerCreateUserResponse, error)
SecurityControllerCreateUserWithBodyWithResponse request with arbitrary body returning *SecurityControllerCreateUserResponse
func (*ClientWithResponses) SecurityControllerCreateUserWithResponse ¶
func (c *ClientWithResponses) SecurityControllerCreateUserWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerCreateUserResponse, error)
func (*ClientWithResponses) SecurityControllerDeleteSecurityConfigWithResponse ¶
func (c *ClientWithResponses) SecurityControllerDeleteSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams, reqEditors ...RequestEditorFn) (*SecurityControllerDeleteSecurityConfigResponse, error)
SecurityControllerDeleteSecurityConfigWithResponse request returning *SecurityControllerDeleteSecurityConfigResponse
func (*ClientWithResponses) SecurityControllerDeleteUsersWithResponse ¶
func (c *ClientWithResponses) SecurityControllerDeleteUsersWithResponse(ctx context.Context, params *SecurityControllerDeleteUsersParams, reqEditors ...RequestEditorFn) (*SecurityControllerDeleteUsersResponse, error)
SecurityControllerDeleteUsersWithResponse request returning *SecurityControllerDeleteUsersResponse
func (*ClientWithResponses) SecurityControllerDeprecatedLoginUserWithResponse ¶ added in v1.1.5
func (c *ClientWithResponses) SecurityControllerDeprecatedLoginUserWithResponse(ctx context.Context, params *SecurityControllerDeprecatedLoginUserParams, reqEditors ...RequestEditorFn) (*SecurityControllerDeprecatedLoginUserResponse, error)
SecurityControllerDeprecatedLoginUserWithResponse request returning *SecurityControllerDeprecatedLoginUserResponse
func (*ClientWithResponses) SecurityControllerEditRunAsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SecurityControllerEditRunAsWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerEditRunAsParams, reqEditors ...RequestEditorFn) (*SecurityControllerEditRunAsResponse, error)
SecurityControllerEditRunAsWithResponse request returning *SecurityControllerEditRunAsResponse
func (*ClientWithResponses) SecurityControllerGetPoliciesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetPoliciesWithResponse(ctx context.Context, params *SecurityControllerGetPoliciesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetPoliciesResponse, error)
SecurityControllerGetPoliciesWithResponse request returning *SecurityControllerGetPoliciesResponse
func (*ClientWithResponses) SecurityControllerGetRbacActionsWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRbacActionsWithResponse(ctx context.Context, params *SecurityControllerGetRbacActionsParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRbacActionsResponse, error)
SecurityControllerGetRbacActionsWithResponse request returning *SecurityControllerGetRbacActionsResponse
func (*ClientWithResponses) SecurityControllerGetRbacResourcesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRbacResourcesWithResponse(ctx context.Context, params *SecurityControllerGetRbacResourcesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRbacResourcesResponse, error)
SecurityControllerGetRbacResourcesWithResponse request returning *SecurityControllerGetRbacResourcesResponse
func (*ClientWithResponses) SecurityControllerGetRolesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRolesWithResponse(ctx context.Context, params *SecurityControllerGetRolesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRolesResponse, error)
SecurityControllerGetRolesWithResponse request returning *SecurityControllerGetRolesResponse
func (*ClientWithResponses) SecurityControllerGetRulesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRulesWithResponse(ctx context.Context, params *SecurityControllerGetRulesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRulesResponse, error)
SecurityControllerGetRulesWithResponse request returning *SecurityControllerGetRulesResponse
func (*ClientWithResponses) SecurityControllerGetSecurityConfigWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerGetSecurityConfigParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetSecurityConfigResponse, error)
SecurityControllerGetSecurityConfigWithResponse request returning *SecurityControllerGetSecurityConfigResponse
func (*ClientWithResponses) SecurityControllerGetUserMePoliciesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetUserMePoliciesWithResponse(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetUserMePoliciesResponse, error)
SecurityControllerGetUserMePoliciesWithResponse request returning *SecurityControllerGetUserMePoliciesResponse
func (*ClientWithResponses) SecurityControllerGetUserMeWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetUserMeWithResponse(ctx context.Context, params *SecurityControllerGetUserMeParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetUserMeResponse, error)
SecurityControllerGetUserMeWithResponse request returning *SecurityControllerGetUserMeResponse
func (*ClientWithResponses) SecurityControllerGetUsersWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetUsersWithResponse(ctx context.Context, params *SecurityControllerGetUsersParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetUsersResponse, error)
SecurityControllerGetUsersWithResponse request returning *SecurityControllerGetUsersResponse
func (*ClientWithResponses) SecurityControllerLoginUserWithResponse ¶
func (c *ClientWithResponses) SecurityControllerLoginUserWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, reqEditors ...RequestEditorFn) (*SecurityControllerLoginUserResponse, error)
SecurityControllerLoginUserWithResponse request returning *SecurityControllerLoginUserResponse
func (*ClientWithResponses) SecurityControllerLogoutUserWithResponse ¶
func (c *ClientWithResponses) SecurityControllerLogoutUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecurityControllerLogoutUserResponse, error)
SecurityControllerLogoutUserWithResponse request returning *SecurityControllerLogoutUserResponse
func (*ClientWithResponses) SecurityControllerPutSecurityConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerPutSecurityConfigWithBodyWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerPutSecurityConfigResponse, error)
SecurityControllerPutSecurityConfigWithBodyWithResponse request with arbitrary body returning *SecurityControllerPutSecurityConfigResponse
func (*ClientWithResponses) SecurityControllerPutSecurityConfigWithResponse ¶
func (c *ClientWithResponses) SecurityControllerPutSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerPutSecurityConfigResponse, error)
func (*ClientWithResponses) SecurityControllerRemovePoliciesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemovePoliciesWithResponse(ctx context.Context, params *SecurityControllerRemovePoliciesParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemovePoliciesResponse, error)
SecurityControllerRemovePoliciesWithResponse request returning *SecurityControllerRemovePoliciesResponse
func (*ClientWithResponses) SecurityControllerRemoveRolePolicyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRolePolicyResponse, error)
SecurityControllerRemoveRolePolicyWithResponse request returning *SecurityControllerRemoveRolePolicyResponse
func (*ClientWithResponses) SecurityControllerRemoveRoleRuleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRoleRuleResponse, error)
SecurityControllerRemoveRoleRuleWithResponse request returning *SecurityControllerRemoveRoleRuleResponse
func (*ClientWithResponses) SecurityControllerRemoveRolesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRolesWithResponse(ctx context.Context, params *SecurityControllerRemoveRolesParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRolesResponse, error)
SecurityControllerRemoveRolesWithResponse request returning *SecurityControllerRemoveRolesResponse
func (*ClientWithResponses) SecurityControllerRemoveRulesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRulesWithResponse(ctx context.Context, params *SecurityControllerRemoveRulesParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRulesResponse, error)
SecurityControllerRemoveRulesWithResponse request returning *SecurityControllerRemoveRulesResponse
func (*ClientWithResponses) SecurityControllerRemoveUserRoleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveUserRoleResponse, error)
SecurityControllerRemoveUserRoleWithResponse request returning *SecurityControllerRemoveUserRoleResponse
func (*ClientWithResponses) SecurityControllerRevokeAllTokensWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRevokeAllTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecurityControllerRevokeAllTokensResponse, error)
SecurityControllerRevokeAllTokensWithResponse request returning *SecurityControllerRevokeAllTokensResponse
func (*ClientWithResponses) SecurityControllerRunAsLoginWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SecurityControllerRunAsLoginWithBodyWithResponse(ctx context.Context, params *SecurityControllerRunAsLoginParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerRunAsLoginResponse, error)
SecurityControllerRunAsLoginWithBodyWithResponse request with arbitrary body returning *SecurityControllerRunAsLoginResponse
func (*ClientWithResponses) SecurityControllerRunAsLoginWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) SecurityControllerRunAsLoginWithResponse(ctx context.Context, params *SecurityControllerRunAsLoginParams, body SecurityControllerRunAsLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerRunAsLoginResponse, error)
func (*ClientWithResponses) SecurityControllerSetRolePolicyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerSetRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRolePolicyParams, reqEditors ...RequestEditorFn) (*SecurityControllerSetRolePolicyResponse, error)
SecurityControllerSetRolePolicyWithResponse request returning *SecurityControllerSetRolePolicyResponse
func (*ClientWithResponses) SecurityControllerSetRoleRuleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerSetRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRoleRuleParams, reqEditors ...RequestEditorFn) (*SecurityControllerSetRoleRuleResponse, error)
SecurityControllerSetRoleRuleWithResponse request returning *SecurityControllerSetRoleRuleResponse
func (*ClientWithResponses) SecurityControllerSetUserRoleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerSetUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams, reqEditors ...RequestEditorFn) (*SecurityControllerSetUserRoleResponse, error)
SecurityControllerSetUserRoleWithResponse request returning *SecurityControllerSetUserRoleResponse
func (*ClientWithResponses) SecurityControllerUpdatePolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdatePolicyWithBodyWithResponse(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdatePolicyResponse, error)
SecurityControllerUpdatePolicyWithBodyWithResponse request with arbitrary body returning *SecurityControllerUpdatePolicyResponse
func (*ClientWithResponses) SecurityControllerUpdatePolicyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdatePolicyWithResponse(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdatePolicyResponse, error)
func (*ClientWithResponses) SecurityControllerUpdateRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateRoleWithBodyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRoleResponse, error)
SecurityControllerUpdateRoleWithBodyWithResponse request with arbitrary body returning *SecurityControllerUpdateRoleResponse
func (*ClientWithResponses) SecurityControllerUpdateRoleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateRoleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRoleResponse, error)
func (*ClientWithResponses) SecurityControllerUpdateRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateRuleWithBodyWithResponse(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRuleResponse, error)
SecurityControllerUpdateRuleWithBodyWithResponse request with arbitrary body returning *SecurityControllerUpdateRuleResponse
func (*ClientWithResponses) SecurityControllerUpdateRuleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateRuleWithResponse(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRuleResponse, error)
func (*ClientWithResponses) SecurityControllerUpdateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateUserWithBodyWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateUserResponse, error)
SecurityControllerUpdateUserWithBodyWithResponse request with arbitrary body returning *SecurityControllerUpdateUserResponse
func (*ClientWithResponses) SecurityControllerUpdateUserWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateUserWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateUserResponse, error)
func (*ClientWithResponses) SyscheckControllerDeleteSyscheckAgentWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerDeleteSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams, reqEditors ...RequestEditorFn) (*SyscheckControllerDeleteSyscheckAgentResponse, error)
SyscheckControllerDeleteSyscheckAgentWithResponse request returning *SyscheckControllerDeleteSyscheckAgentResponse
func (*ClientWithResponses) SyscheckControllerGetLastScanAgentWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*SyscheckControllerGetLastScanAgentResponse, error)
SyscheckControllerGetLastScanAgentWithResponse request returning *SyscheckControllerGetLastScanAgentResponse
func (*ClientWithResponses) SyscheckControllerGetSyscheckAgentWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerGetSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams, reqEditors ...RequestEditorFn) (*SyscheckControllerGetSyscheckAgentResponse, error)
SyscheckControllerGetSyscheckAgentWithResponse request returning *SyscheckControllerGetSyscheckAgentResponse
func (*ClientWithResponses) SyscheckControllerPutSyscheckWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerPutSyscheckWithResponse(ctx context.Context, params *SyscheckControllerPutSyscheckParams, reqEditors ...RequestEditorFn) (*SyscheckControllerPutSyscheckResponse, error)
SyscheckControllerPutSyscheckWithResponse request returning *SyscheckControllerPutSyscheckResponse
func (*ClientWithResponses) SyscollectorControllerGetHardwareInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetHardwareInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetHardwareInfoResponse, error)
SyscollectorControllerGetHardwareInfoWithResponse request returning *SyscollectorControllerGetHardwareInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetHotfixInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetHotfixInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetHotfixInfoResponse, error)
SyscollectorControllerGetHotfixInfoWithResponse request returning *SyscollectorControllerGetHotfixInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetNetworkAddressInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetNetworkAddressInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetNetworkAddressInfoResponse, error)
SyscollectorControllerGetNetworkAddressInfoWithResponse request returning *SyscollectorControllerGetNetworkAddressInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetNetworkInterfaceInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetNetworkInterfaceInfoResponse, error)
SyscollectorControllerGetNetworkInterfaceInfoWithResponse request returning *SyscollectorControllerGetNetworkInterfaceInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetNetworkProtocolInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetNetworkProtocolInfoResponse, error)
SyscollectorControllerGetNetworkProtocolInfoWithResponse request returning *SyscollectorControllerGetNetworkProtocolInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetOsInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetOsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetOsInfoResponse, error)
SyscollectorControllerGetOsInfoWithResponse request returning *SyscollectorControllerGetOsInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetPackagesInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetPackagesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetPackagesInfoResponse, error)
SyscollectorControllerGetPackagesInfoWithResponse request returning *SyscollectorControllerGetPackagesInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetPortsInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetPortsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetPortsInfoResponse, error)
SyscollectorControllerGetPortsInfoWithResponse request returning *SyscollectorControllerGetPortsInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetProcessesInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetProcessesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetProcessesInfoResponse, error)
SyscollectorControllerGetProcessesInfoWithResponse request returning *SyscollectorControllerGetProcessesInfoResponse
func (*ClientWithResponses) TaskControllerGetTasksStatusWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) TaskControllerGetTasksStatusWithResponse(ctx context.Context, params *TaskControllerGetTasksStatusParams, reqEditors ...RequestEditorFn) (*TaskControllerGetTasksStatusResponse, error)
TaskControllerGetTasksStatusWithResponse request returning *TaskControllerGetTasksStatusResponse
func (*ClientWithResponses) VulnerabilityControllerGetLastScanAgentWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) VulnerabilityControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*VulnerabilityControllerGetLastScanAgentResponse, error)
VulnerabilityControllerGetLastScanAgentWithResponse request returning *VulnerabilityControllerGetLastScanAgentResponse
func (*ClientWithResponses) VulnerabilityControllerGetVulnerabilitiesFieldSummaryWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) VulnerabilityControllerGetVulnerabilitiesFieldSummaryWithResponse(ctx context.Context, agentId AgentId, field VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField, params *VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams, reqEditors ...RequestEditorFn) (*VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse, error)
VulnerabilityControllerGetVulnerabilitiesFieldSummaryWithResponse request returning *VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse
func (*ClientWithResponses) VulnerabilityControllerGetVulnerabilityAgentWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) VulnerabilityControllerGetVulnerabilityAgentWithResponse(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams, reqEditors ...RequestEditorFn) (*VulnerabilityControllerGetVulnerabilityAgentResponse, error)
VulnerabilityControllerGetVulnerabilityAgentWithResponse request returning *VulnerabilityControllerGetVulnerabilityAgentResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// DefaultControllerDefaultInfo request
DefaultControllerDefaultInfoWithResponse(ctx context.Context, params *DefaultControllerDefaultInfoParams, reqEditors ...RequestEditorFn) (*DefaultControllerDefaultInfoResponse, error)
// ActiveResponseControllerRunCommand request with any body
ActiveResponseControllerRunCommandWithBodyWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActiveResponseControllerRunCommandResponse, error)
ActiveResponseControllerRunCommandWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ActiveResponseControllerRunCommandResponse, error)
// AgentControllerDeleteAgents request
AgentControllerDeleteAgentsWithResponse(ctx context.Context, params *AgentControllerDeleteAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteAgentsResponse, error)
// AgentControllerGetAgents request
AgentControllerGetAgentsWithResponse(ctx context.Context, params *AgentControllerGetAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentsResponse, error)
// AgentControllerAddAgent request with any body
AgentControllerAddAgentWithBodyWithResponse(ctx context.Context, params *AgentControllerAddAgentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerAddAgentResponse, error)
AgentControllerAddAgentWithResponse(ctx context.Context, params *AgentControllerAddAgentParams, body AgentControllerAddAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentControllerAddAgentResponse, error)
// AgentControllerDeleteMultipleAgentSingleGroup request
AgentControllerDeleteMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentControllerDeleteMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteMultipleAgentSingleGroupResponse, error)
// AgentControllerPutMultipleAgentSingleGroup request
AgentControllerPutMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentControllerPutMultipleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerPutMultipleAgentSingleGroupResponse, error)
// AgentControllerRestartAgentsByGroup request
AgentControllerRestartAgentsByGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerRestartAgentsByGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentsByGroupResponse, error)
// AgentControllerInsertAgent request with any body
AgentControllerInsertAgentWithBodyWithResponse(ctx context.Context, params *AgentControllerInsertAgentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerInsertAgentResponse, error)
AgentControllerInsertAgentWithResponse(ctx context.Context, params *AgentControllerInsertAgentParams, body AgentControllerInsertAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentControllerInsertAgentResponse, error)
// AgentControllerPostNewAgent request
AgentControllerPostNewAgentWithResponse(ctx context.Context, params *AgentControllerPostNewAgentParams, reqEditors ...RequestEditorFn) (*AgentControllerPostNewAgentResponse, error)
// AgentControllerGetAgentNoGroup request
AgentControllerGetAgentNoGroupWithResponse(ctx context.Context, params *AgentControllerGetAgentNoGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentNoGroupResponse, error)
// AgentControllerRestartAgentsByNode request
AgentControllerRestartAgentsByNodeWithResponse(ctx context.Context, nodeId NodeId, params *AgentControllerRestartAgentsByNodeParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentsByNodeResponse, error)
// AgentControllerGetAgentOutdated request
AgentControllerGetAgentOutdatedWithResponse(ctx context.Context, params *AgentControllerGetAgentOutdatedParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentOutdatedResponse, error)
// AgentControllerReconnectAgents request
AgentControllerReconnectAgentsWithResponse(ctx context.Context, params *AgentControllerReconnectAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerReconnectAgentsResponse, error)
// AgentControllerRestartAgents request
AgentControllerRestartAgentsWithResponse(ctx context.Context, params *AgentControllerRestartAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentsResponse, error)
// AgentControllerGetAgentFields request
AgentControllerGetAgentFieldsWithResponse(ctx context.Context, params *AgentControllerGetAgentFieldsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentFieldsResponse, error)
// AgentControllerGetAgentSummaryOs request
AgentControllerGetAgentSummaryOsWithResponse(ctx context.Context, params *AgentControllerGetAgentSummaryOsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentSummaryOsResponse, error)
// AgentControllerGetAgentSummaryStatus request
AgentControllerGetAgentSummaryStatusWithResponse(ctx context.Context, params *AgentControllerGetAgentSummaryStatusParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentSummaryStatusResponse, error)
// AgentControllerPutUpgradeAgents request
AgentControllerPutUpgradeAgentsWithResponse(ctx context.Context, params *AgentControllerPutUpgradeAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerPutUpgradeAgentsResponse, error)
// AgentControllerPutUpgradeCustomAgents request
AgentControllerPutUpgradeCustomAgentsWithResponse(ctx context.Context, params *AgentControllerPutUpgradeCustomAgentsParams, reqEditors ...RequestEditorFn) (*AgentControllerPutUpgradeCustomAgentsResponse, error)
// AgentControllerGetAgentUpgrade request
AgentControllerGetAgentUpgradeWithResponse(ctx context.Context, params *AgentControllerGetAgentUpgradeParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentUpgradeResponse, error)
// AgentControllerGetAgentConfig request
AgentControllerGetAgentConfigWithResponse(ctx context.Context, agentId AgentId, component AgentControllerGetAgentConfigParamsComponent, configuration AgentControllerGetAgentConfigParamsConfiguration, params *AgentControllerGetAgentConfigParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentConfigResponse, error)
// AgentControllerGetDaemonStats request
AgentControllerGetDaemonStatsWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetDaemonStatsResponse, error)
// AgentControllerDeleteSingleAgentMultipleGroups request
AgentControllerDeleteSingleAgentMultipleGroupsWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerDeleteSingleAgentMultipleGroupsParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteSingleAgentMultipleGroupsResponse, error)
// AgentControllerGetSyncAgent request
AgentControllerGetSyncAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerGetSyncAgentParams, reqEditors ...RequestEditorFn) (*AgentControllerGetSyncAgentResponse, error)
// AgentControllerDeleteSingleAgentSingleGroup request
AgentControllerDeleteSingleAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerDeleteSingleAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteSingleAgentSingleGroupResponse, error)
// AgentControllerPutAgentSingleGroup request
AgentControllerPutAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentControllerPutAgentSingleGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerPutAgentSingleGroupResponse, error)
// AgentControllerGetAgentKey request
AgentControllerGetAgentKeyWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerGetAgentKeyParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentKeyResponse, error)
// AgentControllerRestartAgent request
AgentControllerRestartAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentControllerRestartAgentParams, reqEditors ...RequestEditorFn) (*AgentControllerRestartAgentResponse, error)
// AgentControllerGetComponentStats request
AgentControllerGetComponentStatsWithResponse(ctx context.Context, agentId AgentId, component AgentControllerGetComponentStatsParamsComponent, params *AgentControllerGetComponentStatsParams, reqEditors ...RequestEditorFn) (*AgentControllerGetComponentStatsResponse, error)
// CiscatControllerGetAgentsCiscatResults request
CiscatControllerGetAgentsCiscatResultsWithResponse(ctx context.Context, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams, reqEditors ...RequestEditorFn) (*CiscatControllerGetAgentsCiscatResultsResponse, error)
// ClusterControllerGetApiConfig request
ClusterControllerGetApiConfigWithResponse(ctx context.Context, params *ClusterControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetApiConfigResponse, error)
// ClusterControllerGetConfValidation request
ClusterControllerGetConfValidationWithResponse(ctx context.Context, params *ClusterControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetConfValidationResponse, error)
// ClusterControllerGetHealthcheck request
ClusterControllerGetHealthcheckWithResponse(ctx context.Context, params *ClusterControllerGetHealthcheckParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetHealthcheckResponse, error)
// ClusterControllerGetConfig request
ClusterControllerGetConfigWithResponse(ctx context.Context, params *ClusterControllerGetConfigParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetConfigResponse, error)
// ClusterControllerGetClusterNode request
ClusterControllerGetClusterNodeWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetClusterNodeResponse, error)
// ClusterControllerGetClusterNodes request
ClusterControllerGetClusterNodesWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodesParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetClusterNodesResponse, error)
// ClusterControllerPutRestart request
ClusterControllerPutRestartWithResponse(ctx context.Context, params *ClusterControllerPutRestartParams, reqEditors ...RequestEditorFn) (*ClusterControllerPutRestartResponse, error)
// ClusterControllerGetNodesRulesetSyncStatus request
ClusterControllerGetNodesRulesetSyncStatusWithResponse(ctx context.Context, params *ClusterControllerGetNodesRulesetSyncStatusParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetNodesRulesetSyncStatusResponse, error)
// ClusterControllerGetStatus request
ClusterControllerGetStatusWithResponse(ctx context.Context, params *ClusterControllerGetStatusParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatusResponse, error)
// ClusterControllerGetConfigurationNode request
ClusterControllerGetConfigurationNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetConfigurationNodeResponse, error)
// ClusterControllerUpdateConfiguration request with any body
ClusterControllerUpdateConfigurationWithBodyWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerUpdateConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClusterControllerUpdateConfigurationResponse, error)
// ClusterControllerGetNodeConfig request
ClusterControllerGetNodeConfigWithResponse(ctx context.Context, nodeId NodeId, component ClusterControllerGetNodeConfigParamsComponent, configuration ClusterControllerGetNodeConfigParamsConfiguration, params *ClusterControllerGetNodeConfigParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetNodeConfigResponse, error)
// ClusterControllerGetDaemonStatsNode request
ClusterControllerGetDaemonStatsNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetDaemonStatsNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetDaemonStatsNodeResponse, error)
// ClusterControllerGetInfoNode request
ClusterControllerGetInfoNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetInfoNodeResponse, error)
// ClusterControllerGetLogNode request
ClusterControllerGetLogNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetLogNodeResponse, error)
// ClusterControllerGetLogSummaryNode request
ClusterControllerGetLogSummaryNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetLogSummaryNodeResponse, error)
// ClusterControllerGetStatsNode request
ClusterControllerGetStatsNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsNodeResponse, error)
// ClusterControllerGetStatsAnalysisdNode request
ClusterControllerGetStatsAnalysisdNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsAnalysisdNodeResponse, error)
// ClusterControllerGetStatsHourlyNode request
ClusterControllerGetStatsHourlyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsHourlyNodeResponse, error)
// ClusterControllerGetStatsRemotedNode request
ClusterControllerGetStatsRemotedNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsRemotedNodeResponse, error)
// ClusterControllerGetStatsWeeklyNode request
ClusterControllerGetStatsWeeklyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatsWeeklyNodeResponse, error)
// ClusterControllerGetStatusNode request
ClusterControllerGetStatusNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatusNodeParams, reqEditors ...RequestEditorFn) (*ClusterControllerGetStatusNodeResponse, error)
// DecoderControllerGetDecoders request
DecoderControllerGetDecodersWithResponse(ctx context.Context, params *DecoderControllerGetDecodersParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetDecodersResponse, error)
// DecoderControllerGetDecodersFiles request
DecoderControllerGetDecodersFilesWithResponse(ctx context.Context, params *DecoderControllerGetDecodersFilesParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetDecodersFilesResponse, error)
// DecoderControllerDeleteFile request
DecoderControllerDeleteFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*DecoderControllerDeleteFileResponse, error)
// DecoderControllerGetFile request
DecoderControllerGetFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerGetFileParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetFileResponse, error)
// DecoderControllerPutFile request with any body
DecoderControllerPutFileWithBodyWithResponse(ctx context.Context, filename XmlFilenamePath, params *DecoderControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DecoderControllerPutFileResponse, error)
// DecoderControllerGetDecodersParents request
DecoderControllerGetDecodersParentsWithResponse(ctx context.Context, params *DecoderControllerGetDecodersParentsParams, reqEditors ...RequestEditorFn) (*DecoderControllerGetDecodersParentsResponse, error)
// EventControllerForwardEvent request with any body
EventControllerForwardEventWithBodyWithResponse(ctx context.Context, params *EventControllerForwardEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventControllerForwardEventResponse, error)
EventControllerForwardEventWithResponse(ctx context.Context, params *EventControllerForwardEventParams, body EventControllerForwardEventJSONRequestBody, reqEditors ...RequestEditorFn) (*EventControllerForwardEventResponse, error)
// ExperimentalControllerGetCisCatResults request
ExperimentalControllerGetCisCatResultsWithResponse(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetCisCatResultsResponse, error)
// ExperimentalControllerClearRootcheckDatabase request
ExperimentalControllerClearRootcheckDatabaseWithResponse(ctx context.Context, params *ExperimentalControllerClearRootcheckDatabaseParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerClearRootcheckDatabaseResponse, error)
// ExperimentalControllerClearSyscheckDatabase request
ExperimentalControllerClearSyscheckDatabaseWithResponse(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerClearSyscheckDatabaseResponse, error)
// ExperimentalControllerGetHardwareInfo request
ExperimentalControllerGetHardwareInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetHardwareInfoResponse, error)
// ExperimentalControllerGetHotfixesInfo request
ExperimentalControllerGetHotfixesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetHotfixesInfoResponse, error)
// ExperimentalControllerGetNetworkAddressInfo request
ExperimentalControllerGetNetworkAddressInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetNetworkAddressInfoResponse, error)
// ExperimentalControllerGetNetworkInterfaceInfo request
ExperimentalControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetNetworkInterfaceInfoResponse, error)
// ExperimentalControllerGetNetworkProtocolInfo request
ExperimentalControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetNetworkProtocolInfoResponse, error)
// ExperimentalControllerGetOsInfo request
ExperimentalControllerGetOsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetOsInfoResponse, error)
// ExperimentalControllerGetPackagesInfo request
ExperimentalControllerGetPackagesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetPackagesInfoResponse, error)
// ExperimentalControllerGetPortsInfo request
ExperimentalControllerGetPortsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetPortsInfoResponse, error)
// ExperimentalControllerGetProcessesInfo request
ExperimentalControllerGetProcessesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*ExperimentalControllerGetProcessesInfoResponse, error)
// AgentControllerDeleteGroups request
AgentControllerDeleteGroupsWithResponse(ctx context.Context, params *AgentControllerDeleteGroupsParams, reqEditors ...RequestEditorFn) (*AgentControllerDeleteGroupsResponse, error)
// AgentControllerGetListGroup request
AgentControllerGetListGroupWithResponse(ctx context.Context, params *AgentControllerGetListGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerGetListGroupResponse, error)
// AgentControllerPostGroup request with any body
AgentControllerPostGroupWithBodyWithResponse(ctx context.Context, params *AgentControllerPostGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerPostGroupResponse, error)
AgentControllerPostGroupWithResponse(ctx context.Context, params *AgentControllerPostGroupParams, body AgentControllerPostGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentControllerPostGroupResponse, error)
// AgentControllerGetAgentsInGroup request
AgentControllerGetAgentsInGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerGetAgentsInGroupParams, reqEditors ...RequestEditorFn) (*AgentControllerGetAgentsInGroupResponse, error)
// AgentControllerGetGroupConfig request
AgentControllerGetGroupConfigWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupConfigParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupConfigResponse, error)
// AgentControllerPutGroupConfig request with any body
AgentControllerPutGroupConfigWithBodyWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerPutGroupConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentControllerPutGroupConfigResponse, error)
// AgentControllerGetGroupFiles request
AgentControllerGetGroupFilesWithResponse(ctx context.Context, groupId GroupId, params *AgentControllerGetGroupFilesParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFilesResponse, error)
// AgentControllerGetGroupFileJson request
AgentControllerGetGroupFileJsonWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileJsonParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFileJsonResponse, error)
// AgentControllerGetGroupFileXml request
AgentControllerGetGroupFileXmlWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentControllerGetGroupFileXmlParams, reqEditors ...RequestEditorFn) (*AgentControllerGetGroupFileXmlResponse, error)
// CdbListControllerGetLists request
CdbListControllerGetListsWithResponse(ctx context.Context, params *CdbListControllerGetListsParams, reqEditors ...RequestEditorFn) (*CdbListControllerGetListsResponse, error)
// CdbListControllerGetListsFiles request
CdbListControllerGetListsFilesWithResponse(ctx context.Context, params *CdbListControllerGetListsFilesParams, reqEditors ...RequestEditorFn) (*CdbListControllerGetListsFilesResponse, error)
// CdbListControllerDeleteFile request
CdbListControllerDeleteFileWithResponse(ctx context.Context, filename ListFilenamePath, params *CdbListControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*CdbListControllerDeleteFileResponse, error)
// CdbListControllerGetFile request
CdbListControllerGetFileWithResponse(ctx context.Context, filename ListFilenamePath, params *CdbListControllerGetFileParams, reqEditors ...RequestEditorFn) (*CdbListControllerGetFileResponse, error)
// CdbListControllerPutFile request with any body
CdbListControllerPutFileWithBodyWithResponse(ctx context.Context, filename ListFilenamePath, params *CdbListControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CdbListControllerPutFileResponse, error)
// LogtestControllerRunLogtestTool request with any body
LogtestControllerRunLogtestToolWithBodyWithResponse(ctx context.Context, params *LogtestControllerRunLogtestToolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogtestControllerRunLogtestToolResponse, error)
LogtestControllerRunLogtestToolWithResponse(ctx context.Context, params *LogtestControllerRunLogtestToolParams, body LogtestControllerRunLogtestToolJSONRequestBody, reqEditors ...RequestEditorFn) (*LogtestControllerRunLogtestToolResponse, error)
// LogtestControllerEndLogtestSession request
LogtestControllerEndLogtestSessionWithResponse(ctx context.Context, token LogtestToken, params *LogtestControllerEndLogtestSessionParams, reqEditors ...RequestEditorFn) (*LogtestControllerEndLogtestSessionResponse, error)
// ManagerControllerGetApiConfig request
ManagerControllerGetApiConfigWithResponse(ctx context.Context, params *ManagerControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetApiConfigResponse, error)
// ManagerControllerGetConfiguration request
ManagerControllerGetConfigurationWithResponse(ctx context.Context, params *ManagerControllerGetConfigurationParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetConfigurationResponse, error)
// ManagerControllerUpdateConfiguration request with any body
ManagerControllerUpdateConfigurationWithBodyWithResponse(ctx context.Context, params *ManagerControllerUpdateConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagerControllerUpdateConfigurationResponse, error)
// ManagerControllerGetConfValidation request
ManagerControllerGetConfValidationWithResponse(ctx context.Context, params *ManagerControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetConfValidationResponse, error)
// ManagerControllerGetManagerConfigOndemand request
ManagerControllerGetManagerConfigOndemandWithResponse(ctx context.Context, component ManagerControllerGetManagerConfigOndemandParamsComponent, configuration ManagerControllerGetManagerConfigOndemandParamsConfiguration, params *ManagerControllerGetManagerConfigOndemandParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetManagerConfigOndemandResponse, error)
// ManagerControllerGetDaemonStats request
ManagerControllerGetDaemonStatsWithResponse(ctx context.Context, params *ManagerControllerGetDaemonStatsParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetDaemonStatsResponse, error)
// ManagerControllerGetInfo request
ManagerControllerGetInfoWithResponse(ctx context.Context, params *ManagerControllerGetInfoParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetInfoResponse, error)
// ManagerControllerGetLog request
ManagerControllerGetLogWithResponse(ctx context.Context, params *ManagerControllerGetLogParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetLogResponse, error)
// ManagerControllerGetLogSummary request
ManagerControllerGetLogSummaryWithResponse(ctx context.Context, params *ManagerControllerGetLogSummaryParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetLogSummaryResponse, error)
// ManagerControllerPutRestart request
ManagerControllerPutRestartWithResponse(ctx context.Context, params *ManagerControllerPutRestartParams, reqEditors ...RequestEditorFn) (*ManagerControllerPutRestartResponse, error)
// ManagerControllerGetStats request
ManagerControllerGetStatsWithResponse(ctx context.Context, params *ManagerControllerGetStatsParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsResponse, error)
// ManagerControllerGetStatsAnalysisd request
ManagerControllerGetStatsAnalysisdWithResponse(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsAnalysisdResponse, error)
// ManagerControllerGetStatsHourly request
ManagerControllerGetStatsHourlyWithResponse(ctx context.Context, params *ManagerControllerGetStatsHourlyParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsHourlyResponse, error)
// ManagerControllerGetStatsRemoted request
ManagerControllerGetStatsRemotedWithResponse(ctx context.Context, params *ManagerControllerGetStatsRemotedParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsRemotedResponse, error)
// ManagerControllerGetStatsWeekly request
ManagerControllerGetStatsWeeklyWithResponse(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatsWeeklyResponse, error)
// ManagerControllerGetStatus request
ManagerControllerGetStatusWithResponse(ctx context.Context, params *ManagerControllerGetStatusParams, reqEditors ...RequestEditorFn) (*ManagerControllerGetStatusResponse, error)
// ManagerControllerCheckAvailableVersion request
ManagerControllerCheckAvailableVersionWithResponse(ctx context.Context, params *ManagerControllerCheckAvailableVersionParams, reqEditors ...RequestEditorFn) (*ManagerControllerCheckAvailableVersionResponse, error)
// MitreControllerGetGroups request
MitreControllerGetGroupsWithResponse(ctx context.Context, params *MitreControllerGetGroupsParams, reqEditors ...RequestEditorFn) (*MitreControllerGetGroupsResponse, error)
// MitreControllerGetMetadata request
MitreControllerGetMetadataWithResponse(ctx context.Context, params *MitreControllerGetMetadataParams, reqEditors ...RequestEditorFn) (*MitreControllerGetMetadataResponse, error)
// MitreControllerGetMitigations request
MitreControllerGetMitigationsWithResponse(ctx context.Context, params *MitreControllerGetMitigationsParams, reqEditors ...RequestEditorFn) (*MitreControllerGetMitigationsResponse, error)
// MitreControllerGetReferences request
MitreControllerGetReferencesWithResponse(ctx context.Context, params *MitreControllerGetReferencesParams, reqEditors ...RequestEditorFn) (*MitreControllerGetReferencesResponse, error)
// MitreControllerGetSoftware request
MitreControllerGetSoftwareWithResponse(ctx context.Context, params *MitreControllerGetSoftwareParams, reqEditors ...RequestEditorFn) (*MitreControllerGetSoftwareResponse, error)
// MitreControllerGetTactics request
MitreControllerGetTacticsWithResponse(ctx context.Context, params *MitreControllerGetTacticsParams, reqEditors ...RequestEditorFn) (*MitreControllerGetTacticsResponse, error)
// MitreControllerGetTechniques request
MitreControllerGetTechniquesWithResponse(ctx context.Context, params *MitreControllerGetTechniquesParams, reqEditors ...RequestEditorFn) (*MitreControllerGetTechniquesResponse, error)
// OverviewControllerGetOverviewAgents request
OverviewControllerGetOverviewAgentsWithResponse(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams, reqEditors ...RequestEditorFn) (*OverviewControllerGetOverviewAgentsResponse, error)
// RootcheckControllerPutRootcheck request
RootcheckControllerPutRootcheckWithResponse(ctx context.Context, params *RootcheckControllerPutRootcheckParams, reqEditors ...RequestEditorFn) (*RootcheckControllerPutRootcheckResponse, error)
// RootcheckControllerDeleteRootcheck request
RootcheckControllerDeleteRootcheckWithResponse(ctx context.Context, agentId AgentId, params *RootcheckControllerDeleteRootcheckParams, reqEditors ...RequestEditorFn) (*RootcheckControllerDeleteRootcheckResponse, error)
// RootcheckControllerGetRootcheckAgent request
RootcheckControllerGetRootcheckAgentWithResponse(ctx context.Context, agentId AgentId, params *RootcheckControllerGetRootcheckAgentParams, reqEditors ...RequestEditorFn) (*RootcheckControllerGetRootcheckAgentResponse, error)
// RootcheckControllerGetLastScanAgent request
RootcheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *RootcheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*RootcheckControllerGetLastScanAgentResponse, error)
// RuleControllerGetRules request
RuleControllerGetRulesWithResponse(ctx context.Context, params *RuleControllerGetRulesParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesResponse, error)
// RuleControllerGetRulesFiles request
RuleControllerGetRulesFilesWithResponse(ctx context.Context, params *RuleControllerGetRulesFilesParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesFilesResponse, error)
// RuleControllerDeleteFile request
RuleControllerDeleteFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *RuleControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*RuleControllerDeleteFileResponse, error)
// RuleControllerGetFile request
RuleControllerGetFileWithResponse(ctx context.Context, filename XmlFilenamePath, params *RuleControllerGetFileParams, reqEditors ...RequestEditorFn) (*RuleControllerGetFileResponse, error)
// RuleControllerPutFile request with any body
RuleControllerPutFileWithBodyWithResponse(ctx context.Context, filename XmlFilenamePath, params *RuleControllerPutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RuleControllerPutFileResponse, error)
// RuleControllerGetRulesGroups request
RuleControllerGetRulesGroupsWithResponse(ctx context.Context, params *RuleControllerGetRulesGroupsParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesGroupsResponse, error)
// RuleControllerGetRulesRequirement request
RuleControllerGetRulesRequirementWithResponse(ctx context.Context, requirement RuleControllerGetRulesRequirementParamsRequirement, params *RuleControllerGetRulesRequirementParams, reqEditors ...RequestEditorFn) (*RuleControllerGetRulesRequirementResponse, error)
// ScaControllerGetScaAgent request
ScaControllerGetScaAgentWithResponse(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams, reqEditors ...RequestEditorFn) (*ScaControllerGetScaAgentResponse, error)
// ScaControllerGetScaChecks request
ScaControllerGetScaChecksWithResponse(ctx context.Context, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams, reqEditors ...RequestEditorFn) (*ScaControllerGetScaChecksResponse, error)
// SecurityControllerGetRbacActions request
SecurityControllerGetRbacActionsWithResponse(ctx context.Context, params *SecurityControllerGetRbacActionsParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRbacActionsResponse, error)
// SecurityControllerDeleteSecurityConfig request
SecurityControllerDeleteSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams, reqEditors ...RequestEditorFn) (*SecurityControllerDeleteSecurityConfigResponse, error)
// SecurityControllerGetSecurityConfig request
SecurityControllerGetSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerGetSecurityConfigParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetSecurityConfigResponse, error)
// SecurityControllerPutSecurityConfig request with any body
SecurityControllerPutSecurityConfigWithBodyWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerPutSecurityConfigResponse, error)
SecurityControllerPutSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerPutSecurityConfigResponse, error)
// SecurityControllerRemovePolicies request
SecurityControllerRemovePoliciesWithResponse(ctx context.Context, params *SecurityControllerRemovePoliciesParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemovePoliciesResponse, error)
// SecurityControllerGetPolicies request
SecurityControllerGetPoliciesWithResponse(ctx context.Context, params *SecurityControllerGetPoliciesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetPoliciesResponse, error)
// SecurityControllerAddPolicy request with any body
SecurityControllerAddPolicyWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerAddPolicyResponse, error)
SecurityControllerAddPolicyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerAddPolicyResponse, error)
// SecurityControllerUpdatePolicy request with any body
SecurityControllerUpdatePolicyWithBodyWithResponse(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdatePolicyResponse, error)
SecurityControllerUpdatePolicyWithResponse(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdatePolicyResponse, error)
// SecurityControllerGetRbacResources request
SecurityControllerGetRbacResourcesWithResponse(ctx context.Context, params *SecurityControllerGetRbacResourcesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRbacResourcesResponse, error)
// SecurityControllerRemoveRoles request
SecurityControllerRemoveRolesWithResponse(ctx context.Context, params *SecurityControllerRemoveRolesParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRolesResponse, error)
// SecurityControllerGetRoles request
SecurityControllerGetRolesWithResponse(ctx context.Context, params *SecurityControllerGetRolesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRolesResponse, error)
// SecurityControllerAddRole request with any body
SecurityControllerAddRoleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerAddRoleResponse, error)
SecurityControllerAddRoleWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerAddRoleResponse, error)
// SecurityControllerUpdateRole request with any body
SecurityControllerUpdateRoleWithBodyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRoleResponse, error)
SecurityControllerUpdateRoleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRoleResponse, error)
// SecurityControllerRemoveRolePolicy request
SecurityControllerRemoveRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRolePolicyResponse, error)
// SecurityControllerSetRolePolicy request
SecurityControllerSetRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRolePolicyParams, reqEditors ...RequestEditorFn) (*SecurityControllerSetRolePolicyResponse, error)
// SecurityControllerRemoveRoleRule request
SecurityControllerRemoveRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRoleRuleResponse, error)
// SecurityControllerSetRoleRule request
SecurityControllerSetRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRoleRuleParams, reqEditors ...RequestEditorFn) (*SecurityControllerSetRoleRuleResponse, error)
// SecurityControllerRemoveRules request
SecurityControllerRemoveRulesWithResponse(ctx context.Context, params *SecurityControllerRemoveRulesParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveRulesResponse, error)
// SecurityControllerGetRules request
SecurityControllerGetRulesWithResponse(ctx context.Context, params *SecurityControllerGetRulesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetRulesResponse, error)
// SecurityControllerAddRule request with any body
SecurityControllerAddRuleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerAddRuleResponse, error)
SecurityControllerAddRuleWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerAddRuleResponse, error)
// SecurityControllerUpdateRule request with any body
SecurityControllerUpdateRuleWithBodyWithResponse(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRuleResponse, error)
SecurityControllerUpdateRuleWithResponse(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateRuleResponse, error)
// SecurityControllerLogoutUser request
SecurityControllerLogoutUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecurityControllerLogoutUserResponse, error)
// SecurityControllerDeprecatedLoginUser request
SecurityControllerDeprecatedLoginUserWithResponse(ctx context.Context, params *SecurityControllerDeprecatedLoginUserParams, reqEditors ...RequestEditorFn) (*SecurityControllerDeprecatedLoginUserResponse, error)
// SecurityControllerLoginUser request
SecurityControllerLoginUserWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, reqEditors ...RequestEditorFn) (*SecurityControllerLoginUserResponse, error)
// SecurityControllerRunAsLogin request with any body
SecurityControllerRunAsLoginWithBodyWithResponse(ctx context.Context, params *SecurityControllerRunAsLoginParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerRunAsLoginResponse, error)
SecurityControllerRunAsLoginWithResponse(ctx context.Context, params *SecurityControllerRunAsLoginParams, body SecurityControllerRunAsLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerRunAsLoginResponse, error)
// SecurityControllerRevokeAllTokens request
SecurityControllerRevokeAllTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SecurityControllerRevokeAllTokensResponse, error)
// SecurityControllerDeleteUsers request
SecurityControllerDeleteUsersWithResponse(ctx context.Context, params *SecurityControllerDeleteUsersParams, reqEditors ...RequestEditorFn) (*SecurityControllerDeleteUsersResponse, error)
// SecurityControllerGetUsers request
SecurityControllerGetUsersWithResponse(ctx context.Context, params *SecurityControllerGetUsersParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetUsersResponse, error)
// SecurityControllerCreateUser request with any body
SecurityControllerCreateUserWithBodyWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerCreateUserResponse, error)
SecurityControllerCreateUserWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerCreateUserResponse, error)
// SecurityControllerGetUserMe request
SecurityControllerGetUserMeWithResponse(ctx context.Context, params *SecurityControllerGetUserMeParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetUserMeResponse, error)
// SecurityControllerGetUserMePolicies request
SecurityControllerGetUserMePoliciesWithResponse(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams, reqEditors ...RequestEditorFn) (*SecurityControllerGetUserMePoliciesResponse, error)
// SecurityControllerUpdateUser request with any body
SecurityControllerUpdateUserWithBodyWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateUserResponse, error)
SecurityControllerUpdateUserWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*SecurityControllerUpdateUserResponse, error)
// SecurityControllerRemoveUserRole request
SecurityControllerRemoveUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams, reqEditors ...RequestEditorFn) (*SecurityControllerRemoveUserRoleResponse, error)
// SecurityControllerSetUserRole request
SecurityControllerSetUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams, reqEditors ...RequestEditorFn) (*SecurityControllerSetUserRoleResponse, error)
// SecurityControllerEditRunAs request
SecurityControllerEditRunAsWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerEditRunAsParams, reqEditors ...RequestEditorFn) (*SecurityControllerEditRunAsResponse, error)
// SyscheckControllerPutSyscheck request
SyscheckControllerPutSyscheckWithResponse(ctx context.Context, params *SyscheckControllerPutSyscheckParams, reqEditors ...RequestEditorFn) (*SyscheckControllerPutSyscheckResponse, error)
// SyscheckControllerDeleteSyscheckAgent request
SyscheckControllerDeleteSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams, reqEditors ...RequestEditorFn) (*SyscheckControllerDeleteSyscheckAgentResponse, error)
// SyscheckControllerGetSyscheckAgent request
SyscheckControllerGetSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams, reqEditors ...RequestEditorFn) (*SyscheckControllerGetSyscheckAgentResponse, error)
// SyscheckControllerGetLastScanAgent request
SyscheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*SyscheckControllerGetLastScanAgentResponse, error)
// SyscollectorControllerGetHardwareInfo request
SyscollectorControllerGetHardwareInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetHardwareInfoResponse, error)
// SyscollectorControllerGetHotfixInfo request
SyscollectorControllerGetHotfixInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetHotfixInfoResponse, error)
// SyscollectorControllerGetNetworkAddressInfo request
SyscollectorControllerGetNetworkAddressInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetNetworkAddressInfoResponse, error)
// SyscollectorControllerGetNetworkInterfaceInfo request
SyscollectorControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetNetworkInterfaceInfoResponse, error)
// SyscollectorControllerGetNetworkProtocolInfo request
SyscollectorControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetNetworkProtocolInfoResponse, error)
// SyscollectorControllerGetOsInfo request
SyscollectorControllerGetOsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetOsInfoResponse, error)
// SyscollectorControllerGetPackagesInfo request
SyscollectorControllerGetPackagesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetPackagesInfoResponse, error)
// SyscollectorControllerGetPortsInfo request
SyscollectorControllerGetPortsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetPortsInfoResponse, error)
// SyscollectorControllerGetProcessesInfo request
SyscollectorControllerGetProcessesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*SyscollectorControllerGetProcessesInfoResponse, error)
// TaskControllerGetTasksStatus request
TaskControllerGetTasksStatusWithResponse(ctx context.Context, params *TaskControllerGetTasksStatusParams, reqEditors ...RequestEditorFn) (*TaskControllerGetTasksStatusResponse, error)
// VulnerabilityControllerGetVulnerabilityAgent request
VulnerabilityControllerGetVulnerabilityAgentWithResponse(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams, reqEditors ...RequestEditorFn) (*VulnerabilityControllerGetVulnerabilityAgentResponse, error)
// VulnerabilityControllerGetLastScanAgent request
VulnerabilityControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *VulnerabilityControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*VulnerabilityControllerGetLastScanAgentResponse, error)
// VulnerabilityControllerGetVulnerabilitiesFieldSummary request
VulnerabilityControllerGetVulnerabilitiesFieldSummaryWithResponse(ctx context.Context, agentId AgentId, field VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField, params *VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams, reqEditors ...RequestEditorFn) (*VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClusterController ¶
type ClusterController struct {
*ClientWithResponses
}
ClusterController implementation of the ClusterController interface
func (*ClusterController) GetAPIConfig ¶
func (c *ClusterController) GetAPIConfig(params *ClusterControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*struct { AdditionalProperties map[string]any "json:\"-\"" }, error)
GetAPIConfig calls the Cluster controller´s function
func (*ClusterController) GetClusterNode ¶
func (c *ClusterController) GetClusterNode(params *ClusterControllerGetClusterNodeParams, reqEditors ...RequestEditorFn) (*struct { Cluster *string "json:\"cluster,omitempty\"" Node *string "json:\"node,omitempty\"" Type *string "json:\"type,omitempty\"" }, error)
GetClusterNode calls the Cluster controller´s function
func (*ClusterController) GetClusterNodes ¶
func (c *ClusterController) GetClusterNodes(params *ClusterControllerGetClusterNodesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseClusterNodes, error)
GetClusterNodes calls the Cluster controller´s function
func (*ClusterController) GetConfValidation ¶
func (c *ClusterController) GetConfValidation(params *ClusterControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*AllItemsResponseValidationStatus, error)
GetConfValidation calls the Cluster controller´s function
func (*ClusterController) GetConfig ¶
func (c *ClusterController) GetConfig(params *ClusterControllerGetConfigParams, reqEditors ...RequestEditorFn) (*struct { BindAddr *string "json:\"bind_addr,omitempty\"" Disabled *bool "json:\"disabled,omitempty\"" Hidden *string "json:\"hidden,omitempty\"" Key *string "json:\"key,omitempty\"" Name *string "json:\"name,omitempty\"" NodeName *string "json:\"node_name,omitempty\"" NodeType *N200DataNodeType "json:\"node_type,omitempty\"" Nodes *[]string "json:\"nodes,omitempty\"" Port *int "json:\"port,omitempty\"" }, error)
GetConfig calls the Cluster controller´s function
func (*ClusterController) GetConfigurationNode ¶
func (c *ClusterController) GetConfigurationNode(arg1 NodeId, params *ClusterControllerGetConfigurationNodeParams, reqEditors ...RequestEditorFn) (*WazuhManagerConfiguration, error)
GetConfigurationNode calls the Cluster controller´s function
func (*ClusterController) GetHealthcheck ¶
func (c *ClusterController) GetHealthcheck(params *ClusterControllerGetHealthcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponseNodeHealthcheck, error)
GetHealthcheck calls the Cluster controller´s function
func (*ClusterController) GetInfoNode ¶
func (c *ClusterController) GetInfoNode(arg1 NodeId, params *ClusterControllerGetInfoNodeParams, reqEditors ...RequestEditorFn) (*WazuhInfo, error)
GetInfoNode calls the Cluster controller´s function
func (*ClusterController) GetLogNode ¶
func (c *ClusterController) GetLogNode(arg1 NodeId, params *ClusterControllerGetLogNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhLogs, error)
GetLogNode calls the Cluster controller´s function
func (*ClusterController) GetLogSummaryNode ¶
func (c *ClusterController) GetLogSummaryNode(arg1 NodeId, params *ClusterControllerGetLogSummaryNodeParams, reqEditors ...RequestEditorFn) (*WazuhLogsSummary, error)
GetLogSummaryNode calls the Cluster controller´s function
func (*ClusterController) GetNodeConfig ¶
func (c *ClusterController) GetNodeConfig(arg1 NodeId, arg2 ClusterControllerGetNodeConfigParamsComponent, arg3 ClusterControllerGetNodeConfigParamsConfiguration, params *ClusterControllerGetNodeConfigParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
GetNodeConfig calls the Cluster controller´s function
func (*ClusterController) GetStatsAnalysisdNode ¶
func (c *ClusterController) GetStatsAnalysisdNode(arg1 NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsAnalysisdNode calls the Cluster controller´s function
func (*ClusterController) GetStatsHourlyNode ¶
func (c *ClusterController) GetStatsHourlyNode(arg1 NodeId, params *ClusterControllerGetStatsHourlyNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsHourlyNode calls the Cluster controller´s function
func (*ClusterController) GetStatsNode ¶
func (c *ClusterController) GetStatsNode(arg1 NodeId, params *ClusterControllerGetStatsNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsNode calls the Cluster controller´s function
func (*ClusterController) GetStatsRemotedNode ¶
func (c *ClusterController) GetStatsRemotedNode(arg1 NodeId, params *ClusterControllerGetStatsRemotedNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsRemotedNode calls the Cluster controller´s function
func (*ClusterController) GetStatsWeeklyNode ¶
func (c *ClusterController) GetStatsWeeklyNode(arg1 NodeId, params *ClusterControllerGetStatsWeeklyNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsWeeklyNode calls the Cluster controller´s function
func (*ClusterController) GetStatus ¶
func (c *ClusterController) GetStatus(params *ClusterControllerGetStatusParams, reqEditors ...RequestEditorFn) (*struct { Enabled *N200DataEnabled "json:\"enabled,omitempty\"" Running *N200DataRunning "json:\"running,omitempty\"" }, error)
GetStatus calls the Cluster controller´s function
func (*ClusterController) GetStatusNode ¶
func (c *ClusterController) GetStatusNode(arg1 NodeId, params *ClusterControllerGetStatusNodeParams, reqEditors ...RequestEditorFn) (*WazuhDaemonsStatus, error)
GetStatusNode calls the Cluster controller´s function
func (*ClusterController) PutRestart ¶
func (c *ClusterController) PutRestart(params *ClusterControllerPutRestartParams, reqEditors ...RequestEditorFn) (*AllItemsResponseNodeIDs, error)
PutRestart calls the Cluster controller´s function
func (*ClusterController) UpdateConfigurationWithBody ¶ added in v0.8.0
func (c *ClusterController) UpdateConfigurationWithBody(arg1 NodeId, params *ClusterControllerUpdateConfigurationParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" ConfirmationMessage "yaml:\",inline\"" }, error)
UpdateConfigurationWithBody calls the Cluster controller´s function
type ClusterControllerGetApiConfigParams ¶
type ClusterControllerGetApiConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of node IDs (separated by comma), all nodes selected by default if not specified
NodesList *NodesList `json:"nodes_list,omitempty"`
}
ClusterControllerGetApiConfigParams defines parameters for ClusterControllerGetApiConfig.
type ClusterControllerGetApiConfigResponse ¶
type ClusterControllerGetApiConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AdditionalProperties map[string]any `json:"-"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetApiConfigResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetApiConfigResponse(rsp *http.Response) (*ClusterControllerGetApiConfigResponse, error)
ParseApiControllersClusterControllerGetApiConfigResponse parses an HTTP response from a ClusterControllerGetApiConfigWithResponse call
func (ClusterControllerGetApiConfigResponse) Status ¶
func (r ClusterControllerGetApiConfigResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetApiConfigResponse) StatusCode ¶
func (r ClusterControllerGetApiConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetClusterNodeParams ¶
type ClusterControllerGetClusterNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetClusterNodeParams defines parameters for ClusterControllerGetClusterNode.
type ClusterControllerGetClusterNodeResponse ¶
type ClusterControllerGetClusterNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Cluster name the node belongs to
Cluster *string `json:"cluster,omitempty"`
// Node name
Node *string `json:"node,omitempty"`
// Node type
Type *string `json:"type,omitempty"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetClusterNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetClusterNodeResponse(rsp *http.Response) (*ClusterControllerGetClusterNodeResponse, error)
ParseApiControllersClusterControllerGetClusterNodeResponse parses an HTTP response from a ClusterControllerGetClusterNodeWithResponse call
func (ClusterControllerGetClusterNodeResponse) Status ¶
func (r ClusterControllerGetClusterNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetClusterNodeResponse) StatusCode ¶
func (r ClusterControllerGetClusterNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetClusterNodesParams ¶
type ClusterControllerGetClusterNodesParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by node type
Type *ClusterControllerGetClusterNodesParamsType `json:"type,omitempty"`
// List of node IDs (separated by comma), all nodes selected by default if not specified
NodesList *NodesList `json:"nodes_list,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
ClusterControllerGetClusterNodesParams defines parameters for ClusterControllerGetClusterNodes.
type ClusterControllerGetClusterNodesParamsType ¶ added in v0.8.0
type ClusterControllerGetClusterNodesParamsType string
ClusterControllerGetClusterNodesParamsType defines parameters for ClusterControllerGetClusterNodes.
type ClusterControllerGetClusterNodesResponse ¶
type ClusterControllerGetClusterNodesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseClusterNodes `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetClusterNodesResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetClusterNodesResponse(rsp *http.Response) (*ClusterControllerGetClusterNodesResponse, error)
ParseApiControllersClusterControllerGetClusterNodesResponse parses an HTTP response from a ClusterControllerGetClusterNodesWithResponse call
func (ClusterControllerGetClusterNodesResponse) Status ¶
func (r ClusterControllerGetClusterNodesResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetClusterNodesResponse) StatusCode ¶
func (r ClusterControllerGetClusterNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetConfValidationParams ¶
type ClusterControllerGetConfValidationParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of node IDs (separated by comma), all nodes selected by default if not specified
NodesList *NodesList `json:"nodes_list,omitempty"`
}
ClusterControllerGetConfValidationParams defines parameters for ClusterControllerGetConfValidation.
type ClusterControllerGetConfValidationResponse ¶
type ClusterControllerGetConfValidationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseValidationStatus `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetConfValidationResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetConfValidationResponse(rsp *http.Response) (*ClusterControllerGetConfValidationResponse, error)
ParseApiControllersClusterControllerGetConfValidationResponse parses an HTTP response from a ClusterControllerGetConfValidationWithResponse call
func (ClusterControllerGetConfValidationResponse) Status ¶
func (r ClusterControllerGetConfValidationResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetConfValidationResponse) StatusCode ¶
func (r ClusterControllerGetConfValidationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetConfigParams ¶
type ClusterControllerGetConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetConfigParams defines parameters for ClusterControllerGetConfig.
type ClusterControllerGetConfigResponse ¶
type ClusterControllerGetConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Network interface used by the **master** to listen to incoming connections
BindAddr *string `json:"bind_addr,omitempty"`
// Whether the cluster is enabled or not
Disabled *bool `json:"disabled,omitempty"`
// Whether to hide the cluster information in the alerts
Hidden *string `json:"hidden,omitempty"`
// Cluster key used to encrypt messages
Key *string `json:"key,omitempty"`
// Cluster name
Name *string `json:"name,omitempty"`
// Node name
NodeName *string `json:"node_name,omitempty"`
// Node type
NodeType *N200DataNodeType `json:"node_type,omitempty"`
// List of cluster master nodes. This list is used by **worker** nodes to connect to the master
Nodes *[]string `json:"nodes,omitempty"`
// Port used by the **master** node to communicate with workers
Port *int `json:"port,omitempty"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetConfigResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetConfigResponse(rsp *http.Response) (*ClusterControllerGetConfigResponse, error)
ParseApiControllersClusterControllerGetConfigResponse parses an HTTP response from a ClusterControllerGetConfigWithResponse call
func (ClusterControllerGetConfigResponse) Status ¶
func (r ClusterControllerGetConfigResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetConfigResponse) StatusCode ¶
func (r ClusterControllerGetConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetConfigurationNodeParams ¶
type ClusterControllerGetConfigurationNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
// Indicates the wazuh configuration section
Section *ClusterControllerGetConfigurationNodeParamsSection `json:"section,omitempty"`
// Indicate a section child. E.g, fields for *ruleset* section are: decoder_dir, rule_dir, etc
Field *Field `json:"field,omitempty"`
}
ClusterControllerGetConfigurationNodeParams defines parameters for ClusterControllerGetConfigurationNode.
type ClusterControllerGetConfigurationNodeParamsSection ¶ added in v0.8.0
type ClusterControllerGetConfigurationNodeParamsSection string
ClusterControllerGetConfigurationNodeParamsSection defines parameters for ClusterControllerGetConfigurationNode.
type ClusterControllerGetConfigurationNodeResponse ¶
type ClusterControllerGetConfigurationNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhManagerConfiguration `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetConfigurationNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetConfigurationNodeResponse(rsp *http.Response) (*ClusterControllerGetConfigurationNodeResponse, error)
ParseApiControllersClusterControllerGetConfigurationNodeResponse parses an HTTP response from a ClusterControllerGetConfigurationNodeWithResponse call
func (ClusterControllerGetConfigurationNodeResponse) Status ¶
func (r ClusterControllerGetConfigurationNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetConfigurationNodeResponse) StatusCode ¶
func (r ClusterControllerGetConfigurationNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetDaemonStatsNodeParams ¶ added in v1.1.5
type ClusterControllerGetDaemonStatsNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of daemon names (separated by comma), all daemons selected by default if not specified
DaemonsList *DaemonsList `json:"daemons_list,omitempty"`
}
ClusterControllerGetDaemonStatsNodeParams defines parameters for ClusterControllerGetDaemonStatsNode.
type ClusterControllerGetDaemonStatsNodeParamsDaemonsList ¶ added in v1.1.5
type ClusterControllerGetDaemonStatsNodeParamsDaemonsList string
ClusterControllerGetDaemonStatsNodeParamsDaemonsList defines parameters for ClusterControllerGetDaemonStatsNode.
type ClusterControllerGetDaemonStatsNodeResponse ¶ added in v1.1.5
type ClusterControllerGetDaemonStatsNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhDaemonStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetDaemonStatsNodeResponse ¶ added in v1.1.5
func ParseApiControllersClusterControllerGetDaemonStatsNodeResponse(rsp *http.Response) (*ClusterControllerGetDaemonStatsNodeResponse, error)
ParseApiControllersClusterControllerGetDaemonStatsNodeResponse parses an HTTP response from a ClusterControllerGetDaemonStatsNodeWithResponse call
func (ClusterControllerGetDaemonStatsNodeResponse) Status ¶ added in v1.1.5
func (r ClusterControllerGetDaemonStatsNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetDaemonStatsNodeResponse) StatusCode ¶ added in v1.1.5
func (r ClusterControllerGetDaemonStatsNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetHealthcheckParams ¶
type ClusterControllerGetHealthcheckParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of node IDs (separated by comma), all nodes selected by default if not specified
NodesList *NodesList `json:"nodes_list,omitempty"`
}
ClusterControllerGetHealthcheckParams defines parameters for ClusterControllerGetHealthcheck.
type ClusterControllerGetHealthcheckResponse ¶
type ClusterControllerGetHealthcheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseNodeHealthcheck `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetHealthcheckResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetHealthcheckResponse(rsp *http.Response) (*ClusterControllerGetHealthcheckResponse, error)
ParseApiControllersClusterControllerGetHealthcheckResponse parses an HTTP response from a ClusterControllerGetHealthcheckWithResponse call
func (ClusterControllerGetHealthcheckResponse) Status ¶
func (r ClusterControllerGetHealthcheckResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetHealthcheckResponse) StatusCode ¶
func (r ClusterControllerGetHealthcheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetInfoNodeParams ¶
type ClusterControllerGetInfoNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetInfoNodeParams defines parameters for ClusterControllerGetInfoNode.
type ClusterControllerGetInfoNodeResponse ¶
type ClusterControllerGetInfoNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhInfo `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetInfoNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetInfoNodeResponse(rsp *http.Response) (*ClusterControllerGetInfoNodeResponse, error)
ParseApiControllersClusterControllerGetInfoNodeResponse parses an HTTP response from a ClusterControllerGetInfoNodeWithResponse call
func (ClusterControllerGetInfoNodeResponse) Status ¶
func (r ClusterControllerGetInfoNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetInfoNodeResponse) StatusCode ¶
func (r ClusterControllerGetInfoNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetLogNodeParams ¶
type ClusterControllerGetLogNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of lines to return.
Limit *LogLines `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Wazuh component that logged the event
Tag *ClusterControllerGetLogNodeParamsTag `json:"tag,omitempty"`
// Filter by log level
Level *ClusterControllerGetLogNodeParamsLevel `json:"level,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
ClusterControllerGetLogNodeParams defines parameters for ClusterControllerGetLogNode.
type ClusterControllerGetLogNodeParamsLevel ¶ added in v0.8.0
type ClusterControllerGetLogNodeParamsLevel string
ClusterControllerGetLogNodeParamsLevel defines parameters for ClusterControllerGetLogNode.
type ClusterControllerGetLogNodeParamsTag ¶ added in v0.8.0
type ClusterControllerGetLogNodeParamsTag string
ClusterControllerGetLogNodeParamsTag defines parameters for ClusterControllerGetLogNode.
type ClusterControllerGetLogNodeResponse ¶
type ClusterControllerGetLogNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhLogs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetLogNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetLogNodeResponse(rsp *http.Response) (*ClusterControllerGetLogNodeResponse, error)
ParseApiControllersClusterControllerGetLogNodeResponse parses an HTTP response from a ClusterControllerGetLogNodeWithResponse call
func (ClusterControllerGetLogNodeResponse) Status ¶
func (r ClusterControllerGetLogNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetLogNodeResponse) StatusCode ¶
func (r ClusterControllerGetLogNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetLogSummaryNodeParams ¶
type ClusterControllerGetLogSummaryNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetLogSummaryNodeParams defines parameters for ClusterControllerGetLogSummaryNode.
type ClusterControllerGetLogSummaryNodeResponse ¶
type ClusterControllerGetLogSummaryNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhLogsSummary `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetLogSummaryNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetLogSummaryNodeResponse(rsp *http.Response) (*ClusterControllerGetLogSummaryNodeResponse, error)
ParseApiControllersClusterControllerGetLogSummaryNodeResponse parses an HTTP response from a ClusterControllerGetLogSummaryNodeWithResponse call
func (ClusterControllerGetLogSummaryNodeResponse) Status ¶
func (r ClusterControllerGetLogSummaryNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetLogSummaryNodeResponse) StatusCode ¶
func (r ClusterControllerGetLogSummaryNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetNodeConfigParams ¶
type ClusterControllerGetNodeConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetNodeConfigParams defines parameters for ClusterControllerGetNodeConfig.
type ClusterControllerGetNodeConfigParamsComponent ¶ added in v0.8.0
type ClusterControllerGetNodeConfigParamsComponent string
ClusterControllerGetNodeConfigParamsComponent defines parameters for ClusterControllerGetNodeConfig.
type ClusterControllerGetNodeConfigParamsConfiguration ¶ added in v0.8.0
type ClusterControllerGetNodeConfigParamsConfiguration string
ClusterControllerGetNodeConfigParamsConfiguration defines parameters for ClusterControllerGetNodeConfig.
type ClusterControllerGetNodeConfigResponse ¶
type ClusterControllerGetNodeConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetNodeConfigResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetNodeConfigResponse(rsp *http.Response) (*ClusterControllerGetNodeConfigResponse, error)
ParseApiControllersClusterControllerGetNodeConfigResponse parses an HTTP response from a ClusterControllerGetNodeConfigWithResponse call
func (ClusterControllerGetNodeConfigResponse) Status ¶
func (r ClusterControllerGetNodeConfigResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetNodeConfigResponse) StatusCode ¶
func (r ClusterControllerGetNodeConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetNodesRulesetSyncStatusParams ¶ added in v1.1.5
type ClusterControllerGetNodesRulesetSyncStatusParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of node IDs (separated by comma), all nodes selected by default if not specified
NodesList *NodesList `json:"nodes_list,omitempty"`
}
ClusterControllerGetNodesRulesetSyncStatusParams defines parameters for ClusterControllerGetNodesRulesetSyncStatus.
type ClusterControllerGetNodesRulesetSyncStatusResponse ¶ added in v1.1.5
type ClusterControllerGetNodesRulesetSyncStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseNodeRulesetSynchronizationStatus `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetNodesRulesetSyncStatusResponse ¶ added in v1.1.5
func ParseApiControllersClusterControllerGetNodesRulesetSyncStatusResponse(rsp *http.Response) (*ClusterControllerGetNodesRulesetSyncStatusResponse, error)
ParseApiControllersClusterControllerGetNodesRulesetSyncStatusResponse parses an HTTP response from a ClusterControllerGetNodesRulesetSyncStatusWithResponse call
func (ClusterControllerGetNodesRulesetSyncStatusResponse) Status ¶ added in v1.1.5
func (r ClusterControllerGetNodesRulesetSyncStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetNodesRulesetSyncStatusResponse) StatusCode ¶ added in v1.1.5
func (r ClusterControllerGetNodesRulesetSyncStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetStatsAnalysisdNodeParams ¶
type ClusterControllerGetStatsAnalysisdNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetStatsAnalysisdNodeParams defines parameters for ClusterControllerGetStatsAnalysisdNode.
type ClusterControllerGetStatsAnalysisdNodeResponse ¶
type ClusterControllerGetStatsAnalysisdNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetStatsAnalysisdNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetStatsAnalysisdNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsAnalysisdNodeResponse, error)
ParseApiControllersClusterControllerGetStatsAnalysisdNodeResponse parses an HTTP response from a ClusterControllerGetStatsAnalysisdNodeWithResponse call
func (ClusterControllerGetStatsAnalysisdNodeResponse) Status ¶
func (r ClusterControllerGetStatsAnalysisdNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetStatsAnalysisdNodeResponse) StatusCode ¶
func (r ClusterControllerGetStatsAnalysisdNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetStatsHourlyNodeParams ¶
type ClusterControllerGetStatsHourlyNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetStatsHourlyNodeParams defines parameters for ClusterControllerGetStatsHourlyNode.
type ClusterControllerGetStatsHourlyNodeResponse ¶
type ClusterControllerGetStatsHourlyNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetStatsHourlyNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetStatsHourlyNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsHourlyNodeResponse, error)
ParseApiControllersClusterControllerGetStatsHourlyNodeResponse parses an HTTP response from a ClusterControllerGetStatsHourlyNodeWithResponse call
func (ClusterControllerGetStatsHourlyNodeResponse) Status ¶
func (r ClusterControllerGetStatsHourlyNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetStatsHourlyNodeResponse) StatusCode ¶
func (r ClusterControllerGetStatsHourlyNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetStatsNodeParams ¶
type ClusterControllerGetStatsNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Date to obtain statistical information from. Format YYYY-MM-DD
Date *Date `json:"date,omitempty"`
}
ClusterControllerGetStatsNodeParams defines parameters for ClusterControllerGetStatsNode.
type ClusterControllerGetStatsNodeResponse ¶
type ClusterControllerGetStatsNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetStatsNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetStatsNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsNodeResponse, error)
ParseApiControllersClusterControllerGetStatsNodeResponse parses an HTTP response from a ClusterControllerGetStatsNodeWithResponse call
func (ClusterControllerGetStatsNodeResponse) Status ¶
func (r ClusterControllerGetStatsNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetStatsNodeResponse) StatusCode ¶
func (r ClusterControllerGetStatsNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetStatsRemotedNodeParams ¶
type ClusterControllerGetStatsRemotedNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetStatsRemotedNodeParams defines parameters for ClusterControllerGetStatsRemotedNode.
type ClusterControllerGetStatsRemotedNodeResponse ¶
type ClusterControllerGetStatsRemotedNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetStatsRemotedNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetStatsRemotedNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsRemotedNodeResponse, error)
ParseApiControllersClusterControllerGetStatsRemotedNodeResponse parses an HTTP response from a ClusterControllerGetStatsRemotedNodeWithResponse call
func (ClusterControllerGetStatsRemotedNodeResponse) Status ¶
func (r ClusterControllerGetStatsRemotedNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetStatsRemotedNodeResponse) StatusCode ¶
func (r ClusterControllerGetStatsRemotedNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetStatsWeeklyNodeParams ¶
type ClusterControllerGetStatsWeeklyNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetStatsWeeklyNodeParams defines parameters for ClusterControllerGetStatsWeeklyNode.
type ClusterControllerGetStatsWeeklyNodeResponse ¶
type ClusterControllerGetStatsWeeklyNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetStatsWeeklyNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetStatsWeeklyNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsWeeklyNodeResponse, error)
ParseApiControllersClusterControllerGetStatsWeeklyNodeResponse parses an HTTP response from a ClusterControllerGetStatsWeeklyNodeWithResponse call
func (ClusterControllerGetStatsWeeklyNodeResponse) Status ¶
func (r ClusterControllerGetStatsWeeklyNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetStatsWeeklyNodeResponse) StatusCode ¶
func (r ClusterControllerGetStatsWeeklyNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetStatusNodeParams ¶
type ClusterControllerGetStatusNodeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerGetStatusNodeParams defines parameters for ClusterControllerGetStatusNode.
type ClusterControllerGetStatusNodeResponse ¶
type ClusterControllerGetStatusNodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhDaemonsStatus `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetStatusNodeResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetStatusNodeResponse(rsp *http.Response) (*ClusterControllerGetStatusNodeResponse, error)
ParseApiControllersClusterControllerGetStatusNodeResponse parses an HTTP response from a ClusterControllerGetStatusNodeWithResponse call
func (ClusterControllerGetStatusNodeResponse) Status ¶
func (r ClusterControllerGetStatusNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetStatusNodeResponse) StatusCode ¶
func (r ClusterControllerGetStatusNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerGetStatusParams ¶
type ClusterControllerGetStatusParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of node IDs (separated by comma), all nodes selected by default if not specified
NodesList *NodesList `json:"nodes_list,omitempty"`
}
ClusterControllerGetStatusParams defines parameters for ClusterControllerGetStatus.
type ClusterControllerGetStatusResponse ¶
type ClusterControllerGetStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *struct {
// Whether the cluster is enabled in the Wazuh configuration
Enabled *N200DataEnabled `json:"enabled,omitempty"`
// Whether the cluster daemon is running
Running *N200DataRunning `json:"running,omitempty"`
} `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerGetStatusResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerGetStatusResponse(rsp *http.Response) (*ClusterControllerGetStatusResponse, error)
ParseApiControllersClusterControllerGetStatusResponse parses an HTTP response from a ClusterControllerGetStatusWithResponse call
func (ClusterControllerGetStatusResponse) Status ¶
func (r ClusterControllerGetStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetStatusResponse) StatusCode ¶
func (r ClusterControllerGetStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerInterface ¶
type ClusterControllerInterface interface {
GetAPIConfig(params *ClusterControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*struct {
AdditionalProperties map[string]any "json:\"-\""
}, error)
GetClusterNode(params *ClusterControllerGetClusterNodeParams, reqEditors ...RequestEditorFn) (*struct {
Cluster *string "json:\"cluster,omitempty\""
Node *string "json:\"node,omitempty\""
Type *string "json:\"type,omitempty\""
}, error)
GetClusterNodes(params *ClusterControllerGetClusterNodesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseClusterNodes, error)
GetConfValidation(params *ClusterControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*AllItemsResponseValidationStatus, error)
GetConfig(params *ClusterControllerGetConfigParams, reqEditors ...RequestEditorFn) (*struct {
BindAddr *string "json:\"bind_addr,omitempty\""
Disabled *bool "json:\"disabled,omitempty\""
Hidden *string "json:\"hidden,omitempty\""
Key *string "json:\"key,omitempty\""
Name *string "json:\"name,omitempty\""
NodeName *string "json:\"node_name,omitempty\""
NodeType *N200DataNodeType "json:\"node_type,omitempty\""
Nodes *[]string "json:\"nodes,omitempty\""
Port *int "json:\"port,omitempty\""
}, error)
GetConfigurationNode(arg1 NodeId, params *ClusterControllerGetConfigurationNodeParams, reqEditors ...RequestEditorFn) (*WazuhManagerConfiguration, error)
GetHealthcheck(params *ClusterControllerGetHealthcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponseNodeHealthcheck, error)
GetInfoNode(arg1 NodeId, params *ClusterControllerGetInfoNodeParams, reqEditors ...RequestEditorFn) (*WazuhInfo, error)
GetLogNode(arg1 NodeId, params *ClusterControllerGetLogNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhLogs, error)
GetLogSummaryNode(arg1 NodeId, params *ClusterControllerGetLogSummaryNodeParams, reqEditors ...RequestEditorFn) (*WazuhLogsSummary, error)
GetNodeConfig(arg1 NodeId, arg2 ClusterControllerGetNodeConfigParamsComponent, arg3 ClusterControllerGetNodeConfigParamsConfiguration, params *ClusterControllerGetNodeConfigParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
GetStatsAnalysisdNode(arg1 NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsHourlyNode(arg1 NodeId, params *ClusterControllerGetStatsHourlyNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsNode(arg1 NodeId, params *ClusterControllerGetStatsNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsRemotedNode(arg1 NodeId, params *ClusterControllerGetStatsRemotedNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsWeeklyNode(arg1 NodeId, params *ClusterControllerGetStatsWeeklyNodeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatusNode(arg1 NodeId, params *ClusterControllerGetStatusNodeParams, reqEditors ...RequestEditorFn) (*WazuhDaemonsStatus, error)
GetStatus(params *ClusterControllerGetStatusParams, reqEditors ...RequestEditorFn) (*struct {
Enabled *N200DataEnabled "json:\"enabled,omitempty\""
Running *N200DataRunning "json:\"running,omitempty\""
}, error)
PutRestart(params *ClusterControllerPutRestartParams, reqEditors ...RequestEditorFn) (*AllItemsResponseNodeIDs, error)
UpdateConfigurationWithBody(arg1 NodeId, params *ClusterControllerUpdateConfigurationParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
ConfirmationMessage "yaml:\",inline\""
}, error)
}
ClusterControllerInterface contains all methods for the wazuh controller api
type ClusterControllerPutRestartParams ¶
type ClusterControllerPutRestartParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of node IDs (separated by comma), all nodes selected by default if not specified
NodesList *NodesList `json:"nodes_list,omitempty"`
}
ClusterControllerPutRestartParams defines parameters for ClusterControllerPutRestart.
type ClusterControllerPutRestartResponse ¶
type ClusterControllerPutRestartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseNodeIDs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerPutRestartResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerPutRestartResponse(rsp *http.Response) (*ClusterControllerPutRestartResponse, error)
ParseApiControllersClusterControllerPutRestartResponse parses an HTTP response from a ClusterControllerPutRestartWithResponse call
func (ClusterControllerPutRestartResponse) Status ¶
func (r ClusterControllerPutRestartResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerPutRestartResponse) StatusCode ¶
func (r ClusterControllerPutRestartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterControllerUpdateConfigurationParams ¶ added in v0.8.0
type ClusterControllerUpdateConfigurationParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ClusterControllerUpdateConfigurationParams defines parameters for ClusterControllerUpdateConfiguration.
type ClusterControllerUpdateConfigurationResponse ¶ added in v0.8.0
type ClusterControllerUpdateConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/ConfirmationMessage)
ConfirmationMessage `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersClusterControllerUpdateConfigurationResponse ¶ added in v0.8.0
func ParseApiControllersClusterControllerUpdateConfigurationResponse(rsp *http.Response) (*ClusterControllerUpdateConfigurationResponse, error)
ParseApiControllersClusterControllerUpdateConfigurationResponse parses an HTTP response from a ClusterControllerUpdateConfigurationWithResponse call
func (ClusterControllerUpdateConfigurationResponse) Status ¶ added in v0.8.0
func (r ClusterControllerUpdateConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerUpdateConfigurationResponse) StatusCode ¶ added in v0.8.0
func (r ClusterControllerUpdateConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClusterNode ¶
type ClusterNode struct {
// Embedded struct due to allOf(#/components/schemas/ClusterNodeBasic)
ClusterNodeBasic `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Node ID
Name *ClusterNodeName `json:"name,omitempty"`
}
ClusterNode defines model for ClusterNode.
type ClusterNodeBasic ¶
type ClusterNodeBasic struct {
// IP the node is using to communicate with other nodes in the cluster
Ip *string `json:"ip,omitempty"`
// Node type
Type *ClusterNodeBasicType `json:"type,omitempty"`
// Wazuh version installed in the node
Version *string `json:"version,omitempty"`
}
ClusterNodeBasic defines model for ClusterNodeBasic.
type ClusterNodeBasicType ¶ added in v0.8.0
type ClusterNodeBasicType string
Node type
const ( ClusterNodeBasicTypeMaster ClusterNodeBasicType = "master" ClusterNodeBasicTypeWorker ClusterNodeBasicType = "worker" )
Defines values for ClusterNodeBasicType.
type ConfigurationValidation ¶
type ConfigurationValidation struct {
// Configuration status
Status *ConfigurationValidationStatus `json:"status,omitempty"`
}
ConfigurationValidation defines model for ConfigurationValidation.
type ConfigurationValidationStatus ¶ added in v0.8.0
type ConfigurationValidationStatus string
Configuration status
const (
ConfigurationValidationStatusOK ConfigurationValidationStatus = "OK"
)
Defines values for ConfigurationValidationStatus.
type ConfirmationMessage ¶
type ConfirmationMessage struct {
// Confirmation message
Message *string `json:"message,omitempty"`
}
ConfirmationMessage defines model for ConfirmationMessage.
type CveSeverity ¶ added in v0.10.0
type CveSeverity string
CveSeverity defines model for cve_severity.
type DHCPStatus ¶
type DHCPStatus string
DHCP status
const ( DHCPStatusBOOTP DHCPStatus = "BOOTP" DHCPStatusDisabled DHCPStatus = "disabled" DHCPStatusEnabled DHCPStatus = "enabled" DHCPStatusUnknown DHCPStatus = "unknown" )
Defines values for DHCPStatus.
type DaemonStatus ¶
type DaemonStatus string
DaemonStatus defines model for DaemonStatus.
const ( DaemonStatusRunning DaemonStatus = "running" DaemonStatusStopped DaemonStatus = "stopped" )
Defines values for DaemonStatus.
type DaemonsList ¶ added in v1.1.5
type DaemonsList []string
DaemonsList defines model for daemons_list.
type DaemonsListAgents ¶ added in v1.1.5
type DaemonsListAgents []string
DaemonsListAgents defines model for daemons_list_agents.
type Decoder ¶
type Decoder struct {
// Embedded struct due to allOf(#/components/schemas/DecoderFile)
DecoderFile `yaml:",inline"`
}
Decoder defines model for Decoder.
type DecoderController ¶ added in v0.8.0
type DecoderController struct {
*ClientWithResponses
}
DecoderController implementation of the DecoderController interface
func (*DecoderController) DeleteFile ¶ added in v0.8.0
func (c *DecoderController) DeleteFile(arg1 XmlFilenamePath, params *DecoderControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
DeleteFile calls the Decoder controller´s function
func (*DecoderController) GetDecoders ¶ added in v0.8.0
func (c *DecoderController) GetDecoders(params *DecoderControllerGetDecodersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseDecoders, error)
GetDecoders calls the Decoder controller´s function
func (*DecoderController) GetDecodersFiles ¶ added in v0.8.0
func (c *DecoderController) GetDecodersFiles(params *DecoderControllerGetDecodersFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseDecodersFiles, error)
GetDecodersFiles calls the Decoder controller´s function
func (*DecoderController) GetDecodersParents ¶ added in v0.8.0
func (c *DecoderController) GetDecodersParents(params *DecoderControllerGetDecodersParentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetDecodersParents calls the Decoder controller´s function
func (*DecoderController) GetFile ¶ added in v0.8.0
func (c *DecoderController) GetFile(arg1 XmlFilenamePath, params *DecoderControllerGetFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetFile calls the Decoder controller´s function
func (*DecoderController) PutFileWithBody ¶ added in v0.8.0
func (c *DecoderController) PutFileWithBody(arg1 XmlFilenamePath, params *DecoderControllerPutFileParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
PutFileWithBody calls the Decoder controller´s function
type DecoderControllerDeleteFileParams ¶ added in v0.8.0
type DecoderControllerDeleteFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
}
DecoderControllerDeleteFileParams defines parameters for DecoderControllerDeleteFile.
type DecoderControllerDeleteFileResponse ¶ added in v0.8.0
type DecoderControllerDeleteFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersDecoderControllerDeleteFileResponse ¶ added in v0.8.0
func ParseApiControllersDecoderControllerDeleteFileResponse(rsp *http.Response) (*DecoderControllerDeleteFileResponse, error)
ParseApiControllersDecoderControllerDeleteFileResponse parses an HTTP response from a DecoderControllerDeleteFileWithResponse call
func (DecoderControllerDeleteFileResponse) Status ¶ added in v0.8.0
func (r DecoderControllerDeleteFileResponse) Status() string
Status returns HTTPResponse.Status
func (DecoderControllerDeleteFileResponse) StatusCode ¶ added in v0.8.0
func (r DecoderControllerDeleteFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecoderControllerGetDecodersFilesParams ¶ added in v0.8.0
type DecoderControllerGetDecodersFilesParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Filter by filename of one or more rule or decoder files.
Filename *XmlFilename `json:"filename,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
// Filter by list status. Use commas to enter multiple statuses
Status *DecoderControllerGetDecodersFilesParamsStatus `json:"status,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
DecoderControllerGetDecodersFilesParams defines parameters for DecoderControllerGetDecodersFiles.
type DecoderControllerGetDecodersFilesParamsStatus ¶ added in v0.8.0
type DecoderControllerGetDecodersFilesParamsStatus string
DecoderControllerGetDecodersFilesParamsStatus defines parameters for DecoderControllerGetDecodersFiles.
type DecoderControllerGetDecodersFilesResponse ¶ added in v0.8.0
type DecoderControllerGetDecodersFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseDecodersFiles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersDecoderControllerGetDecodersFilesResponse ¶ added in v0.8.0
func ParseApiControllersDecoderControllerGetDecodersFilesResponse(rsp *http.Response) (*DecoderControllerGetDecodersFilesResponse, error)
ParseApiControllersDecoderControllerGetDecodersFilesResponse parses an HTTP response from a DecoderControllerGetDecodersFilesWithResponse call
func (DecoderControllerGetDecodersFilesResponse) Status ¶ added in v0.8.0
func (r DecoderControllerGetDecodersFilesResponse) Status() string
Status returns HTTPResponse.Status
func (DecoderControllerGetDecodersFilesResponse) StatusCode ¶ added in v0.8.0
func (r DecoderControllerGetDecodersFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecoderControllerGetDecodersParams ¶ added in v0.8.0
type DecoderControllerGetDecodersParams struct {
// Decoder name
DecoderNames *DecoderName `json:"decoder_names,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Filter by filename
Filename *Filename `json:"filename,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
// Filter by list status. Use commas to enter multiple statuses
Status *DecoderControllerGetDecodersParamsStatus `json:"status,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
DecoderControllerGetDecodersParams defines parameters for DecoderControllerGetDecoders.
type DecoderControllerGetDecodersParamsStatus ¶ added in v0.8.0
type DecoderControllerGetDecodersParamsStatus string
DecoderControllerGetDecodersParamsStatus defines parameters for DecoderControllerGetDecoders.
type DecoderControllerGetDecodersParentsParams ¶ added in v0.8.0
type DecoderControllerGetDecodersParentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
}
DecoderControllerGetDecodersParentsParams defines parameters for DecoderControllerGetDecodersParents.
type DecoderControllerGetDecodersParentsResponse ¶ added in v0.8.0
type DecoderControllerGetDecodersParentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersDecoderControllerGetDecodersParentsResponse ¶ added in v0.8.0
func ParseApiControllersDecoderControllerGetDecodersParentsResponse(rsp *http.Response) (*DecoderControllerGetDecodersParentsResponse, error)
ParseApiControllersDecoderControllerGetDecodersParentsResponse parses an HTTP response from a DecoderControllerGetDecodersParentsWithResponse call
func (DecoderControllerGetDecodersParentsResponse) Status ¶ added in v0.8.0
func (r DecoderControllerGetDecodersParentsResponse) Status() string
Status returns HTTPResponse.Status
func (DecoderControllerGetDecodersParentsResponse) StatusCode ¶ added in v0.8.0
func (r DecoderControllerGetDecodersParentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecoderControllerGetDecodersResponse ¶ added in v0.8.0
type DecoderControllerGetDecodersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseDecoders `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersDecoderControllerGetDecodersResponse ¶ added in v0.8.0
func ParseApiControllersDecoderControllerGetDecodersResponse(rsp *http.Response) (*DecoderControllerGetDecodersResponse, error)
ParseApiControllersDecoderControllerGetDecodersResponse parses an HTTP response from a DecoderControllerGetDecodersWithResponse call
func (DecoderControllerGetDecodersResponse) Status ¶ added in v0.8.0
func (r DecoderControllerGetDecodersResponse) Status() string
Status returns HTTPResponse.Status
func (DecoderControllerGetDecodersResponse) StatusCode ¶ added in v0.8.0
func (r DecoderControllerGetDecodersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecoderControllerGetFileParams ¶ added in v0.8.0
type DecoderControllerGetFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
}
DecoderControllerGetFileParams defines parameters for DecoderControllerGetFile.
type DecoderControllerGetFileResponse ¶ added in v0.8.0
type DecoderControllerGetFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
XML200 *string
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersDecoderControllerGetFileResponse ¶ added in v0.8.0
func ParseApiControllersDecoderControllerGetFileResponse(rsp *http.Response) (*DecoderControllerGetFileResponse, error)
ParseApiControllersDecoderControllerGetFileResponse parses an HTTP response from a DecoderControllerGetFileWithResponse call
func (DecoderControllerGetFileResponse) Status ¶ added in v0.8.0
func (r DecoderControllerGetFileResponse) Status() string
Status returns HTTPResponse.Status
func (DecoderControllerGetFileResponse) StatusCode ¶ added in v0.8.0
func (r DecoderControllerGetFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecoderControllerInterface ¶ added in v0.8.0
type DecoderControllerInterface interface {
DeleteFile(arg1 XmlFilenamePath, params *DecoderControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetDecodersFiles(params *DecoderControllerGetDecodersFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseDecodersFiles, error)
GetDecodersParents(params *DecoderControllerGetDecodersParentsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetDecoders(params *DecoderControllerGetDecodersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseDecoders, error)
GetFile(arg1 XmlFilenamePath, params *DecoderControllerGetFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
PutFileWithBody(arg1 XmlFilenamePath, params *DecoderControllerPutFileParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
}
DecoderControllerInterface contains all methods for the wazuh controller api
type DecoderControllerPutFileParams ¶ added in v0.8.0
type DecoderControllerPutFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// If set to false, an exception will be raised when updating contents of an already existing filename
Overwrite *Overwrite `json:"overwrite,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
}
DecoderControllerPutFileParams defines parameters for DecoderControllerPutFile.
type DecoderControllerPutFileResponse ¶ added in v0.8.0
type DecoderControllerPutFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersDecoderControllerPutFileResponse ¶ added in v0.8.0
func ParseApiControllersDecoderControllerPutFileResponse(rsp *http.Response) (*DecoderControllerPutFileResponse, error)
ParseApiControllersDecoderControllerPutFileResponse parses an HTTP response from a DecoderControllerPutFileWithResponse call
func (DecoderControllerPutFileResponse) Status ¶ added in v0.8.0
func (r DecoderControllerPutFileResponse) Status() string
Status returns HTTPResponse.Status
func (DecoderControllerPutFileResponse) StatusCode ¶ added in v0.8.0
func (r DecoderControllerPutFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecoderFile ¶
type DecoderFile struct {
// Embedded struct due to allOf(#/components/schemas/RulesetFile)
RulesetFile `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/RulesetStatus)
RulesetStatus `yaml:",inline"`
}
DecoderFile defines model for DecoderFile.
type DefaultController ¶
type DefaultController struct {
*ClientWithResponses
}
DefaultController implementation of the DefaultController interface
func (*DefaultController) DefaultInfo ¶
func (c *DefaultController) DefaultInfo(params *DefaultControllerDefaultInfoParams, reqEditors ...RequestEditorFn) (*BasicInfo, error)
DefaultInfo calls the Default controller´s function
type DefaultControllerDefaultInfoParams ¶
type DefaultControllerDefaultInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
}
DefaultControllerDefaultInfoParams defines parameters for DefaultControllerDefaultInfo.
type DefaultControllerDefaultInfoResponse ¶
type DefaultControllerDefaultInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *BasicInfo `json:"data,omitempty"`
}
}
func ParseApiControllersDefaultControllerDefaultInfoResponse ¶ added in v0.8.0
func ParseApiControllersDefaultControllerDefaultInfoResponse(rsp *http.Response) (*DefaultControllerDefaultInfoResponse, error)
ParseApiControllersDefaultControllerDefaultInfoResponse parses an HTTP response from a DefaultControllerDefaultInfoWithResponse call
func (DefaultControllerDefaultInfoResponse) Status ¶
func (r DefaultControllerDefaultInfoResponse) Status() string
Status returns HTTPResponse.Status
func (DefaultControllerDefaultInfoResponse) StatusCode ¶
func (r DefaultControllerDefaultInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DefaultControllerInterface ¶
type DefaultControllerInterface interface {
DefaultInfo(params *DefaultControllerDefaultInfoParams, reqEditors ...RequestEditorFn) (*BasicInfo, error)
}
DefaultControllerInterface contains all methods for the wazuh controller api
type DisconnectedTime ¶ added in v0.10.0
type DisconnectedTime struct {
// Enable force disconnected_time option
Enabled *bool `json:"enabled,omitempty"`
// Time the agent must has been disconnected to force the insertion. Time in seconds, ‘[n_days]d’, ‘[n_hours]h’, ‘[n_minutes]m’ or ‘[n_seconds]s’. For example, `7d`, `10s` and `10` are valid values. If no time unit is specified, seconds are used
Value *string `json:"value,omitempty"`
}
type EventControllerForwardEventJSONBody ¶ added in v1.1.5
type EventControllerForwardEventJSONBody struct {
// Bulk of events
Events []string `json:"events"`
}
EventControllerForwardEventJSONBody defines parameters for EventControllerForwardEvent.
type EventControllerForwardEventJSONRequestBody ¶ added in v1.1.5
type EventControllerForwardEventJSONRequestBody EventControllerForwardEventJSONBody
EventControllerForwardEventJSONRequestBody defines body for EventControllerForwardEvent for application/json ContentType.
type EventControllerForwardEventParams ¶ added in v1.1.5
type EventControllerForwardEventParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
EventControllerForwardEventParams defines parameters for EventControllerForwardEvent.
type EventControllerForwardEventResponse ¶ added in v1.1.5
type EventControllerForwardEventResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersEventControllerForwardEventResponse ¶ added in v1.1.5
func ParseApiControllersEventControllerForwardEventResponse(rsp *http.Response) (*EventControllerForwardEventResponse, error)
ParseApiControllersEventControllerForwardEventResponse parses an HTTP response from a EventControllerForwardEventWithResponse call
func (EventControllerForwardEventResponse) Status ¶ added in v1.1.5
func (r EventControllerForwardEventResponse) Status() string
Status returns HTTPResponse.Status
func (EventControllerForwardEventResponse) StatusCode ¶ added in v1.1.5
func (r EventControllerForwardEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalController ¶
type ExperimentalController struct {
*ClientWithResponses
}
ExperimentalController implementation of the ExperimentalController interface
func (*ExperimentalController) ClearRootcheckDatabase ¶ added in v0.10.0
func (c *ExperimentalController) ClearRootcheckDatabase(params *ExperimentalControllerClearRootcheckDatabaseParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
ClearRootcheckDatabase calls the Experimental controller´s function
func (*ExperimentalController) ClearSyscheckDatabase ¶
func (c *ExperimentalController) ClearSyscheckDatabase(params *ExperimentalControllerClearSyscheckDatabaseParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
ClearSyscheckDatabase calls the Experimental controller´s function
func (*ExperimentalController) GetCisCatResults ¶
func (c *ExperimentalController) GetCisCatResults(params *ExperimentalControllerGetCisCatResultsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseCiscatResult, error)
GetCisCatResults calls the Experimental controller´s function
func (*ExperimentalController) GetHardwareInfo ¶
func (c *ExperimentalController) GetHardwareInfo(params *ExperimentalControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHardware, error)
GetHardwareInfo calls the Experimental controller´s function
func (*ExperimentalController) GetHotfixesInfo ¶
func (c *ExperimentalController) GetHotfixesInfo(params *ExperimentalControllerGetHotfixesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHotfixes, error)
GetHotfixesInfo calls the Experimental controller´s function
func (*ExperimentalController) GetNetworkAddressInfo ¶
func (c *ExperimentalController) GetNetworkAddressInfo(params *ExperimentalControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorNetwork, error)
GetNetworkAddressInfo calls the Experimental controller´s function
func (*ExperimentalController) GetNetworkInterfaceInfo ¶
func (c *ExperimentalController) GetNetworkInterfaceInfo(params *ExperimentalControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorInterface, error)
GetNetworkInterfaceInfo calls the Experimental controller´s function
func (*ExperimentalController) GetNetworkProtocolInfo ¶
func (c *ExperimentalController) GetNetworkProtocolInfo(params *ExperimentalControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProtocol, error)
GetNetworkProtocolInfo calls the Experimental controller´s function
func (*ExperimentalController) GetOsInfo ¶
func (c *ExperimentalController) GetOsInfo(params *ExperimentalControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorOS, error)
GetOsInfo calls the Experimental controller´s function
func (*ExperimentalController) GetPackagesInfo ¶
func (c *ExperimentalController) GetPackagesInfo(params *ExperimentalControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPackages, error)
GetPackagesInfo calls the Experimental controller´s function
func (*ExperimentalController) GetPortsInfo ¶
func (c *ExperimentalController) GetPortsInfo(params *ExperimentalControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPorts, error)
GetPortsInfo calls the Experimental controller´s function
func (*ExperimentalController) GetProcessesInfo ¶
func (c *ExperimentalController) GetProcessesInfo(params *ExperimentalControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProcesses, error)
GetProcessesInfo calls the Experimental controller´s function
type ExperimentalControllerClearRootcheckDatabaseParams ¶ added in v0.10.0
type ExperimentalControllerClearRootcheckDatabaseParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), use the keyword `all` to select all agents
AgentsList AgentsListAll `json:"agents_list"`
}
ExperimentalControllerClearRootcheckDatabaseParams defines parameters for ExperimentalControllerClearRootcheckDatabase.
type ExperimentalControllerClearRootcheckDatabaseResponse ¶ added in v0.10.0
type ExperimentalControllerClearRootcheckDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerClearRootcheckDatabaseResponse ¶ added in v0.10.0
func ParseApiControllersExperimentalControllerClearRootcheckDatabaseResponse(rsp *http.Response) (*ExperimentalControllerClearRootcheckDatabaseResponse, error)
ParseApiControllersExperimentalControllerClearRootcheckDatabaseResponse parses an HTTP response from a ExperimentalControllerClearRootcheckDatabaseWithResponse call
func (ExperimentalControllerClearRootcheckDatabaseResponse) Status ¶ added in v0.10.0
func (r ExperimentalControllerClearRootcheckDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerClearRootcheckDatabaseResponse) StatusCode ¶ added in v0.10.0
func (r ExperimentalControllerClearRootcheckDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerClearSyscheckDatabaseParams ¶
type ExperimentalControllerClearSyscheckDatabaseParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), use the keyword `all` to select all agents
AgentsList AgentsListAll `json:"agents_list"`
}
ExperimentalControllerClearSyscheckDatabaseParams defines parameters for ExperimentalControllerClearSyscheckDatabase.
type ExperimentalControllerClearSyscheckDatabaseResponse ¶
type ExperimentalControllerClearSyscheckDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentIDs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerClearSyscheckDatabaseResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerClearSyscheckDatabaseResponse(rsp *http.Response) (*ExperimentalControllerClearSyscheckDatabaseResponse, error)
ParseApiControllersExperimentalControllerClearSyscheckDatabaseResponse parses an HTTP response from a ExperimentalControllerClearSyscheckDatabaseWithResponse call
func (ExperimentalControllerClearSyscheckDatabaseResponse) Status ¶
func (r ExperimentalControllerClearSyscheckDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerClearSyscheckDatabaseResponse) StatusCode ¶
func (r ExperimentalControllerClearSyscheckDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetCisCatResultsParams ¶
type ExperimentalControllerGetCisCatResultsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by benchmark type
Benchmark *Benchmark `json:"benchmark,omitempty"`
// Filter by evaluated profile
Profile *Profile `json:"profile,omitempty"`
// Filter by passed checks
Pass *Pass `json:"pass,omitempty"`
// Filter by failed checks
Fail *Fail `json:"fail,omitempty"`
// Filter by encountered errors
Error *Error `json:"error,omitempty"`
// Filter by not checked
Notchecked *Notchecked `json:"notchecked,omitempty"`
// Filter by unknown results
Unknown *Unknown `json:"unknown,omitempty"`
// Filter by final score
Score *Score `json:"score,omitempty"`
}
ExperimentalControllerGetCisCatResultsParams defines parameters for ExperimentalControllerGetCisCatResults.
type ExperimentalControllerGetCisCatResultsResponse ¶
type ExperimentalControllerGetCisCatResultsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseCiscatResult `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetCisCatResultsResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetCisCatResultsResponse(rsp *http.Response) (*ExperimentalControllerGetCisCatResultsResponse, error)
ParseApiControllersExperimentalControllerGetCisCatResultsResponse parses an HTTP response from a ExperimentalControllerGetCisCatResultsWithResponse call
func (ExperimentalControllerGetCisCatResultsResponse) Status ¶
func (r ExperimentalControllerGetCisCatResultsResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetCisCatResultsResponse) StatusCode ¶
func (r ExperimentalControllerGetCisCatResultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetHardwareInfoParams ¶
type ExperimentalControllerGetHardwareInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by ram.free
RamFree *RamFree `json:"ram.free,omitempty"`
// Filter by ram.total
RamTotal *RamTotal `json:"ram.total,omitempty"`
// Filter by cpu.cores
CpuCores *CpuCores `json:"cpu.cores,omitempty"`
// Filter by cpu.mhz
CpuMhz *CpuMhz `json:"cpu.mhz,omitempty"`
// Filter by cpu.name
CpuName *CpuName `json:"cpu.name,omitempty"`
// Filter by board_serial
BoardSerial *BoardSerial `json:"board_serial,omitempty"`
}
ExperimentalControllerGetHardwareInfoParams defines parameters for ExperimentalControllerGetHardwareInfo.
type ExperimentalControllerGetHardwareInfoResponse ¶
type ExperimentalControllerGetHardwareInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorHardware `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetHardwareInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetHardwareInfoResponse(rsp *http.Response) (*ExperimentalControllerGetHardwareInfoResponse, error)
ParseApiControllersExperimentalControllerGetHardwareInfoResponse parses an HTTP response from a ExperimentalControllerGetHardwareInfoWithResponse call
func (ExperimentalControllerGetHardwareInfoResponse) Status ¶
func (r ExperimentalControllerGetHardwareInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetHardwareInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetHardwareInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetHotfixesInfoParams ¶
type ExperimentalControllerGetHotfixesInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by hotfix
Hotfix *Hotfix `json:"hotfix,omitempty"`
}
ExperimentalControllerGetHotfixesInfoParams defines parameters for ExperimentalControllerGetHotfixesInfo.
type ExperimentalControllerGetHotfixesInfoResponse ¶
type ExperimentalControllerGetHotfixesInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorHotfixes `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetHotfixesInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetHotfixesInfoResponse(rsp *http.Response) (*ExperimentalControllerGetHotfixesInfoResponse, error)
ParseApiControllersExperimentalControllerGetHotfixesInfoResponse parses an HTTP response from a ExperimentalControllerGetHotfixesInfoWithResponse call
func (ExperimentalControllerGetHotfixesInfoResponse) Status ¶
func (r ExperimentalControllerGetHotfixesInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetHotfixesInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetHotfixesInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetNetworkAddressInfoParams ¶
type ExperimentalControllerGetNetworkAddressInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by IP protocol
Proto *Proto `json:"proto,omitempty"`
// Filter by IP address
Address *Address `json:"address,omitempty"`
// Filter by broadcast direction
Broadcast *Broadcast `json:"broadcast,omitempty"`
// Filter by netmask
Netmask *Netmask `json:"netmask,omitempty"`
}
ExperimentalControllerGetNetworkAddressInfoParams defines parameters for ExperimentalControllerGetNetworkAddressInfo.
type ExperimentalControllerGetNetworkAddressInfoResponse ¶
type ExperimentalControllerGetNetworkAddressInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorNetwork `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetNetworkAddressInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetNetworkAddressInfoResponse(rsp *http.Response) (*ExperimentalControllerGetNetworkAddressInfoResponse, error)
ParseApiControllersExperimentalControllerGetNetworkAddressInfoResponse parses an HTTP response from a ExperimentalControllerGetNetworkAddressInfoWithResponse call
func (ExperimentalControllerGetNetworkAddressInfoResponse) Status ¶
func (r ExperimentalControllerGetNetworkAddressInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetNetworkAddressInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetNetworkAddressInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetNetworkInterfaceInfoParams ¶
type ExperimentalControllerGetNetworkInterfaceInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by adapter
Adapter *Adapter `json:"adapter,omitempty"`
// Type of network
Type *TypeSyscollector `json:"type,omitempty"`
// Filter by state
State *State `json:"state,omitempty"`
// Filter by mtu
Mtu *Mtu `json:"mtu,omitempty"`
// Filter by tx.packets
TxPackets *TxPackets `json:"tx.packets,omitempty"`
// Filter by rx.packets
RxPackets *RxPackets `json:"rx.packets,omitempty"`
// Filter by tx.bytes
TxBytes *TxBytes `json:"tx.bytes,omitempty"`
// Filter by rx.bytes
RxBytes *RxBytes `json:"rx.bytes,omitempty"`
// Filter by tx.errors
TxErrors *TxErrors `json:"tx.errors,omitempty"`
// Filter by rx.errors
RxErrors *RxErrors `json:"rx.errors,omitempty"`
// Filter by tx.dropped
TxDropped *TxDropped `json:"tx.dropped,omitempty"`
// Filter by rx.dropped
RxDropped *RxDropped `json:"rx.dropped,omitempty"`
}
ExperimentalControllerGetNetworkInterfaceInfoParams defines parameters for ExperimentalControllerGetNetworkInterfaceInfo.
type ExperimentalControllerGetNetworkInterfaceInfoResponse ¶
type ExperimentalControllerGetNetworkInterfaceInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorInterface `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetNetworkInterfaceInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetNetworkInterfaceInfoResponse(rsp *http.Response) (*ExperimentalControllerGetNetworkInterfaceInfoResponse, error)
ParseApiControllersExperimentalControllerGetNetworkInterfaceInfoResponse parses an HTTP response from a ExperimentalControllerGetNetworkInterfaceInfoWithResponse call
func (ExperimentalControllerGetNetworkInterfaceInfoResponse) Status ¶
func (r ExperimentalControllerGetNetworkInterfaceInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetNetworkInterfaceInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetNetworkInterfaceInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetNetworkProtocolInfoParams ¶
type ExperimentalControllerGetNetworkProtocolInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by network interface
Iface *Iface `json:"iface,omitempty"`
// Type of network
Type *TypeSyscollector `json:"type,omitempty"`
// Filter by network gateway
Gateway *Gateway `json:"gateway,omitempty"`
// Filter by network dhcp (enabled or disabled)
Dhcp *Dhcp `json:"dhcp,omitempty"`
}
ExperimentalControllerGetNetworkProtocolInfoParams defines parameters for ExperimentalControllerGetNetworkProtocolInfo.
type ExperimentalControllerGetNetworkProtocolInfoResponse ¶
type ExperimentalControllerGetNetworkProtocolInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorProtocol `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetNetworkProtocolInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetNetworkProtocolInfoResponse(rsp *http.Response) (*ExperimentalControllerGetNetworkProtocolInfoResponse, error)
ParseApiControllersExperimentalControllerGetNetworkProtocolInfoResponse parses an HTTP response from a ExperimentalControllerGetNetworkProtocolInfoWithResponse call
func (ExperimentalControllerGetNetworkProtocolInfoResponse) Status ¶
func (r ExperimentalControllerGetNetworkProtocolInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetNetworkProtocolInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetNetworkProtocolInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetOsInfoParams ¶
type ExperimentalControllerGetOsInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by OS name
OsName *OsName `json:"os.name,omitempty"`
// Filter by architecture
Architecture *Architecture `json:"architecture,omitempty"`
// Filter by OS version
OsVersion *OsVersion `json:"os.version,omitempty"`
// Filter by agents version
Version *Version `json:"version,omitempty"`
// Filter by release
Release *Release `json:"release,omitempty"`
}
ExperimentalControllerGetOsInfoParams defines parameters for ExperimentalControllerGetOsInfo.
type ExperimentalControllerGetOsInfoResponse ¶
type ExperimentalControllerGetOsInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorOS `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetOsInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetOsInfoResponse(rsp *http.Response) (*ExperimentalControllerGetOsInfoResponse, error)
ParseApiControllersExperimentalControllerGetOsInfoResponse parses an HTTP response from a ExperimentalControllerGetOsInfoWithResponse call
func (ExperimentalControllerGetOsInfoResponse) Status ¶
func (r ExperimentalControllerGetOsInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetOsInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetOsInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetPackagesInfoParams ¶
type ExperimentalControllerGetPackagesInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by vendor
Vendor *Vendor `json:"vendor,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by architecture
Architecture *Architecture `json:"architecture,omitempty"`
// Filter by file format. For example 'deb' will output deb files
Format *FileFormat `json:"format,omitempty"`
// Filter by package version
Version *PackageVersion `json:"version,omitempty"`
}
ExperimentalControllerGetPackagesInfoParams defines parameters for ExperimentalControllerGetPackagesInfo.
type ExperimentalControllerGetPackagesInfoResponse ¶
type ExperimentalControllerGetPackagesInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorPackages `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetPackagesInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetPackagesInfoResponse(rsp *http.Response) (*ExperimentalControllerGetPackagesInfoResponse, error)
ParseApiControllersExperimentalControllerGetPackagesInfoResponse parses an HTTP response from a ExperimentalControllerGetPackagesInfoWithResponse call
func (ExperimentalControllerGetPackagesInfoResponse) Status ¶
func (r ExperimentalControllerGetPackagesInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetPackagesInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetPackagesInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetPortsInfoParams ¶
type ExperimentalControllerGetPortsInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by pid
Pid *Pid `json:"pid,omitempty"`
// Filter by protocol
Protocol *Protocol `json:"protocol,omitempty"`
// Filter by Local IP
LocalIp *LocalIp `json:"local.ip,omitempty"`
// Filter by Local Port
LocalPort *LocalPort `json:"local.port,omitempty"`
// Filter by Remote IP
RemoteIp *RemoteIp `json:"remote.ip,omitempty"`
// Filter by tx_queue
TxQueue *TxQueue `json:"tx_queue,omitempty"`
// Filter by state
State *State `json:"state,omitempty"`
// Filter by process name
Process *Process `json:"process,omitempty"`
}
ExperimentalControllerGetPortsInfoParams defines parameters for ExperimentalControllerGetPortsInfo.
type ExperimentalControllerGetPortsInfoResponse ¶
type ExperimentalControllerGetPortsInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorPorts `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetPortsInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetPortsInfoResponse(rsp *http.Response) (*ExperimentalControllerGetPortsInfoResponse, error)
ParseApiControllersExperimentalControllerGetPortsInfoResponse parses an HTTP response from a ExperimentalControllerGetPortsInfoWithResponse call
func (ExperimentalControllerGetPortsInfoResponse) Status ¶
func (r ExperimentalControllerGetPortsInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetPortsInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetPortsInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerGetProcessesInfoParams ¶
type ExperimentalControllerGetProcessesInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by process pid
Pid *ProcessPid `json:"pid,omitempty"`
// Filter by process state
State *ProcessState `json:"state,omitempty"`
// Filter by process parent pid
Ppid *Ppid `json:"ppid,omitempty"`
// Filter by process egroup
Egroup *Egroup `json:"egroup,omitempty"`
// Filter by process euser
Euser *Euser `json:"euser,omitempty"`
// Filter by process fgroup
Fgroup *Fgroup `json:"fgroup,omitempty"`
// Filter by process name
Name *ProcessName `json:"name,omitempty"`
// Filter by process nlwp
Nlwp *Nlwp `json:"nlwp,omitempty"`
// Filter by process pgrp
Pgrp *Pgrp `json:"pgrp,omitempty"`
// Filter by process priority
Priority *Priority `json:"priority,omitempty"`
// Filter by process rgroup
Rgroup *Rgroup `json:"rgroup,omitempty"`
// Filter by process ruser
Ruser *Ruser `json:"ruser,omitempty"`
// Filter by process sgroup
Sgroup *Sgroup `json:"sgroup,omitempty"`
// Filter by process suser
Suser *Suser `json:"suser,omitempty"`
}
ExperimentalControllerGetProcessesInfoParams defines parameters for ExperimentalControllerGetProcessesInfo.
type ExperimentalControllerGetProcessesInfoResponse ¶
type ExperimentalControllerGetProcessesInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorProcesses `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersExperimentalControllerGetProcessesInfoResponse ¶ added in v0.8.0
func ParseApiControllersExperimentalControllerGetProcessesInfoResponse(rsp *http.Response) (*ExperimentalControllerGetProcessesInfoResponse, error)
ParseApiControllersExperimentalControllerGetProcessesInfoResponse parses an HTTP response from a ExperimentalControllerGetProcessesInfoWithResponse call
func (ExperimentalControllerGetProcessesInfoResponse) Status ¶
func (r ExperimentalControllerGetProcessesInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ExperimentalControllerGetProcessesInfoResponse) StatusCode ¶
func (r ExperimentalControllerGetProcessesInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExperimentalControllerInterface ¶
type ExperimentalControllerInterface interface {
ClearRootcheckDatabase(params *ExperimentalControllerClearRootcheckDatabaseParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
ClearSyscheckDatabase(params *ExperimentalControllerClearSyscheckDatabaseParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
GetCisCatResults(params *ExperimentalControllerGetCisCatResultsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseCiscatResult, error)
GetHardwareInfo(params *ExperimentalControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHardware, error)
GetHotfixesInfo(params *ExperimentalControllerGetHotfixesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHotfixes, error)
GetNetworkAddressInfo(params *ExperimentalControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorNetwork, error)
GetNetworkInterfaceInfo(params *ExperimentalControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorInterface, error)
GetNetworkProtocolInfo(params *ExperimentalControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProtocol, error)
GetOsInfo(params *ExperimentalControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorOS, error)
GetPackagesInfo(params *ExperimentalControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPackages, error)
GetPortsInfo(params *ExperimentalControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPorts, error)
GetProcessesInfo(params *ExperimentalControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProcesses, error)
}
ExperimentalControllerInterface contains all methods for the wazuh controller api
type ExtraAgentFields ¶
type ExtraAgentFields struct {
// MD5 checksum of the group configuration file (agent.conf)
ConfigSum *string `json:"configSum,omitempty"`
// Date when the agent was registered
DateAdd *string `json:"dateAdd,omitempty"`
// List of groups the agent belongs to
Group *[]string `json:"group,omitempty"`
// IP where the agent communicates with the manager. If the manager can't get this information, it will be the same as registerIP field
Ip *string `json:"ip,omitempty"`
// Date when the last keepalive was received from the agent
LastKeepAlive *string `json:"lastKeepAlive,omitempty"`
// Hostname of the manager where the agent is reporting to
Manager *string `json:"manager,omitempty"`
// MD5 checksum of all group shared files merged in a single one (merged.mg)
MergedSum *string `json:"mergedSum,omitempty"`
// Node ID where the agent is reporting to
NodeName *string `json:"node_name,omitempty"`
// Agent OS information
Os *struct {
Arch *string `json:"arch,omitempty"`
Codename *string `json:"codename,omitempty"`
Major *string `json:"major,omitempty"`
Minor *string `json:"minor,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
Uname *string `json:"uname,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"os,omitempty"`
// IP used at agent registration process
RegisterIP *string `json:"registerIP,omitempty"`
// Agent status. It is calculated based on the last keepalive and the Wazuh version
Status *AgentStatus `json:"status,omitempty"`
}
ExtraAgentFields defines model for ExtraAgentFields.
type ForceSingleGroup ¶
type ForceSingleGroup bool
ForceSingleGroup defines model for force_single_group.
type GetDirnamesPath ¶
type GetDirnamesPath string
GetDirnamesPath defines model for get_dirnames_path.
type GroupConfigStatus ¶ added in v1.1.5
type GroupConfigStatus string
GroupConfigStatus defines model for group_config_status.
const ( NotSynced GroupConfigStatus = "not synced" Synced GroupConfigStatus = "synced" )
Defines values for GroupConfigStatus.
type GroupConfiguration ¶
type GroupConfiguration struct {
// Group configuration. The fields on this object depend on the actual group configuration
Config map[string]any `json:"config"`
Filters struct {
// The name of the agent where that configuration is being applied
Name *string `json:"name,omitempty"`
// OS family where the configuration is being applied
Os *string `json:"os,omitempty"`
// Profile name. Any agent configured to use the defined profile may use the block
Profile *string `json:"profile,omitempty"`
} `json:"filters"`
}
GroupConfiguration defines model for GroupConfiguration.
type GroupDelete ¶ added in v0.10.0
Deleted group with a list of agents that were assigned to it
func (GroupDelete) Get ¶ added in v0.10.0
func (a GroupDelete) Get(fieldName string) (value []any, found bool)
Getter for additional properties for GroupDelete. Returns the specified element and whether it was found
func (GroupDelete) MarshalJSON ¶ added in v0.10.0
func (a GroupDelete) MarshalJSON() ([]byte, error)
Override default JSON handling for GroupDelete to handle AdditionalProperties
func (*GroupDelete) Set ¶ added in v0.10.0
func (a *GroupDelete) Set(fieldName string, value []any)
Setter for additional properties for GroupDelete
func (*GroupDelete) UnmarshalJSON ¶ added in v0.10.0
func (a *GroupDelete) UnmarshalJSON(b []byte) error
Override default JSON handling for GroupDelete to handle AdditionalProperties
type GroupsListAll ¶ added in v0.10.0
type GroupsListAll []GroupIDListAll
GroupsListAll defines model for groups_list_all.
type HTTPRequestDoer ¶ added in v0.3.4
HTTPRequestDoer performs HTTP requests.
The standard http.Client implements this interface.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InvalidCredentialsResponse ¶
type InvalidCredentialsResponse RequestError
InvalidCredentialsResponse defines model for InvalidCredentialsResponse.
type InvalidHTTPMethodResponse ¶
type InvalidHTTPMethodResponse RequestError
InvalidHTTPMethodResponse defines model for InvalidHTTPMethodResponse.
type ItemAffected ¶
type ItemAffected struct {
// Items that successfully applied the API call action
AffectedItems []any `json:"affected_items"`
}
ItemAffected defines model for ItemAffected.
type LastScan ¶
type LastScan struct {
// Date when the latest scan finished. If it is in progress, or no scans have been run, null will be returned
End *time.Time `json:"end"`
// Date when the latest scan started. If no scans have been run, null will be returned
Start *time.Time `json:"start"`
}
LastScan defines model for LastScan.
type ListFilenamePath ¶ added in v0.8.0
type ListFilenamePath string
ListFilenamePath defines model for list_filename_path.
type LocalPortInfo ¶
type LocalPortInfo struct {
// Bind IP
Ip *string `json:"ip,omitempty"`
// Port used
Port *int32 `json:"port,omitempty"`
}
Information regarding local opened port
type LogSummary ¶
type LogSummary struct {
All *int32 `json:"all,omitempty"`
Critical *int32 `json:"critical,omitempty"`
Debug *int32 `json:"debug,omitempty"`
Error *int32 `json:"error,omitempty"`
Info *int32 `json:"info,omitempty"`
Warning *int32 `json:"warning,omitempty"`
}
LogSummary defines model for LogSummary.
type LogtestController ¶ added in v0.8.0
type LogtestController struct {
*ClientWithResponses
}
LogtestController implementation of the LogtestController interface
func (*LogtestController) EndLogtestSession ¶ added in v0.8.0
func (c *LogtestController) EndLogtestSession(arg1 LogtestToken, params *LogtestControllerEndLogtestSessionParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
EndLogtestSession calls the Logtest controller´s function
func (*LogtestController) RunLogtestTool ¶ added in v0.8.0
func (c *LogtestController) RunLogtestTool(params *LogtestControllerRunLogtestToolParams, arg2 LogtestControllerRunLogtestToolJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiResponse, error)
RunLogtestTool calls the Logtest controller´s function
func (*LogtestController) RunLogtestToolWithBody ¶ added in v0.8.0
func (c *LogtestController) RunLogtestToolWithBody(params *LogtestControllerRunLogtestToolParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
RunLogtestToolWithBody calls the Logtest controller´s function
type LogtestControllerEndLogtestSessionParams ¶ added in v0.8.0
type LogtestControllerEndLogtestSessionParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
LogtestControllerEndLogtestSessionParams defines parameters for LogtestControllerEndLogtestSession.
type LogtestControllerEndLogtestSessionResponse ¶ added in v0.8.0
type LogtestControllerEndLogtestSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersLogtestControllerEndLogtestSessionResponse ¶ added in v0.8.0
func ParseApiControllersLogtestControllerEndLogtestSessionResponse(rsp *http.Response) (*LogtestControllerEndLogtestSessionResponse, error)
ParseApiControllersLogtestControllerEndLogtestSessionResponse parses an HTTP response from a LogtestControllerEndLogtestSessionWithResponse call
func (LogtestControllerEndLogtestSessionResponse) Status ¶ added in v0.8.0
func (r LogtestControllerEndLogtestSessionResponse) Status() string
Status returns HTTPResponse.Status
func (LogtestControllerEndLogtestSessionResponse) StatusCode ¶ added in v0.8.0
func (r LogtestControllerEndLogtestSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogtestControllerInterface ¶ added in v0.8.0
type LogtestControllerInterface interface {
EndLogtestSession(arg1 LogtestToken, params *LogtestControllerEndLogtestSessionParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
RunLogtestToolWithBody(params *LogtestControllerRunLogtestToolParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiResponse, error)
RunLogtestTool(params *LogtestControllerRunLogtestToolParams, arg2 LogtestControllerRunLogtestToolJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiResponse, error)
}
LogtestControllerInterface contains all methods for the wazuh controller api
type LogtestControllerRunLogtestToolJSONBody ¶ added in v0.8.0
type LogtestControllerRunLogtestToolJSONBody LogtestRequest
LogtestControllerRunLogtestToolJSONBody defines parameters for LogtestControllerRunLogtestTool.
type LogtestControllerRunLogtestToolJSONRequestBody ¶ added in v0.8.0
type LogtestControllerRunLogtestToolJSONRequestBody LogtestControllerRunLogtestToolJSONBody
LogtestControllerRunLogtestToolJSONRequestBody defines body for LogtestControllerRunLogtestTool for application/json ContentType.
type LogtestControllerRunLogtestToolParams ¶ added in v0.8.0
type LogtestControllerRunLogtestToolParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
LogtestControllerRunLogtestToolParams defines parameters for LogtestControllerRunLogtestTool.
type LogtestControllerRunLogtestToolResponse ¶ added in v0.8.0
type LogtestControllerRunLogtestToolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersLogtestControllerRunLogtestToolResponse ¶ added in v0.8.0
func ParseApiControllersLogtestControllerRunLogtestToolResponse(rsp *http.Response) (*LogtestControllerRunLogtestToolResponse, error)
ParseApiControllersLogtestControllerRunLogtestToolResponse parses an HTTP response from a LogtestControllerRunLogtestToolWithResponse call
func (LogtestControllerRunLogtestToolResponse) Status ¶ added in v0.8.0
func (r LogtestControllerRunLogtestToolResponse) Status() string
Status returns HTTPResponse.Status
func (LogtestControllerRunLogtestToolResponse) StatusCode ¶ added in v0.8.0
func (r LogtestControllerRunLogtestToolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogtestRequest ¶ added in v0.8.0
type LogtestRequest struct {
// Event to look for
Event string `json:"event"`
// Path string
Location string `json:"location"`
// Allowed values: syslog, json, snort-full, squid, eventlog, eventchannel, audit, mysql_log, postgresql_log, nmapg, iis, command, full_command, djb-multilog, multi-line
LogFormat string `json:"log_format"`
// Token for the logtest session
Token *string `json:"token,omitempty"`
}
LogtestRequest defines model for LogtestRequest.
type LogtestToken ¶ added in v0.8.0
type LogtestToken string
LogtestToken defines model for logtest_token.
type ManagerController ¶
type ManagerController struct {
*ClientWithResponses
}
ManagerController implementation of the ManagerController interface
func (*ManagerController) GetAPIConfig ¶
func (c *ManagerController) GetAPIConfig(params *ManagerControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetAPIConfig calls the Manager controller´s function
func (*ManagerController) GetConfValidation ¶
func (c *ManagerController) GetConfValidation(params *ManagerControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*ConfigurationValidation, error)
GetConfValidation calls the Manager controller´s function
func (*ManagerController) GetConfiguration ¶
func (c *ManagerController) GetConfiguration(params *ManagerControllerGetConfigurationParams, reqEditors ...RequestEditorFn) (*WazuhManagerConfiguration, error)
GetConfiguration calls the Manager controller´s function
func (*ManagerController) GetInfo ¶
func (c *ManagerController) GetInfo(params *ManagerControllerGetInfoParams, reqEditors ...RequestEditorFn) (*WazuhInfo, error)
GetInfo calls the Manager controller´s function
func (*ManagerController) GetLog ¶
func (c *ManagerController) GetLog(params *ManagerControllerGetLogParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhLogs, error)
GetLog calls the Manager controller´s function
func (*ManagerController) GetLogSummary ¶
func (c *ManagerController) GetLogSummary(params *ManagerControllerGetLogSummaryParams, reqEditors ...RequestEditorFn) (*WazuhLogsSummary, error)
GetLogSummary calls the Manager controller´s function
func (*ManagerController) GetManagerConfigOndemand ¶
func (c *ManagerController) GetManagerConfigOndemand(arg1 ManagerControllerGetManagerConfigOndemandParamsComponent, arg2 ManagerControllerGetManagerConfigOndemandParamsConfiguration, params *ManagerControllerGetManagerConfigOndemandParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
GetManagerConfigOndemand calls the Manager controller´s function
func (*ManagerController) GetStats ¶
func (c *ManagerController) GetStats(params *ManagerControllerGetStatsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStats calls the Manager controller´s function
func (*ManagerController) GetStatsAnalysisd ¶
func (c *ManagerController) GetStatsAnalysisd(params *ManagerControllerGetStatsAnalysisdParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsAnalysisd calls the Manager controller´s function
func (*ManagerController) GetStatsHourly ¶
func (c *ManagerController) GetStatsHourly(params *ManagerControllerGetStatsHourlyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsHourly calls the Manager controller´s function
func (*ManagerController) GetStatsRemoted ¶
func (c *ManagerController) GetStatsRemoted(params *ManagerControllerGetStatsRemotedParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsRemoted calls the Manager controller´s function
func (*ManagerController) GetStatsWeekly ¶
func (c *ManagerController) GetStatsWeekly(params *ManagerControllerGetStatsWeeklyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsWeekly calls the Manager controller´s function
func (*ManagerController) GetStatus ¶
func (c *ManagerController) GetStatus(params *ManagerControllerGetStatusParams, reqEditors ...RequestEditorFn) (*WazuhDaemonsStatus, error)
GetStatus calls the Manager controller´s function
func (*ManagerController) PutRestart ¶
func (c *ManagerController) PutRestart(params *ManagerControllerPutRestartParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutRestart calls the Manager controller´s function
func (*ManagerController) UpdateConfigurationWithBody ¶ added in v0.8.0
func (c *ManagerController) UpdateConfigurationWithBody(params *ManagerControllerUpdateConfigurationParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" ConfirmationMessage "yaml:\",inline\"" }, error)
UpdateConfigurationWithBody calls the Manager controller´s function
type ManagerControllerCheckAvailableVersionParams ¶ added in v1.1.5
type ManagerControllerCheckAvailableVersionParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Force query to CTI service
ForceQuery *ForceQuery `json:"force_query,omitempty"`
}
ManagerControllerCheckAvailableVersionParams defines parameters for ManagerControllerCheckAvailableVersion.
type ManagerControllerCheckAvailableVersionResponse ¶ added in v1.1.5
type ManagerControllerCheckAvailableVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *NewVersions `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON404 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerCheckAvailableVersionResponse ¶ added in v1.1.5
func ParseApiControllersManagerControllerCheckAvailableVersionResponse(rsp *http.Response) (*ManagerControllerCheckAvailableVersionResponse, error)
ParseApiControllersManagerControllerCheckAvailableVersionResponse parses an HTTP response from a ManagerControllerCheckAvailableVersionWithResponse call
func (ManagerControllerCheckAvailableVersionResponse) Status ¶ added in v1.1.5
func (r ManagerControllerCheckAvailableVersionResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerCheckAvailableVersionResponse) StatusCode ¶ added in v1.1.5
func (r ManagerControllerCheckAvailableVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetApiConfigParams ¶
type ManagerControllerGetApiConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetApiConfigParams defines parameters for ManagerControllerGetApiConfig.
type ManagerControllerGetApiConfigResponse ¶
type ManagerControllerGetApiConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetApiConfigResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetApiConfigResponse(rsp *http.Response) (*ManagerControllerGetApiConfigResponse, error)
ParseApiControllersManagerControllerGetApiConfigResponse parses an HTTP response from a ManagerControllerGetApiConfigWithResponse call
func (ManagerControllerGetApiConfigResponse) Status ¶
func (r ManagerControllerGetApiConfigResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetApiConfigResponse) StatusCode ¶
func (r ManagerControllerGetApiConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetConfValidationParams ¶
type ManagerControllerGetConfValidationParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetConfValidationParams defines parameters for ManagerControllerGetConfValidation.
type ManagerControllerGetConfValidationResponse ¶
type ManagerControllerGetConfValidationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ConfigurationValidation
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetConfValidationResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetConfValidationResponse(rsp *http.Response) (*ManagerControllerGetConfValidationResponse, error)
ParseApiControllersManagerControllerGetConfValidationResponse parses an HTTP response from a ManagerControllerGetConfValidationWithResponse call
func (ManagerControllerGetConfValidationResponse) Status ¶
func (r ManagerControllerGetConfValidationResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetConfValidationResponse) StatusCode ¶
func (r ManagerControllerGetConfValidationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetConfigurationParams ¶
type ManagerControllerGetConfigurationParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
// Indicates the wazuh configuration section
Section *ManagerControllerGetConfigurationParamsSection `json:"section,omitempty"`
// Indicate a section child. E.g, fields for *ruleset* section are: decoder_dir, rule_dir, etc
Field *Field `json:"field,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
ManagerControllerGetConfigurationParams defines parameters for ManagerControllerGetConfiguration.
type ManagerControllerGetConfigurationParamsSection ¶ added in v0.8.0
type ManagerControllerGetConfigurationParamsSection string
ManagerControllerGetConfigurationParamsSection defines parameters for ManagerControllerGetConfiguration.
type ManagerControllerGetConfigurationResponse ¶
type ManagerControllerGetConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhManagerConfiguration `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetConfigurationResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetConfigurationResponse(rsp *http.Response) (*ManagerControllerGetConfigurationResponse, error)
ParseApiControllersManagerControllerGetConfigurationResponse parses an HTTP response from a ManagerControllerGetConfigurationWithResponse call
func (ManagerControllerGetConfigurationResponse) Status ¶
func (r ManagerControllerGetConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetConfigurationResponse) StatusCode ¶
func (r ManagerControllerGetConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetDaemonStatsParams ¶ added in v1.1.5
type ManagerControllerGetDaemonStatsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of daemon names (separated by comma), all daemons selected by default if not specified
DaemonsList *DaemonsList `json:"daemons_list,omitempty"`
}
ManagerControllerGetDaemonStatsParams defines parameters for ManagerControllerGetDaemonStats.
type ManagerControllerGetDaemonStatsParamsDaemonsList ¶ added in v1.1.5
type ManagerControllerGetDaemonStatsParamsDaemonsList string
ManagerControllerGetDaemonStatsParamsDaemonsList defines parameters for ManagerControllerGetDaemonStats.
type ManagerControllerGetDaemonStatsResponse ¶ added in v1.1.5
type ManagerControllerGetDaemonStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhDaemonStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetDaemonStatsResponse ¶ added in v1.1.5
func ParseApiControllersManagerControllerGetDaemonStatsResponse(rsp *http.Response) (*ManagerControllerGetDaemonStatsResponse, error)
ParseApiControllersManagerControllerGetDaemonStatsResponse parses an HTTP response from a ManagerControllerGetDaemonStatsWithResponse call
func (ManagerControllerGetDaemonStatsResponse) Status ¶ added in v1.1.5
func (r ManagerControllerGetDaemonStatsResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetDaemonStatsResponse) StatusCode ¶ added in v1.1.5
func (r ManagerControllerGetDaemonStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetInfoParams ¶
type ManagerControllerGetInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetInfoParams defines parameters for ManagerControllerGetInfo.
type ManagerControllerGetInfoResponse ¶
type ManagerControllerGetInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhInfo `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetInfoResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetInfoResponse(rsp *http.Response) (*ManagerControllerGetInfoResponse, error)
ParseApiControllersManagerControllerGetInfoResponse parses an HTTP response from a ManagerControllerGetInfoWithResponse call
func (ManagerControllerGetInfoResponse) Status ¶
func (r ManagerControllerGetInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetInfoResponse) StatusCode ¶
func (r ManagerControllerGetInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetLogParams ¶
type ManagerControllerGetLogParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of lines to return.
Limit *LogLines `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Wazuh component that logged the event
Tag *Tag `json:"tag,omitempty"`
// Filter by log level
Level *ManagerControllerGetLogParamsLevel `json:"level,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
ManagerControllerGetLogParams defines parameters for ManagerControllerGetLog.
type ManagerControllerGetLogParamsLevel ¶ added in v0.8.0
type ManagerControllerGetLogParamsLevel string
ManagerControllerGetLogParamsLevel defines parameters for ManagerControllerGetLog.
type ManagerControllerGetLogResponse ¶
type ManagerControllerGetLogResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhLogs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetLogResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetLogResponse(rsp *http.Response) (*ManagerControllerGetLogResponse, error)
ParseApiControllersManagerControllerGetLogResponse parses an HTTP response from a ManagerControllerGetLogWithResponse call
func (ManagerControllerGetLogResponse) Status ¶
func (r ManagerControllerGetLogResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetLogResponse) StatusCode ¶
func (r ManagerControllerGetLogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetLogSummaryParams ¶
type ManagerControllerGetLogSummaryParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetLogSummaryParams defines parameters for ManagerControllerGetLogSummary.
type ManagerControllerGetLogSummaryResponse ¶
type ManagerControllerGetLogSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhLogsSummary `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetLogSummaryResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetLogSummaryResponse(rsp *http.Response) (*ManagerControllerGetLogSummaryResponse, error)
ParseApiControllersManagerControllerGetLogSummaryResponse parses an HTTP response from a ManagerControllerGetLogSummaryWithResponse call
func (ManagerControllerGetLogSummaryResponse) Status ¶
func (r ManagerControllerGetLogSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetLogSummaryResponse) StatusCode ¶
func (r ManagerControllerGetLogSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetManagerConfigOndemandParams ¶
type ManagerControllerGetManagerConfigOndemandParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetManagerConfigOndemandParams defines parameters for ManagerControllerGetManagerConfigOndemand.
type ManagerControllerGetManagerConfigOndemandParamsComponent ¶ added in v0.8.0
type ManagerControllerGetManagerConfigOndemandParamsComponent string
ManagerControllerGetManagerConfigOndemandParamsComponent defines parameters for ManagerControllerGetManagerConfigOndemand.
type ManagerControllerGetManagerConfigOndemandParamsConfiguration ¶ added in v0.8.0
type ManagerControllerGetManagerConfigOndemandParamsConfiguration string
ManagerControllerGetManagerConfigOndemandParamsConfiguration defines parameters for ManagerControllerGetManagerConfigOndemand.
type ManagerControllerGetManagerConfigOndemandResponse ¶
type ManagerControllerGetManagerConfigOndemandResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetManagerConfigOndemandResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetManagerConfigOndemandResponse(rsp *http.Response) (*ManagerControllerGetManagerConfigOndemandResponse, error)
ParseApiControllersManagerControllerGetManagerConfigOndemandResponse parses an HTTP response from a ManagerControllerGetManagerConfigOndemandWithResponse call
func (ManagerControllerGetManagerConfigOndemandResponse) Status ¶
func (r ManagerControllerGetManagerConfigOndemandResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetManagerConfigOndemandResponse) StatusCode ¶
func (r ManagerControllerGetManagerConfigOndemandResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetStatsAnalysisdParams ¶
type ManagerControllerGetStatsAnalysisdParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetStatsAnalysisdParams defines parameters for ManagerControllerGetStatsAnalysisd.
type ManagerControllerGetStatsAnalysisdResponse ¶
type ManagerControllerGetStatsAnalysisdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetStatsAnalysisdResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetStatsAnalysisdResponse(rsp *http.Response) (*ManagerControllerGetStatsAnalysisdResponse, error)
ParseApiControllersManagerControllerGetStatsAnalysisdResponse parses an HTTP response from a ManagerControllerGetStatsAnalysisdWithResponse call
func (ManagerControllerGetStatsAnalysisdResponse) Status ¶
func (r ManagerControllerGetStatsAnalysisdResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetStatsAnalysisdResponse) StatusCode ¶
func (r ManagerControllerGetStatsAnalysisdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetStatsHourlyParams ¶
type ManagerControllerGetStatsHourlyParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetStatsHourlyParams defines parameters for ManagerControllerGetStatsHourly.
type ManagerControllerGetStatsHourlyResponse ¶
type ManagerControllerGetStatsHourlyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetStatsHourlyResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetStatsHourlyResponse(rsp *http.Response) (*ManagerControllerGetStatsHourlyResponse, error)
ParseApiControllersManagerControllerGetStatsHourlyResponse parses an HTTP response from a ManagerControllerGetStatsHourlyWithResponse call
func (ManagerControllerGetStatsHourlyResponse) Status ¶
func (r ManagerControllerGetStatsHourlyResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetStatsHourlyResponse) StatusCode ¶
func (r ManagerControllerGetStatsHourlyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetStatsParams ¶
type ManagerControllerGetStatsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Date to obtain statistical information from. Format YYYY-MM-DD
Date *Date `json:"date,omitempty"`
}
ManagerControllerGetStatsParams defines parameters for ManagerControllerGetStats.
type ManagerControllerGetStatsRemotedParams ¶
type ManagerControllerGetStatsRemotedParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetStatsRemotedParams defines parameters for ManagerControllerGetStatsRemoted.
type ManagerControllerGetStatsRemotedResponse ¶
type ManagerControllerGetStatsRemotedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetStatsRemotedResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetStatsRemotedResponse(rsp *http.Response) (*ManagerControllerGetStatsRemotedResponse, error)
ParseApiControllersManagerControllerGetStatsRemotedResponse parses an HTTP response from a ManagerControllerGetStatsRemotedWithResponse call
func (ManagerControllerGetStatsRemotedResponse) Status ¶
func (r ManagerControllerGetStatsRemotedResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetStatsRemotedResponse) StatusCode ¶
func (r ManagerControllerGetStatsRemotedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetStatsResponse ¶
type ManagerControllerGetStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetStatsResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetStatsResponse(rsp *http.Response) (*ManagerControllerGetStatsResponse, error)
ParseApiControllersManagerControllerGetStatsResponse parses an HTTP response from a ManagerControllerGetStatsWithResponse call
func (ManagerControllerGetStatsResponse) Status ¶
func (r ManagerControllerGetStatsResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetStatsResponse) StatusCode ¶
func (r ManagerControllerGetStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetStatsWeeklyParams ¶
type ManagerControllerGetStatsWeeklyParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetStatsWeeklyParams defines parameters for ManagerControllerGetStatsWeekly.
type ManagerControllerGetStatsWeeklyResponse ¶
type ManagerControllerGetStatsWeeklyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseWazuhStats `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetStatsWeeklyResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetStatsWeeklyResponse(rsp *http.Response) (*ManagerControllerGetStatsWeeklyResponse, error)
ParseApiControllersManagerControllerGetStatsWeeklyResponse parses an HTTP response from a ManagerControllerGetStatsWeeklyWithResponse call
func (ManagerControllerGetStatsWeeklyResponse) Status ¶
func (r ManagerControllerGetStatsWeeklyResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetStatsWeeklyResponse) StatusCode ¶
func (r ManagerControllerGetStatsWeeklyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerGetStatusParams ¶
type ManagerControllerGetStatusParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerGetStatusParams defines parameters for ManagerControllerGetStatus.
type ManagerControllerGetStatusResponse ¶
type ManagerControllerGetStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *WazuhDaemonsStatus `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerGetStatusResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerGetStatusResponse(rsp *http.Response) (*ManagerControllerGetStatusResponse, error)
ParseApiControllersManagerControllerGetStatusResponse parses an HTTP response from a ManagerControllerGetStatusWithResponse call
func (ManagerControllerGetStatusResponse) Status ¶
func (r ManagerControllerGetStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetStatusResponse) StatusCode ¶
func (r ManagerControllerGetStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerInterface ¶
type ManagerControllerInterface interface {
GetAPIConfig(params *ManagerControllerGetApiConfigParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetConfValidation(params *ManagerControllerGetConfValidationParams, reqEditors ...RequestEditorFn) (*ConfigurationValidation, error)
GetConfiguration(params *ManagerControllerGetConfigurationParams, reqEditors ...RequestEditorFn) (*WazuhManagerConfiguration, error)
GetInfo(params *ManagerControllerGetInfoParams, reqEditors ...RequestEditorFn) (*WazuhInfo, error)
GetLogSummary(params *ManagerControllerGetLogSummaryParams, reqEditors ...RequestEditorFn) (*WazuhLogsSummary, error)
GetLog(params *ManagerControllerGetLogParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhLogs, error)
GetManagerConfigOndemand(arg1 ManagerControllerGetManagerConfigOndemandParamsComponent, arg2 ManagerControllerGetManagerConfigOndemandParamsConfiguration, params *ManagerControllerGetManagerConfigOndemandParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
GetStatsAnalysisd(params *ManagerControllerGetStatsAnalysisdParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsHourly(params *ManagerControllerGetStatsHourlyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsRemoted(params *ManagerControllerGetStatsRemotedParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatsWeekly(params *ManagerControllerGetStatsWeeklyParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStats(params *ManagerControllerGetStatsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseWazuhStats, error)
GetStatus(params *ManagerControllerGetStatusParams, reqEditors ...RequestEditorFn) (*WazuhDaemonsStatus, error)
PutRestart(params *ManagerControllerPutRestartParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
UpdateConfigurationWithBody(params *ManagerControllerUpdateConfigurationParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
ConfirmationMessage "yaml:\",inline\""
}, error)
}
ManagerControllerInterface contains all methods for the wazuh controller api
type ManagerControllerPutRestartParams ¶
type ManagerControllerPutRestartParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerPutRestartParams defines parameters for ManagerControllerPutRestart.
type ManagerControllerPutRestartResponse ¶
type ManagerControllerPutRestartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerPutRestartResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerPutRestartResponse(rsp *http.Response) (*ManagerControllerPutRestartResponse, error)
ParseApiControllersManagerControllerPutRestartResponse parses an HTTP response from a ManagerControllerPutRestartWithResponse call
func (ManagerControllerPutRestartResponse) Status ¶
func (r ManagerControllerPutRestartResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerPutRestartResponse) StatusCode ¶
func (r ManagerControllerPutRestartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerControllerUpdateConfigurationParams ¶ added in v0.8.0
type ManagerControllerUpdateConfigurationParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
ManagerControllerUpdateConfigurationParams defines parameters for ManagerControllerUpdateConfiguration.
type ManagerControllerUpdateConfigurationResponse ¶ added in v0.8.0
type ManagerControllerUpdateConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/ConfirmationMessage)
ConfirmationMessage `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersManagerControllerUpdateConfigurationResponse ¶ added in v0.8.0
func ParseApiControllersManagerControllerUpdateConfigurationResponse(rsp *http.Response) (*ManagerControllerUpdateConfigurationResponse, error)
ParseApiControllersManagerControllerUpdateConfigurationResponse parses an HTTP response from a ManagerControllerUpdateConfigurationWithResponse call
func (ManagerControllerUpdateConfigurationResponse) Status ¶ added in v0.8.0
func (r ManagerControllerUpdateConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerUpdateConfigurationResponse) StatusCode ¶ added in v0.8.0
func (r ManagerControllerUpdateConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreController ¶
type MitreController struct {
*ClientWithResponses
}
MitreController implementation of the MitreController interface
func (*MitreController) GetGroups ¶ added in v0.10.0
func (c *MitreController) GetGroups(params *MitreControllerGetGroupsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetGroups calls the Mitre controller´s function
func (*MitreController) GetMetadata ¶ added in v0.10.0
func (c *MitreController) GetMetadata(params *MitreControllerGetMetadataParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetMetadata calls the Mitre controller´s function
func (*MitreController) GetMitigations ¶ added in v0.10.0
func (c *MitreController) GetMitigations(params *MitreControllerGetMitigationsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetMitigations calls the Mitre controller´s function
func (*MitreController) GetReferences ¶ added in v0.10.0
func (c *MitreController) GetReferences(params *MitreControllerGetReferencesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetReferences calls the Mitre controller´s function
func (*MitreController) GetSoftware ¶ added in v0.10.0
func (c *MitreController) GetSoftware(params *MitreControllerGetSoftwareParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetSoftware calls the Mitre controller´s function
func (*MitreController) GetTactics ¶ added in v0.10.0
func (c *MitreController) GetTactics(params *MitreControllerGetTacticsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetTactics calls the Mitre controller´s function
func (*MitreController) GetTechniques ¶ added in v0.10.0
func (c *MitreController) GetTechniques(params *MitreControllerGetTechniquesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetTechniques calls the Mitre controller´s function
type MitreControllerGetGroupsParams ¶ added in v0.10.0
type MitreControllerGetGroupsParams struct {
// List of MITRE's group IDs (separated by comma)
GroupIds *MitreGroupIds `json:"group_ids,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
MitreControllerGetGroupsParams defines parameters for MitreControllerGetGroups.
type MitreControllerGetGroupsResponse ¶ added in v0.10.0
type MitreControllerGetGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersMitreControllerGetGroupsResponse ¶ added in v0.10.0
func ParseApiControllersMitreControllerGetGroupsResponse(rsp *http.Response) (*MitreControllerGetGroupsResponse, error)
ParseApiControllersMitreControllerGetGroupsResponse parses an HTTP response from a MitreControllerGetGroupsWithResponse call
func (MitreControllerGetGroupsResponse) Status ¶ added in v0.10.0
func (r MitreControllerGetGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetGroupsResponse) StatusCode ¶ added in v0.10.0
func (r MitreControllerGetGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerGetMetadataParams ¶ added in v0.10.0
type MitreControllerGetMetadataParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
MitreControllerGetMetadataParams defines parameters for MitreControllerGetMetadata.
type MitreControllerGetMetadataResponse ¶ added in v0.10.0
type MitreControllerGetMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersMitreControllerGetMetadataResponse ¶ added in v0.10.0
func ParseApiControllersMitreControllerGetMetadataResponse(rsp *http.Response) (*MitreControllerGetMetadataResponse, error)
ParseApiControllersMitreControllerGetMetadataResponse parses an HTTP response from a MitreControllerGetMetadataWithResponse call
func (MitreControllerGetMetadataResponse) Status ¶ added in v0.10.0
func (r MitreControllerGetMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetMetadataResponse) StatusCode ¶ added in v0.10.0
func (r MitreControllerGetMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerGetMitigationsParams ¶ added in v0.10.0
type MitreControllerGetMitigationsParams struct {
// List of MITRE's mitigations IDs (separated by comma)
MitigationIds *MitreMitigationIds `json:"mitigation_ids,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
MitreControllerGetMitigationsParams defines parameters for MitreControllerGetMitigations.
type MitreControllerGetMitigationsResponse ¶ added in v0.10.0
type MitreControllerGetMitigationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersMitreControllerGetMitigationsResponse ¶ added in v0.10.0
func ParseApiControllersMitreControllerGetMitigationsResponse(rsp *http.Response) (*MitreControllerGetMitigationsResponse, error)
ParseApiControllersMitreControllerGetMitigationsResponse parses an HTTP response from a MitreControllerGetMitigationsWithResponse call
func (MitreControllerGetMitigationsResponse) Status ¶ added in v0.10.0
func (r MitreControllerGetMitigationsResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetMitigationsResponse) StatusCode ¶ added in v0.10.0
func (r MitreControllerGetMitigationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerGetReferencesParams ¶ added in v0.10.0
type MitreControllerGetReferencesParams struct {
// List of MITRE's references IDs (separated by comma)
ReferenceIds *MitreReferenceIds `json:"reference_ids,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
}
MitreControllerGetReferencesParams defines parameters for MitreControllerGetReferences.
type MitreControllerGetReferencesResponse ¶ added in v0.10.0
type MitreControllerGetReferencesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersMitreControllerGetReferencesResponse ¶ added in v0.10.0
func ParseApiControllersMitreControllerGetReferencesResponse(rsp *http.Response) (*MitreControllerGetReferencesResponse, error)
ParseApiControllersMitreControllerGetReferencesResponse parses an HTTP response from a MitreControllerGetReferencesWithResponse call
func (MitreControllerGetReferencesResponse) Status ¶ added in v0.10.0
func (r MitreControllerGetReferencesResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetReferencesResponse) StatusCode ¶ added in v0.10.0
func (r MitreControllerGetReferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerGetSoftwareParams ¶ added in v0.10.0
type MitreControllerGetSoftwareParams struct {
// List of MITRE's software IDs (separated by comma)
SoftwareIds *MitreSoftwareIds `json:"software_ids,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
MitreControllerGetSoftwareParams defines parameters for MitreControllerGetSoftware.
type MitreControllerGetSoftwareResponse ¶ added in v0.10.0
type MitreControllerGetSoftwareResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersMitreControllerGetSoftwareResponse ¶ added in v0.10.0
func ParseApiControllersMitreControllerGetSoftwareResponse(rsp *http.Response) (*MitreControllerGetSoftwareResponse, error)
ParseApiControllersMitreControllerGetSoftwareResponse parses an HTTP response from a MitreControllerGetSoftwareWithResponse call
func (MitreControllerGetSoftwareResponse) Status ¶ added in v0.10.0
func (r MitreControllerGetSoftwareResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetSoftwareResponse) StatusCode ¶ added in v0.10.0
func (r MitreControllerGetSoftwareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerGetTacticsParams ¶ added in v0.10.0
type MitreControllerGetTacticsParams struct {
// List of MITRE's tactics IDs (separated by comma)
TacticIds *MitreTacticIds `json:"tactic_ids,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
MitreControllerGetTacticsParams defines parameters for MitreControllerGetTactics.
type MitreControllerGetTacticsResponse ¶ added in v0.10.0
type MitreControllerGetTacticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersMitreControllerGetTacticsResponse ¶ added in v0.10.0
func ParseApiControllersMitreControllerGetTacticsResponse(rsp *http.Response) (*MitreControllerGetTacticsResponse, error)
ParseApiControllersMitreControllerGetTacticsResponse parses an HTTP response from a MitreControllerGetTacticsWithResponse call
func (MitreControllerGetTacticsResponse) Status ¶ added in v0.10.0
func (r MitreControllerGetTacticsResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetTacticsResponse) StatusCode ¶ added in v0.10.0
func (r MitreControllerGetTacticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerGetTechniquesParams ¶ added in v0.10.0
type MitreControllerGetTechniquesParams struct {
// List of MITRE's techniques IDs (separated by comma)
TechniqueIds *MitreTechniqueIds `json:"technique_ids,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
MitreControllerGetTechniquesParams defines parameters for MitreControllerGetTechniques.
type MitreControllerGetTechniquesResponse ¶ added in v0.10.0
type MitreControllerGetTechniquesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersMitreControllerGetTechniquesResponse ¶ added in v0.10.0
func ParseApiControllersMitreControllerGetTechniquesResponse(rsp *http.Response) (*MitreControllerGetTechniquesResponse, error)
ParseApiControllersMitreControllerGetTechniquesResponse parses an HTTP response from a MitreControllerGetTechniquesWithResponse call
func (MitreControllerGetTechniquesResponse) Status ¶ added in v0.10.0
func (r MitreControllerGetTechniquesResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetTechniquesResponse) StatusCode ¶ added in v0.10.0
func (r MitreControllerGetTechniquesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerInterface ¶
type MitreControllerInterface interface {
GetGroups(params *MitreControllerGetGroupsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetMetadata(params *MitreControllerGetMetadataParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetMitigations(params *MitreControllerGetMitigationsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetReferences(params *MitreControllerGetReferencesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetSoftware(params *MitreControllerGetSoftwareParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetTactics(params *MitreControllerGetTacticsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetTechniques(params *MitreControllerGetTechniquesParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
}
MitreControllerInterface contains all methods for the wazuh controller api
type MitreGroupIds ¶ added in v0.10.0
type MitreGroupIds []MitreGroupId
MitreGroupIds defines model for mitre_group_ids.
type MitreMitigationIds ¶ added in v0.10.0
type MitreMitigationIds []MitreMitigationId
MitreMitigationIds defines model for mitre_mitigation_ids.
type MitreReferenceIds ¶ added in v0.10.0
type MitreReferenceIds []MitreReferenceId
MitreReferenceIds defines model for mitre_reference_ids.
type MitreSoftwareIds ¶ added in v0.10.0
type MitreSoftwareIds []MitreSoftwareId
MitreSoftwareIds defines model for mitre_software_ids.
type MitreTacticIds ¶ added in v0.10.0
type MitreTacticIds []MitreTacticId
MitreTacticIds defines model for mitre_tactic_ids.
type MitreTechniqueIds ¶ added in v0.10.0
type MitreTechniqueIds []MitreTechniqueId
MitreTechniqueIds defines model for mitre_technique_ids.
type N200DataEnabled ¶ added in v0.8.0
type N200DataEnabled bool
type N200DataNodeType ¶ added in v0.8.0
type N200DataNodeType string
type N200DataRunning ¶ added in v0.8.0
type N200DataRunning bool
type NetworkInterfaceReceivedPackets ¶
type NetworkInterfaceReceivedPackets struct {
// Number of bytes in the network interface
Bytes *int32 `json:"bytes,omitempty"`
// Number of dropped packages in the network interface
Dropped *int32 `json:"dropped,omitempty"`
// Number of packages containing any error in the network interface
Error *int32 `json:"error,omitempty"`
// Number of packages in the network interface
Packets *int32 `json:"packets,omitempty"`
}
Information related to received packets in the network interface
type NetworkInterfaceSentPackets ¶
type NetworkInterfaceSentPackets struct {
// Number of bytes in the network interface
Bytes *int32 `json:"bytes,omitempty"`
// Number of dropped packages in the network interface
Dropped *int32 `json:"dropped,omitempty"`
// Number of packages containing any error in the network interface
Error *int32 `json:"error,omitempty"`
// Number of packages in the network interface
Packets *int32 `json:"packets,omitempty"`
}
Information related to sent packets in the network interface
type NewVersions ¶ added in v1.1.5
type NewVersions struct {
// Current version in the format vX.Y.Z
CurrentVersion *string `json:"current_version,omitempty"`
// Information about the most recent available major update
LastAvailableMajor *struct {
Description *string `json:"description,omitempty"`
PublishedDate *string `json:"published_date,omitempty"`
Semver *struct {
Major *int32 `json:"major,omitempty"`
Minor *int32 `json:"minor,omitempty"`
Patch *int32 `json:"patch,omitempty"`
} `json:"semver,omitempty"`
// Version in the format vX.Y.Z
Tag *string `json:"tag,omitempty"`
Title *string `json:"title,omitempty"`
} `json:"last_available_major,omitempty"`
// Information about the most recent available minor update
LastAvailableMinor *struct {
Description *string `json:"description,omitempty"`
PublishedDate *string `json:"published_date,omitempty"`
Semver *struct {
Major *int32 `json:"major,omitempty"`
Minor *int32 `json:"minor,omitempty"`
Patch *int32 `json:"patch,omitempty"`
} `json:"semver,omitempty"`
// Version in the format vX.Y.Z
Tag *string `json:"tag,omitempty"`
Title *string `json:"title,omitempty"`
} `json:"last_available_minor,omitempty"`
// Information about the most recent available patch update
LastAvailablePatch *struct {
Description *string `json:"description,omitempty"`
PublishedDate *string `json:"published_date,omitempty"`
Semver *struct {
Major *int32 `json:"major,omitempty"`
Minor *int32 `json:"minor,omitempty"`
Patch *int32 `json:"patch,omitempty"`
} `json:"semver,omitempty"`
// Version in the format vX.Y.Z
Tag *string `json:"tag,omitempty"`
Title *string `json:"title,omitempty"`
} `json:"last_available_patch,omitempty"`
// Datetime of the last query to the CTI service
LastCheckDate *string `json:"last_check_date,omitempty"`
// Flag that indicates if the service is enabled
UpdateCheck *bool `json:"update_check,omitempty"`
// Identifier of the Wazuh instance
Uuid *string `json:"uuid,omitempty"`
}
NewVersions defines model for NewVersions.
type NodeHealthcheck ¶
type NodeHealthcheck struct {
Name *struct {
Info *struct {
Info *struct {
// Embedded struct due to allOf(#/components/schemas/ClusterNodeBasic)
ClusterNodeBasic `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Number of agents currently reporting to that node
TotalActiveAgents *int32 `json:"totalActiveAgents,omitempty"`
} `json:"info,omitempty"`
// Node ID
Name *ClusterNodeName `json:"name,omitempty"`
} `json:"info,omitempty"`
Status *struct {
LastKeepAlive *string `json:"last_keep_alive,omitempty"`
LastSyncAgentGroups *struct {
DateEndMaster *string `json:"date_end_master,omitempty"`
DateStartMaster *string `json:"date_start_master,omitempty"`
TotalAgentgroups *int32 `json:"total_agentgroups,omitempty"`
} `json:"last_sync_agent_groups,omitempty"`
LastSyncAgentinfo *struct {
DateEndMaster *string `json:"date_end_master,omitempty"`
DateStartMaster *string `json:"date_start_master,omitempty"`
NSyncedChunks *int32 `json:"n_synced_chunks,omitempty"`
} `json:"last_sync_agentinfo,omitempty"`
LastSyncIntegrity *struct {
DateEndMaster *string `json:"date_end_master,omitempty"`
DateStartMaster *string `json:"date_start_master,omitempty"`
TotalFiles *struct {
Extra *int32 `json:"extra,omitempty"`
ExtraValid *int32 `json:"extra_valid,omitempty"`
Missing *int32 `json:"missing,omitempty"`
Shared *int32 `json:"shared,omitempty"`
} `json:"total_files,omitempty"`
} `json:"last_sync_integrity,omitempty"`
SyncAgentInfoFree *bool `json:"sync_agent_info_free,omitempty"`
SyncIntegrityFree *bool `json:"sync_integrity_free,omitempty"`
} `json:"status,omitempty"`
} `json:"name,omitempty"`
}
NodeHealthcheck defines model for NodeHealthcheck.
type NodeRulesetSyncStatus ¶ added in v1.1.5
type NodeRulesetSyncStatus struct {
// Node name
Name *string `json:"name,omitempty"`
// Whether the ruleset is synchronized or not
Synced *bool `json:"synced,omitempty"`
}
NodeRulesetSyncStatus defines model for NodeRulesetSyncStatus.
type OverviewAgents ¶
type OverviewAgents struct {
// Recount of the number of Wazuh agents group by OS
AgentOs []struct {
Count *int32 `json:"count,omitempty"`
Os *struct {
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"os,omitempty"`
} `json:"agent_os"`
AgentStatus AgentsSummaryStatus `json:"agent_status"`
// Recount of the number of Wazuh agents group by version
AgentVersion []struct {
Count *int32 `json:"count,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"agent_version"`
// Recount of the number of Wazuh agents group by Wazuh groups
Groups []AgentGroup `json:"groups"`
LastRegisteredAgent []Agent `json:"last_registered_agent"`
// Active nodes in the cluster
Nodes []struct {
Count *int32 `json:"count,omitempty"`
NodeName *string `json:"node_name,omitempty"`
} `json:"nodes"`
}
OverviewAgents defines model for OverviewAgents.
type OverviewController ¶
type OverviewController struct {
*ClientWithResponses
}
OverviewController implementation of the OverviewController interface
func (*OverviewController) GetOverviewAgents ¶
func (c *OverviewController) GetOverviewAgents(params *OverviewControllerGetOverviewAgentsParams, reqEditors ...RequestEditorFn) (*OverviewAgents, error)
GetOverviewAgents calls the Overview controller´s function
type OverviewControllerGetOverviewAgentsParams ¶
type OverviewControllerGetOverviewAgentsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
OverviewControllerGetOverviewAgentsParams defines parameters for OverviewControllerGetOverviewAgents.
type OverviewControllerGetOverviewAgentsResponse ¶
type OverviewControllerGetOverviewAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *OverviewAgents `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersOverviewControllerGetOverviewAgentsResponse ¶ added in v0.8.0
func ParseApiControllersOverviewControllerGetOverviewAgentsResponse(rsp *http.Response) (*OverviewControllerGetOverviewAgentsResponse, error)
ParseApiControllersOverviewControllerGetOverviewAgentsResponse parses an HTTP response from a OverviewControllerGetOverviewAgentsWithResponse call
func (OverviewControllerGetOverviewAgentsResponse) Status ¶
func (r OverviewControllerGetOverviewAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (OverviewControllerGetOverviewAgentsResponse) StatusCode ¶
func (r OverviewControllerGetOverviewAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OverviewControllerInterface ¶
type OverviewControllerInterface interface {
GetOverviewAgents(params *OverviewControllerGetOverviewAgentsParams, reqEditors ...RequestEditorFn) (*OverviewAgents, error)
}
OverviewControllerInterface contains all methods for the wazuh controller api
type PermissionDeniedResponse ¶
type PermissionDeniedResponse ApiError
PermissionDeniedResponse defines model for PermissionDeniedResponse.
type PoliciesRequest ¶
type PoliciesRequest struct {
// Policy name
Name string `json:"name"`
// New policy definition
Policy struct {
// Actions to perform
Actions []string `json:"actions"`
// Effect of the policy
Effect string `json:"effect"`
// Resources to apply the actions on
Resources []string `json:"resources"`
} `json:"policy"`
}
PoliciesRequest defines model for PoliciesRequest.
type PoliciesRequestNoRequired ¶
type PoliciesRequestNoRequired struct {
// Policy name
Name *string `json:"name,omitempty"`
// New policy definition
Policy *struct {
// Actions to perform
Actions []string `json:"actions"`
// Effect of the policy
Effect string `json:"effect"`
// Resources to apply the actions on
Resources []string `json:"resources"`
} `json:"policy,omitempty"`
}
PoliciesRequestNoRequired defines model for PoliciesRequest_no_required.
type PoliciesResponse ¶
type PoliciesResponse struct {
// Policy id
Id *int `json:"id,omitempty"`
// Policy name
Name *string `json:"name,omitempty"`
// New policy definition
Policy *struct {
// Actions to perform
Actions *[]string `json:"actions,omitempty"`
// Effect of the policy
Effect *string `json:"effect,omitempty"`
// Resources to apply the actions on
Resources *[]string `json:"resources,omitempty"`
} `json:"policy,omitempty"`
}
PoliciesResponse defines model for PoliciesResponse.
type PolicyIdsRbacDelete ¶
type PolicyIdsRbacDelete []PolicyIdDELETE
PolicyIdsRbacDelete defines model for policy_ids_rbac_delete.
type PolicyIdsRbacRequired ¶
type PolicyIdsRbacRequired []PolicyId
PolicyIdsRbacRequired defines model for policy_ids_rbac_required.
type RawAPIResponse ¶
RawAPIResponse generic response wrapper
type RemotePortInfo ¶
type RemotePortInfo struct {
// Bind IP
Ip *string `json:"ip,omitempty"`
// Port used
Port *int32 `json:"port,omitempty"`
}
Information regarding the remote port the machine is connected to
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestError ¶
type RequestError struct {
RequestDetail string `json:"detail"`
RequestError *int32 `json:"error,omitempty"`
RequestTitle string `json:"title"`
// Explain how to fix the check, this field is very useful in case the check failed
Remediation *string `json:"remediation,omitempty"`
}
RequestError defines model for RequestError.
func (*RequestError) Error ¶
func (e *RequestError) Error() string
type RequestTooLargeResponse ¶
type RequestTooLargeResponse RequestError
RequestTooLargeResponse defines model for RequestTooLargeResponse.
type ResourceList ¶
type ResourceList string
ResourceList defines model for resource_list.
const (
ListFile ResourceList = "list:file"
)
Defines values for ResourceList.
type ResourceNotFoundResponse ¶
type ResourceNotFoundResponse ApiError
ResourceNotFoundResponse defines model for ResourceNotFoundResponse.
type RoleIdsDelete ¶
type RoleIdsDelete []RoleIdDELETE
RoleIdsDelete defines model for role_ids_delete.
type RoleIdsRequired ¶
type RoleIdsRequired []RoleIdDELETE
RoleIdsRequired defines model for role_ids_required.
type RolesRequest ¶
type RolesRequest struct {
// Role name
Name string `json:"name"`
}
RolesRequest defines model for RolesRequest.
type RolesRequestNoRequired ¶
type RolesRequestNoRequired struct {
// Role name
Name *string `json:"name,omitempty"`
}
RolesRequestNoRequired defines model for RolesRequest_no_required.
type RolesResponse ¶
type RolesResponse struct {
// Role id
Id *int `json:"id,omitempty"`
// Role name
Name *string `json:"name,omitempty"`
// Role rule
Rule *map[string]any `json:"rule,omitempty"`
}
RolesResponse defines model for RolesResponse.
type RootcheckController ¶ added in v0.8.0
type RootcheckController struct {
*ClientWithResponses
}
RootcheckController implementation of the RootcheckController interface
func (*RootcheckController) DeleteRootcheck ¶ added in v0.8.0
func (c *RootcheckController) DeleteRootcheck(arg1 AgentId, params *RootcheckControllerDeleteRootcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
DeleteRootcheck calls the Rootcheck controller´s function
func (*RootcheckController) GetLastScanAgent ¶ added in v0.8.0
func (c *RootcheckController) GetLastScanAgent(arg1 AgentId, params *RootcheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetLastScanAgent calls the Rootcheck controller´s function
func (*RootcheckController) GetRootcheckAgent ¶ added in v0.8.0
func (c *RootcheckController) GetRootcheckAgent(arg1 AgentId, params *RootcheckControllerGetRootcheckAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetRootcheckAgent calls the Rootcheck controller´s function
func (*RootcheckController) PutRootcheck ¶ added in v0.8.0
func (c *RootcheckController) PutRootcheck(params *RootcheckControllerPutRootcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
PutRootcheck calls the Rootcheck controller´s function
type RootcheckControllerDeleteRootcheckParams ¶ added in v0.8.0
type RootcheckControllerDeleteRootcheckParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
RootcheckControllerDeleteRootcheckParams defines parameters for RootcheckControllerDeleteRootcheck.
type RootcheckControllerDeleteRootcheckResponse ¶ added in v0.8.0
type RootcheckControllerDeleteRootcheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRootcheckControllerDeleteRootcheckResponse ¶ added in v0.8.0
func ParseApiControllersRootcheckControllerDeleteRootcheckResponse(rsp *http.Response) (*RootcheckControllerDeleteRootcheckResponse, error)
ParseApiControllersRootcheckControllerDeleteRootcheckResponse parses an HTTP response from a RootcheckControllerDeleteRootcheckWithResponse call
func (RootcheckControllerDeleteRootcheckResponse) Status ¶ added in v0.8.0
func (r RootcheckControllerDeleteRootcheckResponse) Status() string
Status returns HTTPResponse.Status
func (RootcheckControllerDeleteRootcheckResponse) StatusCode ¶ added in v0.8.0
func (r RootcheckControllerDeleteRootcheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RootcheckControllerGetLastScanAgentParams ¶ added in v0.8.0
type RootcheckControllerGetLastScanAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
RootcheckControllerGetLastScanAgentParams defines parameters for RootcheckControllerGetLastScanAgent.
type RootcheckControllerGetLastScanAgentResponse ¶ added in v0.8.0
type RootcheckControllerGetLastScanAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRootcheckControllerGetLastScanAgentResponse ¶ added in v0.8.0
func ParseApiControllersRootcheckControllerGetLastScanAgentResponse(rsp *http.Response) (*RootcheckControllerGetLastScanAgentResponse, error)
ParseApiControllersRootcheckControllerGetLastScanAgentResponse parses an HTTP response from a RootcheckControllerGetLastScanAgentWithResponse call
func (RootcheckControllerGetLastScanAgentResponse) Status ¶ added in v0.8.0
func (r RootcheckControllerGetLastScanAgentResponse) Status() string
Status returns HTTPResponse.Status
func (RootcheckControllerGetLastScanAgentResponse) StatusCode ¶ added in v0.8.0
func (r RootcheckControllerGetLastScanAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RootcheckControllerGetRootcheckAgentParams ¶ added in v0.8.0
type RootcheckControllerGetRootcheckAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
// Filter by status
Status *Status `json:"status,omitempty"`
// Filter by PCI_DSS requirement name
PciDss *PciDss `json:"pci_dss,omitempty"`
// Filter by CIS requirement
Cis *Cis `json:"cis,omitempty"`
}
RootcheckControllerGetRootcheckAgentParams defines parameters for RootcheckControllerGetRootcheckAgent.
type RootcheckControllerGetRootcheckAgentResponse ¶ added in v0.8.0
type RootcheckControllerGetRootcheckAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRootcheckControllerGetRootcheckAgentResponse ¶ added in v0.8.0
func ParseApiControllersRootcheckControllerGetRootcheckAgentResponse(rsp *http.Response) (*RootcheckControllerGetRootcheckAgentResponse, error)
ParseApiControllersRootcheckControllerGetRootcheckAgentResponse parses an HTTP response from a RootcheckControllerGetRootcheckAgentWithResponse call
func (RootcheckControllerGetRootcheckAgentResponse) Status ¶ added in v0.8.0
func (r RootcheckControllerGetRootcheckAgentResponse) Status() string
Status returns HTTPResponse.Status
func (RootcheckControllerGetRootcheckAgentResponse) StatusCode ¶ added in v0.8.0
func (r RootcheckControllerGetRootcheckAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RootcheckControllerInterface ¶ added in v0.8.0
type RootcheckControllerInterface interface {
DeleteRootcheck(arg1 AgentId, params *RootcheckControllerDeleteRootcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetLastScanAgent(arg1 AgentId, params *RootcheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetRootcheckAgent(arg1 AgentId, params *RootcheckControllerGetRootcheckAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
PutRootcheck(params *RootcheckControllerPutRootcheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
}
RootcheckControllerInterface contains all methods for the wazuh controller api
type RootcheckControllerPutRootcheckParams ¶ added in v0.8.0
type RootcheckControllerPutRootcheckParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
}
RootcheckControllerPutRootcheckParams defines parameters for RootcheckControllerPutRootcheck.
type RootcheckControllerPutRootcheckResponse ¶ added in v0.8.0
type RootcheckControllerPutRootcheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRootcheckControllerPutRootcheckResponse ¶ added in v0.8.0
func ParseApiControllersRootcheckControllerPutRootcheckResponse(rsp *http.Response) (*RootcheckControllerPutRootcheckResponse, error)
ParseApiControllersRootcheckControllerPutRootcheckResponse parses an HTTP response from a RootcheckControllerPutRootcheckWithResponse call
func (RootcheckControllerPutRootcheckResponse) Status ¶ added in v0.8.0
func (r RootcheckControllerPutRootcheckResponse) Status() string
Status returns HTTPResponse.Status
func (RootcheckControllerPutRootcheckResponse) StatusCode ¶ added in v0.8.0
func (r RootcheckControllerPutRootcheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Rule ¶
type Rule struct {
// Embedded struct due to allOf(#/components/schemas/RuleFile)
RuleFile `yaml:",inline"`
// Embedded fields due to inline allOf schema
// Rule description. This description is shown when an alert matching the rule is raised
Description *string `json:"description,omitempty"`
// Rule definition details
Details *map[string]any `json:"details,omitempty"`
// GDPR checks the rule is checking
Gdpr *[]string `json:"gdpr,omitempty"`
// GPG13 checks the rule is checking
Gpg13 *[]string `json:"gpg13,omitempty"`
// Groups the rule belongs to
Groups *[]string `json:"groups,omitempty"`
// HIPAA checks the rule is checking
Hipaa *[]string `json:"hipaa,omitempty"`
// Rule ID
Id *int32 `json:"id,omitempty"`
// Rule level
Level *int32 `json:"level,omitempty"`
// NIST-800-53 checks the rule is checking
Nist80053 *[]string `json:"nist-800-53,omitempty"`
// PCI DSS checks the rule is checking
Pci *[]string `json:"pci,omitempty"`
// TSC checks the rule is checking
Tsc *[]string `json:"tsc,omitempty"`
}
Rule defines model for Rule.
type RuleController ¶ added in v0.8.0
type RuleController struct {
*ClientWithResponses
}
RuleController implementation of the RuleController interface
func (*RuleController) DeleteFile ¶ added in v0.8.0
func (c *RuleController) DeleteFile(arg1 XmlFilenamePath, params *RuleControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
DeleteFile calls the Rule controller´s function
func (*RuleController) GetFile ¶ added in v0.8.0
func (c *RuleController) GetFile(arg1 XmlFilenamePath, params *RuleControllerGetFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetFile calls the Rule controller´s function
func (*RuleController) GetRules ¶ added in v0.8.0
func (c *RuleController) GetRules(params *RuleControllerGetRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRules, error)
GetRules calls the Rule controller´s function
func (*RuleController) GetRulesFiles ¶ added in v0.8.0
func (c *RuleController) GetRulesFiles(params *RuleControllerGetRulesFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRulesFiles, error)
GetRulesFiles calls the Rule controller´s function
func (*RuleController) GetRulesGroups ¶ added in v0.8.0
func (c *RuleController) GetRulesGroups(params *RuleControllerGetRulesGroupsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetRulesGroups calls the Rule controller´s function
func (*RuleController) GetRulesRequirement ¶ added in v0.8.0
func (c *RuleController) GetRulesRequirement(arg1 RuleControllerGetRulesRequirementParamsRequirement, params *RuleControllerGetRulesRequirementParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetRulesRequirement calls the Rule controller´s function
func (*RuleController) PutFileWithBody ¶ added in v0.8.0
func (c *RuleController) PutFileWithBody(arg1 XmlFilenamePath, params *RuleControllerPutFileParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
PutFileWithBody calls the Rule controller´s function
type RuleControllerDeleteFileParams ¶ added in v0.8.0
type RuleControllerDeleteFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
}
RuleControllerDeleteFileParams defines parameters for RuleControllerDeleteFile.
type RuleControllerDeleteFileResponse ¶ added in v0.8.0
type RuleControllerDeleteFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRuleControllerDeleteFileResponse ¶ added in v0.8.0
func ParseApiControllersRuleControllerDeleteFileResponse(rsp *http.Response) (*RuleControllerDeleteFileResponse, error)
ParseApiControllersRuleControllerDeleteFileResponse parses an HTTP response from a RuleControllerDeleteFileWithResponse call
func (RuleControllerDeleteFileResponse) Status ¶ added in v0.8.0
func (r RuleControllerDeleteFileResponse) Status() string
Status returns HTTPResponse.Status
func (RuleControllerDeleteFileResponse) StatusCode ¶ added in v0.8.0
func (r RuleControllerDeleteFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleControllerGetFileParams ¶ added in v0.8.0
type RuleControllerGetFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
}
RuleControllerGetFileParams defines parameters for RuleControllerGetFile.
type RuleControllerGetFileResponse ¶ added in v0.8.0
type RuleControllerGetFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
XML200 *string
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRuleControllerGetFileResponse ¶ added in v0.8.0
func ParseApiControllersRuleControllerGetFileResponse(rsp *http.Response) (*RuleControllerGetFileResponse, error)
ParseApiControllersRuleControllerGetFileResponse parses an HTTP response from a RuleControllerGetFileWithResponse call
func (RuleControllerGetFileResponse) Status ¶ added in v0.8.0
func (r RuleControllerGetFileResponse) Status() string
Status returns HTTPResponse.Status
func (RuleControllerGetFileResponse) StatusCode ¶ added in v0.8.0
func (r RuleControllerGetFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleControllerGetRulesFilesParams ¶ added in v0.8.0
type RuleControllerGetRulesFilesParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
// Filter by filename of one or more rule or decoder files.
Filename *XmlFilename `json:"filename,omitempty"`
// Filter by list status. Use commas to enter multiple statuses
Status *RuleControllerGetRulesFilesParamsStatus `json:"status,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
RuleControllerGetRulesFilesParams defines parameters for RuleControllerGetRulesFiles.
type RuleControllerGetRulesFilesParamsStatus ¶ added in v0.8.0
type RuleControllerGetRulesFilesParamsStatus string
RuleControllerGetRulesFilesParamsStatus defines parameters for RuleControllerGetRulesFiles.
type RuleControllerGetRulesFilesResponse ¶ added in v0.8.0
type RuleControllerGetRulesFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRulesFiles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRuleControllerGetRulesFilesResponse ¶ added in v0.8.0
func ParseApiControllersRuleControllerGetRulesFilesResponse(rsp *http.Response) (*RuleControllerGetRulesFilesResponse, error)
ParseApiControllersRuleControllerGetRulesFilesResponse parses an HTTP response from a RuleControllerGetRulesFilesWithResponse call
func (RuleControllerGetRulesFilesResponse) Status ¶ added in v0.8.0
func (r RuleControllerGetRulesFilesResponse) Status() string
Status returns HTTPResponse.Status
func (RuleControllerGetRulesFilesResponse) StatusCode ¶ added in v0.8.0
func (r RuleControllerGetRulesFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleControllerGetRulesGroupsParams ¶ added in v0.8.0
type RuleControllerGetRulesGroupsParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
}
RuleControllerGetRulesGroupsParams defines parameters for RuleControllerGetRulesGroups.
type RuleControllerGetRulesGroupsResponse ¶ added in v0.8.0
type RuleControllerGetRulesGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRuleControllerGetRulesGroupsResponse ¶ added in v0.8.0
func ParseApiControllersRuleControllerGetRulesGroupsResponse(rsp *http.Response) (*RuleControllerGetRulesGroupsResponse, error)
ParseApiControllersRuleControllerGetRulesGroupsResponse parses an HTTP response from a RuleControllerGetRulesGroupsWithResponse call
func (RuleControllerGetRulesGroupsResponse) Status ¶ added in v0.8.0
func (r RuleControllerGetRulesGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (RuleControllerGetRulesGroupsResponse) StatusCode ¶ added in v0.8.0
func (r RuleControllerGetRulesGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleControllerGetRulesParams ¶ added in v0.8.0
type RuleControllerGetRulesParams struct {
// List of rule IDs
RuleIds *RuleIds `json:"rule_ids,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Filter by list status. Use commas to enter multiple statuses
Status *RuleControllerGetRulesParamsStatus `json:"status,omitempty"`
// Filter by rule group
Group *Group `json:"group,omitempty"`
// Filter by rule level. Can be a single level (4) or an interval (2-4)
Level *Level `json:"level,omitempty"`
// Filter by filename
Filename *Filename `json:"filename,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
// Filter by PCI_DSS requirement name
PciDss *PciDss `json:"pci_dss,omitempty"`
// Filter by GDPR requirement
Gdpr *Gdpr `json:"gdpr,omitempty"`
// Filter by GPG13 requirement
Gpg13 *Gpg13 `json:"gpg13,omitempty"`
// Filter by HIPAA requirement
Hipaa *Hipaa `json:"hipaa,omitempty"`
// Filter by NIST-800-53 requirement
Nist80053 *Nist80053 `json:"nist-800-53,omitempty"`
// Filters by TSC requirement
Tsc *Tsc `json:"tsc,omitempty"`
// Filters by MITRE technique ID
Mitre *Mitre `json:"mitre,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
RuleControllerGetRulesParams defines parameters for RuleControllerGetRules.
type RuleControllerGetRulesParamsStatus ¶ added in v0.8.0
type RuleControllerGetRulesParamsStatus string
RuleControllerGetRulesParamsStatus defines parameters for RuleControllerGetRules.
type RuleControllerGetRulesRequirementParams ¶ added in v0.8.0
type RuleControllerGetRulesRequirementParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
}
RuleControllerGetRulesRequirementParams defines parameters for RuleControllerGetRulesRequirement.
type RuleControllerGetRulesRequirementParamsRequirement ¶ added in v0.8.0
type RuleControllerGetRulesRequirementParamsRequirement string
RuleControllerGetRulesRequirementParamsRequirement defines parameters for RuleControllerGetRulesRequirement.
type RuleControllerGetRulesRequirementResponse ¶ added in v0.8.0
type RuleControllerGetRulesRequirementResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRuleControllerGetRulesRequirementResponse ¶ added in v0.8.0
func ParseApiControllersRuleControllerGetRulesRequirementResponse(rsp *http.Response) (*RuleControllerGetRulesRequirementResponse, error)
ParseApiControllersRuleControllerGetRulesRequirementResponse parses an HTTP response from a RuleControllerGetRulesRequirementWithResponse call
func (RuleControllerGetRulesRequirementResponse) Status ¶ added in v0.8.0
func (r RuleControllerGetRulesRequirementResponse) Status() string
Status returns HTTPResponse.Status
func (RuleControllerGetRulesRequirementResponse) StatusCode ¶ added in v0.8.0
func (r RuleControllerGetRulesRequirementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleControllerGetRulesResponse ¶ added in v0.8.0
type RuleControllerGetRulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRules `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRuleControllerGetRulesResponse ¶ added in v0.8.0
func ParseApiControllersRuleControllerGetRulesResponse(rsp *http.Response) (*RuleControllerGetRulesResponse, error)
ParseApiControllersRuleControllerGetRulesResponse parses an HTTP response from a RuleControllerGetRulesWithResponse call
func (RuleControllerGetRulesResponse) Status ¶ added in v0.8.0
func (r RuleControllerGetRulesResponse) Status() string
Status returns HTTPResponse.Status
func (RuleControllerGetRulesResponse) StatusCode ¶ added in v0.8.0
func (r RuleControllerGetRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleControllerInterface ¶ added in v0.8.0
type RuleControllerInterface interface {
DeleteFile(arg1 XmlFilenamePath, params *RuleControllerDeleteFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetFile(arg1 XmlFilenamePath, params *RuleControllerGetFileParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetRulesFiles(params *RuleControllerGetRulesFilesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRulesFiles, error)
GetRulesGroups(params *RuleControllerGetRulesGroupsParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetRulesRequirement(arg1 RuleControllerGetRulesRequirementParamsRequirement, params *RuleControllerGetRulesRequirementParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetRules(params *RuleControllerGetRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRules, error)
PutFileWithBody(arg1 XmlFilenamePath, params *RuleControllerPutFileParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
}
RuleControllerInterface contains all methods for the wazuh controller api
type RuleControllerPutFileParams ¶ added in v0.8.0
type RuleControllerPutFileParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// If set to false, an exception will be raised when updating contents of an already existing filename
Overwrite *Overwrite `json:"overwrite,omitempty"`
// Filter by relative directory name
RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"`
}
RuleControllerPutFileParams defines parameters for RuleControllerPutFile.
type RuleControllerPutFileResponse ¶ added in v0.8.0
type RuleControllerPutFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersRuleControllerPutFileResponse ¶ added in v0.8.0
func ParseApiControllersRuleControllerPutFileResponse(rsp *http.Response) (*RuleControllerPutFileResponse, error)
ParseApiControllersRuleControllerPutFileResponse parses an HTTP response from a RuleControllerPutFileWithResponse call
func (RuleControllerPutFileResponse) Status ¶ added in v0.8.0
func (r RuleControllerPutFileResponse) Status() string
Status returns HTTPResponse.Status
func (RuleControllerPutFileResponse) StatusCode ¶ added in v0.8.0
func (r RuleControllerPutFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RuleFile ¶
type RuleFile struct {
// Embedded struct due to allOf(#/components/schemas/RulesetFile)
RulesetFile `yaml:",inline"`
// Embedded struct due to allOf(#/components/schemas/RulesetStatus)
RulesetStatus `yaml:",inline"`
}
RuleFile defines model for RuleFile.
type RuleRequirement ¶
type RuleRequirement string
RuleRequirement defines model for rule_requirement.
type RulesetFile ¶
type RulesetFile struct {
// Name of the file
Filename *string `json:"filename,omitempty"`
// Folder path where the file is located. This path is relative to the Wazuh installation path
RelativeDirname *string `json:"relative_dirname,omitempty"`
}
RulesetFile defines model for RulesetFile.
type RulesetStatus ¶
type RulesetStatus struct {
// Whether the specified ruleset file is enabled or disabled in Wazuh manager configuration
Status *RulesetStatusStatus `json:"status,omitempty"`
}
RulesetStatus defines model for RulesetStatus.
type RulesetStatusStatus ¶ added in v0.8.0
type RulesetStatusStatus string
Whether the specified ruleset file is enabled or disabled in Wazuh manager configuration
const ( RulesetStatusStatusDisabled RulesetStatusStatus = "disabled" RulesetStatusStatusEnabled RulesetStatusStatus = "enabled" )
Defines values for RulesetStatusStatus.
type SCAChecks ¶
type SCAChecks struct {
// Specify how rule results are aggregated in order to calculate the final value of a check
Condition *SCAChecksCondition `json:"condition,omitempty"`
// A description of what is being checked
Description *string `json:"description,omitempty"`
// Analyzed directories
Directory *string `json:"directory,omitempty"`
// Analyzed file path
File *string `json:"file,omitempty"`
// Policy check ID. A policy contains multiple checks
Id *int32 `json:"id,omitempty"`
// Scanned policy ID
PolicyId *string `json:"policy_id,omitempty"`
// Check whether a process is running or not. It's only returned when the checked process is running
Process *string `json:"process,omitempty"`
// Explain why this check is necessary
Rationale *string `json:"rationale,omitempty"`
// A link to a documentation page about the check
References *string `json:"references,omitempty"`
// Analyzed registry
Registry *string `json:"registry,omitempty"`
// Explain how to fix the check, this field is very useful in case the check failed
Remediation *string `json:"remediation,omitempty"`
// Check result
Result *SCAChecksResult `json:"result,omitempty"`
// A brief description of what is being checked
Title *string `json:"title,omitempty"`
}
SCAChecks defines model for SCAChecks.
type SCAChecksCondition ¶ added in v0.8.0
type SCAChecksCondition string
Specify how rule results are aggregated in order to calculate the final value of a check
const ( SCAChecksConditionAll SCAChecksCondition = "all" SCAChecksConditionAny SCAChecksCondition = "any" SCAChecksConditionNone SCAChecksCondition = "none" )
Defines values for SCAChecksCondition.
type SCAChecksResult ¶ added in v0.8.0
type SCAChecksResult string
Check result
const ( SCAChecksResultEmpty SCAChecksResult = "" SCAChecksResultFailed SCAChecksResult = "failed" SCAChecksResultPassed SCAChecksResult = "passed" )
Defines values for SCAChecksResult.
type SCADatabase ¶
type SCADatabase struct {
// Brief description of what the policy is checking
Description *string `json:"description,omitempty"`
// When the last scan finished
EndScan *time.Time `json:"end_scan,omitempty"`
// Number of failed checks. If this number is higher than 0 the host has a vulnerability
Fail *int32 `json:"fail,omitempty"`
// Policy name
Name *string `json:"name,omitempty"`
// Number of passed checks
Pass *int32 `json:"pass,omitempty"`
// Policy ID
PolicyId *string `json:"policy_id,omitempty"`
// A link to a documentation page about the policy
References *string `json:"references,omitempty"`
// Percentage of passed checks
Score *int32 `json:"score,omitempty"`
// When the last scan started
StartScan *time.Time `json:"start_scan,omitempty"`
}
SCADatabase defines model for SCADatabase.
type ScaController ¶
type ScaController struct {
*ClientWithResponses
}
ScaController implementation of the ScaController interface
func (*ScaController) GetScaAgent ¶
func (c *ScaController) GetScaAgent(arg1 AgentId, params *ScaControllerGetScaAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSCADatabase, error)
GetScaAgent calls the Sca controller´s function
func (*ScaController) GetScaChecks ¶
func (c *ScaController) GetScaChecks(arg1 AgentId, arg2 PolicyId, params *ScaControllerGetScaChecksParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSCAChecks, error)
GetScaChecks calls the Sca controller´s function
type ScaControllerGetScaAgentParams ¶
type ScaControllerGetScaAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Filter by policy name
Name *ScaName `json:"name,omitempty"`
// Filter by policy description
Description *Description `json:"description,omitempty"`
// Filter by references
References *References `json:"references,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
ScaControllerGetScaAgentParams defines parameters for ScaControllerGetScaAgent.
type ScaControllerGetScaAgentResponse ¶
type ScaControllerGetScaAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSCADatabase `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersScaControllerGetScaAgentResponse ¶ added in v0.8.0
func ParseApiControllersScaControllerGetScaAgentResponse(rsp *http.Response) (*ScaControllerGetScaAgentResponse, error)
ParseApiControllersScaControllerGetScaAgentResponse parses an HTTP response from a ScaControllerGetScaAgentWithResponse call
func (ScaControllerGetScaAgentResponse) Status ¶
func (r ScaControllerGetScaAgentResponse) Status() string
Status returns HTTPResponse.Status
func (ScaControllerGetScaAgentResponse) StatusCode ¶
func (r ScaControllerGetScaAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaControllerGetScaChecksParams ¶
type ScaControllerGetScaChecksParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Filter by title
Title *Title `json:"title,omitempty"`
// Filter by policy description
Description *Description `json:"description,omitempty"`
// Filter by rationale
Rationale *Rationale `json:"rationale,omitempty"`
// Filter by remediation
Remediation *Remediation `json:"remediation,omitempty"`
// Filter by command
Command *Command `json:"command,omitempty"`
// Filter by status
Status *Status `json:"status,omitempty"`
// Filter by reason
Reason *Reason `json:"reason,omitempty"`
// Filter by full path
File *FullPathFilter `json:"file,omitempty"`
// Filter by process name
Process *Process `json:"process,omitempty"`
// Filter by directory
Directory *Directory `json:"directory,omitempty"`
// Filter by registry
Registry *Registry `json:"registry,omitempty"`
// Filter by references
References *References `json:"references,omitempty"`
// Filter by result
Result *Result `json:"result,omitempty"`
// Filter by condition
Condition *Condition `json:"condition,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
ScaControllerGetScaChecksParams defines parameters for ScaControllerGetScaChecks.
type ScaControllerGetScaChecksResponse ¶
type ScaControllerGetScaChecksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSCAChecks `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersScaControllerGetScaChecksResponse ¶ added in v0.8.0
func ParseApiControllersScaControllerGetScaChecksResponse(rsp *http.Response) (*ScaControllerGetScaChecksResponse, error)
ParseApiControllersScaControllerGetScaChecksResponse parses an HTTP response from a ScaControllerGetScaChecksWithResponse call
func (ScaControllerGetScaChecksResponse) Status ¶
func (r ScaControllerGetScaChecksResponse) Status() string
Status returns HTTPResponse.Status
func (ScaControllerGetScaChecksResponse) StatusCode ¶
func (r ScaControllerGetScaChecksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaControllerInterface ¶
type ScaControllerInterface interface {
GetScaAgent(arg1 AgentId, params *ScaControllerGetScaAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSCADatabase, error)
GetScaChecks(arg1 AgentId, arg2 PolicyId, params *ScaControllerGetScaChecksParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSCAChecks, error)
}
ScaControllerInterface contains all methods for the wazuh controller api
type ScanIdTime ¶
type ScanIdTime struct {
// Scan ID
Id *int64 `json:"id,omitempty"`
// Date when the scan was performed
Time *time.Time `json:"time,omitempty"`
}
ScanIdTime defines model for ScanIdTime.
type Section ¶
type Section string
Section defines model for section.
const ( ActiveResponse Section = "active-response" AgentKeyPolling Section = "agent-key-polling" Agentless Section = "agentless" Alerts Section = "alerts" Auth Section = "auth" AwsS3 Section = "aws-s3" AzureLogs Section = "azure-logs" CisCat Section = "cis-cat" ClientBuffer Section = "client_buffer" Cluster Section = "cluster" DatabaseOutput Section = "database_output" DockerListener Section = "docker-listener" EmailAlerts Section = "email_alerts" Global Section = "global" Integration Section = "integration" Labels Section = "labels" Localfile Section = "localfile" Logging Section = "logging" OpenScap Section = "open-scap" Osquery Section = "osquery" Remote Section = "remote" Reports Section = "reports" Ruleset Section = "ruleset" Syscollector Section = "syscollector" SyslogOutput Section = "syslog_output" VulnerabilityDetector Section = "vulnerability-detector" )
Defines values for Section.
type SecurityConfiguration ¶
type SecurityConfiguration struct {
// Time in seconds until the token expires
AuthTokenExpTimeout *int32 `json:"auth_token_exp_timeout,omitempty"`
// RBAC mode (white/black)
RbacMode *SecurityConfigurationRbacMode `json:"rbac_mode,omitempty"`
}
SecurityConfiguration defines model for SecurityConfiguration.
type SecurityConfigurationRbacMode ¶ added in v0.8.0
type SecurityConfigurationRbacMode string
RBAC mode (white/black)
const ( SecurityConfigurationRbacModeBlack SecurityConfigurationRbacMode = "black" SecurityConfigurationRbacModeWhite SecurityConfigurationRbacMode = "white" )
Defines values for SecurityConfigurationRbacMode.
type SecurityController ¶
type SecurityController struct {
*ClientWithResponses
}
SecurityController implementation of the SecurityController interface
func (*SecurityController) AddPolicy ¶
func (c *SecurityController) AddPolicy(params *SecurityControllerAddPolicyParams, arg2 SecurityControllerAddPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
AddPolicy calls the Security controller´s function
func (*SecurityController) AddPolicyWithBody ¶
func (c *SecurityController) AddPolicyWithBody(params *SecurityControllerAddPolicyParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
AddPolicyWithBody calls the Security controller´s function
func (*SecurityController) AddRole ¶
func (c *SecurityController) AddRole(params *SecurityControllerAddRoleParams, arg2 SecurityControllerAddRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
AddRole calls the Security controller´s function
func (*SecurityController) AddRoleWithBody ¶
func (c *SecurityController) AddRoleWithBody(params *SecurityControllerAddRoleParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
AddRoleWithBody calls the Security controller´s function
func (*SecurityController) AddRule ¶
func (c *SecurityController) AddRule(params *SecurityControllerAddRuleParams, arg2 SecurityControllerAddRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
AddRule calls the Security controller´s function
func (*SecurityController) AddRuleWithBody ¶
func (c *SecurityController) AddRuleWithBody(params *SecurityControllerAddRuleParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
AddRuleWithBody calls the Security controller´s function
func (*SecurityController) CreateUser ¶
func (c *SecurityController) CreateUser(params *SecurityControllerCreateUserParams, arg2 SecurityControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
CreateUser calls the Security controller´s function
func (*SecurityController) CreateUserWithBody ¶
func (c *SecurityController) CreateUserWithBody(params *SecurityControllerCreateUserParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
CreateUserWithBody calls the Security controller´s function
func (*SecurityController) DeleteSecurityConfig ¶
func (c *SecurityController) DeleteSecurityConfig(params *SecurityControllerDeleteSecurityConfigParams, reqEditors ...RequestEditorFn) (*map[string]any, error)
DeleteSecurityConfig calls the Security controller´s function
func (*SecurityController) DeleteUsers ¶
func (c *SecurityController) DeleteUsers(params *SecurityControllerDeleteUsersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
DeleteUsers calls the Security controller´s function
func (*SecurityController) EditRunAs ¶ added in v0.8.0
func (c *SecurityController) EditRunAs(arg1 UserIdRequired, params *SecurityControllerEditRunAsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
EditRunAs calls the Security controller´s function
func (*SecurityController) GetPolicies ¶
func (c *SecurityController) GetPolicies(params *SecurityControllerGetPoliciesParams, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
GetPolicies calls the Security controller´s function
func (*SecurityController) GetRbacActions ¶
func (c *SecurityController) GetRbacActions(params *SecurityControllerGetRbacActionsParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
GetRbacActions calls the Security controller´s function
func (*SecurityController) GetRbacResources ¶
func (c *SecurityController) GetRbacResources(params *SecurityControllerGetRbacResourcesParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
GetRbacResources calls the Security controller´s function
func (*SecurityController) GetRoles ¶
func (c *SecurityController) GetRoles(params *SecurityControllerGetRolesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
GetRoles calls the Security controller´s function
func (*SecurityController) GetRules ¶
func (c *SecurityController) GetRules(params *SecurityControllerGetRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
GetRules calls the Security controller´s function
func (*SecurityController) GetSecurityConfig ¶
func (c *SecurityController) GetSecurityConfig(params *SecurityControllerGetSecurityConfigParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetSecurityConfig calls the Security controller´s function
func (*SecurityController) GetUserMe ¶
func (c *SecurityController) GetUserMe(params *SecurityControllerGetUserMeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
GetUserMe calls the Security controller´s function
func (*SecurityController) GetUserMePolicies ¶
func (c *SecurityController) GetUserMePolicies(params *SecurityControllerGetUserMePoliciesParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetUserMePolicies calls the Security controller´s function
func (*SecurityController) GetUsers ¶
func (c *SecurityController) GetUsers(params *SecurityControllerGetUsersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
GetUsers calls the Security controller´s function
func (*SecurityController) LoginUser ¶
func (c *SecurityController) LoginUser(params *SecurityControllerLoginUserParams, reqEditors ...RequestEditorFn) (*Token, error)
LoginUser calls the Security controller´s function
func (*SecurityController) LogoutUser ¶
func (c *SecurityController) LogoutUser(reqEditors ...RequestEditorFn) (*ApiResponse, error)
LogoutUser calls the Security controller´s function
func (*SecurityController) PutSecurityConfig ¶
func (c *SecurityController) PutSecurityConfig(params *SecurityControllerPutSecurityConfigParams, arg2 SecurityControllerPutSecurityConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*map[string]any, error)
PutSecurityConfig calls the Security controller´s function
func (*SecurityController) PutSecurityConfigWithBody ¶
func (c *SecurityController) PutSecurityConfigWithBody(params *SecurityControllerPutSecurityConfigParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*map[string]any, error)
PutSecurityConfigWithBody calls the Security controller´s function
func (*SecurityController) RemovePolicies ¶
func (c *SecurityController) RemovePolicies(params *SecurityControllerRemovePoliciesParams, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
RemovePolicies calls the Security controller´s function
func (*SecurityController) RemoveRolePolicy ¶
func (c *SecurityController) RemoveRolePolicy(arg1 RoleId, params *SecurityControllerRemoveRolePolicyParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
RemoveRolePolicy calls the Security controller´s function
func (*SecurityController) RemoveRoleRule ¶
func (c *SecurityController) RemoveRoleRule(arg1 RoleId, params *SecurityControllerRemoveRoleRuleParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
RemoveRoleRule calls the Security controller´s function
func (*SecurityController) RemoveRoles ¶
func (c *SecurityController) RemoveRoles(params *SecurityControllerRemoveRolesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
RemoveRoles calls the Security controller´s function
func (*SecurityController) RemoveRules ¶
func (c *SecurityController) RemoveRules(params *SecurityControllerRemoveRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
RemoveRules calls the Security controller´s function
func (*SecurityController) RemoveUserRole ¶
func (c *SecurityController) RemoveUserRole(arg1 UserIdRequired, params *SecurityControllerRemoveUserRoleParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
RemoveUserRole calls the Security controller´s function
func (*SecurityController) RevokeAllTokens ¶
func (c *SecurityController) RevokeAllTokens(reqEditors ...RequestEditorFn) (*map[string]any, error)
RevokeAllTokens calls the Security controller´s function
func (*SecurityController) RunAsLogin ¶ added in v0.8.0
func (c *SecurityController) RunAsLogin(params *SecurityControllerRunAsLoginParams, arg2 SecurityControllerRunAsLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*struct { Token *string "json:\"token,omitempty\"" }, error)
RunAsLogin calls the Security controller´s function
func (*SecurityController) RunAsLoginWithBody ¶ added in v0.8.0
func (c *SecurityController) RunAsLoginWithBody(params *SecurityControllerRunAsLoginParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct { Token *string "json:\"token,omitempty\"" }, error)
RunAsLoginWithBody calls the Security controller´s function
func (*SecurityController) SetRolePolicy ¶
func (c *SecurityController) SetRolePolicy(arg1 RoleId, params *SecurityControllerSetRolePolicyParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
SetRolePolicy calls the Security controller´s function
func (*SecurityController) SetRoleRule ¶
func (c *SecurityController) SetRoleRule(arg1 RoleId, params *SecurityControllerSetRoleRuleParams, reqEditors ...RequestEditorFn) (*struct { ApiResponse "yaml:\",inline\"" }, error)
SetRoleRule calls the Security controller´s function
func (*SecurityController) SetUserRole ¶
func (c *SecurityController) SetUserRole(arg1 UserIdRequired, params *SecurityControllerSetUserRoleParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
SetUserRole calls the Security controller´s function
func (*SecurityController) UpdatePolicy ¶
func (c *SecurityController) UpdatePolicy(arg1 PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, arg3 SecurityControllerUpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
UpdatePolicy calls the Security controller´s function
func (*SecurityController) UpdatePolicyWithBody ¶
func (c *SecurityController) UpdatePolicyWithBody(arg1 PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
UpdatePolicyWithBody calls the Security controller´s function
func (*SecurityController) UpdateRole ¶
func (c *SecurityController) UpdateRole(arg1 RoleId, params *SecurityControllerUpdateRoleParams, arg3 SecurityControllerUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
UpdateRole calls the Security controller´s function
func (*SecurityController) UpdateRoleWithBody ¶
func (c *SecurityController) UpdateRoleWithBody(arg1 RoleId, params *SecurityControllerUpdateRoleParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
UpdateRoleWithBody calls the Security controller´s function
func (*SecurityController) UpdateRule ¶
func (c *SecurityController) UpdateRule(arg1 SecurityRuleId, params *SecurityControllerUpdateRuleParams, arg3 SecurityControllerUpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdateRule calls the Security controller´s function
func (*SecurityController) UpdateRuleWithBody ¶
func (c *SecurityController) UpdateRuleWithBody(arg1 SecurityRuleId, params *SecurityControllerUpdateRuleParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdateRuleWithBody calls the Security controller´s function
func (*SecurityController) UpdateUser ¶
func (c *SecurityController) UpdateUser(arg1 UserIdRequired, params *SecurityControllerUpdateUserParams, arg3 SecurityControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdateUser calls the Security controller´s function
func (*SecurityController) UpdateUserWithBody ¶
func (c *SecurityController) UpdateUserWithBody(arg1 UserIdRequired, params *SecurityControllerUpdateUserParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdateUserWithBody calls the Security controller´s function
type SecurityControllerAddPolicyJSONBody ¶
type SecurityControllerAddPolicyJSONBody PoliciesRequest
SecurityControllerAddPolicyJSONBody defines parameters for SecurityControllerAddPolicy.
type SecurityControllerAddPolicyJSONRequestBody ¶
type SecurityControllerAddPolicyJSONRequestBody SecurityControllerAddPolicyJSONBody
SecurityControllerAddPolicyJSONRequestBody defines body for SecurityControllerAddPolicy for application/json ContentType.
type SecurityControllerAddPolicyParams ¶
type SecurityControllerAddPolicyParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerAddPolicyParams defines parameters for SecurityControllerAddPolicy.
type SecurityControllerAddPolicyResponse ¶
type SecurityControllerAddPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponsePolicies `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerAddPolicyResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerAddPolicyResponse(rsp *http.Response) (*SecurityControllerAddPolicyResponse, error)
ParseApiControllersSecurityControllerAddPolicyResponse parses an HTTP response from a SecurityControllerAddPolicyWithResponse call
func (SecurityControllerAddPolicyResponse) Status ¶
func (r SecurityControllerAddPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerAddPolicyResponse) StatusCode ¶
func (r SecurityControllerAddPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerAddRoleJSONBody ¶
type SecurityControllerAddRoleJSONBody RolesRequest
SecurityControllerAddRoleJSONBody defines parameters for SecurityControllerAddRole.
type SecurityControllerAddRoleJSONRequestBody ¶
type SecurityControllerAddRoleJSONRequestBody SecurityControllerAddRoleJSONBody
SecurityControllerAddRoleJSONRequestBody defines body for SecurityControllerAddRole for application/json ContentType.
type SecurityControllerAddRoleParams ¶
type SecurityControllerAddRoleParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerAddRoleParams defines parameters for SecurityControllerAddRole.
type SecurityControllerAddRoleResponse ¶
type SecurityControllerAddRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRoles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerAddRoleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerAddRoleResponse(rsp *http.Response) (*SecurityControllerAddRoleResponse, error)
ParseApiControllersSecurityControllerAddRoleResponse parses an HTTP response from a SecurityControllerAddRoleWithResponse call
func (SecurityControllerAddRoleResponse) Status ¶
func (r SecurityControllerAddRoleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerAddRoleResponse) StatusCode ¶
func (r SecurityControllerAddRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerAddRuleJSONBody ¶
type SecurityControllerAddRuleJSONBody SecurityRulesRequest
SecurityControllerAddRuleJSONBody defines parameters for SecurityControllerAddRule.
type SecurityControllerAddRuleJSONRequestBody ¶
type SecurityControllerAddRuleJSONRequestBody SecurityControllerAddRuleJSONBody
SecurityControllerAddRuleJSONRequestBody defines body for SecurityControllerAddRule for application/json ContentType.
type SecurityControllerAddRuleParams ¶
type SecurityControllerAddRuleParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerAddRuleParams defines parameters for SecurityControllerAddRule.
type SecurityControllerAddRuleResponse ¶
type SecurityControllerAddRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRoles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerAddRuleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerAddRuleResponse(rsp *http.Response) (*SecurityControllerAddRuleResponse, error)
ParseApiControllersSecurityControllerAddRuleResponse parses an HTTP response from a SecurityControllerAddRuleWithResponse call
func (SecurityControllerAddRuleResponse) Status ¶
func (r SecurityControllerAddRuleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerAddRuleResponse) StatusCode ¶
func (r SecurityControllerAddRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerCreateUserJSONBody ¶
type SecurityControllerCreateUserJSONBody struct {
Password string `json:"password"`
Username string `json:"username"`
}
SecurityControllerCreateUserJSONBody defines parameters for SecurityControllerCreateUser.
type SecurityControllerCreateUserJSONRequestBody ¶
type SecurityControllerCreateUserJSONRequestBody SecurityControllerCreateUserJSONBody
SecurityControllerCreateUserJSONRequestBody defines body for SecurityControllerCreateUser for application/json ContentType.
type SecurityControllerCreateUserParams ¶
type SecurityControllerCreateUserParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerCreateUserParams defines parameters for SecurityControllerCreateUser.
type SecurityControllerCreateUserResponse ¶
type SecurityControllerCreateUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerCreateUserResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerCreateUserResponse(rsp *http.Response) (*SecurityControllerCreateUserResponse, error)
ParseApiControllersSecurityControllerCreateUserResponse parses an HTTP response from a SecurityControllerCreateUserWithResponse call
func (SecurityControllerCreateUserResponse) Status ¶
func (r SecurityControllerCreateUserResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerCreateUserResponse) StatusCode ¶
func (r SecurityControllerCreateUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerDeleteSecurityConfigParams ¶
type SecurityControllerDeleteSecurityConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerDeleteSecurityConfigParams defines parameters for SecurityControllerDeleteSecurityConfig.
type SecurityControllerDeleteSecurityConfigResponse ¶
type SecurityControllerDeleteSecurityConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]any
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerDeleteSecurityConfigResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerDeleteSecurityConfigResponse(rsp *http.Response) (*SecurityControllerDeleteSecurityConfigResponse, error)
ParseApiControllersSecurityControllerDeleteSecurityConfigResponse parses an HTTP response from a SecurityControllerDeleteSecurityConfigWithResponse call
func (SecurityControllerDeleteSecurityConfigResponse) Status ¶
func (r SecurityControllerDeleteSecurityConfigResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerDeleteSecurityConfigResponse) StatusCode ¶
func (r SecurityControllerDeleteSecurityConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerDeleteUsersParams ¶
type SecurityControllerDeleteUsersParams struct {
// List of user IDs (separated by comma), use the keyword 'all' to select all users
UserIds UserIdsDelete `json:"user_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerDeleteUsersParams defines parameters for SecurityControllerDeleteUsers.
type SecurityControllerDeleteUsersResponse ¶
type SecurityControllerDeleteUsersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON406 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerDeleteUsersResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerDeleteUsersResponse(rsp *http.Response) (*SecurityControllerDeleteUsersResponse, error)
ParseApiControllersSecurityControllerDeleteUsersResponse parses an HTTP response from a SecurityControllerDeleteUsersWithResponse call
func (SecurityControllerDeleteUsersResponse) Status ¶
func (r SecurityControllerDeleteUsersResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerDeleteUsersResponse) StatusCode ¶
func (r SecurityControllerDeleteUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerDeprecatedLoginUserParams ¶ added in v1.1.5
type SecurityControllerDeprecatedLoginUserParams struct {
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
}
SecurityControllerDeprecatedLoginUserParams defines parameters for SecurityControllerDeprecatedLoginUser.
type SecurityControllerDeprecatedLoginUserResponse ¶ added in v1.1.5
type SecurityControllerDeprecatedLoginUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *Token `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerDeprecatedLoginUserResponse ¶ added in v1.1.5
func ParseApiControllersSecurityControllerDeprecatedLoginUserResponse(rsp *http.Response) (*SecurityControllerDeprecatedLoginUserResponse, error)
ParseApiControllersSecurityControllerDeprecatedLoginUserResponse parses an HTTP response from a SecurityControllerDeprecatedLoginUserWithResponse call
func (SecurityControllerDeprecatedLoginUserResponse) Status ¶ added in v1.1.5
func (r SecurityControllerDeprecatedLoginUserResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerDeprecatedLoginUserResponse) StatusCode ¶ added in v1.1.5
func (r SecurityControllerDeprecatedLoginUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerEditRunAsParams ¶ added in v0.8.0
type SecurityControllerEditRunAsParams struct {
// Value for the allow_run_as flag
AllowRunAs *AllowRunAs `json:"allow_run_as,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerEditRunAsParams defines parameters for SecurityControllerEditRunAs.
type SecurityControllerEditRunAsResponse ¶ added in v0.8.0
type SecurityControllerEditRunAsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON406 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerEditRunAsResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerEditRunAsResponse(rsp *http.Response) (*SecurityControllerEditRunAsResponse, error)
ParseApiControllersSecurityControllerEditRunAsResponse parses an HTTP response from a SecurityControllerEditRunAsWithResponse call
func (SecurityControllerEditRunAsResponse) Status ¶ added in v0.8.0
func (r SecurityControllerEditRunAsResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerEditRunAsResponse) StatusCode ¶ added in v0.8.0
func (r SecurityControllerEditRunAsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetPoliciesParams ¶
type SecurityControllerGetPoliciesParams struct {
// List of policy IDs
PolicyIds *PolicyIdsRbac `json:"policy_ids,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SecurityControllerGetPoliciesParams defines parameters for SecurityControllerGetPolicies.
type SecurityControllerGetPoliciesResponse ¶
type SecurityControllerGetPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponsePolicies `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetPoliciesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetPoliciesResponse(rsp *http.Response) (*SecurityControllerGetPoliciesResponse, error)
ParseApiControllersSecurityControllerGetPoliciesResponse parses an HTTP response from a SecurityControllerGetPoliciesWithResponse call
func (SecurityControllerGetPoliciesResponse) Status ¶
func (r SecurityControllerGetPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetPoliciesResponse) StatusCode ¶
func (r SecurityControllerGetPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetRbacActionsParams ¶
type SecurityControllerGetRbacActionsParams struct {
// Look for the RBAC actions which are related to the specified endpoint
Endpoint *Endpoint `json:"endpoint,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
}
SecurityControllerGetRbacActionsParams defines parameters for SecurityControllerGetRbacActions.
type SecurityControllerGetRbacActionsResponse ¶
type SecurityControllerGetRbacActionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetRbacActionsResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetRbacActionsResponse(rsp *http.Response) (*SecurityControllerGetRbacActionsResponse, error)
ParseApiControllersSecurityControllerGetRbacActionsResponse parses an HTTP response from a SecurityControllerGetRbacActionsWithResponse call
func (SecurityControllerGetRbacActionsResponse) Status ¶
func (r SecurityControllerGetRbacActionsResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetRbacActionsResponse) StatusCode ¶
func (r SecurityControllerGetRbacActionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetRbacResourcesParams ¶
type SecurityControllerGetRbacResourcesParams struct {
// List of current RBAC's resources.
Resource *SecurityControllerGetRbacResourcesParamsResource `json:"resource,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
}
SecurityControllerGetRbacResourcesParams defines parameters for SecurityControllerGetRbacResources.
type SecurityControllerGetRbacResourcesParamsResource ¶ added in v0.8.0
type SecurityControllerGetRbacResourcesParamsResource string
SecurityControllerGetRbacResourcesParamsResource defines parameters for SecurityControllerGetRbacResources.
type SecurityControllerGetRbacResourcesResponse ¶
type SecurityControllerGetRbacResourcesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetRbacResourcesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetRbacResourcesResponse(rsp *http.Response) (*SecurityControllerGetRbacResourcesResponse, error)
ParseApiControllersSecurityControllerGetRbacResourcesResponse parses an HTTP response from a SecurityControllerGetRbacResourcesWithResponse call
func (SecurityControllerGetRbacResourcesResponse) Status ¶
func (r SecurityControllerGetRbacResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetRbacResourcesResponse) StatusCode ¶
func (r SecurityControllerGetRbacResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetRolesParams ¶
type SecurityControllerGetRolesParams struct {
// List of role IDs (separated by comma)
RoleIds *RoleIds `json:"role_ids,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SecurityControllerGetRolesParams defines parameters for SecurityControllerGetRoles.
type SecurityControllerGetRolesResponse ¶
type SecurityControllerGetRolesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRoles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetRolesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetRolesResponse(rsp *http.Response) (*SecurityControllerGetRolesResponse, error)
ParseApiControllersSecurityControllerGetRolesResponse parses an HTTP response from a SecurityControllerGetRolesWithResponse call
func (SecurityControllerGetRolesResponse) Status ¶
func (r SecurityControllerGetRolesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetRolesResponse) StatusCode ¶
func (r SecurityControllerGetRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetRulesParams ¶
type SecurityControllerGetRulesParams struct {
// List of rule IDs (separated by comma)
RuleIds *SecurityRuleIds `json:"rule_ids,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SecurityControllerGetRulesParams defines parameters for SecurityControllerGetRules.
type SecurityControllerGetRulesResponse ¶
type SecurityControllerGetRulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRoles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetRulesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetRulesResponse(rsp *http.Response) (*SecurityControllerGetRulesResponse, error)
ParseApiControllersSecurityControllerGetRulesResponse parses an HTTP response from a SecurityControllerGetRulesWithResponse call
func (SecurityControllerGetRulesResponse) Status ¶
func (r SecurityControllerGetRulesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetRulesResponse) StatusCode ¶
func (r SecurityControllerGetRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetSecurityConfigParams ¶
type SecurityControllerGetSecurityConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerGetSecurityConfigParams defines parameters for SecurityControllerGetSecurityConfig.
type SecurityControllerGetSecurityConfigResponse ¶
type SecurityControllerGetSecurityConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetSecurityConfigResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetSecurityConfigResponse(rsp *http.Response) (*SecurityControllerGetSecurityConfigResponse, error)
ParseApiControllersSecurityControllerGetSecurityConfigResponse parses an HTTP response from a SecurityControllerGetSecurityConfigWithResponse call
func (SecurityControllerGetSecurityConfigResponse) Status ¶
func (r SecurityControllerGetSecurityConfigResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetSecurityConfigResponse) StatusCode ¶
func (r SecurityControllerGetSecurityConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetUserMeParams ¶
type SecurityControllerGetUserMeParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerGetUserMeParams defines parameters for SecurityControllerGetUserMe.
type SecurityControllerGetUserMePoliciesParams ¶
type SecurityControllerGetUserMePoliciesParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
}
SecurityControllerGetUserMePoliciesParams defines parameters for SecurityControllerGetUserMePolicies.
type SecurityControllerGetUserMePoliciesResponse ¶
type SecurityControllerGetUserMePoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetUserMePoliciesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetUserMePoliciesResponse(rsp *http.Response) (*SecurityControllerGetUserMePoliciesResponse, error)
ParseApiControllersSecurityControllerGetUserMePoliciesResponse parses an HTTP response from a SecurityControllerGetUserMePoliciesWithResponse call
func (SecurityControllerGetUserMePoliciesResponse) Status ¶
func (r SecurityControllerGetUserMePoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetUserMePoliciesResponse) StatusCode ¶
func (r SecurityControllerGetUserMePoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetUserMeResponse ¶
type SecurityControllerGetUserMeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetUserMeResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetUserMeResponse(rsp *http.Response) (*SecurityControllerGetUserMeResponse, error)
ParseApiControllersSecurityControllerGetUserMeResponse parses an HTTP response from a SecurityControllerGetUserMeWithResponse call
func (SecurityControllerGetUserMeResponse) Status ¶
func (r SecurityControllerGetUserMeResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetUserMeResponse) StatusCode ¶
func (r SecurityControllerGetUserMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerGetUsersParams ¶
type SecurityControllerGetUsersParams struct {
// List of user IDs (separated by comma)
UserIds *UserIds `json:"user_ids,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SecurityControllerGetUsersParams defines parameters for SecurityControllerGetUsers.
type SecurityControllerGetUsersResponse ¶
type SecurityControllerGetUsersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerGetUsersResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerGetUsersResponse(rsp *http.Response) (*SecurityControllerGetUsersResponse, error)
ParseApiControllersSecurityControllerGetUsersResponse parses an HTTP response from a SecurityControllerGetUsersWithResponse call
func (SecurityControllerGetUsersResponse) Status ¶
func (r SecurityControllerGetUsersResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerGetUsersResponse) StatusCode ¶
func (r SecurityControllerGetUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerInterface ¶
type SecurityControllerInterface interface {
AddPolicyWithBody(params *SecurityControllerAddPolicyParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
AddPolicy(params *SecurityControllerAddPolicyParams, arg2 SecurityControllerAddPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
AddRoleWithBody(params *SecurityControllerAddRoleParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
AddRole(params *SecurityControllerAddRoleParams, arg2 SecurityControllerAddRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
AddRuleWithBody(params *SecurityControllerAddRuleParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
AddRule(params *SecurityControllerAddRuleParams, arg2 SecurityControllerAddRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
CreateUserWithBody(params *SecurityControllerCreateUserParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
CreateUser(params *SecurityControllerCreateUserParams, arg2 SecurityControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
DeleteSecurityConfig(params *SecurityControllerDeleteSecurityConfigParams, reqEditors ...RequestEditorFn) (*map[string]any, error)
DeleteUsers(params *SecurityControllerDeleteUsersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
EditRunAs(arg1 UserIdRequired, params *SecurityControllerEditRunAsParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
GetPolicies(params *SecurityControllerGetPoliciesParams, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
GetRbacActions(params *SecurityControllerGetRbacActionsParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
GetRbacResources(params *SecurityControllerGetRbacResourcesParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
GetRoles(params *SecurityControllerGetRolesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
GetRules(params *SecurityControllerGetRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
GetSecurityConfig(params *SecurityControllerGetSecurityConfigParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetUserMePolicies(params *SecurityControllerGetUserMePoliciesParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetUserMe(params *SecurityControllerGetUserMeParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
GetUsers(params *SecurityControllerGetUsersParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
LoginUser(params *SecurityControllerLoginUserParams, reqEditors ...RequestEditorFn) (*Token, error)
LogoutUser(reqEditors ...RequestEditorFn) (*ApiResponse, error)
PutSecurityConfigWithBody(params *SecurityControllerPutSecurityConfigParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*map[string]any, error)
PutSecurityConfig(params *SecurityControllerPutSecurityConfigParams, arg2 SecurityControllerPutSecurityConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*map[string]any, error)
RemovePolicies(params *SecurityControllerRemovePoliciesParams, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
RemoveRolePolicy(arg1 RoleId, params *SecurityControllerRemoveRolePolicyParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
RemoveRoleRule(arg1 RoleId, params *SecurityControllerRemoveRoleRuleParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
RemoveRoles(params *SecurityControllerRemoveRolesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
RemoveRules(params *SecurityControllerRemoveRulesParams, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
RemoveUserRole(arg1 UserIdRequired, params *SecurityControllerRemoveUserRoleParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
RevokeAllTokens(reqEditors ...RequestEditorFn) (*map[string]any, error)
RunAsLoginWithBody(params *SecurityControllerRunAsLoginParams, arg2 string, body io.Reader, reqEditors ...RequestEditorFn) (*struct {
Token *string "json:\"token,omitempty\""
}, error)
RunAsLogin(params *SecurityControllerRunAsLoginParams, arg2 SecurityControllerRunAsLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*struct {
Token *string "json:\"token,omitempty\""
}, error)
SetRolePolicy(arg1 RoleId, params *SecurityControllerSetRolePolicyParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
SetRoleRule(arg1 RoleId, params *SecurityControllerSetRoleRuleParams, reqEditors ...RequestEditorFn) (*struct {
ApiResponse "yaml:\",inline\""
}, error)
SetUserRole(arg1 UserIdRequired, params *SecurityControllerSetUserRoleParams, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdatePolicyWithBody(arg1 PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
UpdatePolicy(arg1 PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, arg3 SecurityControllerUpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponsePolicies, error)
UpdateRoleWithBody(arg1 RoleId, params *SecurityControllerUpdateRoleParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
UpdateRole(arg1 RoleId, params *SecurityControllerUpdateRoleParams, arg3 SecurityControllerUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseRoles, error)
UpdateRuleWithBody(arg1 SecurityRuleId, params *SecurityControllerUpdateRuleParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdateRule(arg1 SecurityRuleId, params *SecurityControllerUpdateRuleParams, arg3 SecurityControllerUpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdateUserWithBody(arg1 UserIdRequired, params *SecurityControllerUpdateUserParams, arg3 string, body io.Reader, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
UpdateUser(arg1 UserIdRequired, params *SecurityControllerUpdateUserParams, arg3 SecurityControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AllItemsResponseUsers, error)
}
SecurityControllerInterface contains all methods for the wazuh controller api
type SecurityControllerLoginUserParams ¶
type SecurityControllerLoginUserParams struct {
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
}
SecurityControllerLoginUserParams defines parameters for SecurityControllerLoginUser.
type SecurityControllerLoginUserResponse ¶
type SecurityControllerLoginUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *Token `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerLoginUserResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerLoginUserResponse(rsp *http.Response) (*SecurityControllerLoginUserResponse, error)
ParseApiControllersSecurityControllerLoginUserResponse parses an HTTP response from a SecurityControllerLoginUserWithResponse call
func (SecurityControllerLoginUserResponse) Status ¶
func (r SecurityControllerLoginUserResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerLoginUserResponse) StatusCode ¶
func (r SecurityControllerLoginUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerLogoutUserResponse ¶
type SecurityControllerLogoutUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerLogoutUserResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerLogoutUserResponse(rsp *http.Response) (*SecurityControllerLogoutUserResponse, error)
ParseApiControllersSecurityControllerLogoutUserResponse parses an HTTP response from a SecurityControllerLogoutUserWithResponse call
func (SecurityControllerLogoutUserResponse) Status ¶
func (r SecurityControllerLogoutUserResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerLogoutUserResponse) StatusCode ¶
func (r SecurityControllerLogoutUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerPutSecurityConfigJSONBody ¶
type SecurityControllerPutSecurityConfigJSONBody SecurityConfiguration
SecurityControllerPutSecurityConfigJSONBody defines parameters for SecurityControllerPutSecurityConfig.
type SecurityControllerPutSecurityConfigJSONRequestBody ¶
type SecurityControllerPutSecurityConfigJSONRequestBody SecurityControllerPutSecurityConfigJSONBody
SecurityControllerPutSecurityConfigJSONRequestBody defines body for SecurityControllerPutSecurityConfig for application/json ContentType.
type SecurityControllerPutSecurityConfigParams ¶
type SecurityControllerPutSecurityConfigParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerPutSecurityConfigParams defines parameters for SecurityControllerPutSecurityConfig.
type SecurityControllerPutSecurityConfigResponse ¶
type SecurityControllerPutSecurityConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]any
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerPutSecurityConfigResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerPutSecurityConfigResponse(rsp *http.Response) (*SecurityControllerPutSecurityConfigResponse, error)
ParseApiControllersSecurityControllerPutSecurityConfigResponse parses an HTTP response from a SecurityControllerPutSecurityConfigWithResponse call
func (SecurityControllerPutSecurityConfigResponse) Status ¶
func (r SecurityControllerPutSecurityConfigResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerPutSecurityConfigResponse) StatusCode ¶
func (r SecurityControllerPutSecurityConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRemovePoliciesParams ¶
type SecurityControllerRemovePoliciesParams struct {
// List of policy IDs (separated by comma), use the keyword 'all' to select all policies
PolicyIds PolicyIdsRbacDelete `json:"policy_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerRemovePoliciesParams defines parameters for SecurityControllerRemovePolicies.
type SecurityControllerRemovePoliciesResponse ¶
type SecurityControllerRemovePoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponsePolicies `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRemovePoliciesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRemovePoliciesResponse(rsp *http.Response) (*SecurityControllerRemovePoliciesResponse, error)
ParseApiControllersSecurityControllerRemovePoliciesResponse parses an HTTP response from a SecurityControllerRemovePoliciesWithResponse call
func (SecurityControllerRemovePoliciesResponse) Status ¶
func (r SecurityControllerRemovePoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRemovePoliciesResponse) StatusCode ¶
func (r SecurityControllerRemovePoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRemoveRolePolicyParams ¶
type SecurityControllerRemoveRolePolicyParams struct {
// List of policy IDs (separated by comma), use the keyword 'all' to select all policies
PolicyIds PolicyIdsRbacDelete `json:"policy_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerRemoveRolePolicyParams defines parameters for SecurityControllerRemoveRolePolicy.
type SecurityControllerRemoveRolePolicyResponse ¶
type SecurityControllerRemoveRolePolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRemoveRolePolicyResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRemoveRolePolicyResponse(rsp *http.Response) (*SecurityControllerRemoveRolePolicyResponse, error)
ParseApiControllersSecurityControllerRemoveRolePolicyResponse parses an HTTP response from a SecurityControllerRemoveRolePolicyWithResponse call
func (SecurityControllerRemoveRolePolicyResponse) Status ¶
func (r SecurityControllerRemoveRolePolicyResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRemoveRolePolicyResponse) StatusCode ¶
func (r SecurityControllerRemoveRolePolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRemoveRoleRuleParams ¶
type SecurityControllerRemoveRoleRuleParams struct {
// List of rule IDs (separated by comma), use the keyword 'all' to select all rules
RuleIds SecurityRuleIdsDelete `json:"rule_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerRemoveRoleRuleParams defines parameters for SecurityControllerRemoveRoleRule.
type SecurityControllerRemoveRoleRuleResponse ¶
type SecurityControllerRemoveRoleRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRemoveRoleRuleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRemoveRoleRuleResponse(rsp *http.Response) (*SecurityControllerRemoveRoleRuleResponse, error)
ParseApiControllersSecurityControllerRemoveRoleRuleResponse parses an HTTP response from a SecurityControllerRemoveRoleRuleWithResponse call
func (SecurityControllerRemoveRoleRuleResponse) Status ¶
func (r SecurityControllerRemoveRoleRuleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRemoveRoleRuleResponse) StatusCode ¶
func (r SecurityControllerRemoveRoleRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRemoveRolesParams ¶
type SecurityControllerRemoveRolesParams struct {
// List of role IDs (separated by comma), use the keyword 'all' to select all roles
RoleIds RoleIdsDelete `json:"role_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerRemoveRolesParams defines parameters for SecurityControllerRemoveRoles.
type SecurityControllerRemoveRolesResponse ¶
type SecurityControllerRemoveRolesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRoles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRemoveRolesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRemoveRolesResponse(rsp *http.Response) (*SecurityControllerRemoveRolesResponse, error)
ParseApiControllersSecurityControllerRemoveRolesResponse parses an HTTP response from a SecurityControllerRemoveRolesWithResponse call
func (SecurityControllerRemoveRolesResponse) Status ¶
func (r SecurityControllerRemoveRolesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRemoveRolesResponse) StatusCode ¶
func (r SecurityControllerRemoveRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRemoveRulesParams ¶
type SecurityControllerRemoveRulesParams struct {
// List of rule IDs (separated by comma), use the keyword 'all' to select all rules
RuleIds SecurityRuleIdsDelete `json:"rule_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerRemoveRulesParams defines parameters for SecurityControllerRemoveRules.
type SecurityControllerRemoveRulesResponse ¶
type SecurityControllerRemoveRulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRoles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRemoveRulesResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRemoveRulesResponse(rsp *http.Response) (*SecurityControllerRemoveRulesResponse, error)
ParseApiControllersSecurityControllerRemoveRulesResponse parses an HTTP response from a SecurityControllerRemoveRulesWithResponse call
func (SecurityControllerRemoveRulesResponse) Status ¶
func (r SecurityControllerRemoveRulesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRemoveRulesResponse) StatusCode ¶
func (r SecurityControllerRemoveRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRemoveUserRoleParams ¶
type SecurityControllerRemoveUserRoleParams struct {
// List of role IDs (separated by comma), use the keyword 'all' to select all roles
RoleIds RoleIdsDelete `json:"role_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerRemoveUserRoleParams defines parameters for SecurityControllerRemoveUserRole.
type SecurityControllerRemoveUserRoleResponse ¶
type SecurityControllerRemoveUserRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRemoveUserRoleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRemoveUserRoleResponse(rsp *http.Response) (*SecurityControllerRemoveUserRoleResponse, error)
ParseApiControllersSecurityControllerRemoveUserRoleResponse parses an HTTP response from a SecurityControllerRemoveUserRoleWithResponse call
func (SecurityControllerRemoveUserRoleResponse) Status ¶
func (r SecurityControllerRemoveUserRoleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRemoveUserRoleResponse) StatusCode ¶
func (r SecurityControllerRemoveUserRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRevokeAllTokensResponse ¶
type SecurityControllerRevokeAllTokensResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]any
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRevokeAllTokensResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRevokeAllTokensResponse(rsp *http.Response) (*SecurityControllerRevokeAllTokensResponse, error)
ParseApiControllersSecurityControllerRevokeAllTokensResponse parses an HTTP response from a SecurityControllerRevokeAllTokensWithResponse call
func (SecurityControllerRevokeAllTokensResponse) Status ¶
func (r SecurityControllerRevokeAllTokensResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRevokeAllTokensResponse) StatusCode ¶
func (r SecurityControllerRevokeAllTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerRunAsLoginJSONBody ¶ added in v0.8.0
SecurityControllerRunAsLoginJSONBody defines parameters for SecurityControllerRunAsLogin.
type SecurityControllerRunAsLoginJSONRequestBody ¶ added in v0.8.0
type SecurityControllerRunAsLoginJSONRequestBody SecurityControllerRunAsLoginJSONBody
SecurityControllerRunAsLoginJSONRequestBody defines body for SecurityControllerRunAsLogin for application/json ContentType.
type SecurityControllerRunAsLoginParams ¶ added in v0.8.0
type SecurityControllerRunAsLoginParams struct {
// Format response in plain text
Raw *Raw `json:"raw,omitempty"`
}
SecurityControllerRunAsLoginParams defines parameters for SecurityControllerRunAsLogin.
type SecurityControllerRunAsLoginResponse ¶ added in v0.8.0
type SecurityControllerRunAsLoginResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Token *string `json:"token,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerRunAsLoginResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerRunAsLoginResponse(rsp *http.Response) (*SecurityControllerRunAsLoginResponse, error)
ParseApiControllersSecurityControllerRunAsLoginResponse parses an HTTP response from a SecurityControllerRunAsLoginWithResponse call
func (SecurityControllerRunAsLoginResponse) Status ¶ added in v0.8.0
func (r SecurityControllerRunAsLoginResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerRunAsLoginResponse) StatusCode ¶ added in v0.8.0
func (r SecurityControllerRunAsLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerSetRolePolicyParams ¶
type SecurityControllerSetRolePolicyParams struct {
// List of policy IDs
PolicyIds PolicyIdsRbacRequired `json:"policy_ids"`
// Security position for roles/policies
Position *SecurityPosition `json:"position,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerSetRolePolicyParams defines parameters for SecurityControllerSetRolePolicy.
type SecurityControllerSetRolePolicyResponse ¶
type SecurityControllerSetRolePolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerSetRolePolicyResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerSetRolePolicyResponse(rsp *http.Response) (*SecurityControllerSetRolePolicyResponse, error)
ParseApiControllersSecurityControllerSetRolePolicyResponse parses an HTTP response from a SecurityControllerSetRolePolicyWithResponse call
func (SecurityControllerSetRolePolicyResponse) Status ¶
func (r SecurityControllerSetRolePolicyResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerSetRolePolicyResponse) StatusCode ¶
func (r SecurityControllerSetRolePolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerSetRoleRuleParams ¶
type SecurityControllerSetRoleRuleParams struct {
// List of rule IDs (separated by comma)
RuleIds SecurityRuleIdsRequired `json:"rule_ids"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerSetRoleRuleParams defines parameters for SecurityControllerSetRoleRule.
type SecurityControllerSetRoleRuleResponse ¶
type SecurityControllerSetRoleRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerSetRoleRuleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerSetRoleRuleResponse(rsp *http.Response) (*SecurityControllerSetRoleRuleResponse, error)
ParseApiControllersSecurityControllerSetRoleRuleResponse parses an HTTP response from a SecurityControllerSetRoleRuleWithResponse call
func (SecurityControllerSetRoleRuleResponse) Status ¶
func (r SecurityControllerSetRoleRuleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerSetRoleRuleResponse) StatusCode ¶
func (r SecurityControllerSetRoleRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerSetUserRoleParams ¶
type SecurityControllerSetUserRoleParams struct {
// List of role IDs (separated by comma)
RoleIds RoleIdsRequired `json:"role_ids"`
// Security position for roles/policies
Position *SecurityPosition `json:"position,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerSetUserRoleParams defines parameters for SecurityControllerSetUserRole.
type SecurityControllerSetUserRoleResponse ¶
type SecurityControllerSetUserRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerSetUserRoleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerSetUserRoleResponse(rsp *http.Response) (*SecurityControllerSetUserRoleResponse, error)
ParseApiControllersSecurityControllerSetUserRoleResponse parses an HTTP response from a SecurityControllerSetUserRoleWithResponse call
func (SecurityControllerSetUserRoleResponse) Status ¶
func (r SecurityControllerSetUserRoleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerSetUserRoleResponse) StatusCode ¶
func (r SecurityControllerSetUserRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerUpdatePolicyJSONBody ¶
type SecurityControllerUpdatePolicyJSONBody PoliciesRequestNoRequired
SecurityControllerUpdatePolicyJSONBody defines parameters for SecurityControllerUpdatePolicy.
type SecurityControllerUpdatePolicyJSONRequestBody ¶
type SecurityControllerUpdatePolicyJSONRequestBody SecurityControllerUpdatePolicyJSONBody
SecurityControllerUpdatePolicyJSONRequestBody defines body for SecurityControllerUpdatePolicy for application/json ContentType.
type SecurityControllerUpdatePolicyParams ¶
type SecurityControllerUpdatePolicyParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerUpdatePolicyParams defines parameters for SecurityControllerUpdatePolicy.
type SecurityControllerUpdatePolicyResponse ¶
type SecurityControllerUpdatePolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponsePolicies `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerUpdatePolicyResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerUpdatePolicyResponse(rsp *http.Response) (*SecurityControllerUpdatePolicyResponse, error)
ParseApiControllersSecurityControllerUpdatePolicyResponse parses an HTTP response from a SecurityControllerUpdatePolicyWithResponse call
func (SecurityControllerUpdatePolicyResponse) Status ¶
func (r SecurityControllerUpdatePolicyResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerUpdatePolicyResponse) StatusCode ¶
func (r SecurityControllerUpdatePolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerUpdateRoleJSONBody ¶
type SecurityControllerUpdateRoleJSONBody RolesRequestNoRequired
SecurityControllerUpdateRoleJSONBody defines parameters for SecurityControllerUpdateRole.
type SecurityControllerUpdateRoleJSONRequestBody ¶
type SecurityControllerUpdateRoleJSONRequestBody SecurityControllerUpdateRoleJSONBody
SecurityControllerUpdateRoleJSONRequestBody defines body for SecurityControllerUpdateRole for application/json ContentType.
type SecurityControllerUpdateRoleParams ¶
type SecurityControllerUpdateRoleParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerUpdateRoleParams defines parameters for SecurityControllerUpdateRole.
type SecurityControllerUpdateRoleResponse ¶
type SecurityControllerUpdateRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseRoles `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerUpdateRoleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerUpdateRoleResponse(rsp *http.Response) (*SecurityControllerUpdateRoleResponse, error)
ParseApiControllersSecurityControllerUpdateRoleResponse parses an HTTP response from a SecurityControllerUpdateRoleWithResponse call
func (SecurityControllerUpdateRoleResponse) Status ¶
func (r SecurityControllerUpdateRoleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerUpdateRoleResponse) StatusCode ¶
func (r SecurityControllerUpdateRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerUpdateRuleJSONBody ¶
type SecurityControllerUpdateRuleJSONBody SecurityRulesRequestNoRequired
SecurityControllerUpdateRuleJSONBody defines parameters for SecurityControllerUpdateRule.
type SecurityControllerUpdateRuleJSONRequestBody ¶
type SecurityControllerUpdateRuleJSONRequestBody SecurityControllerUpdateRuleJSONBody
SecurityControllerUpdateRuleJSONRequestBody defines body for SecurityControllerUpdateRule for application/json ContentType.
type SecurityControllerUpdateRuleParams ¶
type SecurityControllerUpdateRuleParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerUpdateRuleParams defines parameters for SecurityControllerUpdateRule.
type SecurityControllerUpdateRuleResponse ¶
type SecurityControllerUpdateRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON406 *RequestError
JSON413 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerUpdateRuleResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerUpdateRuleResponse(rsp *http.Response) (*SecurityControllerUpdateRuleResponse, error)
ParseApiControllersSecurityControllerUpdateRuleResponse parses an HTTP response from a SecurityControllerUpdateRuleWithResponse call
func (SecurityControllerUpdateRuleResponse) Status ¶
func (r SecurityControllerUpdateRuleResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerUpdateRuleResponse) StatusCode ¶
func (r SecurityControllerUpdateRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityControllerUpdateUserJSONBody ¶
type SecurityControllerUpdateUserJSONBody struct {
Password *string `json:"password,omitempty"`
}
SecurityControllerUpdateUserJSONBody defines parameters for SecurityControllerUpdateUser.
type SecurityControllerUpdateUserJSONRequestBody ¶
type SecurityControllerUpdateUserJSONRequestBody SecurityControllerUpdateUserJSONBody
SecurityControllerUpdateUserJSONRequestBody defines body for SecurityControllerUpdateUser for application/json ContentType.
type SecurityControllerUpdateUserParams ¶
type SecurityControllerUpdateUserParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SecurityControllerUpdateUserParams defines parameters for SecurityControllerUpdateUser.
type SecurityControllerUpdateUserResponse ¶
type SecurityControllerUpdateUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseUsers `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON405 *RequestError
JSON406 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSecurityControllerUpdateUserResponse ¶ added in v0.8.0
func ParseApiControllersSecurityControllerUpdateUserResponse(rsp *http.Response) (*SecurityControllerUpdateUserResponse, error)
ParseApiControllersSecurityControllerUpdateUserResponse parses an HTTP response from a SecurityControllerUpdateUserWithResponse call
func (SecurityControllerUpdateUserResponse) Status ¶
func (r SecurityControllerUpdateUserResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerUpdateUserResponse) StatusCode ¶
func (r SecurityControllerUpdateUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityPosition ¶
type SecurityPosition int
SecurityPosition defines model for security_position.
type SecurityRuleIds ¶
type SecurityRuleIds []SecurityRuleId
SecurityRuleIds defines model for security_rule_ids.
type SecurityRuleIdsDelete ¶
type SecurityRuleIdsDelete []SecurityRuleIdDELETE
SecurityRuleIdsDelete defines model for security_rule_ids_delete.
type SecurityRuleIdsRequired ¶
type SecurityRuleIdsRequired []SecurityRuleId
SecurityRuleIdsRequired defines model for security_rule_ids_required.
type SecurityRulesRequest ¶
type SecurityRulesRequest struct {
// Rule name
Name string `json:"name"`
// Rule body
Rule map[string]any `json:"rule"`
}
SecurityRulesRequest defines model for SecurityRulesRequest.
type SecurityRulesRequestNoRequired ¶
type SecurityRulesRequestNoRequired struct {
// Rule name
Name *string `json:"name,omitempty"`
// Rule body
Rule *map[string]any `json:"rule,omitempty"`
}
SecurityRulesRequestNoRequired defines model for SecurityRulesRequest_no_required.
type SimpleApiError ¶
type SimpleApiError struct {
Error SimpleApiError_Error `json:"error"`
Ids []string `json:"id,omitempty"`
}
SimpleApiError defines model for SimpleApiError.
type SimpleApiError_Error ¶
type SimpleApiError_Error struct {
AdditionalProperties map[string]struct {
Code *int32 `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Remediation *string `json:"remediation,omitempty"`
} `json:"-"`
}
SimpleApiError_Error defines model for SimpleApiError.Error.
type StatsComponent ¶ added in v0.8.0
type StatsComponent string
StatsComponent defines model for stats_component.
const (
Logcollector StatsComponent = "logcollector"
)
Defines values for StatsComponent.
type StatusAgentParam ¶
type StatusAgentParam []string
StatusAgentParam defines model for statusAgentParam.
type StatusDeleteAgentParam ¶ added in v0.8.0
type StatusDeleteAgentParam []string
StatusDeleteAgentParam defines model for statusDeleteAgentParam.
type StatusRLDParam ¶
type StatusRLDParam string
StatusRLDParam defines model for statusRLDParam.
const ( All StatusRLDParam = "all" Disabled StatusRLDParam = "disabled" Enabled StatusRLDParam = "enabled" )
Defines values for StatusRLDParam.
type SyscheckArch ¶ added in v0.8.0
type SyscheckArch string
SyscheckArch defines model for syscheck_arch.
const ( X32 SyscheckArch = "[x32]" X64 SyscheckArch = "[x64]" )
Defines values for SyscheckArch.
type SyscheckController ¶
type SyscheckController struct {
*ClientWithResponses
}
SyscheckController implementation of the SyscheckController interface
func (*SyscheckController) DeleteSyscheckAgent ¶
func (c *SyscheckController) DeleteSyscheckAgent(arg1 AgentId, params *SyscheckControllerDeleteSyscheckAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
DeleteSyscheckAgent calls the Syscheck controller´s function
func (*SyscheckController) GetLastScanAgent ¶
func (c *SyscheckController) GetLastScanAgent(arg1 AgentId, params *SyscheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseLastScan, error)
GetLastScanAgent calls the Syscheck controller´s function
func (*SyscheckController) GetSyscheckAgent ¶
func (c *SyscheckController) GetSyscheckAgent(arg1 AgentId, params *SyscheckControllerGetSyscheckAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscheckResult, error)
GetSyscheckAgent calls the Syscheck controller´s function
func (*SyscheckController) PutSyscheck ¶
func (c *SyscheckController) PutSyscheck(params *SyscheckControllerPutSyscheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
PutSyscheck calls the Syscheck controller´s function
type SyscheckControllerDeleteSyscheckAgentParams ¶
type SyscheckControllerDeleteSyscheckAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SyscheckControllerDeleteSyscheckAgentParams defines parameters for SyscheckControllerDeleteSyscheckAgent.
type SyscheckControllerDeleteSyscheckAgentResponse ¶
type SyscheckControllerDeleteSyscheckAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponse `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscheckControllerDeleteSyscheckAgentResponse ¶ added in v0.8.0
func ParseApiControllersSyscheckControllerDeleteSyscheckAgentResponse(rsp *http.Response) (*SyscheckControllerDeleteSyscheckAgentResponse, error)
ParseApiControllersSyscheckControllerDeleteSyscheckAgentResponse parses an HTTP response from a SyscheckControllerDeleteSyscheckAgentWithResponse call
func (SyscheckControllerDeleteSyscheckAgentResponse) Status ¶
func (r SyscheckControllerDeleteSyscheckAgentResponse) Status() string
Status returns HTTPResponse.Status
func (SyscheckControllerDeleteSyscheckAgentResponse) StatusCode ¶
func (r SyscheckControllerDeleteSyscheckAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscheckControllerGetLastScanAgentParams ¶
type SyscheckControllerGetLastScanAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SyscheckControllerGetLastScanAgentParams defines parameters for SyscheckControllerGetLastScanAgent.
type SyscheckControllerGetLastScanAgentResponse ¶
type SyscheckControllerGetLastScanAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseLastScan `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscheckControllerGetLastScanAgentResponse ¶ added in v0.8.0
func ParseApiControllersSyscheckControllerGetLastScanAgentResponse(rsp *http.Response) (*SyscheckControllerGetLastScanAgentResponse, error)
ParseApiControllersSyscheckControllerGetLastScanAgentResponse parses an HTTP response from a SyscheckControllerGetLastScanAgentWithResponse call
func (SyscheckControllerGetLastScanAgentResponse) Status ¶
func (r SyscheckControllerGetLastScanAgentResponse) Status() string
Status returns HTTPResponse.Status
func (SyscheckControllerGetLastScanAgentResponse) StatusCode ¶
func (r SyscheckControllerGetLastScanAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscheckControllerGetSyscheckAgentParams ¶
type SyscheckControllerGetSyscheckAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by full path
File *FullPathFilter `json:"file,omitempty"`
// Filter by architecture
Arch *SyscheckControllerGetSyscheckAgentParamsArch `json:"arch,omitempty"`
// Filter by value name
ValueName *ValueName `json:"value.name,omitempty"`
// Filter by value type
ValueType *ValueType `json:"value.type,omitempty"`
// Filter by file type. Registry_key and registry_value types are only available in Windows agents
Type *SyscheckControllerGetSyscheckAgentParamsType `json:"type,omitempty"`
// Return a summary grouping by filename
Summary *Summary `json:"summary,omitempty"`
// Filter files with the specified MD5 checksum
Md5 *Md5 `json:"md5,omitempty"`
// Filter files with the specified SHA1 checksum
Sha1 *Sha1 `json:"sha1,omitempty"`
// Filter files with the specified SHA256 checksum
Sha256 *Sha256 `json:"sha256,omitempty"`
// Filter files with the specified hash (md5, sha256 or sha1)
Hash *Hashfilter `json:"hash,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
}
SyscheckControllerGetSyscheckAgentParams defines parameters for SyscheckControllerGetSyscheckAgent.
type SyscheckControllerGetSyscheckAgentParamsArch ¶ added in v0.8.0
type SyscheckControllerGetSyscheckAgentParamsArch string
SyscheckControllerGetSyscheckAgentParamsArch defines parameters for SyscheckControllerGetSyscheckAgent.
type SyscheckControllerGetSyscheckAgentParamsType ¶ added in v0.8.0
type SyscheckControllerGetSyscheckAgentParamsType string
SyscheckControllerGetSyscheckAgentParamsType defines parameters for SyscheckControllerGetSyscheckAgent.
type SyscheckControllerGetSyscheckAgentResponse ¶
type SyscheckControllerGetSyscheckAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscheckResult `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscheckControllerGetSyscheckAgentResponse ¶ added in v0.8.0
func ParseApiControllersSyscheckControllerGetSyscheckAgentResponse(rsp *http.Response) (*SyscheckControllerGetSyscheckAgentResponse, error)
ParseApiControllersSyscheckControllerGetSyscheckAgentResponse parses an HTTP response from a SyscheckControllerGetSyscheckAgentWithResponse call
func (SyscheckControllerGetSyscheckAgentResponse) Status ¶
func (r SyscheckControllerGetSyscheckAgentResponse) Status() string
Status returns HTTPResponse.Status
func (SyscheckControllerGetSyscheckAgentResponse) StatusCode ¶
func (r SyscheckControllerGetSyscheckAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscheckControllerInterface ¶
type SyscheckControllerInterface interface {
DeleteSyscheckAgent(arg1 AgentId, params *SyscheckControllerDeleteSyscheckAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponse, error)
GetLastScanAgent(arg1 AgentId, params *SyscheckControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseLastScan, error)
GetSyscheckAgent(arg1 AgentId, params *SyscheckControllerGetSyscheckAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscheckResult, error)
PutSyscheck(params *SyscheckControllerPutSyscheckParams, reqEditors ...RequestEditorFn) (*AllItemsResponseAgentIDs, error)
}
SyscheckControllerInterface contains all methods for the wazuh controller api
type SyscheckControllerPutSyscheckParams ¶
type SyscheckControllerPutSyscheckParams struct {
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
SyscheckControllerPutSyscheckParams defines parameters for SyscheckControllerPutSyscheck.
type SyscheckControllerPutSyscheckResponse ¶
type SyscheckControllerPutSyscheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseAgentIDs `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscheckControllerPutSyscheckResponse ¶ added in v0.8.0
func ParseApiControllersSyscheckControllerPutSyscheckResponse(rsp *http.Response) (*SyscheckControllerPutSyscheckResponse, error)
ParseApiControllersSyscheckControllerPutSyscheckResponse parses an HTTP response from a SyscheckControllerPutSyscheckWithResponse call
func (SyscheckControllerPutSyscheckResponse) Status ¶
func (r SyscheckControllerPutSyscheckResponse) Status() string
Status returns HTTPResponse.Status
func (SyscheckControllerPutSyscheckResponse) StatusCode ¶
func (r SyscheckControllerPutSyscheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscheckDatabase ¶
type SyscheckDatabase struct {
// Number of changes applied
Changes *int32 `json:"changes,omitempty"`
// Date when the alert was raised
Date *time.Time `json:"date,omitempty"`
// File name that raised the alert
File *string `json:"file,omitempty"`
// GID of the file. Only available in Linux agents
Gid *string `json:"gid,omitempty"`
// Group name. Only available in Linux agents
Gname *string `json:"gname,omitempty"`
// Inode of the file. Only available in Linux agents
Inode *int32 `json:"inode,omitempty"`
// MD5 checksum of the file
Md5 *string `json:"md5,omitempty"`
// Last modification date of the file
Mtime *string `json:"mtime,omitempty"`
// File permissions
Perm *string `json:"perm,omitempty"`
// SHA1 checksum of the file
Sha1 *string `json:"sha1,omitempty"`
// SHA256 checksum of the file
Sha256 *string `json:"sha256,omitempty"`
// File size in bytes
Size *int64 `json:"size,omitempty"`
// UID of the file
Uid *string `json:"uid,omitempty"`
// User name of the file
Uname *string `json:"uname,omitempty"`
}
SyscheckDatabase defines model for SyscheckDatabase.
type SyscollectorController ¶
type SyscollectorController struct {
*ClientWithResponses
}
SyscollectorController implementation of the SyscollectorController interface
func (*SyscollectorController) GetHardwareInfo ¶
func (c *SyscollectorController) GetHardwareInfo(arg1 AgentId, params *SyscollectorControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHardware, error)
GetHardwareInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetHotfixInfo ¶
func (c *SyscollectorController) GetHotfixInfo(arg1 AgentId, params *SyscollectorControllerGetHotfixInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHotfixes, error)
GetHotfixInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetNetworkAddressInfo ¶
func (c *SyscollectorController) GetNetworkAddressInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorNetwork, error)
GetNetworkAddressInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetNetworkInterfaceInfo ¶
func (c *SyscollectorController) GetNetworkInterfaceInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorInterface, error)
GetNetworkInterfaceInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetNetworkProtocolInfo ¶
func (c *SyscollectorController) GetNetworkProtocolInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProtocol, error)
GetNetworkProtocolInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetOsInfo ¶
func (c *SyscollectorController) GetOsInfo(arg1 AgentId, params *SyscollectorControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorOS, error)
GetOsInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetPackagesInfo ¶
func (c *SyscollectorController) GetPackagesInfo(arg1 AgentId, params *SyscollectorControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPackages, error)
GetPackagesInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetPortsInfo ¶
func (c *SyscollectorController) GetPortsInfo(arg1 AgentId, params *SyscollectorControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPorts, error)
GetPortsInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetProcessesInfo ¶
func (c *SyscollectorController) GetProcessesInfo(arg1 AgentId, params *SyscollectorControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProcesses, error)
GetProcessesInfo calls the Syscollector controller´s function
type SyscollectorControllerGetHardwareInfoParams ¶
type SyscollectorControllerGetHardwareInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
}
SyscollectorControllerGetHardwareInfoParams defines parameters for SyscollectorControllerGetHardwareInfo.
type SyscollectorControllerGetHardwareInfoResponse ¶
type SyscollectorControllerGetHardwareInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorHardware `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetHardwareInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetHardwareInfoResponse(rsp *http.Response) (*SyscollectorControllerGetHardwareInfoResponse, error)
ParseApiControllersSyscollectorControllerGetHardwareInfoResponse parses an HTTP response from a SyscollectorControllerGetHardwareInfoWithResponse call
func (SyscollectorControllerGetHardwareInfoResponse) Status ¶
func (r SyscollectorControllerGetHardwareInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetHardwareInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetHardwareInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetHotfixInfoParams ¶
type SyscollectorControllerGetHotfixInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by hotfix
Hotfix *Hotfix `json:"hotfix,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SyscollectorControllerGetHotfixInfoParams defines parameters for SyscollectorControllerGetHotfixInfo.
type SyscollectorControllerGetHotfixInfoResponse ¶
type SyscollectorControllerGetHotfixInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorHotfixes `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetHotfixInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetHotfixInfoResponse(rsp *http.Response) (*SyscollectorControllerGetHotfixInfoResponse, error)
ParseApiControllersSyscollectorControllerGetHotfixInfoResponse parses an HTTP response from a SyscollectorControllerGetHotfixInfoWithResponse call
func (SyscollectorControllerGetHotfixInfoResponse) Status ¶
func (r SyscollectorControllerGetHotfixInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetHotfixInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetHotfixInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetNetworkAddressInfoParams ¶
type SyscollectorControllerGetNetworkAddressInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by network interface
Iface *Iface `json:"iface,omitempty"`
// Filter by IP protocol
Proto *Proto `json:"proto,omitempty"`
// Filter by IP address
Address *Address `json:"address,omitempty"`
// Filter by broadcast direction
Broadcast *Broadcast `json:"broadcast,omitempty"`
// Filter by netmask
Netmask *Netmask `json:"netmask,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SyscollectorControllerGetNetworkAddressInfoParams defines parameters for SyscollectorControllerGetNetworkAddressInfo.
type SyscollectorControllerGetNetworkAddressInfoResponse ¶
type SyscollectorControllerGetNetworkAddressInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorNetwork `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetNetworkAddressInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetNetworkAddressInfoResponse(rsp *http.Response) (*SyscollectorControllerGetNetworkAddressInfoResponse, error)
ParseApiControllersSyscollectorControllerGetNetworkAddressInfoResponse parses an HTTP response from a SyscollectorControllerGetNetworkAddressInfoWithResponse call
func (SyscollectorControllerGetNetworkAddressInfoResponse) Status ¶
func (r SyscollectorControllerGetNetworkAddressInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetNetworkAddressInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetNetworkAddressInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetNetworkInterfaceInfoParams ¶
type SyscollectorControllerGetNetworkInterfaceInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by adapter
Adapter *Adapter `json:"adapter,omitempty"`
// Type of interface
Type *Typesys `json:"type,omitempty"`
// Filter by state
State *State `json:"state,omitempty"`
// Filter by mtu
Mtu *Mtu `json:"mtu,omitempty"`
// Filter by tx.packets
TxPackets *TxPackets `json:"tx.packets,omitempty"`
// Filter by rx.packets
RxPackets *RxPackets `json:"rx.packets,omitempty"`
// Filter by tx.bytes
TxBytes *TxBytes `json:"tx.bytes,omitempty"`
// Filter by rx.bytes
RxBytes *RxBytes `json:"rx.bytes,omitempty"`
// Filter by tx.errors
TxErrors *TxErrors `json:"tx.errors,omitempty"`
// Filter by rx.errors
RxErrors *RxErrors `json:"rx.errors,omitempty"`
// Filter by tx.dropped
TxDropped *TxDropped `json:"tx.dropped,omitempty"`
// Filter by rx.dropped
RxDropped *RxDropped `json:"rx.dropped,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SyscollectorControllerGetNetworkInterfaceInfoParams defines parameters for SyscollectorControllerGetNetworkInterfaceInfo.
type SyscollectorControllerGetNetworkInterfaceInfoResponse ¶
type SyscollectorControllerGetNetworkInterfaceInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorInterface `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetNetworkInterfaceInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetNetworkInterfaceInfoResponse(rsp *http.Response) (*SyscollectorControllerGetNetworkInterfaceInfoResponse, error)
ParseApiControllersSyscollectorControllerGetNetworkInterfaceInfoResponse parses an HTTP response from a SyscollectorControllerGetNetworkInterfaceInfoWithResponse call
func (SyscollectorControllerGetNetworkInterfaceInfoResponse) Status ¶
func (r SyscollectorControllerGetNetworkInterfaceInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetNetworkInterfaceInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetNetworkInterfaceInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetNetworkProtocolInfoParams ¶
type SyscollectorControllerGetNetworkProtocolInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by network interface
Iface *Iface `json:"iface,omitempty"`
// Type of network
Type *TypeSyscollector `json:"type,omitempty"`
// Filter by network gateway
Gateway *Gateway `json:"gateway,omitempty"`
// Filter by network dhcp (enabled or disabled)
Dhcp *Dhcp `json:"dhcp,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SyscollectorControllerGetNetworkProtocolInfoParams defines parameters for SyscollectorControllerGetNetworkProtocolInfo.
type SyscollectorControllerGetNetworkProtocolInfoResponse ¶
type SyscollectorControllerGetNetworkProtocolInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorProtocol `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetNetworkProtocolInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetNetworkProtocolInfoResponse(rsp *http.Response) (*SyscollectorControllerGetNetworkProtocolInfoResponse, error)
ParseApiControllersSyscollectorControllerGetNetworkProtocolInfoResponse parses an HTTP response from a SyscollectorControllerGetNetworkProtocolInfoWithResponse call
func (SyscollectorControllerGetNetworkProtocolInfoResponse) Status ¶
func (r SyscollectorControllerGetNetworkProtocolInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetNetworkProtocolInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetNetworkProtocolInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetOsInfoParams ¶
type SyscollectorControllerGetOsInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
}
SyscollectorControllerGetOsInfoParams defines parameters for SyscollectorControllerGetOsInfo.
type SyscollectorControllerGetOsInfoResponse ¶
type SyscollectorControllerGetOsInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorOS `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetOsInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetOsInfoResponse(rsp *http.Response) (*SyscollectorControllerGetOsInfoResponse, error)
ParseApiControllersSyscollectorControllerGetOsInfoResponse parses an HTTP response from a SyscollectorControllerGetOsInfoWithResponse call
func (SyscollectorControllerGetOsInfoResponse) Status ¶
func (r SyscollectorControllerGetOsInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetOsInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetOsInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetPackagesInfoParams ¶
type SyscollectorControllerGetPackagesInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by vendor
Vendor *Vendor `json:"vendor,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by architecture
Architecture *Architecture `json:"architecture,omitempty"`
// Filter by file format. For example 'deb' will output deb files
Format *FileFormat `json:"format,omitempty"`
// Filter by package version
Version *PackageVersion `json:"version,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SyscollectorControllerGetPackagesInfoParams defines parameters for SyscollectorControllerGetPackagesInfo.
type SyscollectorControllerGetPackagesInfoResponse ¶
type SyscollectorControllerGetPackagesInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorPackages `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetPackagesInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetPackagesInfoResponse(rsp *http.Response) (*SyscollectorControllerGetPackagesInfoResponse, error)
ParseApiControllersSyscollectorControllerGetPackagesInfoResponse parses an HTTP response from a SyscollectorControllerGetPackagesInfoWithResponse call
func (SyscollectorControllerGetPackagesInfoResponse) Status ¶
func (r SyscollectorControllerGetPackagesInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetPackagesInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetPackagesInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetPortsInfoParams ¶
type SyscollectorControllerGetPortsInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by pid
Pid *Pid `json:"pid,omitempty"`
// Filter by protocol
Protocol *Protocol `json:"protocol,omitempty"`
// Filter by Local IP
LocalIp *LocalIp `json:"local.ip,omitempty"`
// Filter by Local Port
LocalPort *LocalPort `json:"local.port,omitempty"`
// Filter by Remote IP
RemoteIp *RemoteIp `json:"remote.ip,omitempty"`
// Filter by tx_queue
TxQueue *TxQueue `json:"tx_queue,omitempty"`
// Filter by state
State *State `json:"state,omitempty"`
// Filter by process name
Process *Process `json:"process,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SyscollectorControllerGetPortsInfoParams defines parameters for SyscollectorControllerGetPortsInfo.
type SyscollectorControllerGetPortsInfoResponse ¶
type SyscollectorControllerGetPortsInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorPorts `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetPortsInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetPortsInfoResponse(rsp *http.Response) (*SyscollectorControllerGetPortsInfoResponse, error)
ParseApiControllersSyscollectorControllerGetPortsInfoResponse parses an HTTP response from a SyscollectorControllerGetPortsInfoWithResponse call
func (SyscollectorControllerGetPortsInfoResponse) Status ¶
func (r SyscollectorControllerGetPortsInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetPortsInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetPortsInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerGetProcessesInfoParams ¶
type SyscollectorControllerGetProcessesInfoParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Filter by process pid
Pid *ProcessPid `json:"pid,omitempty"`
// Filter by process state
State *ProcessState `json:"state,omitempty"`
// Filter by process parent pid
Ppid *Ppid `json:"ppid,omitempty"`
// Filter by process egroup
Egroup *Egroup `json:"egroup,omitempty"`
// Filter by process euser
Euser *Euser `json:"euser,omitempty"`
// Filter by process fgroup
Fgroup *Fgroup `json:"fgroup,omitempty"`
// Filter by process name
Name *ProcessName `json:"name,omitempty"`
// Filter by process nlwp
Nlwp *Nlwp `json:"nlwp,omitempty"`
// Filter by process pgrp
Pgrp *Pgrp `json:"pgrp,omitempty"`
// Filter by process priority
Priority *Priority `json:"priority,omitempty"`
// Filter by process rgroup
Rgroup *Rgroup `json:"rgroup,omitempty"`
// Filter by process ruser
Ruser *Ruser `json:"ruser,omitempty"`
// Filter by process sgroup
Sgroup *Sgroup `json:"sgroup,omitempty"`
// Filter by process suser
Suser *Suser `json:"suser,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
}
SyscollectorControllerGetProcessesInfoParams defines parameters for SyscollectorControllerGetProcessesInfo.
type SyscollectorControllerGetProcessesInfoResponse ¶
type SyscollectorControllerGetProcessesInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseSyscollectorProcesses `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersSyscollectorControllerGetProcessesInfoResponse ¶ added in v0.8.0
func ParseApiControllersSyscollectorControllerGetProcessesInfoResponse(rsp *http.Response) (*SyscollectorControllerGetProcessesInfoResponse, error)
ParseApiControllersSyscollectorControllerGetProcessesInfoResponse parses an HTTP response from a SyscollectorControllerGetProcessesInfoWithResponse call
func (SyscollectorControllerGetProcessesInfoResponse) Status ¶
func (r SyscollectorControllerGetProcessesInfoResponse) Status() string
Status returns HTTPResponse.Status
func (SyscollectorControllerGetProcessesInfoResponse) StatusCode ¶
func (r SyscollectorControllerGetProcessesInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyscollectorControllerInterface ¶
type SyscollectorControllerInterface interface {
GetHardwareInfo(arg1 AgentId, params *SyscollectorControllerGetHardwareInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHardware, error)
GetHotfixInfo(arg1 AgentId, params *SyscollectorControllerGetHotfixInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorHotfixes, error)
GetNetworkAddressInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorNetwork, error)
GetNetworkInterfaceInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorInterface, error)
GetNetworkProtocolInfo(arg1 AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProtocol, error)
GetOsInfo(arg1 AgentId, params *SyscollectorControllerGetOsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorOS, error)
GetPackagesInfo(arg1 AgentId, params *SyscollectorControllerGetPackagesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPackages, error)
GetPortsInfo(arg1 AgentId, params *SyscollectorControllerGetPortsInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorPorts, error)
GetProcessesInfo(arg1 AgentId, params *SyscollectorControllerGetProcessesInfoParams, reqEditors ...RequestEditorFn) (*AllItemsResponseSyscollectorProcesses, error)
}
SyscollectorControllerInterface contains all methods for the wazuh controller api
type SyscollectorHardware ¶
type SyscollectorHardware struct {
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// Motherboard serial number. This value will be empty in virtual machines
BoardSerial *string `json:"board_serial,omitempty"`
Cpu *struct {
// Number of cores the CPU has
Cores *int32 `json:"cores,omitempty"`
// Mhz the CPU has
Mhz *float32 `json:"mhz,omitempty"`
// CPU name
Name *string `json:"name,omitempty"`
} `json:"cpu,omitempty"`
Ram *struct {
// Current free RAM memory
Free *int32 `json:"free,omitempty"`
// Total RAM memory
Total *int32 `json:"total,omitempty"`
// RAM memory currently used
Usage *int32 `json:"usage,omitempty"`
} `json:"ram,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
}
SyscollectorHardware defines model for SyscollectorHardware.
type SyscollectorHotfix ¶
type SyscollectorHotfix struct {
// Hotfixes for windows agents
Hotfix *string `json:"hotfix,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
}
SyscollectorHotfix defines model for SyscollectorHotfix.
type SyscollectorInterface ¶
type SyscollectorInterface struct {
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// MAC Address of the network interface
Mac *string `json:"mac,omitempty"`
// Network interface's Maximum Transfer Unit
Mtu *int32 `json:"mtu,omitempty"`
// Network interface name
Name *string `json:"name,omitempty"`
// Information related to received packets in the network interface
Rx *NetworkInterfaceReceivedPackets `json:"rx,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
// Network interface state
State *SyscollectorInterfaceState `json:"state,omitempty"`
// Information related to sent packets in the network interface
Tx *NetworkInterfaceSentPackets `json:"tx,omitempty"`
// Network interface type
Type *string `json:"type,omitempty"`
}
SyscollectorInterface defines model for SyscollectorInterface.
type SyscollectorInterfaceState ¶ added in v0.8.0
type SyscollectorInterfaceState string
Network interface state
const ( SyscollectorInterfaceStateDown SyscollectorInterfaceState = "down" SyscollectorInterfaceStateUp SyscollectorInterfaceState = "up" )
Defines values for SyscollectorInterfaceState.
type SyscollectorNetwork ¶
type SyscollectorNetwork struct {
// IP address associated with the network interface
Address *string `json:"address,omitempty"`
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// IP address associated with the broadcast
Broadcast *string `json:"broadcast,omitempty"`
// Network interface name
Iface *string `json:"iface,omitempty"`
// Netmask associated with the network interface
Netmask *string `json:"netmask,omitempty"`
// Protocol associated with the network interface
Proto *string `json:"proto,omitempty"`
// Scan ID
ScanId *int64 `json:"scan_id,omitempty"`
}
SyscollectorNetwork defines model for SyscollectorNetwork.
type SyscollectorOS ¶
type SyscollectorOS struct {
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// OS architecture
Architecture *string `json:"architecture,omitempty"`
// Machine's hostname
Hostname *string `json:"hostname,omitempty"`
Os *struct {
// OS version codename
Codename *string `json:"codename,omitempty"`
// Major release version
Major *string `json:"major,omitempty"`
// Minor release version
Minor *string `json:"minor,omitempty"`
// OS name
Name *string `json:"name,omitempty"`
// OS platform name
Platform *string `json:"platform,omitempty"`
// Full version name
Version *string `json:"version,omitempty"`
} `json:"os,omitempty"`
// Release name
Release *string `json:"release,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
// System name
Sysname *string `json:"sysname,omitempty"`
// Release version
Version *string `json:"version,omitempty"`
}
SyscollectorOS defines model for SyscollectorOS.
type SyscollectorPackages ¶
type SyscollectorPackages struct {
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// Package architecture
Architecture *string `json:"architecture,omitempty"`
// Brief package description
Description *string `json:"description,omitempty"`
// Package format
Format *SyscollectorPackagesFormat `json:"format,omitempty"`
// Whether the package has multi architecture support
Multiarch *SyscollectorPackagesMultiarch `json:"multiarch,omitempty"`
// Package name
Name *string `json:"name,omitempty"`
// Package priority
Priority *string `json:"priority,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
// Package section
Section *string `json:"section,omitempty"`
// Installed package size in bytes
Size *int `json:"size,omitempty"`
// Source section
Source *string `json:"source,omitempty"`
// Vendor name
Vendor *string `json:"vendor,omitempty"`
// Release version installed
Version *string `json:"version,omitempty"`
}
SyscollectorPackages defines model for SyscollectorPackages.
type SyscollectorPackagesFormat ¶ added in v0.8.0
type SyscollectorPackagesFormat string
Package format
const ( SyscollectorPackagesFormatApk SyscollectorPackagesFormat = "apk" SyscollectorPackagesFormatDeb SyscollectorPackagesFormat = "deb" SyscollectorPackagesFormatMacports SyscollectorPackagesFormat = "macports" SyscollectorPackagesFormatNpm SyscollectorPackagesFormat = "npm" SyscollectorPackagesFormatPacman SyscollectorPackagesFormat = "pacman" SyscollectorPackagesFormatPkg SyscollectorPackagesFormat = "pkg" SyscollectorPackagesFormatPypi SyscollectorPackagesFormat = "pypi" SyscollectorPackagesFormatRpm SyscollectorPackagesFormat = "rpm" SyscollectorPackagesFormatSnap SyscollectorPackagesFormat = "snap" SyscollectorPackagesFormatWin SyscollectorPackagesFormat = "win" )
Defines values for SyscollectorPackagesFormat.
type SyscollectorPackagesMultiarch ¶ added in v0.8.0
type SyscollectorPackagesMultiarch string
Whether the package has multi architecture support
const ( SyscollectorPackagesMultiarchAllowed SyscollectorPackagesMultiarch = "allowed" SyscollectorPackagesMultiarchForeign SyscollectorPackagesMultiarch = "foreign" SyscollectorPackagesMultiarchSame SyscollectorPackagesMultiarch = "same" )
Defines values for SyscollectorPackagesMultiarch.
type SyscollectorPorts ¶
type SyscollectorPorts struct {
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// Port inode
Inode *int64 `json:"inode,omitempty"`
// Information regarding local opened port
Local *LocalPortInfo `json:"local,omitempty"`
// PID owner of the opened port
Pid *int32 `json:"pid,omitempty"`
// Name of the PID
Process *string `json:"process,omitempty"`
// Protocol used in the communication
Protocol *SyscollectorPortsProtocol `json:"protocol,omitempty"`
// Information regarding the remote port the machine is connected to
Remote *RemotePortInfo `json:"remote,omitempty"`
// Packets at the receiver queue
RxQueue *int32 `json:"rx_queue,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
// Communication status
State *SyscollectorPortsState `json:"state,omitempty"`
// Packets pending to be transmitted
TxQueue *int32 `json:"tx_queue,omitempty"`
}
SyscollectorPorts defines model for SyscollectorPorts.
type SyscollectorPortsProtocol ¶ added in v0.8.0
type SyscollectorPortsProtocol string
Protocol used in the communication
const ( SyscollectorPortsProtocolTcp SyscollectorPortsProtocol = "tcp" SyscollectorPortsProtocolTcp6 SyscollectorPortsProtocol = "tcp6" SyscollectorPortsProtocolUdp SyscollectorPortsProtocol = "udp" SyscollectorPortsProtocolUdp6 SyscollectorPortsProtocol = "udp6" )
Defines values for SyscollectorPortsProtocol.
type SyscollectorPortsState ¶ added in v0.8.0
type SyscollectorPortsState string
Communication status
const ( SyscollectorPortsStateClose SyscollectorPortsState = "close" SyscollectorPortsStateCloseWait SyscollectorPortsState = "close_wait" SyscollectorPortsStateClosing SyscollectorPortsState = "closing" SyscollectorPortsStateDeleteTcp SyscollectorPortsState = "delete_tcp" SyscollectorPortsStateEstablished SyscollectorPortsState = "established" SyscollectorPortsStateFinWait1 SyscollectorPortsState = "fin_wait1" SyscollectorPortsStateFinWait2 SyscollectorPortsState = "fin_wait2" SyscollectorPortsStateLastAck SyscollectorPortsState = "last_ack" SyscollectorPortsStateListening SyscollectorPortsState = "listening" SyscollectorPortsStateSynRecv SyscollectorPortsState = "syn_recv" SyscollectorPortsStateSynSent SyscollectorPortsState = "syn_sent" SyscollectorPortsStateTimeWait SyscollectorPortsState = "time_wait" SyscollectorPortsStateUnknown SyscollectorPortsState = "unknown" )
Defines values for SyscollectorPortsState.
type SyscollectorProcess ¶
type SyscollectorProcess struct {
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// Process received arguments
Argvs *string `json:"argvs,omitempty"`
// Executed command
Cmd *string `json:"cmd,omitempty"`
// Effective group
Egroup *string `json:"egroup,omitempty"`
// Effective user
Euser *string `json:"euser,omitempty"`
// Filesystem group name
Fgroup *string `json:"fgroup,omitempty"`
// Process name
Name *string `json:"name,omitempty"`
// Nice value of the process
Nice *int32 `json:"nice,omitempty"`
// Number of light weight processes
Nlwp *int32 `json:"nlwp,omitempty"`
// Process group
Pgrp *int32 `json:"pgrp,omitempty"`
// Process PID
Pid *string `json:"pid,omitempty"`
// Process parent PID
Ppid *int32 `json:"ppid,omitempty"`
// Kernel scheduling priority
Priority *int32 `json:"priority,omitempty"`
// Processor number which is running the process
Processor *int32 `json:"processor,omitempty"`
// Process resident size in bytes
Resident *int32 `json:"resident,omitempty"`
// Real group
Rgroup *string `json:"rgroup,omitempty"`
// Real user
Ruser *string `json:"ruser,omitempty"`
Scan *ScanIdTime `json:"scan,omitempty"`
// Process session
Session *int32 `json:"session,omitempty"`
// Saved-set group
Sgroup *string `json:"sgroup,omitempty"`
Share *int32 `json:"share,omitempty"`
// Process size in bytes
Size *int32 `json:"size,omitempty"`
// Time when the process started
StartTime *int64 `json:"start_time,omitempty"`
// Process state
State *string `json:"state,omitempty"`
// Time spent executing system code
Stime *int32 `json:"stime,omitempty"`
// Saved-set user
Suser *string `json:"suser,omitempty"`
// Thread Group ID
Tgid *int32 `json:"tgid,omitempty"`
// Process TTY number
Tty *int32 `json:"tty,omitempty"`
// Time spent executing user code
Utime *int32 `json:"utime,omitempty"`
// Total VM size (KB)
VmSize *int32 `json:"vm_size,omitempty"`
}
SyscollectorProcess defines model for SyscollectorProcess.
type SyscollectorProtocol ¶
type SyscollectorProtocol struct {
// Agent ID
AgentId *AgentID `json:"agent_id,omitempty"`
// DHCP status
Dhcp *DHCPStatus `json:"dhcp,omitempty"`
// Gateway IP
Gateway *string `json:"gateway,omitempty"`
// Network interface name
Iface *string `json:"iface,omitempty"`
// Scan ID
ScanId *int64 `json:"scan_id,omitempty"`
// Protocol of the interface data
Type *SyscollectorProtocolType `json:"type,omitempty"`
}
SyscollectorProtocol defines model for SyscollectorProtocol.
type SyscollectorProtocolType ¶ added in v0.8.0
type SyscollectorProtocolType string
Protocol of the interface data
const ( SyscollectorProtocolTypeIpv4 SyscollectorProtocolType = "ipv4" SyscollectorProtocolTypeIpv6 SyscollectorProtocolType = "ipv6" )
Defines values for SyscollectorProtocolType.
type Tag ¶
type Tag string
Tag defines model for tag.
const ( WazuhAgentlessd Tag = "wazuh-agentlessd" WazuhAnalysisd Tag = "wazuh-analysisd" WazuhAuthd Tag = "wazuh-authd" WazuhCsyslogd Tag = "wazuh-csyslogd" WazuhDb Tag = "wazuh-db" WazuhDbd Tag = "wazuh-dbd" WazuhExecd Tag = "wazuh-execd" WazuhIntegratord Tag = "wazuh-integratord" WazuhLogcollector Tag = "wazuh-logcollector" WazuhMaild Tag = "wazuh-maild" WazuhModulesd Tag = "wazuh-modulesd" WazuhModulesdAgentKeyPolling Tag = "wazuh-modulesd:agent-key-polling" WazuhModulesdAwsS3 Tag = "wazuh-modulesd:aws-s3" WazuhModulesdAzureLogs Tag = "wazuh-modulesd:azure-logs" WazuhModulesdCiscat Tag = "wazuh-modulesd:ciscat" WazuhModulesdCommand Tag = "wazuh-modulesd:command" WazuhModulesdControl Tag = "wazuh-modulesd:control" WazuhModulesdDatabase Tag = "wazuh-modulesd:database" WazuhModulesdDockerListener Tag = "wazuh-modulesd:docker-listener" WazuhModulesdDownload Tag = "wazuh-modulesd:download" WazuhModulesdOscap Tag = "wazuh-modulesd:oscap" WazuhModulesdOsquery Tag = "wazuh-modulesd:osquery" WazuhModulesdSyscollector Tag = "wazuh-modulesd:syscollector" WazuhModulesdVulnerabilityDetector Tag = "wazuh-modulesd:vulnerability-detector" WazuhMonitord Tag = "wazuh-monitord" WazuhRemoted Tag = "wazuh-remoted" WazuhReportd Tag = "wazuh-reportd" WazuhRootcheck Tag = "wazuh-rootcheck" WazuhSyscheckd Tag = "wazuh-syscheckd" )
Defines values for Tag.
type TaskController ¶ added in v0.8.0
type TaskController struct {
*ClientWithResponses
}
TaskController implementation of the TaskController interface
func (*TaskController) GetTasksStatus ¶ added in v0.8.0
func (c *TaskController) GetTasksStatus(params *TaskControllerGetTasksStatusParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetTasksStatus calls the Task controller´s function
type TaskControllerGetTasksStatusParams ¶ added in v0.8.0
type TaskControllerGetTasksStatusParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// List of agent IDs (separated by comma), all agents selected by default if not specified
AgentsList *AgentsList `json:"agents_list,omitempty"`
// List of task IDs (separated by comma)
TasksList *TasksList `json:"tasks_list,omitempty"`
// Filter by command
Command *Command `json:"command,omitempty"`
// Show results filtered by node
Node *Node `json:"node,omitempty"`
// Show results filtered by module
Module *Module `json:"module,omitempty"`
// Filter by status
Status *Status `json:"status,omitempty"`
}
TaskControllerGetTasksStatusParams defines parameters for TaskControllerGetTasksStatus.
type TaskControllerGetTasksStatusResponse ¶ added in v0.8.0
type TaskControllerGetTasksStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
}
func ParseApiControllersTaskControllerGetTasksStatusResponse ¶ added in v0.8.0
func ParseApiControllersTaskControllerGetTasksStatusResponse(rsp *http.Response) (*TaskControllerGetTasksStatusResponse, error)
ParseApiControllersTaskControllerGetTasksStatusResponse parses an HTTP response from a TaskControllerGetTasksStatusWithResponse call
func (TaskControllerGetTasksStatusResponse) Status ¶ added in v0.8.0
func (r TaskControllerGetTasksStatusResponse) Status() string
Status returns HTTPResponse.Status
func (TaskControllerGetTasksStatusResponse) StatusCode ¶ added in v0.8.0
func (r TaskControllerGetTasksStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TaskControllerInterface ¶ added in v0.8.0
type TaskControllerInterface interface {
GetTasksStatus(params *TaskControllerGetTasksStatusParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
}
TaskControllerInterface contains all methods for the wazuh controller api
type Token ¶
type Token struct {
// User's JWT token
Token *string `json:"token,omitempty"`
}
Token defines model for Token.
type TooManyRequestsResponse ¶
type TooManyRequestsResponse RequestError
TooManyRequestsResponse defines model for TooManyRequestsResponse.
type TypeSyscollector ¶
type TypeSyscollector string
TypeSyscollector defines model for type_syscollector.
type UnauthorizedResponse ¶
type UnauthorizedResponse RequestError
UnauthorizedResponse defines model for UnauthorizedResponse.
type UserIdsDelete ¶
type UserIdsDelete []UserIdDELETE
UserIdsDelete defines model for user_ids_delete.
type UsersResponse ¶
type UsersResponse struct {
// Flag to enable the user to log in using authorization context
AllowRunAs *bool `json:"allow_run_as,omitempty"`
// User's id
Id *int `json:"id,omitempty"`
// User's roles
Roles *[]any `json:"roles,omitempty"`
Username *string `json:"username,omitempty"`
}
UsersResponse defines model for UsersResponse.
type ValidationStatus ¶
type ValidationStatus struct {
// Node name
Name *string `json:"name,omitempty"`
// Status value
Status *string `json:"status,omitempty"`
}
ValidationStatus defines model for ValidationStatus.
type Vulnerability ¶ added in v0.10.0
type Vulnerability struct {
CVE string `json:"cve"`
Name *string `json:"name,omitempty"`
Title *string `json:"title,omitempty"`
Version *string `json:"version,omitempty"`
Architecture *string `json:"architecture,omitempty"`
DetectionTime *string `json:"detection_time,omitempty"`
Type *string `json:"type,omitempty"`
Status *string `json:"status,omitempty"`
Condition *string `json:"condition,omitempty"`
Published *string `json:"published,omitempty"`
Updated *string `json:"updated,omitempty"`
ExternalReferences []string `json:"external_references,omitempty"`
CVSS2Score *float32 `json:"cvss2_score,omitempty"`
CVSS3Score *float32 `json:"cvss3_score,omitempty"`
Severity *string `json:"severity,omitempty"`
}
Vulnerability defines model for LogSummary.
type VulnerabilityController ¶ added in v0.8.0
type VulnerabilityController struct {
*ClientWithResponses
}
VulnerabilityController implementation of the VulnerabilityController interface
func (*VulnerabilityController) GetLastScanAgent ¶ added in v0.10.0
func (c *VulnerabilityController) GetLastScanAgent(arg1 AgentId, params *VulnerabilityControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseLastScan, error)
GetLastScanAgent calls the Vulnerability controller´s function
func (*VulnerabilityController) GetVulnerabilitiesFieldSummary ¶ added in v0.10.0
func (c *VulnerabilityController) GetVulnerabilitiesFieldSummary(arg1 AgentId, arg2 VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField, params *VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetVulnerabilitiesFieldSummary calls the Vulnerability controller´s function
func (*VulnerabilityController) GetVulnerabilityAgent ¶ added in v0.8.0
func (c *VulnerabilityController) GetVulnerabilityAgent(arg1 AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseVulnerabilities, error)
GetVulnerabilityAgent calls the Vulnerability controller´s function
type VulnerabilityControllerGetLastScanAgentParams ¶ added in v0.10.0
type VulnerabilityControllerGetLastScanAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
}
VulnerabilityControllerGetLastScanAgentParams defines parameters for VulnerabilityControllerGetLastScanAgent.
type VulnerabilityControllerGetLastScanAgentResponse ¶ added in v0.10.0
type VulnerabilityControllerGetLastScanAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Embedded struct due to allOf(#/components/schemas/ApiResponse)
ApiResponse `yaml:",inline"`
// Embedded fields due to inline allOf schema
Data *AllItemsResponseLastScan `json:"data,omitempty"`
}
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersVulnerabilityControllerGetLastScanAgentResponse ¶ added in v0.10.0
func ParseApiControllersVulnerabilityControllerGetLastScanAgentResponse(rsp *http.Response) (*VulnerabilityControllerGetLastScanAgentResponse, error)
ParseApiControllersVulnerabilityControllerGetLastScanAgentResponse parses an HTTP response from a VulnerabilityControllerGetLastScanAgentWithResponse call
func (VulnerabilityControllerGetLastScanAgentResponse) Status ¶ added in v0.10.0
func (r VulnerabilityControllerGetLastScanAgentResponse) Status() string
Status returns HTTPResponse.Status
func (VulnerabilityControllerGetLastScanAgentResponse) StatusCode ¶ added in v0.10.0
func (r VulnerabilityControllerGetLastScanAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams ¶ added in v0.10.0
type VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
}
VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams defines parameters for VulnerabilityControllerGetVulnerabilitiesFieldSummary.
type VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField ¶ added in v0.10.0
type VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField string
VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField defines parameters for VulnerabilityControllerGetVulnerabilitiesFieldSummary.
type VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse ¶ added in v0.10.0
type VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiResponse
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersVulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse ¶ added in v0.10.0
func ParseApiControllersVulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse(rsp *http.Response) (*VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse, error)
ParseApiControllersVulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse parses an HTTP response from a VulnerabilityControllerGetVulnerabilitiesFieldSummaryWithResponse call
func (VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse) Status ¶ added in v0.10.0
func (r VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse) StatusCode ¶ added in v0.10.0
func (r VulnerabilityControllerGetVulnerabilitiesFieldSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VulnerabilityControllerGetVulnerabilityAgentParams ¶ added in v0.8.0
type VulnerabilityControllerGetVulnerabilityAgentParams struct {
// Show results in human-readable format
Pretty *Pretty `json:"pretty,omitempty"`
// Disable timeout response
WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"`
// First element to return in the collection
Offset *Offset `json:"offset,omitempty"`
// Maximum number of elements to return. Although up to 100.000 can be specified, it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
Limit *Limit `json:"limit,omitempty"`
// Sort the collection by a field or fields (separated by comma). Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Sort *Sort `json:"sort,omitempty"`
// Look for elements containing the specified string. To obtain a complementary search, use '-' at the beginning
Search *Search `json:"search,omitempty"`
// Select which fields to return (separated by comma). Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
Select *Select `json:"select,omitempty"`
// Query to filter results by. For example q="status=active"
Q *Query `json:"q,omitempty"`
// Look for distinct values.
Distinct *Distinct `json:"distinct,omitempty"`
// Filter by architecture
Architecture *Architecture `json:"architecture,omitempty"`
// Filter by CVE
Cve *Cve `json:"cve,omitempty"`
// Filter by name
Name *Name `json:"name,omitempty"`
// Filter by CVE version
Version *CveVersion `json:"version,omitempty"`
// Filter by CVE type
Type *VulnerabilityControllerGetVulnerabilityAgentParamsType `json:"type,omitempty"`
// Filter by CVE status
Status *VulnerabilityControllerGetVulnerabilityAgentParamsStatus `json:"status,omitempty"`
// Filter by CVE severity
Severity *CveSeverity `json:"severity,omitempty"`
}
VulnerabilityControllerGetVulnerabilityAgentParams defines parameters for VulnerabilityControllerGetVulnerabilityAgent.
type VulnerabilityControllerGetVulnerabilityAgentParamsStatus ¶ added in v0.10.0
type VulnerabilityControllerGetVulnerabilityAgentParamsStatus string
VulnerabilityControllerGetVulnerabilityAgentParamsStatus defines parameters for VulnerabilityControllerGetVulnerabilityAgent.
type VulnerabilityControllerGetVulnerabilityAgentParamsType ¶ added in v0.10.0
type VulnerabilityControllerGetVulnerabilityAgentParamsType string
VulnerabilityControllerGetVulnerabilityAgentParamsType defines parameters for VulnerabilityControllerGetVulnerabilityAgent.
type VulnerabilityControllerGetVulnerabilityAgentResponse ¶ added in v0.8.0
type VulnerabilityControllerGetVulnerabilityAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AllItemsResponseVulnerability
JSON400 *RequestError
JSON401 *RequestError
JSON403 *ApiError
JSON405 *RequestError
JSON429 *RequestError
}
func ParseApiControllersVulnerabilityControllerGetVulnerabilityAgentResponse ¶ added in v0.8.0
func ParseApiControllersVulnerabilityControllerGetVulnerabilityAgentResponse(rsp *http.Response) (*VulnerabilityControllerGetVulnerabilityAgentResponse, error)
ParseApiControllersVulnerabilityControllerGetVulnerabilityAgentResponse parses an HTTP response from a VulnerabilityControllerGetVulnerabilityAgentWithResponse call
func (VulnerabilityControllerGetVulnerabilityAgentResponse) Status ¶ added in v0.8.0
func (r VulnerabilityControllerGetVulnerabilityAgentResponse) Status() string
Status returns HTTPResponse.Status
func (VulnerabilityControllerGetVulnerabilityAgentResponse) StatusCode ¶ added in v0.8.0
func (r VulnerabilityControllerGetVulnerabilityAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VulnerabilityControllerInterface ¶ added in v0.8.0
type VulnerabilityControllerInterface interface {
GetLastScanAgent(arg1 AgentId, params *VulnerabilityControllerGetLastScanAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseLastScan, error)
GetVulnerabilitiesFieldSummary(arg1 AgentId, arg2 VulnerabilityControllerGetVulnerabilitiesFieldSummaryParamsField, params *VulnerabilityControllerGetVulnerabilitiesFieldSummaryParams, reqEditors ...RequestEditorFn) (*ApiResponse, error)
GetVulnerabilityAgent(arg1 AgentId, params *VulnerabilityControllerGetVulnerabilityAgentParams, reqEditors ...RequestEditorFn) (*AllItemsResponseVulnerabilities, error)
}
VulnerabilityControllerInterface contains all methods for the wazuh controller api
type VulnerabilityField ¶ added in v0.10.0
type VulnerabilityField string
VulnerabilityField defines model for vulnerability_field.
type WaitForComplete ¶
type WaitForComplete bool
WaitForComplete defines model for wait_for_complete.
type WazuhAnalysisdStats ¶
type WazuhAnalysisdStats struct {
// Pending to write in disk alerts queue size
AlertsQueueSize *float32 `json:"alerts_queue_size,omitempty"`
// If an event matches a rule, an alert is raised. The alerts are pushed to a _pending to write in disk alerts_ queue. This variable shows usage of that queue
AlertsQueueUsage *float32 `json:"alerts_queue_usage,omitempty"`
// Total of alerts written in disk during the last 5 seconds
AlertsWritten *float32 `json:"alerts_written,omitempty"`
// _Events to write in the archives.log_ queue size
ArchivesQueueSize *float32 `json:"archives_queue_size,omitempty"`
// _Events to write in the archives.log_ queue usage
ArchivesQueueUsage *float32 `json:"archives_queue_usage,omitempty"`
// Non catalogued events queue size
EventQueueSize *float32 `json:"event_queue_size,omitempty"`
// Same as `syscheck_queue_usage` but for events not catalogued in any of the previously mentioned queues
EventQueueUsage *float32 `json:"event_queue_usage,omitempty"`
// Discarded events because they didn't match any rule in the ruleset
EventsDropped *float32 `json:"events_dropped,omitempty"`
// Same as `events_processed` but per second
EventsEdps *float32 `json:"events_edps,omitempty"`
// Total of events processed (i.e. matched against Wazuh ruleset) in the last 5 seconds
EventsProcessed *float32 `json:"events_processed,omitempty"`
// Events received in `analysisd` from the rest of modules in the last 5 seconds
EventsReceived *float32 `json:"events_received,omitempty"`
// _Events to write in the firewall log_ queue size
FirewallQueueSize *float32 `json:"firewall_queue_size,omitempty"`
// Percentage of use in the queue of events to write in the firewall log
FirewallQueueUsage *float32 `json:"firewall_queue_usage,omitempty"`
// Same as `alerts_written` but focusing in firewall alerts
FirewallWritten *float32 `json:"firewall_written,omitempty"`
// Same as `alerts_written` but focusing in [FTS alerts] (https://documentation.wazuh.com/4.3/user-manual/ruleset/ruleset-xml-syntax/decoders.html?highlight=fts #fts)
FtsWritten *float32 `json:"fts_written,omitempty"`
// Hostinfo events decoded per second
HostinfoEdps *float32 `json:"hostinfo_edps,omitempty"`
// Same as `total_events_decoded` but for hostinfo events
HostinfoEventsDecoded *float32 `json:"hostinfo_events_decoded,omitempty"`
// Hostinfo events queue size
HostinfoQueueSize *float32 `json:"hostinfo_queue_size,omitempty"`
// Same as `syscheck_queue_usage` but for hostinfo events
HostinfoQueueUsage *float32 `json:"hostinfo_queue_usage,omitempty"`
// Same as `total_events_decoded` but for non catalogued events
OtherEventsDecoded *float32 `json:"other_events_decoded,omitempty"`
// Non catalogued events decoded per second
OtherEventsEdps *float32 `json:"other_events_edps,omitempty"`
// Rootcheck events decoded per second
RootcheckEdps *float32 `json:"rootcheck_edps,omitempty"`
// Same as `total_events_decoded` but for rootcheck events
RootcheckEventsDecoded *float32 `json:"rootcheck_events_decoded,omitempty"`
// Rootcheck events queue size
RootcheckQueueSize *float32 `json:"rootcheck_queue_size,omitempty"`
// Same as `syscheck_queue_usage` but for rootcheck events
RootcheckQueueUsage *float32 `json:"rootcheck_queue_usage,omitempty"`
// Pending to process events queue size
RuleMatchingQueueSize *float32 `json:"rule_matching_queue_size,omitempty"`
// After decoding, events are pushed to a _pending to process_ queue which will match the events against the Wazuh ruleset to raise alerts. This variable shows usage of that queue
RuleMatchingQueueUsage *float32 `json:"rule_matching_queue_usage,omitempty"`
// Policy monitoring events decoded per second
ScaEdps *float32 `json:"sca_edps,omitempty"`
// Same as `total_events_decoded` but for policy monitoring events
ScaEventsDecoded *float32 `json:"sca_events_decoded,omitempty"`
// Policy monitoring events queue size
ScaQueueSize *float32 `json:"sca_queue_size,omitempty"`
// Same as `syscheck_queue_usage` but for policy monitoring events
ScaQueueUsage *float32 `json:"sca_queue_usage,omitempty"`
// Stats log queue size
StatisticalQueueSize *float32 `json:"statistical_queue_size,omitempty"`
// Stats log queue usage
StatisticalQueueUsage *float32 `json:"statistical_queue_usage,omitempty"`
// FIM events decoded per second (EDPS = Events Decoded Per Second)
SyscheckEdps *float32 `json:"syscheck_edps,omitempty"`
// Same as `total_events_decoded` but for FIM events
SyscheckEventsDecoded *float32 `json:"syscheck_events_decoded,omitempty"`
// Syscheck events queue size
SyscheckQueueSize *float32 `json:"syscheck_queue_size,omitempty"`
// Percentage of use in the syscheck events queue pending to be decoded. Events are discarded when the queue is full
SyscheckQueueUsage *float32 `json:"syscheck_queue_usage,omitempty"`
// System inventory events decoded per second
SyscollectorEdps *float32 `json:"syscollector_edps,omitempty"`
// Same as `total_events_decoded` but for system inventory events
SyscollectorEventsDecoded *float32 `json:"syscollector_events_decoded,omitempty"`
// System inventory events queue size
SyscollectorQueueSize *float32 `json:"syscollector_queue_size,omitempty"`
// Same as `syscheck_queue_usage` but for system inventory events
SyscollectorQueueUsage *float32 `json:"syscollector_queue_usage,omitempty"`
// Total events decoded in the last 5 seconds. This number is not accumulative, the number in the following 5 seconds can be lower than the previous one
TotalEventsDecoded *float32 `json:"total_events_decoded,omitempty"`
// Windows events decoded per second
WinevtEdps *float32 `json:"winevt_edps,omitempty"`
// Same as `total_events_decoded` but for Windows events
WinevtEventsDecoded *float32 `json:"winevt_events_decoded,omitempty"`
// Windows events queue size
WinevtQueueSize *float32 `json:"winevt_queue_size,omitempty"`
// Same as `syscheck_queue_usage` but for Windows events
WinevtQueueUsage *float32 `json:"winevt_queue_usage,omitempty"`
}
WazuhAnalysisdStats defines model for WazuhAnalysisdStats.
type WazuhAnalysisdStatsAgentsItem ¶ added in v1.1.5
type WazuhAnalysisdStatsAgentsItem struct {
Agents *[]struct {
// Agent ID
Id *int32 `json:"id,omitempty"`
Metrics *struct {
Events *struct {
// Total processed events (analyzed by rules) from agent
Processed *int32 `json:"processed,omitempty"`
ReceivedBreakdown *struct {
DecodedBreakdown *struct {
// Events coming from agentd (this agent)
Agent *int32 `json:"agent,omitempty"`
// Synchronization events (this agent)
Dbsync *int32 `json:"dbsync,omitempty"`
IntegrationsBreakdown *struct {
// Events coming from VirusTotal (this agent)
Virustotal *int32 `json:"virustotal,omitempty"`
} `json:"integrations_breakdown,omitempty"`
ModulesBreakdown *struct {
// Events coming from AWS module (this agent)
Aws *int32 `json:"aws,omitempty"`
// Events coming from Azure module (this agent)
Azure *int32 `json:"azure,omitempty"`
// Events coming from CIS-CAT module (this agent)
Ciscat *int32 `json:"ciscat,omitempty"`
// Events coming from command module (this agent)
Command *int32 `json:"command,omitempty"`
// Events coming from Docker module (this agent)
Docker *int32 `json:"docker,omitempty"`
// Events coming from GCP module (this agent)
Gcp *int32 `json:"gcp,omitempty"`
// Events coming from GitHub module (this agent)
Github *int32 `json:"github,omitempty"`
LogcollectorBreakdown *struct {
// EventChannel events collected by logcollector (this agent)
Eventchannel *int32 `json:"eventchannel,omitempty"`
// EventLog events collected by logcollector (this agent)
Eventlog *int32 `json:"eventlog,omitempty"`
// MacOS events collected by logcollector (this agent)
Macos *int32 `json:"macos,omitempty"`
// Other events collected by logcollector (this agent)
Others *int32 `json:"others,omitempty"`
} `json:"logcollector_breakdown,omitempty"`
// Events coming from ms-graph module (this agent)
MsGraph *int32 `json:"ms-graph,omitempty"`
// Events coming from Office365 module (this agent)
Office365 *int32 `json:"office365,omitempty"`
// Events coming from OSCAP module (this agent)
Oscap *int32 `json:"oscap,omitempty"`
// Events coming from OSQuery module (this agent)
Osquery *int32 `json:"osquery,omitempty"`
// Events coming from rootcheck (syscheckd) (this agent)
Rootcheck *int32 `json:"rootcheck,omitempty"`
// Events coming from SCA module (this agent)
Sca *int32 `json:"sca,omitempty"`
// Events coming from syscheckd (this agent)
Syscheck *int32 `json:"syscheck,omitempty"`
// Events coming from syscollector module (this agent)
Syscollector *int32 `json:"syscollector,omitempty"`
// Events coming from upgrade agent module (this agent)
Upgrade *int32 `json:"upgrade,omitempty"`
} `json:"modules_breakdown,omitempty"`
// Events coming from monitord (this agent)
Monitor *int32 `json:"monitor,omitempty"`
// Events coming from remoted (this agent)
Remote *int32 `json:"remote,omitempty"`
} `json:"decoded_breakdown,omitempty"`
} `json:"received_breakdown,omitempty"`
WrittenBreakdown *struct {
// Alerts written in alerts log file (this agent)
Alerts *int32 `json:"alerts,omitempty"`
// Alerts written in archives log file (this agent)
Archives *int32 `json:"archives,omitempty"`
// Alerts written in firewall log file (this agent)
Firewall *int32 `json:"firewall,omitempty"`
} `json:"written_breakdown,omitempty"`
} `json:"events,omitempty"`
} `json:"metrics,omitempty"`
// When the count of the metrics started
Uptime *time.Time `json:"uptime,omitempty"`
} `json:"agents,omitempty"`
// Daemon name
Name *WazuhAnalysisdStatsAgentsItemName `json:"name,omitempty"`
// Daemon stats request time
Timestamp *time.Time `json:"timestamp,omitempty"`
}
WazuhAnalysisdStatsAgentsItem defines model for WazuhAnalysisdStatsAgentsItem.
type WazuhAnalysisdStatsAgentsItemName ¶ added in v1.1.5
type WazuhAnalysisdStatsAgentsItemName string
Daemon name
const (
WazuhAnalysisdStatsAgentsItemNameWazuhAnalysisd WazuhAnalysisdStatsAgentsItemName = "wazuh-analysisd"
)
Defines values for WazuhAnalysisdStatsAgentsItemName.
type WazuhAnalysisdStatsItem ¶ added in v1.1.5
type WazuhAnalysisdStatsItem struct {
Metrics *struct {
Bytes *struct {
// Bytes received from agents and local modules
Received *int32 `json:"received,omitempty"`
} `json:"bytes,omitempty"`
Eps *struct {
// Available credits to process events in the current timeframe
AvailableCredits *int32 `json:"available_credits,omitempty"`
// Available credits to process events in the previous timeframe
AvailableCreditsPrev *int32 `json:"available_credits_prev,omitempty"`
// Events discarded because the EPS limit was reached and queues were full
EventsDropped *int32 `json:"events_dropped,omitempty"`
// Events discarded due to causes unrelated to EPS limit
EventsDroppedNotEps *int32 `json:"events_dropped_not_eps,omitempty"`
// Time in seconds the EPS limit was exceeded
SecondsOverLimit *int32 `json:"seconds_over_limit,omitempty"`
} `json:"eps,omitempty"`
Events *struct {
// Total processed events (analyzed by rules)
Processed *int32 `json:"processed,omitempty"`
// Total received events from agents and local modules
Received *int32 `json:"received,omitempty"`
ReceivedBreakdown *struct {
DecodedBreakdown *struct {
// Events coming from agentd
Agent *int32 `json:"agent,omitempty"`
// Events coming from agentlessd
Agentless *int32 `json:"agentless,omitempty"`
// Synchronization events
Dbsync *int32 `json:"dbsync,omitempty"`
IntegrationsBreakdown *struct {
// Events coming from VirusTotal integration
Virustotal *int32 `json:"virustotal,omitempty"`
} `json:"integrations_breakdown,omitempty"`
ModulesBreakdown *struct {
// Events coming from AWS module
Aws *int32 `json:"aws,omitempty"`
// Events coming from Azure module
Azure *int32 `json:"azure,omitempty"`
// Events coming from CIS-CAT module
Ciscat *int32 `json:"ciscat,omitempty"`
// Events coming from command module
Command *int32 `json:"command,omitempty"`
// Events coming from Docker module
Docker *int32 `json:"docker,omitempty"`
// Events coming from GCP module
Gcp *int32 `json:"gcp,omitempty"`
// Events coming from GitHub module
Github *int32 `json:"github,omitempty"`
LogcollectorBreakdown *struct {
// EventChannel events collected by logcollector
Eventchannel *int32 `json:"eventchannel,omitempty"`
// EventLog events collected by logcollector
Eventlog *int32 `json:"eventlog,omitempty"`
// MacOS events collected by logcollector
Macos *int32 `json:"macos,omitempty"`
// Other events collected by logcollector
Others *int32 `json:"others,omitempty"`
} `json:"logcollector_breakdown,omitempty"`
// Events coming from ms-graph module
MsGraph *int32 `json:"ms-graph,omitempty"`
// Events coming from Office365 module
Office365 *int32 `json:"office365,omitempty"`
// Events coming from OSCAP module
Oscap *int32 `json:"oscap,omitempty"`
// Events coming from OSQuery module
Osquery *int32 `json:"osquery,omitempty"`
// Events coming from rootcheck (syscheckd)
Rootcheck *int32 `json:"rootcheck,omitempty"`
// Events coming from SCA module
Sca *int32 `json:"sca,omitempty"`
// Events coming from syscheckd
Syscheck *int32 `json:"syscheck,omitempty"`
// Events coming from syscollector module
Syscollector *int32 `json:"syscollector,omitempty"`
// Events coming from upgrade agent module (upgrade responses)
Upgrade *int32 `json:"upgrade,omitempty"`
} `json:"modules_breakdown,omitempty"`
// Events coming from monitord
Monitor *int32 `json:"monitor,omitempty"`
// Events coming from remoted
Remote *int32 `json:"remote,omitempty"`
// Events coming from syslog remoted
Syslog *int32 `json:"syslog,omitempty"`
} `json:"decoded_breakdown,omitempty"`
DroppedBreakdown *struct {
// Events discarded from agentd because the queue was full
Agent *int32 `json:"agent,omitempty"`
// Events discarded from agentlessd because the queue was full
Agentless *int32 `json:"agentless,omitempty"`
// Synchronization events discarded because the queue was full
Dbsync *int32 `json:"dbsync,omitempty"`
IntegrationsBreakdown *struct {
// Events discarded from VirusTotal integration because the queue was full
Virustotal *int32 `json:"virustotal,omitempty"`
} `json:"integrations_breakdown,omitempty"`
ModulesBreakdown *struct {
// Events discarded from AWS module because the queue was full
Aws *int32 `json:"aws,omitempty"`
// Events discarded from Azure module because the queue was full
Azure *int32 `json:"azure,omitempty"`
// Events discarded from CIS-CAT module because the queue was full
Ciscat *int32 `json:"ciscat,omitempty"`
// Events discarded from command module because the queue was full
Command *int32 `json:"command,omitempty"`
// Events discarded from Docker module because the queue was full
Docker *int32 `json:"docker,omitempty"`
// Events discarded from GCP module because the queue was full
Gcp *int32 `json:"gcp,omitempty"`
// Events discarded from GitHub module because the queue was full
Github *int32 `json:"github,omitempty"`
LogcollectorBreakdown *struct {
// EventChannel events collected by logcollector discarded because the queue was full
Eventchannel *int32 `json:"eventchannel,omitempty"`
// EventLog events collected by logcollector discarded because the queue was full
Eventlog *int32 `json:"eventlog,omitempty"`
// MacOS events collected by logcollector discarded because the queue was full
Macos *int32 `json:"macos,omitempty"`
// Other events collected by logcollector discarded because the queue was full
Others *int32 `json:"others,omitempty"`
} `json:"logcollector_breakdown,omitempty"`
// Events discarded from ms-graph module because the queue was full
MsGraph *int32 `json:"ms-graph,omitempty"`
// Events discarded from Office365 module because the queue was full
Office365 *int32 `json:"office365,omitempty"`
// Events discarded from OSCAP module because the queue was full
Oscap *int32 `json:"oscap,omitempty"`
// Events discarded from OSQuery module because the queue was full
Osquery *int32 `json:"osquery,omitempty"`
// Events discarded from rootcheck (syscheckd) because the queue was full
Rootcheck *int32 `json:"rootcheck,omitempty"`
// Events discarded from SCA module because the queue was full
Sca *int32 `json:"sca,omitempty"`
// Events discarded from syscheckd because the queue was full
Syscheck *int32 `json:"syscheck,omitempty"`
// Events discarded from syscollector module because the queue was full
Syscollector *int32 `json:"syscollector,omitempty"`
// Events discarded from upgrade agent module because the queue was full
Upgrade *int32 `json:"upgrade,omitempty"`
} `json:"modules_breakdown,omitempty"`
// Events discarded from monitord because the queue was full
Monitor *int32 `json:"monitor,omitempty"`
// Events discarded from remoted because the queue was full
Remote *int32 `json:"remote,omitempty"`
// Events discarded from syslog remoted because the queue was full
Syslog *int32 `json:"syslog,omitempty"`
} `json:"dropped_breakdown,omitempty"`
} `json:"received_breakdown,omitempty"`
WrittenBreakdown *struct {
// Alerts written in alerts log file
Alerts *int32 `json:"alerts,omitempty"`
// Alerts written in archives log file
Archives *int32 `json:"archives,omitempty"`
// Alerts written in firewall log file
Firewall *int32 `json:"firewall,omitempty"`
// Alerts written in FTS queue file
Fts *int32 `json:"fts,omitempty"`
// Alerts written in stats files
Stats *int32 `json:"stats,omitempty"`
} `json:"written_breakdown,omitempty"`
} `json:"events,omitempty"`
Queues *struct {
Alerts *struct {
// Size of alerts messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the alerts queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"alerts,omitempty"`
Archives *struct {
// Size of archives messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the archives queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"archives,omitempty"`
Dbsync *struct {
// Size of dbsync messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the dbsync queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"dbsync,omitempty"`
Eventchannel *struct {
// Size of eventchannel messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the eventchannel queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"eventchannel,omitempty"`
Firewall *struct {
// Size of firewall messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the firewall queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"firewall,omitempty"`
Fts *struct {
// Size of FTS messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the FTS queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"fts,omitempty"`
Hostinfo *struct {
// Size of hostinfo messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the hostinfo queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"hostinfo,omitempty"`
Others *struct {
// Size of other events messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the other events queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"others,omitempty"`
Processed *struct {
// Size of processed messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the processed queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"processed,omitempty"`
Rootcheck *struct {
// Size of rootcheck messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the rootcheck queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"rootcheck,omitempty"`
Sca *struct {
// Size of SCA messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the SCA queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"sca,omitempty"`
Stats *struct {
// Size of stats messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the stats queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"stats,omitempty"`
Syscheck *struct {
// Size of syscheck messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the syscheck queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"syscheck,omitempty"`
Syscollector *struct {
// Size of syscollector messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the syscollector queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"syscollector,omitempty"`
Upgrade *struct {
// Size of upgrade messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the upgrade queue (percentage)
Usage *int32 `json:"usage,omitempty"`
} `json:"upgrade,omitempty"`
} `json:"queues,omitempty"`
} `json:"metrics,omitempty"`
// Daemon name
Name *WazuhAnalysisdStatsItemName `json:"name,omitempty"`
// Daemon stats request time
Timestamp *time.Time `json:"timestamp,omitempty"`
// When the count of the metrics started
Uptime *time.Time `json:"uptime,omitempty"`
}
WazuhAnalysisdStatsItem defines model for WazuhAnalysisdStatsItem.
type WazuhAnalysisdStatsItemName ¶ added in v1.1.5
type WazuhAnalysisdStatsItemName string
Daemon name
const (
WazuhAnalysisdStatsItemNameWazuhAnalysisd WazuhAnalysisdStatsItemName = "wazuh-analysisd"
)
Defines values for WazuhAnalysisdStatsItemName.
type WazuhDBStatsItem ¶ added in v1.1.5
type WazuhDBStatsItem struct {
Metrics *struct {
Queries *struct {
// Total of queries through WazuhDB socket
Received *int32 `json:"received,omitempty"`
ReceivedBreakdown *struct {
// Number of agent queries through WazuhDB socket
Agent *int32 `json:"agent,omitempty"`
AgentBreakdown *struct {
// Number of queries per operation
Db *struct {
Begin *int32 `json:"begin,omitempty"`
Close *int32 `json:"close,omitempty"`
Commit *int32 `json:"commit,omitempty"`
Remove *int32 `json:"remove,omitempty"`
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
// Number of queries per table
Tables *struct {
Ciscat *struct {
Ciscat *int32 `json:"ciscat,omitempty"`
} `json:"ciscat,omitempty"`
Rootcheck *struct {
Rootcheck *int32 `json:"rootcheck,omitempty"`
} `json:"rootcheck,omitempty"`
Sca *struct {
Sca *int32 `json:"sca,omitempty"`
} `json:"sca,omitempty"`
Sync *struct {
Dbsync *int32 `json:"dbsync,omitempty"`
} `json:"sync,omitempty"`
Syscheck *struct {
FimFile *int32 `json:"fim_file,omitempty"`
FimRegistry *int32 `json:"fim_registry,omitempty"`
FimRegistryKey *int32 `json:"fim_registry_key,omitempty"`
FimRegistryValue *int32 `json:"fim_registry_value,omitempty"`
Syscheck *int32 `json:"syscheck,omitempty"`
} `json:"syscheck,omitempty"`
Syscollector *struct {
Deprecated *struct {
Hardware *int32 `json:"hardware,omitempty"`
Hotfix *int32 `json:"hotfix,omitempty"`
Netaddr *int32 `json:"netaddr,omitempty"`
Netinfo *int32 `json:"netinfo,omitempty"`
Netproto *int32 `json:"netproto,omitempty"`
Osinfo *int32 `json:"osinfo,omitempty"`
Package *int32 `json:"package,omitempty"`
Port *int32 `json:"port,omitempty"`
Process *int32 `json:"process,omitempty"`
} `json:"deprecated,omitempty"`
SyscollectorHotfixes *int32 `json:"syscollector_hotfixes,omitempty"`
SyscollectorHwinfo *int32 `json:"syscollector_hwinfo,omitempty"`
SyscollectorNetworkAddress *int32 `json:"syscollector_network_address,omitempty"`
SyscollectorNetworkIface *int32 `json:"syscollector_network_iface,omitempty"`
SyscollectorNetworkProtocol *int32 `json:"syscollector_network_protocol,omitempty"`
SyscollectorOsinfo *int32 `json:"syscollector_osinfo,omitempty"`
SyscollectorPackages *int32 `json:"syscollector_packages,omitempty"`
SyscollectorPorts *int32 `json:"syscollector_ports,omitempty"`
SyscollectorProcesses *int32 `json:"syscollector_processes,omitempty"`
} `json:"syscollector,omitempty"`
} `json:"tables,omitempty"`
} `json:"agent_breakdown,omitempty"`
// Number of global queries through WazuhDB socket
Global *int32 `json:"global,omitempty"`
GlobalBreakdown *struct {
// Number of queries per operation
Db *struct {
Backup *int32 `json:"backup,omitempty"`
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
// Number of queries per operation in tables
Tables *struct {
Agent *struct {
DeleteAgent *int32 `json:"delete-agent,omitempty"`
DisconnectAgents *int32 `json:"disconnect-agents,omitempty"`
FindAgent *int32 `json:"find-agent,omitempty"`
GetAgentInfo *int32 `json:"get-agent-info,omitempty"`
GetAgentsByConnectionStatus *int32 `json:"get-agents-by-connection-status,omitempty"`
GetAllAgents *int32 `json:"get-all-agents,omitempty"`
GetGroupsIntegrity *int32 `json:"get-groups-integrity,omitempty"`
InsertAgent *int32 `json:"insert-agent,omitempty"`
ResetAgentsConnection *int32 `json:"reset-agents-connection,omitempty"`
SelectAgentGroup *int32 `json:"select-agent-group,omitempty"`
SelectAgentName *int32 `json:"select-agent-name,omitempty"`
SetAgentGroups *int32 `json:"set-agent-groups,omitempty"`
SyncAgentGroupsGet *int32 `json:"sync-agent-groups-get,omitempty"`
SyncAgentInfoGet *int32 `json:"sync-agent-info-get,omitempty"`
SyncAgentInfoSet *int32 `json:"sync-agent-info-set",omitempty"`
UpdateAgentData *int32 `json:"update-agent-data,omitempty"`
UpdateAgentName *int32 `json:"update-agent-name,omitempty"`
UpdateConnectionStatus *int32 `json:"update-connection-status,omitempty"`
UpdateKeepalive *int32 `json:"update-keepalive,omitempty"`
} `json:"agent,omitempty"`
Belongs *struct {
GetGroupAgents *int32 `json:"get-group-agents,omitempty"`
SelectGroupBelong *int32 `json:"select-group-belong,omitempty"`
} `json:"belongs,omitempty"`
Group *struct {
DeleteGroup *int32 `json:"delete-group,omitempty"`
FindGroup *int32 `json:"find-group,omitempty"`
InsertAgentGroup *int32 `json:"insert-agent-group,omitempty"`
SelectGroups *int32 `json:"select-groups,omitempty"`
} `json:"group,omitempty"`
Labels *struct {
GetLabels *int32 `json:"get-labels,omitempty"`
} `json:"labels,omitempty"`
} `json:"tables,omitempty"`
} `json:"global_breakdown,omitempty"`
// Number of mitre queries through WazuhDB socket
Mitre *int32 `json:"mitre,omitempty"`
MitreBreakdown *struct {
// Number of queries per operation
Db *struct {
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
} `json:"mitre_breakdown,omitempty"`
// Number of task queries through WazuhDB socket
Task *int32 `json:"task,omitempty"`
TaskBreakdown *struct {
// Number of queries per operation
Db *struct {
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
// Number of queries per operation in tables
Tables *struct {
Tasks *struct {
DeleteOld *int32 `json:"delete_old,omitempty"`
SetTimeout *int32 `json:"set_timeout,omitempty"`
Upgrade *int32 `json:"upgrade,omitempty"`
UpgradeCancelTasks *int32 `json:"upgrade_cancel_tasks,omitempty"`
UpgradeCustom *int32 `json:"upgrade_custom,omitempty"`
UpgradeGetStatus *int32 `json:"upgrade_get_status,omitempty"`
UpgradeResult *int32 `json:"upgrade_result,omitempty"`
UpgradeUpdateStatus *int32 `json:"upgrade_update_status,omitempty"`
} `json:"tasks,omitempty"`
} `json:"tables,omitempty"`
} `json:"task_breakdown,omitempty"`
// Number of wazuhdb queries through WazuhDB socket
Wazuhdb *int32 `json:"wazuhdb,omitempty"`
WazuhdbBreakdown *struct {
// Number of queries per operation
Db *struct {
Remove *int32 `json:"remove,omitempty"`
} `json:"db,omitempty"`
} `json:"wazuhdb_breakdown,omitempty"`
} `json:"received_breakdown,omitempty"`
} `json:"queries,omitempty"`
Time *struct {
// Total time taken by all the queries (milliseconds)
Execution *int32 `json:"execution,omitempty"`
ExecutionBreakdown *struct {
// Time taken by all agent queries (milliseconds)
Agent *int32 `json:"agent,omitempty"`
AgentBreakdown *struct {
// Time taken by all queries per operation (milliseconds)
Db *struct {
Begin *int32 `json:"begin,omitempty"`
Close *int32 `json:"close,omitempty"`
Commit *int32 `json:"commit,omitempty"`
Remove *int32 `json:"remove,omitempty"`
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
// Time taken by all queries per table (milliseconds)
Tables *struct {
Ciscat *struct {
Ciscat *int32 `json:"ciscat,omitempty"`
} `json:"ciscat,omitempty"`
Rootcheck *struct {
Rootcheck *int32 `json:"rootcheck,omitempty"`
} `json:"rootcheck,omitempty"`
Sca *struct {
Sca *int32 `json:"sca,omitempty"`
} `json:"sca,omitempty"`
Sync *struct {
Dbsync *int32 `json:"dbsync,omitempty"`
} `json:"sync,omitempty"`
Syscheck *struct {
FimFile *int32 `json:"fim_file,omitempty"`
FimRegistry *int32 `json:"fim_registry,omitempty"`
FimRegistryKey *int32 `json:"fim_registry_key,omitempty"`
FimRegistryValue *int32 `json:"fim_registry_value,omitempty"`
Syscheck *int32 `json:"syscheck,omitempty"`
} `json:"syscheck,omitempty"`
Syscollector *struct {
Deprecated *struct {
Hardware *int32 `json:"hardware,omitempty"`
Hotfix *int32 `json:"hotfix,omitempty"`
Netaddr *int32 `json:"netaddr,omitempty"`
Netinfo *int32 `json:"netinfo,omitempty"`
Netproto *int32 `json:"netproto,omitempty"`
Osinfo *int32 `json:"osinfo,omitempty"`
Package *int32 `json:"package,omitempty"`
Port *int32 `json:"port,omitempty"`
Process *int32 `json:"process,omitempty"`
} `json:"deprecated,omitempty"`
SyscollectorHotfixes *int32 `json:"syscollector_hotfixes,omitempty"`
SyscollectorHwinfo *int32 `json:"syscollector_hwinfo,omitempty"`
SyscollectorNetworkAddress *int32 `json:"syscollector_network_address,omitempty"`
SyscollectorNetworkIface *int32 `json:"syscollector_network_iface,omitempty"`
SyscollectorNetworkProtocol *int32 `json:"syscollector_network_protocol,omitempty"`
SyscollectorOsinfo *int32 `json:"syscollector_osinfo,omitempty"`
SyscollectorPackages *int32 `json:"syscollector_packages,omitempty"`
SyscollectorPorts *int32 `json:"syscollector_ports,omitempty"`
SyscollectorProcesses *int32 `json:"syscollector_processes,omitempty"`
} `json:"syscollector,omitempty"`
} `json:"tables,omitempty"`
} `json:"agent_breakdown,omitempty"`
// Time taken by all global queries (milliseconds)
Global *int32 `json:"global,omitempty"`
GlobalBreakdown *struct {
// Time taken by all queries per operation (milliseconds)
Db *struct {
Backup *int32 `json:"backup,omitempty"`
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
// Time taken by all queries per operation in tables (milliseconds)
Tables *struct {
Agent *struct {
DeleteAgent *int32 `json:"delete-agent,omitempty"`
DisconnectAgents *int32 `json:"disconnect-agents,omitempty"`
FindAgent *int32 `json:"find-agent,omitempty"`
GetAgentInfo *int32 `json:"get-agent-info,omitempty"`
GetAgentsByConnectionStatus *int32 `json:"get-agents-by-connection-status,omitempty"`
GetAllAgents *int32 `json:"get-all-agents,omitempty"`
GetGroupsIntegrity *int32 `json:"get-groups-integrity,omitempty"`
InsertAgent *int32 `json:"insert-agent,omitempty"`
ResetAgentsConnection *int32 `json:"reset-agents-connection,omitempty"`
SelectAgentGroup *int32 `json:"select-agent-group,omitempty"`
SelectAgentName *int32 `json:"select-agent-name,omitempty"`
SetAgentGroups *int32 `json:"set-agent-groups,omitempty"`
SyncAgentGroupsGet *int32 `json:"sync-agent-groups-get,omitempty"`
SyncAgentInfoGet *int32 `json:"sync-agent-info-get,omitempty"`
SyncAgentInfoSet *int32 `json:"sync-agent-info-set",omitempty"`
UpdateAgentData *int32 `json:"update-agent-data,omitempty"`
UpdateAgentName *int32 `json:"update-agent-name,omitempty"`
UpdateConnectionStatus *int32 `json:"update-connection-status,omitempty"`
UpdateKeepalive *int32 `json:"update-keepalive,omitempty"`
} `json:"agent,omitempty"`
Belongs *struct {
GetGroupAgents *int32 `json:"get-group-agents,omitempty"`
SelectGroupBelong *int32 `json:"select-group-belong,omitempty"`
} `json:"belongs,omitempty"`
Group *struct {
DeleteGroup *int32 `json:"delete-group,omitempty"`
FindGroup *int32 `json:"find-group,omitempty"`
InsertAgentGroup *int32 `json:"insert-agent-group,omitempty"`
SelectGroups *int32 `json:"select-groups,omitempty"`
} `json:"group,omitempty"`
Labels *struct {
GetLabels *int32 `json:"get-labels,omitempty"`
} `json:"labels,omitempty"`
} `json:"tables,omitempty"`
} `json:"global_breakdown,omitempty"`
// Time taken by all mitre queries (milliseconds)
Mitre *int32 `json:"mitre,omitempty"`
MitreBreakdown *struct {
// Time taken by all queries per operation (milliseconds)
Db *struct {
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
} `json:"mitre_breakdown,omitempty"`
// Time taken by all task queries (milliseconds)
Task *int32 `json:"task,omitempty"`
TaskBreakdown *struct {
// Time taken by all queries per operation (milliseconds)
Db *struct {
Sql *int32 `json:"sql,omitempty"`
} `json:"db,omitempty"`
// Time taken by all queries per operation in tables (milliseconds)
Tables *struct {
Tasks *struct {
DeleteOld *int32 `json:"delete_old,omitempty"`
SetTimeout *int32 `json:"set_timeout,omitempty"`
Upgrade *int32 `json:"upgrade,omitempty"`
UpgradeCancelTasks *int32 `json:"upgrade_cancel_tasks,omitempty"`
UpgradeCustom *int32 `json:"upgrade_custom,omitempty"`
UpgradeGetStatus *int32 `json:"upgrade_get_status,omitempty"`
UpgradeResult *int32 `json:"upgrade_result,omitempty"`
UpgradeUpdateStatus *int32 `json:"upgrade_update_status,omitempty"`
} `json:"tasks,omitempty"`
} `json:"tables,omitempty"`
} `json:"task_breakdown,omitempty"`
// Time taken by all wazuhdb queries (milliseconds)
Wazuhdb *int32 `json:"wazuhdb,omitempty"`
WazuhdbBreakdown *struct {
// Time taken by all queries per operation (milliseconds)
Db *struct {
Remove *int32 `json:"remove,omitempty"`
} `json:"db,omitempty"`
} `json:"wazuhdb_breakdown,omitempty"`
} `json:"execution_breakdown,omitempty"`
} `json:"time,omitempty"`
} `json:"metrics,omitempty"`
// Daemon name
Name *WazuhDBStatsItemName `json:"name,omitempty"`
// Daemon stats request time
Timestamp *time.Time `json:"timestamp,omitempty"`
// When the count of the metrics started
Uptime *time.Time `json:"uptime,omitempty"`
}
WazuhDBStatsItem defines model for WazuhDBStatsItem.
type WazuhDBStatsItemName ¶ added in v1.1.5
type WazuhDBStatsItemName string
Daemon name
const (
WazuhDBStatsItemNameWazuhDb WazuhDBStatsItemName = "wazuh-db"
)
Defines values for WazuhDBStatsItemName.
type WazuhDaemonsStatus ¶
type WazuhDaemonsStatus struct {
WazuhAgentlessd *DaemonStatus `json:"wazuh-agentlessd,omitempty"`
WazuhAnalysisd *DaemonStatus `json:"wazuh-analysisd,omitempty"`
WazuhApid *DaemonStatus `json:"wazuh-apid,omitempty"`
WazuhAuthd *DaemonStatus `json:"wazuh-authd,omitempty"`
WazuhClusterd *DaemonStatus `json:"wazuh-clusterd,omitempty"`
WazuhCsyslogd *DaemonStatus `json:"wazuh-csyslogd,omitempty"`
WazuhDb *DaemonStatus `json:"wazuh-db,omitempty"`
WazuhDbd *DaemonStatus `json:"wazuh-dbd,omitempty"`
WazuhExecd *DaemonStatus `json:"wazuh-execd,omitempty"`
WazuhIntegratord *DaemonStatus `json:"wazuh-integratord,omitempty"`
WazuhLogcollector *DaemonStatus `json:"wazuh-logcollector,omitempty"`
WazuhMaild *DaemonStatus `json:"wazuh-maild,omitempty"`
WazuhModulesd *DaemonStatus `json:"wazuh-modulesd,omitempty"`
WazuhMonitord *DaemonStatus `json:"wazuh-monitord,omitempty"`
WazuhRemoted *DaemonStatus `json:"wazuh-remoted,omitempty"`
WazuhReportd *DaemonStatus `json:"wazuh-reportd,omitempty"`
WazuhSyscheckd *DaemonStatus `json:"wazuh-syscheckd,omitempty"`
}
WazuhDaemonsStatus defines model for WazuhDaemonsStatus.
type WazuhError ¶
type WazuhHourlyStats ¶
type WazuhHourlyStats struct {
// Array containing the number of alerts for every hour
Averages *[]int `json:"averages,omitempty"`
Interactions *int32 `json:"interactions,omitempty"`
}
WazuhHourlyStats defines model for WazuhHourlyStats.
type WazuhInfo ¶
type WazuhInfo struct {
CompilationDate *time.Time `json:"compilation_date,omitempty"`
// Maximum number of agents that can be registered.
MaxAgents *string `json:"max_agents,omitempty"`
OpensslSupport *string `json:"openssl_support,omitempty"`
// Wazuh installation path
Path *string `json:"path,omitempty"`
// Wazuh installation type
Type *WazuhInfoType `json:"type,omitempty"`
TzName *string `json:"tz_name,omitempty"`
TzOffset *string `json:"tz_offset,omitempty"`
// Wazuh version
Version *string `json:"version,omitempty"`
}
WazuhInfo defines model for WazuhInfo.
type WazuhInfoType ¶ added in v0.8.0
type WazuhInfoType string
Wazuh installation type
const ( WazuhInfoTypeHybrid WazuhInfoType = "hybrid" WazuhInfoTypeLocal WazuhInfoType = "local" WazuhInfoTypeServer WazuhInfoType = "server" )
Defines values for WazuhInfoType.
type WazuhLogs ¶
type WazuhLogs struct {
// Log message
Description *string `json:"description,omitempty"`
// Log level
Level *WazuhLogsLevel `json:"level,omitempty"`
// Wazuh component that logged the event
Tag *WazuhLogsTag `json:"tag,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
}
WazuhLogs defines model for WazuhLogs.
type WazuhLogsLevel ¶ added in v0.8.0
type WazuhLogsLevel string
Log level
const ( WazuhLogsLevelCritical WazuhLogsLevel = "critical" WazuhLogsLevelDebug WazuhLogsLevel = "debug" WazuhLogsLevelDebug2 WazuhLogsLevel = "debug2" WazuhLogsLevelError WazuhLogsLevel = "error" WazuhLogsLevelInfo WazuhLogsLevel = "info" WazuhLogsLevelWarning WazuhLogsLevel = "warning" )
Defines values for WazuhLogsLevel.
type WazuhLogsSummary ¶
type WazuhLogsSummary struct {
IndexerConnector *LogSummary `json:"indexer-connector,omitempty"`
Rootcheck *LogSummary `json:"rootcheck,omitempty"`
Sca *LogSummary `json:"sca,omitempty"`
WazuhAgentlessd *LogSummary `json:"wazuh-agentlessd,omitempty"`
WazuhAnalysisd *LogSummary `json:"wazuh-analysisd,omitempty"`
WazuhAuthd *LogSummary `json:"wazuh-authd,omitempty"`
WazuhCsyslogd *LogSummary `json:"wazuh-csyslogd,omitempty"`
WazuhDb *LogSummary `json:"wazuh-db,omitempty"`
WazuhDbd *LogSummary `json:"wazuh-dbd,omitempty"`
WazuhExecd *LogSummary `json:"wazuh-execd,omitempty"`
WazuhIntegratord *LogSummary `json:"wazuh-integratord,omitempty"`
WazuhLogcollector *LogSummary `json:"wazuh-logcollector,omitempty"`
WazuhMaild *LogSummary `json:"wazuh-maild,omitempty"`
WazuhModulesd *LogSummary `json:"wazuh-modulesd,omitempty"`
WazuhModulesdAgentUpgrade *LogSummary `json:"wazuh-modulesd:agent-upgrade,omitempty"`
WazuhModulesdAwsS3 *LogSummary `json:"wazuh-modulesd:aws-s3,omitempty"`
WazuhModulesdAzureLogs *LogSummary `json:"wazuh-modulesd:azure-logs,omitempty"`
WazuhModulesdCiscat *LogSummary `json:"wazuh-modulesd:ciscat,omitempty"`
WazuhModulesdCommand *LogSummary `json:"wazuh-modulesd:command,omitempty"`
WazuhModulesdContentManager *LogSummary `json:"wazuh-modulesd:content_manager,omitempty"`
WazuhModulesdControl *LogSummary `json:"wazuh-modulesd:control,omitempty"`
WazuhModulesdDatabase *LogSummary `json:"wazuh-modulesd:database,omitempty"`
WazuhModulesdDockerListener *LogSummary `json:"wazuh-modulesd:docker-listener,omitempty"`
WazuhModulesdDownload *LogSummary `json:"wazuh-modulesd:download,omitempty"`
WazuhModulesdOscap *LogSummary `json:"wazuh-modulesd:oscap,omitempty"`
WazuhModulesdOsquery *LogSummary `json:"wazuh-modulesd:osquery,omitempty"`
WazuhModulesdSyscollector *LogSummary `json:"wazuh-modulesd:syscollector,omitempty"`
WazuhModulesdTaskManager *LogSummary `json:"wazuh-modulesd:task-manager,omitempty"`
WazuhModulesdVulnerabilityScanner *LogSummary `json:"wazuh-modulesd:vulnerability-scanner,omitempty"`
WazuhMonitord *LogSummary `json:"wazuh-monitord,omitempty"`
WazuhRemoted *LogSummary `json:"wazuh-remoted,omitempty"`
WazuhReportd *LogSummary `json:"wazuh-reportd,omitempty"`
WazuhSyscheckd *LogSummary `json:"wazuh-syscheckd,omitempty"`
}
WazuhLogsSummary defines model for WazuhLogsSummary.
type WazuhLogsTag ¶ added in v0.8.0
type WazuhLogsTag string
Wazuh component that logged the event
const ( WazuhLogsTagAgentControl WazuhLogsTag = "agent_control" WazuhLogsTagSca WazuhLogsTag = "sca" WazuhLogsTagVerifyAgentConf WazuhLogsTag = "verify-agent-conf" WazuhLogsTagWazuhAgentlessd WazuhLogsTag = "wazuh-agentlessd" WazuhLogsTagWazuhAnalysisd WazuhLogsTag = "wazuh-analysisd" WazuhLogsTagWazuhAuthd WazuhLogsTag = "wazuh-authd" WazuhLogsTagWazuhCsyslogd WazuhLogsTag = "wazuh-csyslogd" WazuhLogsTagWazuhDb WazuhLogsTag = "wazuh-db" WazuhLogsTagWazuhDbd WazuhLogsTag = "wazuh-dbd" WazuhLogsTagWazuhExecd WazuhLogsTag = "wazuh-execd" WazuhLogsTagWazuhIntegratord WazuhLogsTag = "wazuh-integratord" WazuhLogsTagWazuhLogcollector WazuhLogsTag = "wazuh-logcollector" WazuhLogsTagWazuhMaild WazuhLogsTag = "wazuh-maild" WazuhLogsTagWazuhModulesd WazuhLogsTag = "wazuh-modulesd" WazuhLogsTagWazuhModulesdAgentKeyPolling WazuhLogsTag = "wazuh-modulesd:agent-key-polling" WazuhLogsTagWazuhModulesdAgentUpgrade WazuhLogsTag = "wazuh-modulesd:agent-upgrade" WazuhLogsTagWazuhModulesdAwsS3 WazuhLogsTag = "wazuh-modulesd:aws-s3" WazuhLogsTagWazuhModulesdAzureLogs WazuhLogsTag = "wazuh-modulesd:azure-logs" WazuhLogsTagWazuhModulesdCiscat WazuhLogsTag = "wazuh-modulesd:ciscat" WazuhLogsTagWazuhModulesdCommand WazuhLogsTag = "wazuh-modulesd:command" WazuhLogsTagWazuhModulesdControl WazuhLogsTag = "wazuh-modulesd:control" WazuhLogsTagWazuhModulesdDatabase WazuhLogsTag = "wazuh-modulesd:database" WazuhLogsTagWazuhModulesdDockerListener WazuhLogsTag = "wazuh-modulesd:docker-listener" WazuhLogsTagWazuhModulesdDownload WazuhLogsTag = "wazuh-modulesd:download" WazuhLogsTagWazuhModulesdOscap WazuhLogsTag = "wazuh-modulesd:oscap" WazuhLogsTagWazuhModulesdOsquery WazuhLogsTag = "wazuh-modulesd:osquery" WazuhLogsTagWazuhModulesdSyscollector WazuhLogsTag = "wazuh-modulesd:syscollector" WazuhLogsTagWazuhModulesdTaskManager WazuhLogsTag = "wazuh-modulesd:task-manager" WazuhLogsTagWazuhModulesdVulnerabilityDetector WazuhLogsTag = "wazuh-modulesd:vulnerability-detector" WazuhLogsTagWazuhMonitord WazuhLogsTag = "wazuh-monitord" WazuhLogsTagWazuhRemoted WazuhLogsTag = "wazuh-remoted" WazuhLogsTagWazuhReportd WazuhLogsTag = "wazuh-reportd" WazuhLogsTagWazuhRootcheck WazuhLogsTag = "wazuh-rootcheck" WazuhLogsTagWazuhSyscheckd WazuhLogsTag = "wazuh-syscheckd" )
Defines values for WazuhLogsTag.
type WazuhManagerConfiguration ¶ added in v0.8.0
type WazuhManagerConfiguration struct {
ActiveResponse *[]map[string]any `json:"active-response,omitempty"`
Agentless *[]map[string]any `json:"agentless,omitempty"`
Alerts *map[string]any `json:"alerts,omitempty"`
Auth *map[string]any `json:"auth,omitempty"`
AwsS3 *map[string]any `json:"aws-s3,omitempty"`
AzureLogs *map[string]any `json:"azure-logs,omitempty"`
CisCat *map[string]any `json:"cis-cat,omitempty"`
Cluster *map[string]any `json:"cluster,omitempty"`
Command *[]map[string]any `json:"command,omitempty"`
DatabaseOutput *map[string]any `json:"database_output,omitempty"`
DockerListener *map[string]any `json:"docker-listener,omitempty"`
EmailAlerts *map[string]any `json:"email_alerts,omitempty"`
GcpPubsub *map[string]any `json:"gcp-pubsub,omitempty"`
Global *map[string]any `json:"global,omitempty"`
Integration *[]map[string]any `json:"integration,omitempty"`
Labels *map[string]any `json:"labels,omitempty"`
Localfile *[]map[string]any `json:"localfile,omitempty"`
Logging *map[string]any `json:"logging,omitempty"`
OpenScap *map[string]any `json:"open-scap,omitempty"`
Osquery *map[string]any `json:"osquery,omitempty"`
Remote *[]map[string]any `json:"remote,omitempty"`
Reports *map[string]any `json:"reports,omitempty"`
Rootcheck *map[string]any `json:"rootcheck,omitempty"`
Ruleset *map[string]any `json:"ruleset,omitempty"`
Sca *map[string]any `json:"sca,omitempty"`
Socket *map[string]any `json:"socket,omitempty"`
Syscheck *map[string]any `json:"syscheck,omitempty"`
Syscollector *map[string]any `json:"syscollector,omitempty"`
SyslogOutput *[]map[string]any `json:"syslog_output,omitempty"`
}
WazuhManagerConfiguration defines model for WazuhManagerConfiguration.
type WazuhRemotedStats ¶
type WazuhRemotedStats struct {
// Number of control messages received from all agents during the last five seconds
CtrlMsgCount *float32 `json:"ctrl_msg_count,omitempty"`
// Number of discarded events received from agents during the last five seconds
DiscardedCount *float32 `json:"discarded_count,omitempty"`
// Number of events sent to analysisd during the last five seconds
EvtCount *float32 `json:"evt_count,omitempty"`
// Usage of the queue to storage events from agents
QueueSize *float32 `json:"queue_size,omitempty"`
// Number of messages queued to be sent to agents during the last five seconds
QueuedMsgs *float32 `json:"queued_msgs,omitempty"`
// Number of received bytes from all agents during the last five seconds
RecvBytes *float32 `json:"recv_bytes,omitempty"`
// Number of sent bytes to the agents during the last five seconds
SentBytes *float32 `json:"sent_bytes,omitempty"`
// Number of TCP active sessions during the last five seconds
TcpSessions *float32 `json:"tcp_sessions,omitempty"`
// Total queue size to store events from agents
TotalQueueSize *float32 `json:"total_queue_size,omitempty"`
}
WazuhRemotedStats defines model for WazuhRemotedStats.
type WazuhRemotedStatsAgentsItem ¶ added in v1.1.5
type WazuhRemotedStatsAgentsItem struct {
Agents *[]struct {
// Agent ID
Id *int32 `json:"id,omitempty"`
Metrics *struct {
Messages *struct {
ReceivedBreakdown *struct {
// Control messages received from agent
Control *int32 `json:"control,omitempty"`
ControlBreakdown *struct {
// Keepalive messages from agent
Keepalive *int32 `json:"keepalive,omitempty"`
// Request messages (for example, WPK responses) from agent
Request *int32 `json:"request,omitempty"`
// Shutdown messages from agent
Shutdown *int32 `json:"shutdown,omitempty"`
// Startup messages from agent
Startup *int32 `json:"startup,omitempty"`
} `json:"control_breakdown,omitempty"`
// Event messages (syscheck, syscollector, logcollector, etc.) received from agent
Event *int32 `json:"event,omitempty"`
} `json:"received_breakdown,omitempty"`
SentBreakdown *struct {
// ACK messages (response to keepalive, startup and shutdown) sent to agent
Ack *int32 `json:"ack,omitempty"`
// Active response messages sent to agent
Ar *int32 `json:"ar,omitempty"`
// Messages discarded because the send queue was full (for this agent)
Discarded *int32 `json:"discarded,omitempty"`
// Request messages (for example, WPK chunks) sent to agent
Request *int32 `json:"request,omitempty"`
// SCA messages sent to agent
Sca *int32 `json:"sca,omitempty"`
// Shared configuration messages (merged.mg) sent to agent
Shared *int32 `json:"shared,omitempty"`
} `json:"sent_breakdown,omitempty"`
} `json:"messages,omitempty"`
} `json:"metrics,omitempty"`
// When the count of the metrics started
Uptime *time.Time `json:"uptime,omitempty"`
} `json:"agents,omitempty"`
// Daemon name
Name *WazuhRemotedStatsAgentsItemName `json:"name,omitempty"`
// Daemon stats request time
Timestamp *time.Time `json:"timestamp,omitempty"`
}
WazuhRemotedStatsAgentsItem defines model for WazuhRemotedStatsAgentsItem.
type WazuhRemotedStatsAgentsItemName ¶ added in v1.1.5
type WazuhRemotedStatsAgentsItemName string
Daemon name
type WazuhRemotedStatsItem ¶ added in v1.1.5
type WazuhRemotedStatsItem struct {
Metrics *struct {
Bytes *struct {
// Bytes received from agents
Received *int32 `json:"received,omitempty"`
// Bytes sent to agents
Sent *int32 `json:"sent,omitempty"`
} `json:"bytes,omitempty"`
// Number of times keys were reloaded into memory
KeysReloadCount *int32 `json:"keys_reload_count,omitempty"`
Messages *struct {
ReceivedBreakdown *struct {
// Control messages received from agents
Control *int32 `json:"control,omitempty"`
ControlBreakdown *struct {
// Keepalive messages from agents
Keepalive *int32 `json:"keepalive,omitempty"`
// Request messages (for example, WPK responses) from agents
Request *int32 `json:"request,omitempty"`
// Shutdown messages from agents
Shutdown *int32 `json:"shutdown,omitempty"`
// Startup messages from agents
Startup *int32 `json:"startup,omitempty"`
} `json:"control_breakdown,omitempty"`
// Messages dequeued after newer messages (counter < current counter)
DequeuedAfter *int32 `json:"dequeued_after,omitempty"`
// Messages discarded because the received queue was full
Discarded *int32 `json:"discarded,omitempty"`
// Event messages (syscheck, syscollector, logcollector, etc.) received from agents
Event *int32 `json:"event,omitempty"`
// Ping messages received
Ping *int32 `json:"ping,omitempty"`
// Not recognized messages
Unknown *int32 `json:"unknown,omitempty"`
} `json:"received_breakdown,omitempty"`
SentBreakdown *struct {
// ACK messages (response to keepalive, startup and shutdown) sent to agents
Ack *int32 `json:"ack,omitempty"`
// Active response messages sent to agents
Ar *int32 `json:"ar,omitempty"`
// Messages discarded because the send queue was full
Discarded *int32 `json:"discarded,omitempty"`
// Request messages (for example, WPK chunks) sent to agents
Request *int32 `json:"request,omitempty"`
// SCA messages sent to agents
Sca *int32 `json:"sca,omitempty"`
// Shared configuration messages (merged.mg) sent to agents
Shared *int32 `json:"shared,omitempty"`
} `json:"sent_breakdown,omitempty"`
} `json:"messages,omitempty"`
Queues *struct {
Received *struct {
// Size of received messages queue
Size *int32 `json:"size,omitempty"`
// Current usage of the received queue (count)
Usage *int32 `json:"usage,omitempty"`
} `json:"received,omitempty"`
} `json:"queues,omitempty"`
// Current active TCP sessions (agents)
TcpSessions *int32 `json:"tcp_sessions,omitempty"`
} `json:"metrics,omitempty"`
// Daemon name
Name *WazuhRemotedStatsItemName `json:"name,omitempty"`
// Daemon stats request time
Timestamp *time.Time `json:"timestamp,omitempty"`
// When the count of the metrics started
Uptime *time.Time `json:"uptime,omitempty"`
}
WazuhRemotedStatsItem defines model for WazuhRemotedStatsItem.
type WazuhWeeklyStats ¶
type WazuhWeeklyStats struct {
Fri *WazuhHourlyStats `json:"Fri,omitempty"`
Mon *WazuhHourlyStats `json:"Mon,omitempty"`
Sat *WazuhHourlyStats `json:"Sat,omitempty"`
Sun *WazuhHourlyStats `json:"Sun,omitempty"`
Thu *WazuhHourlyStats `json:"Thu,omitempty"`
Tue *WazuhHourlyStats `json:"Tue,omitempty"`
Wed *WazuhHourlyStats `json:"Wed,omitempty"`
}
WazuhWeeklyStats defines model for WazuhWeeklyStats.
type WrongContentTypeResponse ¶
type WrongContentTypeResponse RequestError
WrongContentTypeResponse defines model for WrongContentTypeResponse.
type XmlFilename ¶ added in v0.8.0
type XmlFilename []string
XmlFilename defines model for xml_filename.
type XmlFilenamePath ¶ added in v0.8.0
type XmlFilenamePath string
XmlFilenamePath defines model for xml_filename_path.