Documentation
¶
Overview ¶
Package api provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
Package wazuh provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
Index ¶
- func NewActiveResponseControllerRunCommandRequest(server string, params *ActiveResponseControllerRunCommandParams, ...) (*http.Request, error)
- func NewActiveResponseControllerRunCommandRequestWithBody(server string, params *ActiveResponseControllerRunCommandParams, ...) (*http.Request, error)
- func NewAgentsControllerAddAgentRequest(server string, params *AgentsControllerAddAgentParams, ...) (*http.Request, error)
- func NewAgentsControllerAddAgentRequestWithBody(server string, params *AgentsControllerAddAgentParams, contentType string, ...) (*http.Request, error)
- func NewAgentsControllerDeleteAgentsRequest(server string, params *AgentsControllerDeleteAgentsParams) (*http.Request, error)
- func NewAgentsControllerDeleteGroupsRequest(server string, params *AgentsControllerDeleteGroupsParams) (*http.Request, error)
- func NewAgentsControllerDeleteMultipleAgentSingleGroupRequest(server string, params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*http.Request, error)
- func NewAgentsControllerDeleteSingleAgentMultipleGroupsRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewAgentsControllerDeleteSingleAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, ...) (*http.Request, error)
- func NewAgentsControllerGetAgentConfigRequest(server string, agentId AgentId, component Component, ...) (*http.Request, error)
- func NewAgentsControllerGetAgentFieldsRequest(server string, params *AgentsControllerGetAgentFieldsParams) (*http.Request, error)
- func NewAgentsControllerGetAgentKeyRequest(server string, agentId AgentId, params *AgentsControllerGetAgentKeyParams) (*http.Request, error)
- func NewAgentsControllerGetAgentNoGroupRequest(server string, params *AgentsControllerGetAgentNoGroupParams) (*http.Request, error)
- func NewAgentsControllerGetAgentOutdatedRequest(server string, params *AgentsControllerGetAgentOutdatedParams) (*http.Request, error)
- func NewAgentsControllerGetAgentSummaryOsRequest(server string, params *AgentsControllerGetAgentSummaryOsParams) (*http.Request, error)
- func NewAgentsControllerGetAgentSummaryStatusRequest(server string, params *AgentsControllerGetAgentSummaryStatusParams) (*http.Request, error)
- func NewAgentsControllerGetAgentUpgradeRequest(server string, agentId AgentId, params *AgentsControllerGetAgentUpgradeParams) (*http.Request, error)
- func NewAgentsControllerGetAgentsInGroupRequest(server string, groupId GroupId, params *AgentsControllerGetAgentsInGroupParams) (*http.Request, error)
- func NewAgentsControllerGetAgentsRequest(server string, params *AgentsControllerGetAgentsParams) (*http.Request, error)
- func NewAgentsControllerGetGroupConfigRequest(server string, groupId GroupId, params *AgentsControllerGetGroupConfigParams) (*http.Request, error)
- func NewAgentsControllerGetGroupFileJsonRequest(server string, groupId GroupId, fileName FileName, ...) (*http.Request, error)
- func NewAgentsControllerGetGroupFileXmlRequest(server string, groupId GroupId, fileName FileName, ...) (*http.Request, error)
- func NewAgentsControllerGetGroupFilesRequest(server string, groupId GroupId, params *AgentsControllerGetGroupFilesParams) (*http.Request, error)
- func NewAgentsControllerGetListGroupRequest(server string, params *AgentsControllerGetListGroupParams) (*http.Request, error)
- func NewAgentsControllerGetSyncAgentRequest(server string, agentId AgentId, params *AgentsControllerGetSyncAgentParams) (*http.Request, error)
- func NewAgentsControllerInsertAgentRequest(server string, params *AgentsControllerInsertAgentParams, ...) (*http.Request, error)
- func NewAgentsControllerInsertAgentRequestWithBody(server string, params *AgentsControllerInsertAgentParams, contentType string, ...) (*http.Request, error)
- func NewAgentsControllerPostGroupRequest(server string, params *AgentsControllerPostGroupParams) (*http.Request, error)
- func NewAgentsControllerPostNewAgentRequest(server string, params *AgentsControllerPostNewAgentParams) (*http.Request, error)
- func NewAgentsControllerPutAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, ...) (*http.Request, error)
- func NewAgentsControllerPutGroupConfigRequestWithBody(server string, groupId GroupId, params *AgentsControllerPutGroupConfigParams, ...) (*http.Request, error)
- func NewAgentsControllerPutMultipleAgentSingleGroupRequest(server string, params *AgentsControllerPutMultipleAgentSingleGroupParams) (*http.Request, error)
- func NewAgentsControllerPutUpgradeAgentRequest(server string, agentId AgentId, params *AgentsControllerPutUpgradeAgentParams) (*http.Request, error)
- func NewAgentsControllerPutUpgradeCustomAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewAgentsControllerRestartAgentRequest(server string, agentId AgentId, params *AgentsControllerRestartAgentParams) (*http.Request, error)
- func NewAgentsControllerRestartAgentsByGroupRequest(server string, groupId GroupId, ...) (*http.Request, error)
- func NewAgentsControllerRestartAgentsByNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewAgentsControllerRestartAgentsRequest(server string, params *AgentsControllerRestartAgentsParams) (*http.Request, error)
- func NewCiscatControllerGetAgentsCiscatResultsRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewClusterControllerDeleteFilesNodeRequest(server string, nodeId NodeId, params *ClusterControllerDeleteFilesNodeParams) (*http.Request, error)
- func NewClusterControllerGetApiConfigRequest(server string, params *ClusterControllerGetApiConfigParams) (*http.Request, error)
- func NewClusterControllerGetClusterNodeRequest(server string, params *ClusterControllerGetClusterNodeParams) (*http.Request, error)
- func NewClusterControllerGetClusterNodesRequest(server string, params *ClusterControllerGetClusterNodesParams) (*http.Request, error)
- func NewClusterControllerGetConfValidationRequest(server string, params *ClusterControllerGetConfValidationParams) (*http.Request, error)
- func NewClusterControllerGetConfigRequest(server string, params *ClusterControllerGetConfigParams) (*http.Request, error)
- func NewClusterControllerGetConfigurationNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewClusterControllerGetFilesNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetFilesNodeParams) (*http.Request, error)
- func NewClusterControllerGetHealthcheckRequest(server string, params *ClusterControllerGetHealthcheckParams) (*http.Request, error)
- func NewClusterControllerGetInfoNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetInfoNodeParams) (*http.Request, error)
- func NewClusterControllerGetLogNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogNodeParams) (*http.Request, error)
- func NewClusterControllerGetLogSummaryNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*http.Request, error)
- func NewClusterControllerGetNodeConfigRequest(server string, nodeId NodeId, component Component, configuration Configuration, ...) (*http.Request, error)
- func NewClusterControllerGetStatsAnalysisdNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewClusterControllerGetStatsHourlyNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewClusterControllerGetStatsNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsNodeParams) (*http.Request, error)
- func NewClusterControllerGetStatsRemotedNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewClusterControllerGetStatsWeeklyNodeRequest(server string, nodeId NodeId, ...) (*http.Request, error)
- func NewClusterControllerGetStatusNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatusNodeParams) (*http.Request, error)
- func NewClusterControllerGetStatusRequest(server string, params *ClusterControllerGetStatusParams) (*http.Request, error)
- func NewClusterControllerPutFilesNodeRequestWithBody(server string, nodeId NodeId, params *ClusterControllerPutFilesNodeParams, ...) (*http.Request, error)
- func NewClusterControllerPutRestartRequest(server string, params *ClusterControllerPutRestartParams) (*http.Request, error)
- func NewDecodersControllerGetDecodersFilesRequest(server string, params *DecodersControllerGetDecodersFilesParams) (*http.Request, error)
- func NewDecodersControllerGetDecodersParentsRequest(server string, params *DecodersControllerGetDecodersParentsParams) (*http.Request, error)
- func NewDecodersControllerGetDecodersRequest(server string, params *DecodersControllerGetDecodersParams) (*http.Request, error)
- func NewDecodersControllerGetDownloadFileRequest(server string, filename DownloadFile, ...) (*http.Request, error)
- func NewDefaultControllerDefaultInfoRequest(server string, params *DefaultControllerDefaultInfoParams) (*http.Request, error)
- func NewExperimentalControllerClearSyscheckDatabaseRequest(server string, params *ExperimentalControllerClearSyscheckDatabaseParams) (*http.Request, error)
- func NewExperimentalControllerGetCisCatResultsRequest(server string, params *ExperimentalControllerGetCisCatResultsParams) (*http.Request, error)
- func NewExperimentalControllerGetHardwareInfoRequest(server string, params *ExperimentalControllerGetHardwareInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetHotfixesInfoRequest(server string, params *ExperimentalControllerGetHotfixesInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetNetworkAddressInfoRequest(server string, params *ExperimentalControllerGetNetworkAddressInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetNetworkInterfaceInfoRequest(server string, params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetNetworkProtocolInfoRequest(server string, params *ExperimentalControllerGetNetworkProtocolInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetOsInfoRequest(server string, params *ExperimentalControllerGetOsInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetPackagesInfoRequest(server string, params *ExperimentalControllerGetPackagesInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetPortsInfoRequest(server string, params *ExperimentalControllerGetPortsInfoParams) (*http.Request, error)
- func NewExperimentalControllerGetProcessesInfoRequest(server string, params *ExperimentalControllerGetProcessesInfoParams) (*http.Request, error)
- func NewListsControllerGetListsFilesRequest(server string, params *ListsControllerGetListsFilesParams) (*http.Request, error)
- func NewListsControllerGetListsRequest(server string, params *ListsControllerGetListsParams) (*http.Request, error)
- func NewManagerControllerDeleteFilesRequest(server string, params *ManagerControllerDeleteFilesParams) (*http.Request, error)
- func NewManagerControllerGetApiConfigRequest(server string, params *ManagerControllerGetApiConfigParams) (*http.Request, error)
- func NewManagerControllerGetConfValidationRequest(server string, params *ManagerControllerGetConfValidationParams) (*http.Request, error)
- func NewManagerControllerGetConfigurationRequest(server string, params *ManagerControllerGetConfigurationParams) (*http.Request, error)
- func NewManagerControllerGetFilesRequest(server string, params *ManagerControllerGetFilesParams) (*http.Request, error)
- func NewManagerControllerGetInfoRequest(server string, params *ManagerControllerGetInfoParams) (*http.Request, error)
- func NewManagerControllerGetLogRequest(server string, params *ManagerControllerGetLogParams) (*http.Request, error)
- func NewManagerControllerGetLogSummaryRequest(server string, params *ManagerControllerGetLogSummaryParams) (*http.Request, error)
- func NewManagerControllerGetManagerConfigOndemandRequest(server string, component Component, configuration Configuration, ...) (*http.Request, error)
- func NewManagerControllerGetStatsAnalysisdRequest(server string, params *ManagerControllerGetStatsAnalysisdParams) (*http.Request, error)
- func NewManagerControllerGetStatsHourlyRequest(server string, params *ManagerControllerGetStatsHourlyParams) (*http.Request, error)
- func NewManagerControllerGetStatsRemotedRequest(server string, params *ManagerControllerGetStatsRemotedParams) (*http.Request, error)
- func NewManagerControllerGetStatsRequest(server string, params *ManagerControllerGetStatsParams) (*http.Request, error)
- func NewManagerControllerGetStatsWeeklyRequest(server string, params *ManagerControllerGetStatsWeeklyParams) (*http.Request, error)
- func NewManagerControllerGetStatusRequest(server string, params *ManagerControllerGetStatusParams) (*http.Request, error)
- func NewManagerControllerPutFilesRequestWithBody(server string, params *ManagerControllerPutFilesParams, contentType string, ...) (*http.Request, error)
- func NewManagerControllerPutRestartRequest(server string, params *ManagerControllerPutRestartParams) (*http.Request, error)
- func NewMitreControllerGetAttackRequest(server string, params *MitreControllerGetAttackParams) (*http.Request, error)
- func NewOverviewControllerGetOverviewAgentsRequest(server string, params *OverviewControllerGetOverviewAgentsParams) (*http.Request, error)
- func NewRulesControllerGetDownloadFileRequest(server string, filename DownloadFile, ...) (*http.Request, error)
- func NewRulesControllerGetRulesFilesRequest(server string, params *RulesControllerGetRulesFilesParams) (*http.Request, error)
- func NewRulesControllerGetRulesGroupsRequest(server string, params *RulesControllerGetRulesGroupsParams) (*http.Request, error)
- func NewRulesControllerGetRulesRequest(server string, params *RulesControllerGetRulesParams) (*http.Request, error)
- func NewRulesControllerGetRulesRequirementRequest(server string, requirement RuleRequirement, ...) (*http.Request, error)
- func NewScaControllerGetScaAgentRequest(server string, agentId AgentId, params *ScaControllerGetScaAgentParams) (*http.Request, error)
- func NewScaControllerGetScaChecksRequest(server string, agentId AgentId, policyId PolicyId, ...) (*http.Request, error)
- func NewSecurityControllerAddPolicyRequest(server string, params *SecurityControllerAddPolicyParams, ...) (*http.Request, error)
- func NewSecurityControllerAddPolicyRequestWithBody(server string, params *SecurityControllerAddPolicyParams, contentType string, ...) (*http.Request, error)
- func NewSecurityControllerAddRoleRequest(server string, params *SecurityControllerAddRoleParams, ...) (*http.Request, error)
- func NewSecurityControllerAddRoleRequestWithBody(server string, params *SecurityControllerAddRoleParams, contentType string, ...) (*http.Request, error)
- func NewSecurityControllerAddRuleRequest(server string, params *SecurityControllerAddRuleParams, ...) (*http.Request, error)
- func NewSecurityControllerAddRuleRequestWithBody(server string, params *SecurityControllerAddRuleParams, contentType string, ...) (*http.Request, error)
- func NewSecurityControllerCreateUserRequest(server string, params *SecurityControllerCreateUserParams, ...) (*http.Request, error)
- func NewSecurityControllerCreateUserRequestWithBody(server string, params *SecurityControllerCreateUserParams, contentType string, ...) (*http.Request, error)
- func NewSecurityControllerDeleteSecurityConfigRequest(server string, params *SecurityControllerDeleteSecurityConfigParams) (*http.Request, error)
- func NewSecurityControllerDeleteUsersRequest(server string, params *SecurityControllerDeleteUsersParams) (*http.Request, error)
- func NewSecurityControllerGetPoliciesRequest(server string, params *SecurityControllerGetPoliciesParams) (*http.Request, error)
- func NewSecurityControllerGetRbacActionsRequest(server string, params *SecurityControllerGetRbacActionsParams) (*http.Request, error)
- func NewSecurityControllerGetRbacResourcesRequest(server string, params *SecurityControllerGetRbacResourcesParams) (*http.Request, error)
- func NewSecurityControllerGetRolesRequest(server string, params *SecurityControllerGetRolesParams) (*http.Request, error)
- func NewSecurityControllerGetRulesRequest(server string, params *SecurityControllerGetRulesParams) (*http.Request, error)
- func NewSecurityControllerGetSecurityConfigRequest(server string, params *SecurityControllerGetSecurityConfigParams) (*http.Request, error)
- func NewSecurityControllerGetUserMePoliciesRequest(server string, params *SecurityControllerGetUserMePoliciesParams) (*http.Request, error)
- func NewSecurityControllerGetUserMeRequest(server string, params *SecurityControllerGetUserMeParams) (*http.Request, error)
- func NewSecurityControllerGetUsersRequest(server string, params *SecurityControllerGetUsersParams) (*http.Request, error)
- func NewSecurityControllerLoginUserRequest(server string, params *SecurityControllerLoginUserParams) (*http.Request, error)
- func NewSecurityControllerLoginUserRunAsRequest(server string, params *SecurityControllerLoginUserParams, ...) (*http.Request, error)
- func NewSecurityControllerLoginUserRunAsRequestWithBody(server string, params *SecurityControllerLoginUserParams, contentType string, ...) (*http.Request, error)
- func NewSecurityControllerLogoutUserRequest(server string) (*http.Request, error)
- func NewSecurityControllerPutSecurityConfigRequest(server string, params *SecurityControllerPutSecurityConfigParams, ...) (*http.Request, error)
- func NewSecurityControllerPutSecurityConfigRequestWithBody(server string, params *SecurityControllerPutSecurityConfigParams, ...) (*http.Request, error)
- func NewSecurityControllerRemovePoliciesRequest(server string, params *SecurityControllerRemovePoliciesParams) (*http.Request, error)
- func NewSecurityControllerRemoveRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams) (*http.Request, error)
- func NewSecurityControllerRemoveRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams) (*http.Request, error)
- func NewSecurityControllerRemoveRolesRequest(server string, params *SecurityControllerRemoveRolesParams) (*http.Request, error)
- func NewSecurityControllerRemoveRulesRequest(server string, params *SecurityControllerRemoveRulesParams) (*http.Request, error)
- func NewSecurityControllerRemoveUserRoleRequest(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewSecurityControllerRevokeAllTokensRequest(server string) (*http.Request, error)
- func NewSecurityControllerSetRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerSetRolePolicyParams) (*http.Request, error)
- func NewSecurityControllerSetRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerSetRoleRuleParams) (*http.Request, error)
- func NewSecurityControllerSetUserRoleRequest(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewSecurityControllerUpdatePolicyRequest(server string, policyId PolicyIdRbac, ...) (*http.Request, error)
- func NewSecurityControllerUpdatePolicyRequestWithBody(server string, policyId PolicyIdRbac, ...) (*http.Request, error)
- func NewSecurityControllerUpdateRoleRequest(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*http.Request, error)
- func NewSecurityControllerUpdateRoleRequestWithBody(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, ...) (*http.Request, error)
- func NewSecurityControllerUpdateRuleRequest(server string, ruleId SecurityRuleId, ...) (*http.Request, error)
- func NewSecurityControllerUpdateRuleRequestWithBody(server string, ruleId SecurityRuleId, ...) (*http.Request, error)
- func NewSecurityControllerUpdateUserRequest(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewSecurityControllerUpdateUserRequestWithBody(server string, userId UserIdRequired, ...) (*http.Request, error)
- func NewSyscheckControllerDeleteSyscheckAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscheckControllerGetLastScanAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscheckControllerGetSyscheckAgentRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscheckControllerPutSyscheckRequest(server string, params *SyscheckControllerPutSyscheckParams) (*http.Request, error)
- func NewSyscollectorControllerGetHardwareInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscollectorControllerGetHotfixInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscollectorControllerGetNetworkAddressInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscollectorControllerGetNetworkInterfaceInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscollectorControllerGetNetworkProtocolInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscollectorControllerGetOsInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetOsInfoParams) (*http.Request, error)
- func NewSyscollectorControllerGetPackagesInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscollectorControllerGetPortsInfoRequest(server string, agentId AgentId, ...) (*http.Request, error)
- func NewSyscollectorControllerGetProcessesInfoRequest(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 AgentDistinct
- type AgentGroup
- type AgentGroupDeleted
- type AgentGroupID
- type AgentID
- type AgentIDDELETE
- type AgentId
- type AgentIdKey
- type AgentName
- type AgentSimple
- type AgentStatus
- type AgentSynced
- type AgentsController
- func (c *AgentsController) AddAgent(params *AgentsControllerAddAgentParams, ...) (*AgentIdKey, error)
- func (c *AgentsController) AddAgentWithBody(params *AgentsControllerAddAgentParams, contentType string, body io.Reader) (*AgentIdKey, error)
- func (c *AgentsController) DeleteAgents(params *AgentsControllerDeleteAgentsParams) (..., error)
- func (c *AgentsController) DeleteGroups(params *AgentsControllerDeleteGroupsParams) (..., error)
- func (c *AgentsController) DeleteMultipleAgentSingleGroup(params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*struct{ AllItemsResponseAgentIDs }, error)
- func (c *AgentsController) DeleteSingleAgentMultipleGroups(agentID AgentId, params *AgentsControllerDeleteSingleAgentMultipleGroupsParams) (*struct{ AllItemsResponseGroupIDs }, error)
- func (c *AgentsController) DeleteSingleAgentSingleGroup(agentID AgentId, groupID GroupId, ...) (*ApiResponse, error)
- func (c *AgentsController) GetAgentConfig(agentID AgentId, component Component, configuration Configuration, ...) (*AgentConfiguration, error)
- func (c *AgentsController) GetAgentFields(params *AgentsControllerGetAgentFieldsParams) (*AllItemsResponseAgentsDistinct, error)
- func (c *AgentsController) GetAgentKey(agentID AgentId, params *AgentsControllerGetAgentKeyParams) (*AllItemsResponseAgentsKeys, error)
- func (c *AgentsController) GetAgentNoGroup(params *AgentsControllerGetAgentNoGroupParams) (*AllItemsResponseAgents, error)
- func (c *AgentsController) GetAgentOutdated(params *AgentsControllerGetAgentOutdatedParams) (*AllItemsResponseAgentsSimple, error)
- func (c *AgentsController) GetAgentSummaryOs(params *AgentsControllerGetAgentSummaryOsParams) (*struct{ ApiResponse }, error)
- func (c *AgentsController) GetAgentSummaryStatus(params *AgentsControllerGetAgentSummaryStatusParams) (*AgentsSummaryStatus, error)
- func (c *AgentsController) GetAgentUpgrade(agentID AgentId, params *AgentsControllerGetAgentUpgradeParams) (*ApiResponse, error)
- func (c *AgentsController) GetAgents(params *AgentsControllerGetAgentsParams) (*AllItemsResponseAgents, error)
- func (c *AgentsController) GetAgentsInGroup(groupID GroupId, params *AgentsControllerGetAgentsInGroupParams) (*AllItemsResponseAgents, error)
- func (c *AgentsController) GetGroupConfig(groupID GroupId, params *AgentsControllerGetGroupConfigParams) (..., error)
- func (c *AgentsController) GetGroupFileJSON(groupID GroupId, fileName FileName, ...) (*interface{}, error)
- func (c *AgentsController) GetGroupFileXML(groupID GroupId, fileName FileName, ...) (*AgentsControllerGetGroupFileXmlResponse, error)
- func (c *AgentsController) GetGroupFiles(groupID GroupId, params *AgentsControllerGetGroupFilesParams) (*AllItemsResponse, error)
- func (c *AgentsController) GetListGroup(params *AgentsControllerGetListGroupParams) (*AllItemsResponseGroups, error)
- func (c *AgentsController) GetSyncAgent(agentID AgentId, params *AgentsControllerGetSyncAgentParams) (*AllItemsResponseAgentsSynced, error)
- func (c *AgentsController) InsertAgent(params *AgentsControllerInsertAgentParams, ...) (*AgentIdKey, error)
- func (c *AgentsController) InsertAgentWithBody(params *AgentsControllerInsertAgentParams, contentType string, body io.Reader) (*AgentIdKey, error)
- func (c *AgentsController) PostGroup(params *AgentsControllerPostGroupParams) (*ApiResponse, error)
- func (c *AgentsController) PostNewAgent(params *AgentsControllerPostNewAgentParams) (*AgentIdKey, error)
- func (c *AgentsController) PutAgentSingleGroup(agentID AgentId, groupID GroupId, ...) (*ApiResponse, error)
- func (c *AgentsController) PutGroupConfigWithBody(groupID GroupId, params *AgentsControllerPutGroupConfigParams, ...) (*ApiResponse, error)
- func (c *AgentsController) PutMultipleAgentSingleGroup(params *AgentsControllerPutMultipleAgentSingleGroupParams) (*struct{ AllItemsResponseAgentIDs }, error)
- func (c *AgentsController) PutUpgradeAgent(agentID AgentId, params *AgentsControllerPutUpgradeAgentParams) (*ApiResponse, error)
- func (c *AgentsController) PutUpgradeCustomAgent(agentID AgentId, params *AgentsControllerPutUpgradeCustomAgentParams) (*ApiResponse, error)
- func (c *AgentsController) RestartAgent(agentID AgentId, params *AgentsControllerRestartAgentParams) (*ItemAffected, error)
- func (c *AgentsController) RestartAgents(params *AgentsControllerRestartAgentsParams) (*AllItemsResponseAgentIDs, error)
- func (c *AgentsController) RestartAgentsByGroup(groupID GroupId, params *AgentsControllerRestartAgentsByGroupParams) (*AllItemsResponseAgentIDs, error)
- func (c *AgentsController) RestartAgentsByNode(nodeID NodeId, params *AgentsControllerRestartAgentsByNodeParams) (*AllItemsResponseAgentIDs, error)
- type AgentsControllerAddAgentJSONBody
- type AgentsControllerAddAgentJSONRequestBody
- type AgentsControllerAddAgentParams
- type AgentsControllerAddAgentResponse
- type AgentsControllerDeleteAgentsParams
- type AgentsControllerDeleteAgentsResponse
- type AgentsControllerDeleteGroupsParams
- type AgentsControllerDeleteGroupsResponse
- type AgentsControllerDeleteMultipleAgentSingleGroupParams
- type AgentsControllerDeleteMultipleAgentSingleGroupResponse
- type AgentsControllerDeleteSingleAgentMultipleGroupsParams
- type AgentsControllerDeleteSingleAgentMultipleGroupsResponse
- type AgentsControllerDeleteSingleAgentSingleGroupParams
- type AgentsControllerDeleteSingleAgentSingleGroupResponse
- type AgentsControllerGetAgentConfigParams
- type AgentsControllerGetAgentConfigResponse
- type AgentsControllerGetAgentFieldsParams
- type AgentsControllerGetAgentFieldsResponse
- type AgentsControllerGetAgentKeyParams
- type AgentsControllerGetAgentKeyResponse
- type AgentsControllerGetAgentNoGroupParams
- type AgentsControllerGetAgentNoGroupResponse
- type AgentsControllerGetAgentOutdatedParams
- type AgentsControllerGetAgentOutdatedResponse
- type AgentsControllerGetAgentSummaryOsParams
- type AgentsControllerGetAgentSummaryOsResponse
- type AgentsControllerGetAgentSummaryStatusParams
- type AgentsControllerGetAgentSummaryStatusResponse
- type AgentsControllerGetAgentUpgradeParams
- type AgentsControllerGetAgentUpgradeResponse
- type AgentsControllerGetAgentsInGroupParams
- type AgentsControllerGetAgentsInGroupResponse
- type AgentsControllerGetAgentsParams
- type AgentsControllerGetAgentsResponse
- type AgentsControllerGetGroupConfigParams
- type AgentsControllerGetGroupConfigResponse
- type AgentsControllerGetGroupFileJsonParams
- type AgentsControllerGetGroupFileJsonResponse
- type AgentsControllerGetGroupFileXmlParams
- type AgentsControllerGetGroupFileXmlResponse
- type AgentsControllerGetGroupFilesParams
- type AgentsControllerGetGroupFilesResponse
- type AgentsControllerGetListGroupParams
- type AgentsControllerGetListGroupResponse
- type AgentsControllerGetSyncAgentParams
- type AgentsControllerGetSyncAgentResponse
- type AgentsControllerInsertAgentJSONBody
- type AgentsControllerInsertAgentJSONRequestBody
- type AgentsControllerInsertAgentParams
- type AgentsControllerInsertAgentResponse
- type AgentsControllerInterface
- type AgentsControllerPostGroupParams
- type AgentsControllerPostGroupResponse
- type AgentsControllerPostNewAgentParams
- type AgentsControllerPostNewAgentResponse
- type AgentsControllerPutAgentSingleGroupParams
- type AgentsControllerPutAgentSingleGroupResponse
- type AgentsControllerPutGroupConfigParams
- type AgentsControllerPutGroupConfigResponse
- type AgentsControllerPutMultipleAgentSingleGroupParams
- type AgentsControllerPutMultipleAgentSingleGroupResponse
- type AgentsControllerPutUpgradeAgentParams
- type AgentsControllerPutUpgradeAgentResponse
- type AgentsControllerPutUpgradeCustomAgentParams
- type AgentsControllerPutUpgradeCustomAgentResponse
- type AgentsControllerRestartAgentParams
- type AgentsControllerRestartAgentResponse
- type AgentsControllerRestartAgentsByGroupParams
- type AgentsControllerRestartAgentsByGroupResponse
- type AgentsControllerRestartAgentsByNodeParams
- type AgentsControllerRestartAgentsByNodeResponse
- type AgentsControllerRestartAgentsParams
- type AgentsControllerRestartAgentsResponse
- type AgentsList
- type AgentsListDelete
- 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 AllItemsResponseLists
- type AllItemsResponseListsFiles
- type AllItemsResponseNodeHealthcheck
- type AllItemsResponseNodeIDs
- type AllItemsResponsePolicies
- type AllItemsResponseRoles
- type AllItemsResponseRules
- type AllItemsResponseRulesFiles
- type AllItemsResponseSCAChecks
- type AllItemsResponseSCADatabase
- type AllItemsResponseSyscheckLastScan
- 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 AllItemsResponseWazuhLogs
- type AllItemsResponseWazuhStats
- type ApiError
- type ApiError_DapiErrors
- type ApiResponse
- type Architecture
- type AttackId
- type BasicInfo
- type Benchmark
- type BoardSerial
- type Broadcast
- type CDBList
- type CDBListFile
- type CDBListPair
- 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) AgentsControllerAddAgent(ctx context.Context, params *AgentsControllerAddAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentsControllerAddAgentWithBody(ctx context.Context, params *AgentsControllerAddAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentsControllerDeleteAgents(ctx context.Context, params *AgentsControllerDeleteAgentsParams) (*http.Response, error)
- func (c *Client) AgentsControllerDeleteGroups(ctx context.Context, params *AgentsControllerDeleteGroupsParams) (*http.Response, error)
- func (c *Client) AgentsControllerDeleteMultipleAgentSingleGroup(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) AgentsControllerDeleteSingleAgentMultipleGroups(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerDeleteSingleAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentConfig(ctx context.Context, agentId AgentId, component Component, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentFields(ctx context.Context, params *AgentsControllerGetAgentFieldsParams) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentKey(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentNoGroup(ctx context.Context, params *AgentsControllerGetAgentNoGroupParams) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentOutdated(ctx context.Context, params *AgentsControllerGetAgentOutdatedParams) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentSummaryOs(ctx context.Context, params *AgentsControllerGetAgentSummaryOsParams) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentSummaryStatus(ctx context.Context, params *AgentsControllerGetAgentSummaryStatusParams) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentUpgrade(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgents(ctx context.Context, params *AgentsControllerGetAgentsParams) (*http.Response, error)
- func (c *Client) AgentsControllerGetAgentsInGroup(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetGroupConfig(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetGroupFileJson(ctx context.Context, groupId GroupId, fileName FileName, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetGroupFileXml(ctx context.Context, groupId GroupId, fileName FileName, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetGroupFiles(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerGetListGroup(ctx context.Context, params *AgentsControllerGetListGroupParams) (*http.Response, error)
- func (c *Client) AgentsControllerGetSyncAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerInsertAgent(ctx context.Context, params *AgentsControllerInsertAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentsControllerInsertAgentWithBody(ctx context.Context, params *AgentsControllerInsertAgentParams, ...) (*http.Response, error)
- func (c *Client) AgentsControllerPostGroup(ctx context.Context, params *AgentsControllerPostGroupParams) (*http.Response, error)
- func (c *Client) AgentsControllerPostNewAgent(ctx context.Context, params *AgentsControllerPostNewAgentParams) (*http.Response, error)
- func (c *Client) AgentsControllerPutAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerPutGroupConfigWithBody(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerPutMultipleAgentSingleGroup(ctx context.Context, params *AgentsControllerPutMultipleAgentSingleGroupParams) (*http.Response, error)
- func (c *Client) AgentsControllerPutUpgradeAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerPutUpgradeCustomAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerRestartAgent(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerRestartAgents(ctx context.Context, params *AgentsControllerRestartAgentsParams) (*http.Response, error)
- func (c *Client) AgentsControllerRestartAgentsByGroup(ctx context.Context, groupId GroupId, ...) (*http.Response, error)
- func (c *Client) AgentsControllerRestartAgentsByNode(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) CiscatControllerGetAgentsCiscatResults(ctx context.Context, agentId AgentId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerDeleteFilesNode(ctx context.Context, nodeId NodeId, ...) (*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) ClusterControllerGetFilesNode(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, component Component, ...) (*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) ClusterControllerPutFilesNodeWithBody(ctx context.Context, nodeId NodeId, ...) (*http.Response, error)
- func (c *Client) ClusterControllerPutRestart(ctx context.Context, params *ClusterControllerPutRestartParams) (*http.Response, error)
- func (c *Client) Debugf(format string, v ...interface{})
- func (c *Client) DecodersControllerGetDecoders(ctx context.Context, params *DecodersControllerGetDecodersParams) (*http.Response, error)
- func (c *Client) DecodersControllerGetDecodersFiles(ctx context.Context, params *DecodersControllerGetDecodersFilesParams) (*http.Response, error)
- func (c *Client) DecodersControllerGetDecodersParents(ctx context.Context, params *DecodersControllerGetDecodersParentsParams) (*http.Response, error)
- func (c *Client) DecodersControllerGetDownloadFile(ctx context.Context, filename DownloadFile, ...) (*http.Response, error)
- func (c *Client) DefaultControllerDefaultInfo(ctx context.Context, params *DefaultControllerDefaultInfoParams) (*http.Response, error)
- func (c *Client) Errorf(format string, v ...interface{})
- 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) ListsControllerGetLists(ctx context.Context, params *ListsControllerGetListsParams) (*http.Response, error)
- func (c *Client) ListsControllerGetListsFiles(ctx context.Context, params *ListsControllerGetListsFilesParams) (*http.Response, error)
- func (c *Client) ManagerControllerDeleteFiles(ctx context.Context, params *ManagerControllerDeleteFilesParams) (*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) ManagerControllerGetFiles(ctx context.Context, params *ManagerControllerGetFilesParams) (*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, component Component, configuration Configuration, ...) (*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) ManagerControllerPutFilesWithBody(ctx context.Context, params *ManagerControllerPutFilesParams, ...) (*http.Response, error)
- func (c *Client) ManagerControllerPutRestart(ctx context.Context, params *ManagerControllerPutRestartParams) (*http.Response, error)
- func (c *Client) MitreControllerGetAttack(ctx context.Context, params *MitreControllerGetAttackParams) (*http.Response, error)
- func (c *Client) OverviewControllerGetOverviewAgents(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams) (*http.Response, error)
- func (c *Client) RulesControllerGetDownloadFile(ctx context.Context, filename DownloadFile, ...) (*http.Response, error)
- func (c *Client) RulesControllerGetRules(ctx context.Context, params *RulesControllerGetRulesParams) (*http.Response, error)
- func (c *Client) RulesControllerGetRulesFiles(ctx context.Context, params *RulesControllerGetRulesFilesParams) (*http.Response, error)
- func (c *Client) RulesControllerGetRulesGroups(ctx context.Context, params *RulesControllerGetRulesGroupsParams) (*http.Response, error)
- func (c *Client) RulesControllerGetRulesRequirement(ctx context.Context, requirement RuleRequirement, ...) (*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) 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) SecurityControllerLoginUserRunAs(ctx context.Context, params *SecurityControllerLoginUserParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerLoginUserRunAsWithBody(ctx context.Context, params *SecurityControllerLoginUserParams, ...) (*http.Response, error)
- func (c *Client) SecurityControllerLogoutUser(ctx context.Context) (*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) (*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) Warnf(format string, v ...interface{})
- type ClientInterface
- type ClientOption
- func WithBaseURL(baseURL string) ClientOption
- func WithContext(ctx context.Context) ClientOption
- func WithHTTPClient(doer HttpRequestDoer) ClientOption
- func WithInsecure() ClientOption
- func WithLogin(user string, password string) ClientOption
- func WithRequestEditorFn(fn RequestEditorFn) 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) AgentsControllerAddAgentWithBodyWithResponse(ctx context.Context, params *AgentsControllerAddAgentParams, ...) (*AgentsControllerAddAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerAddAgentWithResponse(ctx context.Context, params *AgentsControllerAddAgentParams, ...) (*AgentsControllerAddAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerDeleteAgentsWithResponse(ctx context.Context, params *AgentsControllerDeleteAgentsParams) (*AgentsControllerDeleteAgentsResponse, error)
- func (c *ClientWithResponses) AgentsControllerDeleteGroupsWithResponse(ctx context.Context, params *AgentsControllerDeleteGroupsParams) (*AgentsControllerDeleteGroupsResponse, error)
- func (c *ClientWithResponses) AgentsControllerDeleteMultipleAgentSingleGroupWithResponse(ctx context.Context, ...) (*AgentsControllerDeleteMultipleAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerDeleteSingleAgentMultipleGroupsWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentsControllerDeleteSingleAgentMultipleGroupsResponse, error)
- func (c *ClientWithResponses) AgentsControllerDeleteSingleAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*AgentsControllerDeleteSingleAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentConfigWithResponse(ctx context.Context, agentId AgentId, component Component, ...) (*AgentsControllerGetAgentConfigResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentFieldsWithResponse(ctx context.Context, params *AgentsControllerGetAgentFieldsParams) (*AgentsControllerGetAgentFieldsResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentKeyWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentsControllerGetAgentKeyResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentNoGroupWithResponse(ctx context.Context, params *AgentsControllerGetAgentNoGroupParams) (*AgentsControllerGetAgentNoGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentOutdatedWithResponse(ctx context.Context, params *AgentsControllerGetAgentOutdatedParams) (*AgentsControllerGetAgentOutdatedResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentSummaryOsWithResponse(ctx context.Context, params *AgentsControllerGetAgentSummaryOsParams) (*AgentsControllerGetAgentSummaryOsResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentSummaryStatusWithResponse(ctx context.Context, params *AgentsControllerGetAgentSummaryStatusParams) (*AgentsControllerGetAgentSummaryStatusResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentUpgradeWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentsControllerGetAgentUpgradeResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentsInGroupWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentsControllerGetAgentsInGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetAgentsWithResponse(ctx context.Context, params *AgentsControllerGetAgentsParams) (*AgentsControllerGetAgentsResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetGroupConfigWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentsControllerGetGroupConfigResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetGroupFileJsonWithResponse(ctx context.Context, groupId GroupId, fileName FileName, ...) (*AgentsControllerGetGroupFileJsonResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetGroupFileXmlWithResponse(ctx context.Context, groupId GroupId, fileName FileName, ...) (*AgentsControllerGetGroupFileXmlResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetGroupFilesWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentsControllerGetGroupFilesResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetListGroupWithResponse(ctx context.Context, params *AgentsControllerGetListGroupParams) (*AgentsControllerGetListGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerGetSyncAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentsControllerGetSyncAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerInsertAgentWithBodyWithResponse(ctx context.Context, params *AgentsControllerInsertAgentParams, ...) (*AgentsControllerInsertAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerInsertAgentWithResponse(ctx context.Context, params *AgentsControllerInsertAgentParams, ...) (*AgentsControllerInsertAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerPostGroupWithResponse(ctx context.Context, params *AgentsControllerPostGroupParams) (*AgentsControllerPostGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerPostNewAgentWithResponse(ctx context.Context, params *AgentsControllerPostNewAgentParams) (*AgentsControllerPostNewAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerPutAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, ...) (*AgentsControllerPutAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerPutGroupConfigWithBodyWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentsControllerPutGroupConfigResponse, error)
- func (c *ClientWithResponses) AgentsControllerPutMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentsControllerPutMultipleAgentSingleGroupParams) (*AgentsControllerPutMultipleAgentSingleGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerPutUpgradeAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentsControllerPutUpgradeAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerPutUpgradeCustomAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentsControllerPutUpgradeCustomAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerRestartAgentWithResponse(ctx context.Context, agentId AgentId, ...) (*AgentsControllerRestartAgentResponse, error)
- func (c *ClientWithResponses) AgentsControllerRestartAgentsByGroupWithResponse(ctx context.Context, groupId GroupId, ...) (*AgentsControllerRestartAgentsByGroupResponse, error)
- func (c *ClientWithResponses) AgentsControllerRestartAgentsByNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*AgentsControllerRestartAgentsByNodeResponse, error)
- func (c *ClientWithResponses) AgentsControllerRestartAgentsWithResponse(ctx context.Context, params *AgentsControllerRestartAgentsParams) (*AgentsControllerRestartAgentsResponse, error)
- func (c *ClientWithResponses) Authenticate() error
- func (c *ClientWithResponses) CiscatControllerGetAgentsCiscatResultsWithResponse(ctx context.Context, agentId AgentId, ...) (*CiscatControllerGetAgentsCiscatResultsResponse, error)
- func (c *ClientWithResponses) ClusterControllerDeleteFilesNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerDeleteFilesNodeResponse, 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) ClusterControllerGetFilesNodeWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerGetFilesNodeResponse, 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, component Component, ...) (*ClusterControllerGetNodeConfigResponse, 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) ClusterControllerPutFilesNodeWithBodyWithResponse(ctx context.Context, nodeId NodeId, ...) (*ClusterControllerPutFilesNodeResponse, error)
- func (c *ClientWithResponses) ClusterControllerPutRestartWithResponse(ctx context.Context, params *ClusterControllerPutRestartParams) (*ClusterControllerPutRestartResponse, error)
- func (c *ClientWithResponses) DecodersControllerGetDecodersFilesWithResponse(ctx context.Context, params *DecodersControllerGetDecodersFilesParams) (*DecodersControllerGetDecodersFilesResponse, error)
- func (c *ClientWithResponses) DecodersControllerGetDecodersParentsWithResponse(ctx context.Context, params *DecodersControllerGetDecodersParentsParams) (*DecodersControllerGetDecodersParentsResponse, error)
- func (c *ClientWithResponses) DecodersControllerGetDecodersWithResponse(ctx context.Context, params *DecodersControllerGetDecodersParams) (*DecodersControllerGetDecodersResponse, error)
- func (c *ClientWithResponses) DecodersControllerGetDownloadFileWithResponse(ctx context.Context, filename DownloadFile, ...) (*DecodersControllerGetDownloadFileResponse, error)
- func (c *ClientWithResponses) DefaultControllerDefaultInfoWithResponse(ctx context.Context, params *DefaultControllerDefaultInfoParams) (*DefaultControllerDefaultInfoResponse, 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) ListsControllerGetListsFilesWithResponse(ctx context.Context, params *ListsControllerGetListsFilesParams) (*ListsControllerGetListsFilesResponse, error)
- func (c *ClientWithResponses) ListsControllerGetListsWithResponse(ctx context.Context, params *ListsControllerGetListsParams) (*ListsControllerGetListsResponse, error)
- func (c *ClientWithResponses) ManagerControllerDeleteFilesWithResponse(ctx context.Context, params *ManagerControllerDeleteFilesParams) (*ManagerControllerDeleteFilesResponse, 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) ManagerControllerGetFilesWithResponse(ctx context.Context, params *ManagerControllerGetFilesParams) (*ManagerControllerGetFilesResponse, 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, component Component, configuration Configuration, ...) (*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) ManagerControllerPutFilesWithBodyWithResponse(ctx context.Context, params *ManagerControllerPutFilesParams, ...) (*ManagerControllerPutFilesResponse, error)
- func (c *ClientWithResponses) ManagerControllerPutRestartWithResponse(ctx context.Context, params *ManagerControllerPutRestartParams) (*ManagerControllerPutRestartResponse, error)
- func (c *ClientWithResponses) MitreControllerGetAttackWithResponse(ctx context.Context, params *MitreControllerGetAttackParams) (*MitreControllerGetAttackResponse, error)
- func (c *ClientWithResponses) OverviewControllerGetOverviewAgentsWithResponse(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams) (*OverviewControllerGetOverviewAgentsResponse, error)
- func (c *ClientWithResponses) RulesControllerGetDownloadFileWithResponse(ctx context.Context, filename DownloadFile, ...) (*RulesControllerGetDownloadFileResponse, error)
- func (c *ClientWithResponses) RulesControllerGetRulesFilesWithResponse(ctx context.Context, params *RulesControllerGetRulesFilesParams) (*RulesControllerGetRulesFilesResponse, error)
- func (c *ClientWithResponses) RulesControllerGetRulesGroupsWithResponse(ctx context.Context, params *RulesControllerGetRulesGroupsParams) (*RulesControllerGetRulesGroupsResponse, error)
- func (c *ClientWithResponses) RulesControllerGetRulesRequirementWithResponse(ctx context.Context, requirement RuleRequirement, ...) (*RulesControllerGetRulesRequirementResponse, error)
- func (c *ClientWithResponses) RulesControllerGetRulesWithResponse(ctx context.Context, params *RulesControllerGetRulesParams) (*RulesControllerGetRulesResponse, 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) 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) SecurityControllerLoginUserRunAsWithBodyWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, ...) (*SecurityControllerLoginUserRunAsResponse, error)
- func (c *ClientWithResponses) SecurityControllerLoginUserRunAsWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, ...) (*SecurityControllerLoginUserRunAsResponse, error)
- func (c *ClientWithResponses) SecurityControllerLoginUserWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams) (*SecurityControllerLoginUserResponse, error)
- func (c *ClientWithResponses) SecurityControllerLogoutUserWithResponse(ctx context.Context) (*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) (*SecurityControllerRevokeAllTokensResponse, 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)
- type ClientWithResponsesInterface
- type ClusterController
- func (c *ClusterController) DeleteFilesNode(nodeID NodeId, params *ClusterControllerDeleteFilesNodeParams) (*ApiResponse, error)
- func (c *ClusterController) GetAPIConfig(params *ClusterControllerGetApiConfigParams) (*struct{ AdditionalProperties map[string]interface{} }, error)
- func (c *ClusterController) GetClusterNode(params *ClusterControllerGetClusterNodeParams) (..., error)
- func (c *ClusterController) GetClusterNodes(params *ClusterControllerGetClusterNodesParams) (*AllItemsResponseClusterNodes, error)
- func (c *ClusterController) GetConfValidation(params *ClusterControllerGetConfValidationParams) (*AllItemsResponseValidationStatus, error)
- func (c *ClusterController) GetConfig(params *ClusterControllerGetConfigParams) (..., error)
- func (c *ClusterController) GetConfigurationNode(nodeID NodeId, params *ClusterControllerGetConfigurationNodeParams) (*WazuhMangerConfiguration, error)
- func (c *ClusterController) GetFilesNode(nodeID NodeId, params *ClusterControllerGetFilesNodeParams) (*struct{ Contents *string }, error)
- func (c *ClusterController) GetHealthcheck(params *ClusterControllerGetHealthcheckParams) (*AllItemsResponseNodeHealthcheck, error)
- func (c *ClusterController) GetInfoNode(nodeID NodeId, params *ClusterControllerGetInfoNodeParams) (*WazuhInfo, error)
- func (c *ClusterController) GetLogNode(nodeID NodeId, params *ClusterControllerGetLogNodeParams) (*AllItemsResponseWazuhLogs, error)
- func (c *ClusterController) GetLogSummaryNode(nodeID NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*WazuhLogsSummary, error)
- func (c *ClusterController) GetNodeConfig(nodeID NodeId, component Component, configuration Configuration, ...) (*struct{ ApiResponse }, error)
- func (c *ClusterController) GetStatsAnalysisdNode(nodeID NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsHourlyNode(nodeID NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsNode(nodeID NodeId, params *ClusterControllerGetStatsNodeParams) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsRemotedNode(nodeID NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatsWeeklyNode(nodeID NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*AllItemsResponseWazuhStats, error)
- func (c *ClusterController) GetStatus(params *ClusterControllerGetStatusParams) (..., error)
- func (c *ClusterController) GetStatusNode(nodeID NodeId, params *ClusterControllerGetStatusNodeParams) (*WazuhDaemonsStatus, error)
- func (c *ClusterController) PutFilesNodeWithBody(nodeID NodeId, params *ClusterControllerPutFilesNodeParams, contentType string, ...) (*ApiResponse, error)
- func (c *ClusterController) PutRestart(params *ClusterControllerPutRestartParams) (*AllItemsResponseNodeIDs, error)
- type ClusterControllerDeleteFilesNodeParams
- type ClusterControllerDeleteFilesNodeResponse
- type ClusterControllerGetApiConfigParams
- type ClusterControllerGetApiConfigResponse
- type ClusterControllerGetClusterNodeParams
- type ClusterControllerGetClusterNodeResponse
- type ClusterControllerGetClusterNodesParams
- type ClusterControllerGetClusterNodesResponse
- type ClusterControllerGetConfValidationParams
- type ClusterControllerGetConfValidationResponse
- type ClusterControllerGetConfigParams
- type ClusterControllerGetConfigResponse
- type ClusterControllerGetConfigurationNodeParams
- type ClusterControllerGetConfigurationNodeResponse
- type ClusterControllerGetFilesNodeParams
- type ClusterControllerGetFilesNodeResponse
- type ClusterControllerGetHealthcheckParams
- type ClusterControllerGetHealthcheckResponse
- type ClusterControllerGetInfoNodeParams
- type ClusterControllerGetInfoNodeResponse
- type ClusterControllerGetLogNodeParams
- type ClusterControllerGetLogNodeResponse
- type ClusterControllerGetLogSummaryNodeParams
- type ClusterControllerGetLogSummaryNodeResponse
- type ClusterControllerGetNodeConfigParams
- type ClusterControllerGetNodeConfigResponse
- 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 ClusterControllerPutFilesNodeParams
- type ClusterControllerPutFilesNodeResponse
- type ClusterControllerPutRestartParams
- type ClusterControllerPutRestartResponse
- type ClusterNode
- type ClusterNodeBasic
- type ClusterNodeName
- type Command
- type Component
- type Condition
- type Configuration
- type ConfigurationValidation
- type ConfirmationMessage
- type CpuCores
- type CpuMhz
- type CpuName
- type DHCPStatus
- type DaemonStatus
- type Date
- type Decoder
- type DecoderFile
- type DecoderName
- type DecodersController
- func (c *DecodersController) GetDecoders(params *DecodersControllerGetDecodersParams) (*AllItemsResponseDecoders, error)
- func (c *DecodersController) GetDecodersFiles(params *DecodersControllerGetDecodersFilesParams) (*AllItemsResponseDecodersFiles, error)
- func (c *DecodersController) GetDecodersParents(params *DecodersControllerGetDecodersParentsParams) (*AllItemsResponse, error)
- func (c *DecodersController) GetDownloadFile(downloadFile DownloadFile, params *DecodersControllerGetDownloadFileParams) (*DecodersControllerGetDownloadFileResponse, error)
- type DecodersControllerGetDecodersFilesParams
- type DecodersControllerGetDecodersFilesResponse
- type DecodersControllerGetDecodersParams
- type DecodersControllerGetDecodersParentsParams
- type DecodersControllerGetDecodersParentsResponse
- type DecodersControllerGetDecodersResponse
- type DecodersControllerGetDownloadFileParams
- type DecodersControllerGetDownloadFileResponse
- type DecodersControllerInterface
- type DefaultController
- type DefaultControllerDefaultInfoParams
- type DefaultControllerDefaultInfoResponse
- type DefaultControllerInterface
- type DeleteFilesPath
- type Description
- type Dhcp
- type Directory
- type Distinct
- type DownloadFile
- type EditFilesPath
- type Egroup
- type Endpoint
- type Error
- type Euser
- type ExperimentalController
- 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) (*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 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 ForceSingleGroup
- type FullPathFilter
- type Gateway
- type Gdpr
- type GetDirnamesPath
- type GetFilesPath
- type Gpg13
- type Group
- type GroupConfiguration
- type GroupID
- type GroupIDDELETE
- type GroupId
- type GroupIdQuery
- type GroupsList
- type GroupsListDelete
- 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 ListsController
- type ListsControllerGetListsFilesParams
- type ListsControllerGetListsFilesResponse
- type ListsControllerGetListsParams
- type ListsControllerGetListsResponse
- type ListsControllerInterface
- type LocalIp
- type LocalPort
- type LocalPortInfo
- type LogLevel
- type LogSummary
- type ManagerController
- func (c *ManagerController) DeleteFiles(params *ManagerControllerDeleteFilesParams) (..., error)
- func (c *ManagerController) GetAPIConfig(params *ManagerControllerGetApiConfigParams) (*ApiResponse, error)
- func (c *ManagerController) GetConfValidation(params *ManagerControllerGetConfValidationParams) (*ConfigurationValidation, error)
- func (c *ManagerController) GetConfiguration(params *ManagerControllerGetConfigurationParams) (*WazuhMangerConfiguration, error)
- func (c *ManagerController) GetFiles(params *ManagerControllerGetFilesParams) (*struct{ Contents *string }, error)
- func (c *ManagerController) GetInfo(params *ManagerControllerGetInfoParams) (*WazuhInfo, error)
- func (c *ManagerController) GetLog(params *ManagerControllerGetLogParams) (*AllItemsResponseWazuhLogs, error)
- func (c *ManagerController) GetLogSummary(params *ManagerControllerGetLogSummaryParams) (*WazuhLogsSummary, error)
- func (c *ManagerController) GetManagerConfigOndemand(component Component, configuration Configuration, ...) (*struct{ ApiResponse }, error)
- func (c *ManagerController) GetStats(params *ManagerControllerGetStatsParams) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsAnalysisd(params *ManagerControllerGetStatsAnalysisdParams) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsHourly(params *ManagerControllerGetStatsHourlyParams) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsRemoted(params *ManagerControllerGetStatsRemotedParams) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatsWeekly(params *ManagerControllerGetStatsWeeklyParams) (*AllItemsResponseWazuhStats, error)
- func (c *ManagerController) GetStatus(params *ManagerControllerGetStatusParams) (*WazuhDaemonsStatus, error)
- func (c *ManagerController) PutFilesWithBody(params *ManagerControllerPutFilesParams, contentType string, body io.Reader) (..., error)
- func (c *ManagerController) PutRestart(params *ManagerControllerPutRestartParams) (*ApiResponse, error)
- type ManagerControllerDeleteFilesParams
- type ManagerControllerDeleteFilesResponse
- type ManagerControllerGetApiConfigParams
- type ManagerControllerGetApiConfigResponse
- type ManagerControllerGetConfValidationParams
- type ManagerControllerGetConfValidationResponse
- type ManagerControllerGetConfigurationParams
- type ManagerControllerGetConfigurationResponse
- type ManagerControllerGetFilesParams
- type ManagerControllerGetFilesResponse
- type ManagerControllerGetInfoParams
- type ManagerControllerGetInfoResponse
- type ManagerControllerGetLogParams
- type ManagerControllerGetLogResponse
- type ManagerControllerGetLogSummaryParams
- type ManagerControllerGetLogSummaryResponse
- type ManagerControllerGetManagerConfigOndemandParams
- 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 ManagerControllerPutFilesParams
- type ManagerControllerPutFilesResponse
- type ManagerControllerPutRestartParams
- type ManagerControllerPutRestartResponse
- type ManagerHost
- type Md5
- type Mitre
- type MitreController
- type MitreControllerGetAttackParams
- type MitreControllerGetAttackResponse
- type MitreControllerInterface
- type Mtu
- type Name
- type Netmask
- type NetworkInterfaceReceivedPackets
- type NetworkInterfaceSentPackets
- type Nist80053
- type Nlwp
- type NodeHealthcheck
- type NodeID
- type NodeId
- type NodeName
- 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 PhaseName
- type Pid
- type PlatformName
- 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 Rule
- type RuleFile
- type RuleIds
- type RuleRequirement
- type RulesController
- func (c *RulesController) GetDownloadFile(downloadFile DownloadFile, params *RulesControllerGetDownloadFileParams) (*RulesControllerGetDownloadFileResponse, error)
- func (c *RulesController) GetRules(params *RulesControllerGetRulesParams) (*AllItemsResponseRules, error)
- func (c *RulesController) GetRulesFiles(params *RulesControllerGetRulesFilesParams) (*AllItemsResponseRulesFiles, error)
- func (c *RulesController) GetRulesGroups(params *RulesControllerGetRulesGroupsParams) (*AllItemsResponse, error)
- func (c *RulesController) GetRulesRequirement(ruleRequirement RuleRequirement, ...) (*AllItemsResponse, error)
- type RulesControllerGetDownloadFileParams
- type RulesControllerGetDownloadFileResponse
- type RulesControllerGetRulesFilesParams
- type RulesControllerGetRulesFilesResponse
- type RulesControllerGetRulesGroupsParams
- type RulesControllerGetRulesGroupsResponse
- type RulesControllerGetRulesParams
- type RulesControllerGetRulesRequirementParams
- type RulesControllerGetRulesRequirementResponse
- type RulesControllerGetRulesResponse
- type RulesControllerInterface
- type RulesetFile
- type RulesetStatus
- type Ruser
- type RxBytes
- type RxDropped
- type RxErrors
- type RxPackets
- type SCAChecks
- 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 SecurityController
- func (c *SecurityController) AddPolicy(params *SecurityControllerAddPolicyParams, ...) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) AddPolicyWithBody(params *SecurityControllerAddPolicyParams, contentType string, body io.Reader) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) AddRole(params *SecurityControllerAddRoleParams, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) AddRoleWithBody(params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error)
- func (c *SecurityController) AddRule(params *SecurityControllerAddRuleParams, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) AddRuleWithBody(params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error)
- func (c *SecurityController) CreateUser(params *SecurityControllerCreateUserParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) CreateUserWithBody(params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*AllItemsResponseUsers, error)
- func (c *SecurityController) DeleteSecurityConfig(params *SecurityControllerDeleteSecurityConfigParams) (*map[string]interface{}, error)
- func (c *SecurityController) DeleteUsers(params *SecurityControllerDeleteUsersParams) (*AllItemsResponseUsers, error)
- func (c *SecurityController) GetPolicies(params *SecurityControllerGetPoliciesParams) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) GetRbacActions(params *SecurityControllerGetRbacActionsParams) (*struct{ ApiResponse }, error)
- func (c *SecurityController) GetRbacResources(params *SecurityControllerGetRbacResourcesParams) (*struct{ ApiResponse }, error)
- func (c *SecurityController) GetRoles(params *SecurityControllerGetRolesParams) (*AllItemsResponseRoles, error)
- func (c *SecurityController) GetRules(params *SecurityControllerGetRulesParams) (*AllItemsResponseRoles, error)
- func (c *SecurityController) GetSecurityConfig(params *SecurityControllerGetSecurityConfigParams) (*ApiResponse, error)
- func (c *SecurityController) GetUserMe(params *SecurityControllerGetUserMeParams) (*AllItemsResponseUsers, error)
- func (c *SecurityController) GetUserMePolicies(params *SecurityControllerGetUserMePoliciesParams) (*ApiResponse, error)
- func (c *SecurityController) GetUsers(params *SecurityControllerGetUsersParams) (*AllItemsResponseUsers, error)
- func (c *SecurityController) LoginUser(params *SecurityControllerLoginUserParams) (*Token, error)
- func (c *SecurityController) LoginUserRunAs(params *SecurityControllerLoginUserParams, ...) (*struct{ Token *string }, error)
- func (c *SecurityController) LoginUserRunAsWithBody(params *SecurityControllerLoginUserParams, contentType string, body io.Reader) (*struct{ Token *string }, error)
- func (c *SecurityController) LogoutUser() (*ApiResponse, error)
- func (c *SecurityController) PutSecurityConfig(params *SecurityControllerPutSecurityConfigParams, ...) (*map[string]interface{}, error)
- func (c *SecurityController) PutSecurityConfigWithBody(params *SecurityControllerPutSecurityConfigParams, contentType string, ...) (*map[string]interface{}, error)
- func (c *SecurityController) RemovePolicies(params *SecurityControllerRemovePoliciesParams) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) RemoveRolePolicy(roleID RoleId, params *SecurityControllerRemoveRolePolicyParams) (*struct{ ApiResponse }, error)
- func (c *SecurityController) RemoveRoleRule(roleID RoleId, params *SecurityControllerRemoveRoleRuleParams) (*struct{ ApiResponse }, error)
- func (c *SecurityController) RemoveRoles(params *SecurityControllerRemoveRolesParams) (*AllItemsResponseRoles, error)
- func (c *SecurityController) RemoveRules(params *SecurityControllerRemoveRulesParams) (*AllItemsResponseRoles, error)
- func (c *SecurityController) RemoveUserRole(userIDRequired UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*AllItemsResponseUsers, error)
- func (c *SecurityController) RevokeAllTokens() (*map[string]interface{}, error)
- func (c *SecurityController) SetRolePolicy(roleID RoleId, params *SecurityControllerSetRolePolicyParams) (*struct{ ApiResponse }, error)
- func (c *SecurityController) SetRoleRule(roleID RoleId, params *SecurityControllerSetRoleRuleParams) (*struct{ ApiResponse }, error)
- func (c *SecurityController) SetUserRole(userIDRequired UserIdRequired, params *SecurityControllerSetUserRoleParams) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdatePolicy(policyIDRbac PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, ...) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) UpdatePolicyWithBody(policyIDRbac PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, ...) (*AllItemsResponsePolicies, error)
- func (c *SecurityController) UpdateRole(roleID RoleId, params *SecurityControllerUpdateRoleParams, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) UpdateRoleWithBody(roleID RoleId, params *SecurityControllerUpdateRoleParams, contentType string, ...) (*AllItemsResponseRoles, error)
- func (c *SecurityController) UpdateRule(securityRuleID SecurityRuleId, params *SecurityControllerUpdateRuleParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdateRuleWithBody(securityRuleID SecurityRuleId, params *SecurityControllerUpdateRuleParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdateUser(userIDRequired UserIdRequired, params *SecurityControllerUpdateUserParams, ...) (*AllItemsResponseUsers, error)
- func (c *SecurityController) UpdateUserWithBody(userIDRequired UserIdRequired, params *SecurityControllerUpdateUserParams, ...) (*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 SecurityControllerGetPoliciesParams
- type SecurityControllerGetPoliciesResponse
- type SecurityControllerGetRbacActionsParams
- type SecurityControllerGetRbacActionsResponse
- type SecurityControllerGetRbacResourcesParams
- 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 SecurityControllerLoginUserJSONBody
- type SecurityControllerLoginUserJSONRequestBody
- type SecurityControllerLoginUserParams
- type SecurityControllerLoginUserResponse
- type SecurityControllerLoginUserRunAsResponse
- 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 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 Status
- type StatusAgentParam
- type StatusRLDParam
- type Summary
- type Suser
- type SyscheckController
- func (c *SyscheckController) DeleteSyscheckAgent(agentID AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*AllItemsResponse, error)
- func (c *SyscheckController) GetLastScanAgent(agentID AgentId, params *SyscheckControllerGetLastScanAgentParams) (*AllItemsResponseSyscheckLastScan, error)
- func (c *SyscheckController) GetSyscheckAgent(agentID AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*AllItemsResponseSyscheckResult, error)
- func (c *SyscheckController) PutSyscheck(params *SyscheckControllerPutSyscheckParams) (*AllItemsResponseAgentIDs, error)
- type SyscheckControllerDeleteSyscheckAgentParams
- type SyscheckControllerDeleteSyscheckAgentResponse
- type SyscheckControllerGetLastScanAgentParams
- type SyscheckControllerGetLastScanAgentResponse
- type SyscheckControllerGetSyscheckAgentParams
- type SyscheckControllerGetSyscheckAgentResponse
- type SyscheckControllerInterface
- type SyscheckControllerPutSyscheckParams
- type SyscheckControllerPutSyscheckResponse
- type SyscheckDatabase
- type SyscollectorController
- func (c *SyscollectorController) GetHardwareInfo(agentID AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*AllItemsResponseSyscollectorHardware, error)
- func (c *SyscollectorController) GetHotfixInfo(agentID AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*AllItemsResponseSyscollectorHotfixes, error)
- func (c *SyscollectorController) GetNetworkAddressInfo(agentID AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*AllItemsResponseSyscollectorNetwork, error)
- func (c *SyscollectorController) GetNetworkInterfaceInfo(agentID AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*AllItemsResponseSyscollectorInterface, error)
- func (c *SyscollectorController) GetNetworkProtocolInfo(agentID AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*AllItemsResponseSyscollectorProtocol, error)
- func (c *SyscollectorController) GetOsInfo(agentID AgentId, params *SyscollectorControllerGetOsInfoParams) (*AllItemsResponseSyscollectorOS, error)
- func (c *SyscollectorController) GetPackagesInfo(agentID AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*AllItemsResponseSyscollectorPackages, error)
- func (c *SyscollectorController) GetPortsInfo(agentID AgentId, params *SyscollectorControllerGetPortsInfoParams) (*AllItemsResponseSyscollectorPorts, error)
- func (c *SyscollectorController) GetProcessesInfo(agentID 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 SyscollectorNetwork
- type SyscollectorOS
- type SyscollectorPackages
- type SyscollectorPorts
- type SyscollectorProcess
- type SyscollectorProtocol
- type Tag
- 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 Vendor
- type Version
- type WaitForComplete
- type WazuhAnalysisdStats
- type WazuhDaemonsStatus
- type WazuhHourlyStats
- type WazuhInfo
- type WazuhLogs
- type WazuhLogsSummary
- type WazuhMangerConfiguration
- type WazuhRemotedStats
- type WazuhStats
- type WazuhWeeklyStats
- type WpkRepo
- type WrongContentTypeResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActiveResponseControllerRunCommandRequest ¶
func NewActiveResponseControllerRunCommandRequest(server string, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody) (*http.Request, error)
NewActiveResponseControllerRunCommandRequest calls the generic ActiveResponseControllerRunCommand builder with application/json body
func NewActiveResponseControllerRunCommandRequestWithBody ¶
func NewActiveResponseControllerRunCommandRequestWithBody(server string, params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader) (*http.Request, error)
NewActiveResponseControllerRunCommandRequestWithBody generates requests for ActiveResponseControllerRunCommand with any type of body
func NewAgentsControllerAddAgentRequest ¶
func NewAgentsControllerAddAgentRequest(server string, params *AgentsControllerAddAgentParams, body AgentsControllerAddAgentJSONRequestBody) (*http.Request, error)
NewAgentsControllerAddAgentRequest calls the generic AgentsControllerAddAgent builder with application/json body
func NewAgentsControllerAddAgentRequestWithBody ¶
func NewAgentsControllerAddAgentRequestWithBody(server string, params *AgentsControllerAddAgentParams, contentType string, body io.Reader) (*http.Request, error)
NewAgentsControllerAddAgentRequestWithBody generates requests for AgentsControllerAddAgent with any type of body
func NewAgentsControllerDeleteAgentsRequest ¶
func NewAgentsControllerDeleteAgentsRequest(server string, params *AgentsControllerDeleteAgentsParams) (*http.Request, error)
NewAgentsControllerDeleteAgentsRequest generates requests for AgentsControllerDeleteAgents
func NewAgentsControllerDeleteGroupsRequest ¶
func NewAgentsControllerDeleteGroupsRequest(server string, params *AgentsControllerDeleteGroupsParams) (*http.Request, error)
NewAgentsControllerDeleteGroupsRequest generates requests for AgentsControllerDeleteGroups
func NewAgentsControllerDeleteMultipleAgentSingleGroupRequest ¶
func NewAgentsControllerDeleteMultipleAgentSingleGroupRequest(server string, params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*http.Request, error)
NewAgentsControllerDeleteMultipleAgentSingleGroupRequest generates requests for AgentsControllerDeleteMultipleAgentSingleGroup
func NewAgentsControllerDeleteSingleAgentMultipleGroupsRequest ¶
func NewAgentsControllerDeleteSingleAgentMultipleGroupsRequest(server string, agentId AgentId, params *AgentsControllerDeleteSingleAgentMultipleGroupsParams) (*http.Request, error)
NewAgentsControllerDeleteSingleAgentMultipleGroupsRequest generates requests for AgentsControllerDeleteSingleAgentMultipleGroups
func NewAgentsControllerDeleteSingleAgentSingleGroupRequest ¶
func NewAgentsControllerDeleteSingleAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, params *AgentsControllerDeleteSingleAgentSingleGroupParams) (*http.Request, error)
NewAgentsControllerDeleteSingleAgentSingleGroupRequest generates requests for AgentsControllerDeleteSingleAgentSingleGroup
func NewAgentsControllerGetAgentConfigRequest ¶
func NewAgentsControllerGetAgentConfigRequest(server string, agentId AgentId, component Component, configuration Configuration, params *AgentsControllerGetAgentConfigParams) (*http.Request, error)
NewAgentsControllerGetAgentConfigRequest generates requests for AgentsControllerGetAgentConfig
func NewAgentsControllerGetAgentFieldsRequest ¶
func NewAgentsControllerGetAgentFieldsRequest(server string, params *AgentsControllerGetAgentFieldsParams) (*http.Request, error)
NewAgentsControllerGetAgentFieldsRequest generates requests for AgentsControllerGetAgentFields
func NewAgentsControllerGetAgentKeyRequest ¶
func NewAgentsControllerGetAgentKeyRequest(server string, agentId AgentId, params *AgentsControllerGetAgentKeyParams) (*http.Request, error)
NewAgentsControllerGetAgentKeyRequest generates requests for AgentsControllerGetAgentKey
func NewAgentsControllerGetAgentNoGroupRequest ¶
func NewAgentsControllerGetAgentNoGroupRequest(server string, params *AgentsControllerGetAgentNoGroupParams) (*http.Request, error)
NewAgentsControllerGetAgentNoGroupRequest generates requests for AgentsControllerGetAgentNoGroup
func NewAgentsControllerGetAgentOutdatedRequest ¶
func NewAgentsControllerGetAgentOutdatedRequest(server string, params *AgentsControllerGetAgentOutdatedParams) (*http.Request, error)
NewAgentsControllerGetAgentOutdatedRequest generates requests for AgentsControllerGetAgentOutdated
func NewAgentsControllerGetAgentSummaryOsRequest ¶
func NewAgentsControllerGetAgentSummaryOsRequest(server string, params *AgentsControllerGetAgentSummaryOsParams) (*http.Request, error)
NewAgentsControllerGetAgentSummaryOsRequest generates requests for AgentsControllerGetAgentSummaryOs
func NewAgentsControllerGetAgentSummaryStatusRequest ¶
func NewAgentsControllerGetAgentSummaryStatusRequest(server string, params *AgentsControllerGetAgentSummaryStatusParams) (*http.Request, error)
NewAgentsControllerGetAgentSummaryStatusRequest generates requests for AgentsControllerGetAgentSummaryStatus
func NewAgentsControllerGetAgentUpgradeRequest ¶
func NewAgentsControllerGetAgentUpgradeRequest(server string, agentId AgentId, params *AgentsControllerGetAgentUpgradeParams) (*http.Request, error)
NewAgentsControllerGetAgentUpgradeRequest generates requests for AgentsControllerGetAgentUpgrade
func NewAgentsControllerGetAgentsInGroupRequest ¶
func NewAgentsControllerGetAgentsInGroupRequest(server string, groupId GroupId, params *AgentsControllerGetAgentsInGroupParams) (*http.Request, error)
NewAgentsControllerGetAgentsInGroupRequest generates requests for AgentsControllerGetAgentsInGroup
func NewAgentsControllerGetAgentsRequest ¶
func NewAgentsControllerGetAgentsRequest(server string, params *AgentsControllerGetAgentsParams) (*http.Request, error)
NewAgentsControllerGetAgentsRequest generates requests for AgentsControllerGetAgents
func NewAgentsControllerGetGroupConfigRequest ¶
func NewAgentsControllerGetGroupConfigRequest(server string, groupId GroupId, params *AgentsControllerGetGroupConfigParams) (*http.Request, error)
NewAgentsControllerGetGroupConfigRequest generates requests for AgentsControllerGetGroupConfig
func NewAgentsControllerGetGroupFileJsonRequest ¶
func NewAgentsControllerGetGroupFileJsonRequest(server string, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileJsonParams) (*http.Request, error)
NewAgentsControllerGetGroupFileJsonRequest generates requests for AgentsControllerGetGroupFileJson
func NewAgentsControllerGetGroupFileXmlRequest ¶
func NewAgentsControllerGetGroupFileXmlRequest(server string, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileXmlParams) (*http.Request, error)
NewAgentsControllerGetGroupFileXmlRequest generates requests for AgentsControllerGetGroupFileXml
func NewAgentsControllerGetGroupFilesRequest ¶
func NewAgentsControllerGetGroupFilesRequest(server string, groupId GroupId, params *AgentsControllerGetGroupFilesParams) (*http.Request, error)
NewAgentsControllerGetGroupFilesRequest generates requests for AgentsControllerGetGroupFiles
func NewAgentsControllerGetListGroupRequest ¶
func NewAgentsControllerGetListGroupRequest(server string, params *AgentsControllerGetListGroupParams) (*http.Request, error)
NewAgentsControllerGetListGroupRequest generates requests for AgentsControllerGetListGroup
func NewAgentsControllerGetSyncAgentRequest ¶
func NewAgentsControllerGetSyncAgentRequest(server string, agentId AgentId, params *AgentsControllerGetSyncAgentParams) (*http.Request, error)
NewAgentsControllerGetSyncAgentRequest generates requests for AgentsControllerGetSyncAgent
func NewAgentsControllerInsertAgentRequest ¶
func NewAgentsControllerInsertAgentRequest(server string, params *AgentsControllerInsertAgentParams, body AgentsControllerInsertAgentJSONRequestBody) (*http.Request, error)
NewAgentsControllerInsertAgentRequest calls the generic AgentsControllerInsertAgent builder with application/json body
func NewAgentsControllerInsertAgentRequestWithBody ¶
func NewAgentsControllerInsertAgentRequestWithBody(server string, params *AgentsControllerInsertAgentParams, contentType string, body io.Reader) (*http.Request, error)
NewAgentsControllerInsertAgentRequestWithBody generates requests for AgentsControllerInsertAgent with any type of body
func NewAgentsControllerPostGroupRequest ¶
func NewAgentsControllerPostGroupRequest(server string, params *AgentsControllerPostGroupParams) (*http.Request, error)
NewAgentsControllerPostGroupRequest generates requests for AgentsControllerPostGroup
func NewAgentsControllerPostNewAgentRequest ¶
func NewAgentsControllerPostNewAgentRequest(server string, params *AgentsControllerPostNewAgentParams) (*http.Request, error)
NewAgentsControllerPostNewAgentRequest generates requests for AgentsControllerPostNewAgent
func NewAgentsControllerPutAgentSingleGroupRequest ¶
func NewAgentsControllerPutAgentSingleGroupRequest(server string, agentId AgentId, groupId GroupId, params *AgentsControllerPutAgentSingleGroupParams) (*http.Request, error)
NewAgentsControllerPutAgentSingleGroupRequest generates requests for AgentsControllerPutAgentSingleGroup
func NewAgentsControllerPutGroupConfigRequestWithBody ¶
func NewAgentsControllerPutGroupConfigRequestWithBody(server string, groupId GroupId, params *AgentsControllerPutGroupConfigParams, contentType string, body io.Reader) (*http.Request, error)
NewAgentsControllerPutGroupConfigRequestWithBody generates requests for AgentsControllerPutGroupConfig with any type of body
func NewAgentsControllerPutMultipleAgentSingleGroupRequest ¶
func NewAgentsControllerPutMultipleAgentSingleGroupRequest(server string, params *AgentsControllerPutMultipleAgentSingleGroupParams) (*http.Request, error)
NewAgentsControllerPutMultipleAgentSingleGroupRequest generates requests for AgentsControllerPutMultipleAgentSingleGroup
func NewAgentsControllerPutUpgradeAgentRequest ¶
func NewAgentsControllerPutUpgradeAgentRequest(server string, agentId AgentId, params *AgentsControllerPutUpgradeAgentParams) (*http.Request, error)
NewAgentsControllerPutUpgradeAgentRequest generates requests for AgentsControllerPutUpgradeAgent
func NewAgentsControllerPutUpgradeCustomAgentRequest ¶
func NewAgentsControllerPutUpgradeCustomAgentRequest(server string, agentId AgentId, params *AgentsControllerPutUpgradeCustomAgentParams) (*http.Request, error)
NewAgentsControllerPutUpgradeCustomAgentRequest generates requests for AgentsControllerPutUpgradeCustomAgent
func NewAgentsControllerRestartAgentRequest ¶
func NewAgentsControllerRestartAgentRequest(server string, agentId AgentId, params *AgentsControllerRestartAgentParams) (*http.Request, error)
NewAgentsControllerRestartAgentRequest generates requests for AgentsControllerRestartAgent
func NewAgentsControllerRestartAgentsByGroupRequest ¶
func NewAgentsControllerRestartAgentsByGroupRequest(server string, groupId GroupId, params *AgentsControllerRestartAgentsByGroupParams) (*http.Request, error)
NewAgentsControllerRestartAgentsByGroupRequest generates requests for AgentsControllerRestartAgentsByGroup
func NewAgentsControllerRestartAgentsByNodeRequest ¶
func NewAgentsControllerRestartAgentsByNodeRequest(server string, nodeId NodeId, params *AgentsControllerRestartAgentsByNodeParams) (*http.Request, error)
NewAgentsControllerRestartAgentsByNodeRequest generates requests for AgentsControllerRestartAgentsByNode
func NewAgentsControllerRestartAgentsRequest ¶
func NewAgentsControllerRestartAgentsRequest(server string, params *AgentsControllerRestartAgentsParams) (*http.Request, error)
NewAgentsControllerRestartAgentsRequest generates requests for AgentsControllerRestartAgents
func NewCiscatControllerGetAgentsCiscatResultsRequest ¶
func NewCiscatControllerGetAgentsCiscatResultsRequest(server string, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams) (*http.Request, error)
NewCiscatControllerGetAgentsCiscatResultsRequest generates requests for CiscatControllerGetAgentsCiscatResults
func NewClusterControllerDeleteFilesNodeRequest ¶
func NewClusterControllerDeleteFilesNodeRequest(server string, nodeId NodeId, params *ClusterControllerDeleteFilesNodeParams) (*http.Request, error)
NewClusterControllerDeleteFilesNodeRequest generates requests for ClusterControllerDeleteFilesNode
func NewClusterControllerGetApiConfigRequest ¶
func NewClusterControllerGetApiConfigRequest(server string, params *ClusterControllerGetApiConfigParams) (*http.Request, error)
NewClusterControllerGetApiConfigRequest generates requests for ClusterControllerGetApiConfig
func NewClusterControllerGetClusterNodeRequest ¶
func NewClusterControllerGetClusterNodeRequest(server string, params *ClusterControllerGetClusterNodeParams) (*http.Request, error)
NewClusterControllerGetClusterNodeRequest generates requests for ClusterControllerGetClusterNode
func NewClusterControllerGetClusterNodesRequest ¶
func NewClusterControllerGetClusterNodesRequest(server string, params *ClusterControllerGetClusterNodesParams) (*http.Request, error)
NewClusterControllerGetClusterNodesRequest generates requests for ClusterControllerGetClusterNodes
func NewClusterControllerGetConfValidationRequest ¶
func NewClusterControllerGetConfValidationRequest(server string, params *ClusterControllerGetConfValidationParams) (*http.Request, error)
NewClusterControllerGetConfValidationRequest generates requests for ClusterControllerGetConfValidation
func NewClusterControllerGetConfigRequest ¶
func NewClusterControllerGetConfigRequest(server string, params *ClusterControllerGetConfigParams) (*http.Request, error)
NewClusterControllerGetConfigRequest generates requests for ClusterControllerGetConfig
func NewClusterControllerGetConfigurationNodeRequest ¶
func NewClusterControllerGetConfigurationNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams) (*http.Request, error)
NewClusterControllerGetConfigurationNodeRequest generates requests for ClusterControllerGetConfigurationNode
func NewClusterControllerGetFilesNodeRequest ¶
func NewClusterControllerGetFilesNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetFilesNodeParams) (*http.Request, error)
NewClusterControllerGetFilesNodeRequest generates requests for ClusterControllerGetFilesNode
func NewClusterControllerGetHealthcheckRequest ¶
func NewClusterControllerGetHealthcheckRequest(server string, params *ClusterControllerGetHealthcheckParams) (*http.Request, error)
NewClusterControllerGetHealthcheckRequest generates requests for ClusterControllerGetHealthcheck
func NewClusterControllerGetInfoNodeRequest ¶
func NewClusterControllerGetInfoNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetInfoNodeParams) (*http.Request, error)
NewClusterControllerGetInfoNodeRequest generates requests for ClusterControllerGetInfoNode
func NewClusterControllerGetLogNodeRequest ¶
func NewClusterControllerGetLogNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogNodeParams) (*http.Request, error)
NewClusterControllerGetLogNodeRequest generates requests for ClusterControllerGetLogNode
func NewClusterControllerGetLogSummaryNodeRequest ¶
func NewClusterControllerGetLogSummaryNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*http.Request, error)
NewClusterControllerGetLogSummaryNodeRequest generates requests for ClusterControllerGetLogSummaryNode
func NewClusterControllerGetNodeConfigRequest ¶
func NewClusterControllerGetNodeConfigRequest(server string, nodeId NodeId, component Component, configuration Configuration, params *ClusterControllerGetNodeConfigParams) (*http.Request, error)
NewClusterControllerGetNodeConfigRequest generates requests for ClusterControllerGetNodeConfig
func NewClusterControllerGetStatsAnalysisdNodeRequest ¶
func NewClusterControllerGetStatsAnalysisdNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*http.Request, error)
NewClusterControllerGetStatsAnalysisdNodeRequest generates requests for ClusterControllerGetStatsAnalysisdNode
func NewClusterControllerGetStatsHourlyNodeRequest ¶
func NewClusterControllerGetStatsHourlyNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*http.Request, error)
NewClusterControllerGetStatsHourlyNodeRequest generates requests for ClusterControllerGetStatsHourlyNode
func NewClusterControllerGetStatsNodeRequest ¶
func NewClusterControllerGetStatsNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsNodeParams) (*http.Request, error)
NewClusterControllerGetStatsNodeRequest generates requests for ClusterControllerGetStatsNode
func NewClusterControllerGetStatsRemotedNodeRequest ¶
func NewClusterControllerGetStatsRemotedNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*http.Request, error)
NewClusterControllerGetStatsRemotedNodeRequest generates requests for ClusterControllerGetStatsRemotedNode
func NewClusterControllerGetStatsWeeklyNodeRequest ¶
func NewClusterControllerGetStatsWeeklyNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*http.Request, error)
NewClusterControllerGetStatsWeeklyNodeRequest generates requests for ClusterControllerGetStatsWeeklyNode
func NewClusterControllerGetStatusNodeRequest ¶
func NewClusterControllerGetStatusNodeRequest(server string, nodeId NodeId, params *ClusterControllerGetStatusNodeParams) (*http.Request, error)
NewClusterControllerGetStatusNodeRequest generates requests for ClusterControllerGetStatusNode
func NewClusterControllerGetStatusRequest ¶
func NewClusterControllerGetStatusRequest(server string, params *ClusterControllerGetStatusParams) (*http.Request, error)
NewClusterControllerGetStatusRequest generates requests for ClusterControllerGetStatus
func NewClusterControllerPutFilesNodeRequestWithBody ¶
func NewClusterControllerPutFilesNodeRequestWithBody(server string, nodeId NodeId, params *ClusterControllerPutFilesNodeParams, contentType string, body io.Reader) (*http.Request, error)
NewClusterControllerPutFilesNodeRequestWithBody generates requests for ClusterControllerPutFilesNode with any type of body
func NewClusterControllerPutRestartRequest ¶
func NewClusterControllerPutRestartRequest(server string, params *ClusterControllerPutRestartParams) (*http.Request, error)
NewClusterControllerPutRestartRequest generates requests for ClusterControllerPutRestart
func NewDecodersControllerGetDecodersFilesRequest ¶
func NewDecodersControllerGetDecodersFilesRequest(server string, params *DecodersControllerGetDecodersFilesParams) (*http.Request, error)
NewDecodersControllerGetDecodersFilesRequest generates requests for DecodersControllerGetDecodersFiles
func NewDecodersControllerGetDecodersParentsRequest ¶
func NewDecodersControllerGetDecodersParentsRequest(server string, params *DecodersControllerGetDecodersParentsParams) (*http.Request, error)
NewDecodersControllerGetDecodersParentsRequest generates requests for DecodersControllerGetDecodersParents
func NewDecodersControllerGetDecodersRequest ¶
func NewDecodersControllerGetDecodersRequest(server string, params *DecodersControllerGetDecodersParams) (*http.Request, error)
NewDecodersControllerGetDecodersRequest generates requests for DecodersControllerGetDecoders
func NewDecodersControllerGetDownloadFileRequest ¶
func NewDecodersControllerGetDownloadFileRequest(server string, filename DownloadFile, params *DecodersControllerGetDownloadFileParams) (*http.Request, error)
NewDecodersControllerGetDownloadFileRequest generates requests for DecodersControllerGetDownloadFile
func NewDefaultControllerDefaultInfoRequest ¶
func NewDefaultControllerDefaultInfoRequest(server string, params *DefaultControllerDefaultInfoParams) (*http.Request, error)
NewDefaultControllerDefaultInfoRequest generates requests for DefaultControllerDefaultInfo
func NewExperimentalControllerClearSyscheckDatabaseRequest ¶
func NewExperimentalControllerClearSyscheckDatabaseRequest(server string, params *ExperimentalControllerClearSyscheckDatabaseParams) (*http.Request, error)
NewExperimentalControllerClearSyscheckDatabaseRequest generates requests for ExperimentalControllerClearSyscheckDatabase
func NewExperimentalControllerGetCisCatResultsRequest ¶
func NewExperimentalControllerGetCisCatResultsRequest(server string, params *ExperimentalControllerGetCisCatResultsParams) (*http.Request, error)
NewExperimentalControllerGetCisCatResultsRequest generates requests for ExperimentalControllerGetCisCatResults
func NewExperimentalControllerGetHardwareInfoRequest ¶
func NewExperimentalControllerGetHardwareInfoRequest(server string, params *ExperimentalControllerGetHardwareInfoParams) (*http.Request, error)
NewExperimentalControllerGetHardwareInfoRequest generates requests for ExperimentalControllerGetHardwareInfo
func NewExperimentalControllerGetHotfixesInfoRequest ¶
func NewExperimentalControllerGetHotfixesInfoRequest(server string, params *ExperimentalControllerGetHotfixesInfoParams) (*http.Request, error)
NewExperimentalControllerGetHotfixesInfoRequest generates requests for ExperimentalControllerGetHotfixesInfo
func NewExperimentalControllerGetNetworkAddressInfoRequest ¶
func NewExperimentalControllerGetNetworkAddressInfoRequest(server string, params *ExperimentalControllerGetNetworkAddressInfoParams) (*http.Request, error)
NewExperimentalControllerGetNetworkAddressInfoRequest generates requests for ExperimentalControllerGetNetworkAddressInfo
func NewExperimentalControllerGetNetworkInterfaceInfoRequest ¶
func NewExperimentalControllerGetNetworkInterfaceInfoRequest(server string, params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*http.Request, error)
NewExperimentalControllerGetNetworkInterfaceInfoRequest generates requests for ExperimentalControllerGetNetworkInterfaceInfo
func NewExperimentalControllerGetNetworkProtocolInfoRequest ¶
func NewExperimentalControllerGetNetworkProtocolInfoRequest(server string, params *ExperimentalControllerGetNetworkProtocolInfoParams) (*http.Request, error)
NewExperimentalControllerGetNetworkProtocolInfoRequest generates requests for ExperimentalControllerGetNetworkProtocolInfo
func NewExperimentalControllerGetOsInfoRequest ¶
func NewExperimentalControllerGetOsInfoRequest(server string, params *ExperimentalControllerGetOsInfoParams) (*http.Request, error)
NewExperimentalControllerGetOsInfoRequest generates requests for ExperimentalControllerGetOsInfo
func NewExperimentalControllerGetPackagesInfoRequest ¶
func NewExperimentalControllerGetPackagesInfoRequest(server string, params *ExperimentalControllerGetPackagesInfoParams) (*http.Request, error)
NewExperimentalControllerGetPackagesInfoRequest generates requests for ExperimentalControllerGetPackagesInfo
func NewExperimentalControllerGetPortsInfoRequest ¶
func NewExperimentalControllerGetPortsInfoRequest(server string, params *ExperimentalControllerGetPortsInfoParams) (*http.Request, error)
NewExperimentalControllerGetPortsInfoRequest generates requests for ExperimentalControllerGetPortsInfo
func NewExperimentalControllerGetProcessesInfoRequest ¶
func NewExperimentalControllerGetProcessesInfoRequest(server string, params *ExperimentalControllerGetProcessesInfoParams) (*http.Request, error)
NewExperimentalControllerGetProcessesInfoRequest generates requests for ExperimentalControllerGetProcessesInfo
func NewListsControllerGetListsFilesRequest ¶
func NewListsControllerGetListsFilesRequest(server string, params *ListsControllerGetListsFilesParams) (*http.Request, error)
NewListsControllerGetListsFilesRequest generates requests for ListsControllerGetListsFiles
func NewListsControllerGetListsRequest ¶
func NewListsControllerGetListsRequest(server string, params *ListsControllerGetListsParams) (*http.Request, error)
NewListsControllerGetListsRequest generates requests for ListsControllerGetLists
func NewManagerControllerDeleteFilesRequest ¶
func NewManagerControllerDeleteFilesRequest(server string, params *ManagerControllerDeleteFilesParams) (*http.Request, error)
NewManagerControllerDeleteFilesRequest generates requests for ManagerControllerDeleteFiles
func NewManagerControllerGetApiConfigRequest ¶
func NewManagerControllerGetApiConfigRequest(server string, params *ManagerControllerGetApiConfigParams) (*http.Request, error)
NewManagerControllerGetApiConfigRequest generates requests for ManagerControllerGetApiConfig
func NewManagerControllerGetConfValidationRequest ¶
func NewManagerControllerGetConfValidationRequest(server string, params *ManagerControllerGetConfValidationParams) (*http.Request, error)
NewManagerControllerGetConfValidationRequest generates requests for ManagerControllerGetConfValidation
func NewManagerControllerGetConfigurationRequest ¶
func NewManagerControllerGetConfigurationRequest(server string, params *ManagerControllerGetConfigurationParams) (*http.Request, error)
NewManagerControllerGetConfigurationRequest generates requests for ManagerControllerGetConfiguration
func NewManagerControllerGetFilesRequest ¶
func NewManagerControllerGetFilesRequest(server string, params *ManagerControllerGetFilesParams) (*http.Request, error)
NewManagerControllerGetFilesRequest generates requests for ManagerControllerGetFiles
func NewManagerControllerGetInfoRequest ¶
func NewManagerControllerGetInfoRequest(server string, params *ManagerControllerGetInfoParams) (*http.Request, error)
NewManagerControllerGetInfoRequest generates requests for ManagerControllerGetInfo
func NewManagerControllerGetLogRequest ¶
func NewManagerControllerGetLogRequest(server string, params *ManagerControllerGetLogParams) (*http.Request, error)
NewManagerControllerGetLogRequest generates requests for ManagerControllerGetLog
func NewManagerControllerGetLogSummaryRequest ¶
func NewManagerControllerGetLogSummaryRequest(server string, params *ManagerControllerGetLogSummaryParams) (*http.Request, error)
NewManagerControllerGetLogSummaryRequest generates requests for ManagerControllerGetLogSummary
func NewManagerControllerGetManagerConfigOndemandRequest ¶
func NewManagerControllerGetManagerConfigOndemandRequest(server string, component Component, configuration Configuration, params *ManagerControllerGetManagerConfigOndemandParams) (*http.Request, error)
NewManagerControllerGetManagerConfigOndemandRequest generates requests for ManagerControllerGetManagerConfigOndemand
func NewManagerControllerGetStatsAnalysisdRequest ¶
func NewManagerControllerGetStatsAnalysisdRequest(server string, params *ManagerControllerGetStatsAnalysisdParams) (*http.Request, error)
NewManagerControllerGetStatsAnalysisdRequest generates requests for ManagerControllerGetStatsAnalysisd
func NewManagerControllerGetStatsHourlyRequest ¶
func NewManagerControllerGetStatsHourlyRequest(server string, params *ManagerControllerGetStatsHourlyParams) (*http.Request, error)
NewManagerControllerGetStatsHourlyRequest generates requests for ManagerControllerGetStatsHourly
func NewManagerControllerGetStatsRemotedRequest ¶
func NewManagerControllerGetStatsRemotedRequest(server string, params *ManagerControllerGetStatsRemotedParams) (*http.Request, error)
NewManagerControllerGetStatsRemotedRequest generates requests for ManagerControllerGetStatsRemoted
func NewManagerControllerGetStatsRequest ¶
func NewManagerControllerGetStatsRequest(server string, params *ManagerControllerGetStatsParams) (*http.Request, error)
NewManagerControllerGetStatsRequest generates requests for ManagerControllerGetStats
func NewManagerControllerGetStatsWeeklyRequest ¶
func NewManagerControllerGetStatsWeeklyRequest(server string, params *ManagerControllerGetStatsWeeklyParams) (*http.Request, error)
NewManagerControllerGetStatsWeeklyRequest generates requests for ManagerControllerGetStatsWeekly
func NewManagerControllerGetStatusRequest ¶
func NewManagerControllerGetStatusRequest(server string, params *ManagerControllerGetStatusParams) (*http.Request, error)
NewManagerControllerGetStatusRequest generates requests for ManagerControllerGetStatus
func NewManagerControllerPutFilesRequestWithBody ¶
func NewManagerControllerPutFilesRequestWithBody(server string, params *ManagerControllerPutFilesParams, contentType string, body io.Reader) (*http.Request, error)
NewManagerControllerPutFilesRequestWithBody generates requests for ManagerControllerPutFiles with any type of body
func NewManagerControllerPutRestartRequest ¶
func NewManagerControllerPutRestartRequest(server string, params *ManagerControllerPutRestartParams) (*http.Request, error)
NewManagerControllerPutRestartRequest generates requests for ManagerControllerPutRestart
func NewMitreControllerGetAttackRequest ¶
func NewMitreControllerGetAttackRequest(server string, params *MitreControllerGetAttackParams) (*http.Request, error)
NewMitreControllerGetAttackRequest generates requests for MitreControllerGetAttack
func NewOverviewControllerGetOverviewAgentsRequest ¶
func NewOverviewControllerGetOverviewAgentsRequest(server string, params *OverviewControllerGetOverviewAgentsParams) (*http.Request, error)
NewOverviewControllerGetOverviewAgentsRequest generates requests for OverviewControllerGetOverviewAgents
func NewRulesControllerGetDownloadFileRequest ¶
func NewRulesControllerGetDownloadFileRequest(server string, filename DownloadFile, params *RulesControllerGetDownloadFileParams) (*http.Request, error)
NewRulesControllerGetDownloadFileRequest generates requests for RulesControllerGetDownloadFile
func NewRulesControllerGetRulesFilesRequest ¶
func NewRulesControllerGetRulesFilesRequest(server string, params *RulesControllerGetRulesFilesParams) (*http.Request, error)
NewRulesControllerGetRulesFilesRequest generates requests for RulesControllerGetRulesFiles
func NewRulesControllerGetRulesGroupsRequest ¶
func NewRulesControllerGetRulesGroupsRequest(server string, params *RulesControllerGetRulesGroupsParams) (*http.Request, error)
NewRulesControllerGetRulesGroupsRequest generates requests for RulesControllerGetRulesGroups
func NewRulesControllerGetRulesRequest ¶
func NewRulesControllerGetRulesRequest(server string, params *RulesControllerGetRulesParams) (*http.Request, error)
NewRulesControllerGetRulesRequest generates requests for RulesControllerGetRules
func NewRulesControllerGetRulesRequirementRequest ¶
func NewRulesControllerGetRulesRequirementRequest(server string, requirement RuleRequirement, params *RulesControllerGetRulesRequirementParams) (*http.Request, error)
NewRulesControllerGetRulesRequirementRequest generates requests for RulesControllerGetRulesRequirement
func NewScaControllerGetScaAgentRequest ¶
func NewScaControllerGetScaAgentRequest(server string, agentId AgentId, params *ScaControllerGetScaAgentParams) (*http.Request, error)
NewScaControllerGetScaAgentRequest generates requests for ScaControllerGetScaAgent
func NewScaControllerGetScaChecksRequest ¶
func NewScaControllerGetScaChecksRequest(server string, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams) (*http.Request, error)
NewScaControllerGetScaChecksRequest generates requests for ScaControllerGetScaChecks
func NewSecurityControllerAddPolicyRequest ¶
func NewSecurityControllerAddPolicyRequest(server string, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody) (*http.Request, error)
NewSecurityControllerAddPolicyRequest calls the generic SecurityControllerAddPolicy builder with application/json body
func NewSecurityControllerAddPolicyRequestWithBody ¶
func NewSecurityControllerAddPolicyRequestWithBody(server string, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerAddPolicyRequestWithBody generates requests for SecurityControllerAddPolicy with any type of body
func NewSecurityControllerAddRoleRequest ¶
func NewSecurityControllerAddRoleRequest(server string, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody) (*http.Request, error)
NewSecurityControllerAddRoleRequest calls the generic SecurityControllerAddRole builder with application/json body
func NewSecurityControllerAddRoleRequestWithBody ¶
func NewSecurityControllerAddRoleRequestWithBody(server string, params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerAddRoleRequestWithBody generates requests for SecurityControllerAddRole with any type of body
func NewSecurityControllerAddRuleRequest ¶
func NewSecurityControllerAddRuleRequest(server string, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody) (*http.Request, error)
NewSecurityControllerAddRuleRequest calls the generic SecurityControllerAddRule builder with application/json body
func NewSecurityControllerAddRuleRequestWithBody ¶
func NewSecurityControllerAddRuleRequestWithBody(server string, params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerAddRuleRequestWithBody generates requests for SecurityControllerAddRule with any type of body
func NewSecurityControllerCreateUserRequest ¶
func NewSecurityControllerCreateUserRequest(server string, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody) (*http.Request, error)
NewSecurityControllerCreateUserRequest calls the generic SecurityControllerCreateUser builder with application/json body
func NewSecurityControllerCreateUserRequestWithBody ¶
func NewSecurityControllerCreateUserRequestWithBody(server string, params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerCreateUserRequestWithBody generates requests for SecurityControllerCreateUser with any type of body
func NewSecurityControllerDeleteSecurityConfigRequest ¶
func NewSecurityControllerDeleteSecurityConfigRequest(server string, params *SecurityControllerDeleteSecurityConfigParams) (*http.Request, error)
NewSecurityControllerDeleteSecurityConfigRequest generates requests for SecurityControllerDeleteSecurityConfig
func NewSecurityControllerDeleteUsersRequest ¶
func NewSecurityControllerDeleteUsersRequest(server string, params *SecurityControllerDeleteUsersParams) (*http.Request, error)
NewSecurityControllerDeleteUsersRequest generates requests for SecurityControllerDeleteUsers
func NewSecurityControllerGetPoliciesRequest ¶
func NewSecurityControllerGetPoliciesRequest(server string, params *SecurityControllerGetPoliciesParams) (*http.Request, error)
NewSecurityControllerGetPoliciesRequest generates requests for SecurityControllerGetPolicies
func NewSecurityControllerGetRbacActionsRequest ¶
func NewSecurityControllerGetRbacActionsRequest(server string, params *SecurityControllerGetRbacActionsParams) (*http.Request, error)
NewSecurityControllerGetRbacActionsRequest generates requests for SecurityControllerGetRbacActions
func NewSecurityControllerGetRbacResourcesRequest ¶
func NewSecurityControllerGetRbacResourcesRequest(server string, params *SecurityControllerGetRbacResourcesParams) (*http.Request, error)
NewSecurityControllerGetRbacResourcesRequest generates requests for SecurityControllerGetRbacResources
func NewSecurityControllerGetRolesRequest ¶
func NewSecurityControllerGetRolesRequest(server string, params *SecurityControllerGetRolesParams) (*http.Request, error)
NewSecurityControllerGetRolesRequest generates requests for SecurityControllerGetRoles
func NewSecurityControllerGetRulesRequest ¶
func NewSecurityControllerGetRulesRequest(server string, params *SecurityControllerGetRulesParams) (*http.Request, error)
NewSecurityControllerGetRulesRequest generates requests for SecurityControllerGetRules
func NewSecurityControllerGetSecurityConfigRequest ¶
func NewSecurityControllerGetSecurityConfigRequest(server string, params *SecurityControllerGetSecurityConfigParams) (*http.Request, error)
NewSecurityControllerGetSecurityConfigRequest generates requests for SecurityControllerGetSecurityConfig
func NewSecurityControllerGetUserMePoliciesRequest ¶
func NewSecurityControllerGetUserMePoliciesRequest(server string, params *SecurityControllerGetUserMePoliciesParams) (*http.Request, error)
NewSecurityControllerGetUserMePoliciesRequest generates requests for SecurityControllerGetUserMePolicies
func NewSecurityControllerGetUserMeRequest ¶
func NewSecurityControllerGetUserMeRequest(server string, params *SecurityControllerGetUserMeParams) (*http.Request, error)
NewSecurityControllerGetUserMeRequest generates requests for SecurityControllerGetUserMe
func NewSecurityControllerGetUsersRequest ¶
func NewSecurityControllerGetUsersRequest(server string, params *SecurityControllerGetUsersParams) (*http.Request, error)
NewSecurityControllerGetUsersRequest generates requests for SecurityControllerGetUsers
func NewSecurityControllerLoginUserRequest ¶
func NewSecurityControllerLoginUserRequest(server string, params *SecurityControllerLoginUserParams) (*http.Request, error)
NewSecurityControllerLoginUserRequest generates requests for SecurityControllerLoginUser
func NewSecurityControllerLoginUserRunAsRequest ¶
func NewSecurityControllerLoginUserRunAsRequest(server string, params *SecurityControllerLoginUserParams, body SecurityControllerLoginUserJSONRequestBody) (*http.Request, error)
NewSecurityControllerLoginUserRunAsRequest calls the generic SecurityControllerLoginUserRunAs builder with application/json body
func NewSecurityControllerLoginUserRunAsRequestWithBody ¶
func NewSecurityControllerLoginUserRunAsRequestWithBody(server string, params *SecurityControllerLoginUserParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerLoginUserRunAsRequestWithBody generates requests for SecurityControllerLoginUserRunAs with any type of body
func NewSecurityControllerLogoutUserRequest ¶
NewSecurityControllerLogoutUserRequest generates requests for SecurityControllerLogoutUser
func NewSecurityControllerPutSecurityConfigRequest ¶
func NewSecurityControllerPutSecurityConfigRequest(server string, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody) (*http.Request, error)
NewSecurityControllerPutSecurityConfigRequest calls the generic SecurityControllerPutSecurityConfig builder with application/json body
func NewSecurityControllerPutSecurityConfigRequestWithBody ¶
func NewSecurityControllerPutSecurityConfigRequestWithBody(server string, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerPutSecurityConfigRequestWithBody generates requests for SecurityControllerPutSecurityConfig with any type of body
func NewSecurityControllerRemovePoliciesRequest ¶
func NewSecurityControllerRemovePoliciesRequest(server string, params *SecurityControllerRemovePoliciesParams) (*http.Request, error)
NewSecurityControllerRemovePoliciesRequest generates requests for SecurityControllerRemovePolicies
func NewSecurityControllerRemoveRolePolicyRequest ¶
func NewSecurityControllerRemoveRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams) (*http.Request, error)
NewSecurityControllerRemoveRolePolicyRequest generates requests for SecurityControllerRemoveRolePolicy
func NewSecurityControllerRemoveRoleRuleRequest ¶
func NewSecurityControllerRemoveRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams) (*http.Request, error)
NewSecurityControllerRemoveRoleRuleRequest generates requests for SecurityControllerRemoveRoleRule
func NewSecurityControllerRemoveRolesRequest ¶
func NewSecurityControllerRemoveRolesRequest(server string, params *SecurityControllerRemoveRolesParams) (*http.Request, error)
NewSecurityControllerRemoveRolesRequest generates requests for SecurityControllerRemoveRoles
func NewSecurityControllerRemoveRulesRequest ¶
func NewSecurityControllerRemoveRulesRequest(server string, params *SecurityControllerRemoveRulesParams) (*http.Request, error)
NewSecurityControllerRemoveRulesRequest generates requests for SecurityControllerRemoveRules
func NewSecurityControllerRemoveUserRoleRequest ¶
func NewSecurityControllerRemoveUserRoleRequest(server string, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*http.Request, error)
NewSecurityControllerRemoveUserRoleRequest generates requests for SecurityControllerRemoveUserRole
func NewSecurityControllerRevokeAllTokensRequest ¶
NewSecurityControllerRevokeAllTokensRequest generates requests for SecurityControllerRevokeAllTokens
func NewSecurityControllerSetRolePolicyRequest ¶
func NewSecurityControllerSetRolePolicyRequest(server string, roleId RoleId, params *SecurityControllerSetRolePolicyParams) (*http.Request, error)
NewSecurityControllerSetRolePolicyRequest generates requests for SecurityControllerSetRolePolicy
func NewSecurityControllerSetRoleRuleRequest ¶
func NewSecurityControllerSetRoleRuleRequest(server string, roleId RoleId, params *SecurityControllerSetRoleRuleParams) (*http.Request, error)
NewSecurityControllerSetRoleRuleRequest generates requests for SecurityControllerSetRoleRule
func NewSecurityControllerSetUserRoleRequest ¶
func NewSecurityControllerSetUserRoleRequest(server string, userId UserIdRequired, params *SecurityControllerSetUserRoleParams) (*http.Request, error)
NewSecurityControllerSetUserRoleRequest generates requests for SecurityControllerSetUserRole
func NewSecurityControllerUpdatePolicyRequest ¶
func NewSecurityControllerUpdatePolicyRequest(server string, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody) (*http.Request, error)
NewSecurityControllerUpdatePolicyRequest calls the generic SecurityControllerUpdatePolicy builder with application/json body
func NewSecurityControllerUpdatePolicyRequestWithBody ¶
func NewSecurityControllerUpdatePolicyRequestWithBody(server string, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerUpdatePolicyRequestWithBody generates requests for SecurityControllerUpdatePolicy with any type of body
func NewSecurityControllerUpdateRoleRequest ¶
func NewSecurityControllerUpdateRoleRequest(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody) (*http.Request, error)
NewSecurityControllerUpdateRoleRequest calls the generic SecurityControllerUpdateRole builder with application/json body
func NewSecurityControllerUpdateRoleRequestWithBody ¶
func NewSecurityControllerUpdateRoleRequestWithBody(server string, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerUpdateRoleRequestWithBody generates requests for SecurityControllerUpdateRole with any type of body
func NewSecurityControllerUpdateRuleRequest ¶
func NewSecurityControllerUpdateRuleRequest(server string, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody) (*http.Request, error)
NewSecurityControllerUpdateRuleRequest calls the generic SecurityControllerUpdateRule builder with application/json body
func NewSecurityControllerUpdateRuleRequestWithBody ¶
func NewSecurityControllerUpdateRuleRequestWithBody(server string, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerUpdateRuleRequestWithBody generates requests for SecurityControllerUpdateRule with any type of body
func NewSecurityControllerUpdateUserRequest ¶
func NewSecurityControllerUpdateUserRequest(server string, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody) (*http.Request, error)
NewSecurityControllerUpdateUserRequest calls the generic SecurityControllerUpdateUser builder with application/json body
func NewSecurityControllerUpdateUserRequestWithBody ¶
func NewSecurityControllerUpdateUserRequestWithBody(server string, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader) (*http.Request, error)
NewSecurityControllerUpdateUserRequestWithBody generates requests for SecurityControllerUpdateUser with any type of body
func NewSyscheckControllerDeleteSyscheckAgentRequest ¶
func NewSyscheckControllerDeleteSyscheckAgentRequest(server string, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*http.Request, error)
NewSyscheckControllerDeleteSyscheckAgentRequest generates requests for SyscheckControllerDeleteSyscheckAgent
func NewSyscheckControllerGetLastScanAgentRequest ¶
func NewSyscheckControllerGetLastScanAgentRequest(server string, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams) (*http.Request, error)
NewSyscheckControllerGetLastScanAgentRequest generates requests for SyscheckControllerGetLastScanAgent
func NewSyscheckControllerGetSyscheckAgentRequest ¶
func NewSyscheckControllerGetSyscheckAgentRequest(server string, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*http.Request, error)
NewSyscheckControllerGetSyscheckAgentRequest generates requests for SyscheckControllerGetSyscheckAgent
func NewSyscheckControllerPutSyscheckRequest ¶
func NewSyscheckControllerPutSyscheckRequest(server string, params *SyscheckControllerPutSyscheckParams) (*http.Request, error)
NewSyscheckControllerPutSyscheckRequest generates requests for SyscheckControllerPutSyscheck
func NewSyscollectorControllerGetHardwareInfoRequest ¶
func NewSyscollectorControllerGetHardwareInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*http.Request, error)
NewSyscollectorControllerGetHardwareInfoRequest generates requests for SyscollectorControllerGetHardwareInfo
func NewSyscollectorControllerGetHotfixInfoRequest ¶
func NewSyscollectorControllerGetHotfixInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*http.Request, error)
NewSyscollectorControllerGetHotfixInfoRequest generates requests for SyscollectorControllerGetHotfixInfo
func NewSyscollectorControllerGetNetworkAddressInfoRequest ¶
func NewSyscollectorControllerGetNetworkAddressInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*http.Request, error)
NewSyscollectorControllerGetNetworkAddressInfoRequest generates requests for SyscollectorControllerGetNetworkAddressInfo
func NewSyscollectorControllerGetNetworkInterfaceInfoRequest ¶
func NewSyscollectorControllerGetNetworkInterfaceInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*http.Request, error)
NewSyscollectorControllerGetNetworkInterfaceInfoRequest generates requests for SyscollectorControllerGetNetworkInterfaceInfo
func NewSyscollectorControllerGetNetworkProtocolInfoRequest ¶
func NewSyscollectorControllerGetNetworkProtocolInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*http.Request, error)
NewSyscollectorControllerGetNetworkProtocolInfoRequest generates requests for SyscollectorControllerGetNetworkProtocolInfo
func NewSyscollectorControllerGetOsInfoRequest ¶
func NewSyscollectorControllerGetOsInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetOsInfoParams) (*http.Request, error)
NewSyscollectorControllerGetOsInfoRequest generates requests for SyscollectorControllerGetOsInfo
func NewSyscollectorControllerGetPackagesInfoRequest ¶
func NewSyscollectorControllerGetPackagesInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*http.Request, error)
NewSyscollectorControllerGetPackagesInfoRequest generates requests for SyscollectorControllerGetPackagesInfo
func NewSyscollectorControllerGetPortsInfoRequest ¶
func NewSyscollectorControllerGetPortsInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams) (*http.Request, error)
NewSyscollectorControllerGetPortsInfoRequest generates requests for SyscollectorControllerGetPortsInfo
func NewSyscollectorControllerGetProcessesInfoRequest ¶
func NewSyscollectorControllerGetProcessesInfoRequest(server string, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams) (*http.Request, error)
NewSyscollectorControllerGetProcessesInfoRequest generates requests for SyscollectorControllerGetProcessesInfo
Types ¶
type APIClient ¶
type APIClient struct { *ClientWithResponses ExperimentalController ExperimentalControllerInterface SyscheckController SyscheckControllerInterface AgentsController AgentsControllerInterface CiscatController CiscatControllerInterface ListsController ListsControllerInterface ManagerController ManagerControllerInterface MitreController MitreControllerInterface ScaController ScaControllerInterface DefaultController DefaultControllerInterface OverviewController OverviewControllerInterface RulesController RulesControllerInterface SecurityController SecurityControllerInterface SyscollectorController SyscollectorControllerInterface ActiveResponseController ActiveResponseControllerInterface ClusterController ClusterControllerInterface DecodersController DecodersControllerInterface }
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
type ActiveResponseBody ¶
type ActiveResponseBody struct { // 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, activeResponseControllerRunCommandJSONRequestBody ActiveResponseControllerRunCommandJSONRequestBody) (*ApiResponse, error)
RunCommand calls the ActiveResponse controller´s function
func (*ActiveResponseController) RunCommandWithBody ¶
func (c *ActiveResponseController) RunCommandWithBody(params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader) (*ApiResponse, error)
RunCommandWithBody calls the ActiveResponse controller´s function
type ActiveResponseControllerInterface ¶
type ActiveResponseControllerInterface interface { RunCommandWithBody(params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader) (*ApiResponse, error) RunCommand(params *ActiveResponseControllerRunCommandParams, activeResponseControllerRunCommandJSONRequestBody ActiveResponseControllerRunCommandJSONRequestBody) (*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
ActiveResponseControllerRunCommandRequestBody 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 ParseActiveResponseControllerRunCommandResponse ¶
func ParseActiveResponseControllerRunCommandResponse(rsp *http.Response) (*ActiveResponseControllerRunCommandResponse, error)
ParseActiveResponseControllerRunCommandResponse 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 ¶
type AgentConfiguration map[string]interface{}
AgentConfiguration defines model for AgentConfiguration.
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"` // 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 agents which belonged to the group and might have been reassigned to group default AffectedAgents []AgentID `json:"affected_agents"` }
AgentGroupDeleted defines model for AgentGroupDeleted.
type AgentIdKey ¶
AgentIdKey defines model for AgentIdKey.
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
AgentStatus defines model for AgentStatus.
const ( AgentStatus_active AgentStatus = "active" AgentStatus_disconnected AgentStatus = "disconnected" AgentStatus_never_connected AgentStatus = "never_connected" AgentStatus_pending AgentStatus = "pending" )
List of 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 AgentsController ¶
type AgentsController struct {
*ClientWithResponses
}
AgentsController implementation of the AgentsController interface
func (*AgentsController) AddAgent ¶
func (c *AgentsController) AddAgent(params *AgentsControllerAddAgentParams, agentsControllerAddAgentJSONRequestBody AgentsControllerAddAgentJSONRequestBody) (*AgentIdKey, error)
AddAgent calls the Agents controller´s function
func (*AgentsController) AddAgentWithBody ¶
func (c *AgentsController) AddAgentWithBody(params *AgentsControllerAddAgentParams, contentType string, body io.Reader) (*AgentIdKey, error)
AddAgentWithBody calls the Agents controller´s function
func (*AgentsController) DeleteAgents ¶
func (c *AgentsController) DeleteAgents(params *AgentsControllerDeleteAgentsParams) (*struct { AllItemsResponseAgentIDs OlderThan *string }, error)
DeleteAgents calls the Agents controller´s function
func (*AgentsController) DeleteGroups ¶
func (c *AgentsController) DeleteGroups(params *AgentsControllerDeleteGroupsParams) (*struct { AllItemsResponseGroupIDs AgentGroupDeleted }, error)
DeleteGroups calls the Agents controller´s function
func (*AgentsController) DeleteMultipleAgentSingleGroup ¶
func (c *AgentsController) DeleteMultipleAgentSingleGroup(params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*struct{ AllItemsResponseAgentIDs }, error)
DeleteMultipleAgentSingleGroup calls the Agents controller´s function
func (*AgentsController) DeleteSingleAgentMultipleGroups ¶
func (c *AgentsController) DeleteSingleAgentMultipleGroups(agentID AgentId, params *AgentsControllerDeleteSingleAgentMultipleGroupsParams) (*struct{ AllItemsResponseGroupIDs }, error)
DeleteSingleAgentMultipleGroups calls the Agents controller´s function
func (*AgentsController) DeleteSingleAgentSingleGroup ¶
func (c *AgentsController) DeleteSingleAgentSingleGroup(agentID AgentId, groupID GroupId, params *AgentsControllerDeleteSingleAgentSingleGroupParams) (*ApiResponse, error)
DeleteSingleAgentSingleGroup calls the Agents controller´s function
func (*AgentsController) GetAgentConfig ¶
func (c *AgentsController) GetAgentConfig(agentID AgentId, component Component, configuration Configuration, params *AgentsControllerGetAgentConfigParams) (*AgentConfiguration, error)
GetAgentConfig calls the Agents controller´s function
func (*AgentsController) GetAgentFields ¶
func (c *AgentsController) GetAgentFields(params *AgentsControllerGetAgentFieldsParams) (*AllItemsResponseAgentsDistinct, error)
GetAgentFields calls the Agents controller´s function
func (*AgentsController) GetAgentKey ¶
func (c *AgentsController) GetAgentKey(agentID AgentId, params *AgentsControllerGetAgentKeyParams) (*AllItemsResponseAgentsKeys, error)
GetAgentKey calls the Agents controller´s function
func (*AgentsController) GetAgentNoGroup ¶
func (c *AgentsController) GetAgentNoGroup(params *AgentsControllerGetAgentNoGroupParams) (*AllItemsResponseAgents, error)
GetAgentNoGroup calls the Agents controller´s function
func (*AgentsController) GetAgentOutdated ¶
func (c *AgentsController) GetAgentOutdated(params *AgentsControllerGetAgentOutdatedParams) (*AllItemsResponseAgentsSimple, error)
GetAgentOutdated calls the Agents controller´s function
func (*AgentsController) GetAgentSummaryOs ¶
func (c *AgentsController) GetAgentSummaryOs(params *AgentsControllerGetAgentSummaryOsParams) (*struct{ ApiResponse }, error)
GetAgentSummaryOs calls the Agents controller´s function
func (*AgentsController) GetAgentSummaryStatus ¶
func (c *AgentsController) GetAgentSummaryStatus(params *AgentsControllerGetAgentSummaryStatusParams) (*AgentsSummaryStatus, error)
GetAgentSummaryStatus calls the Agents controller´s function
func (*AgentsController) GetAgentUpgrade ¶
func (c *AgentsController) GetAgentUpgrade(agentID AgentId, params *AgentsControllerGetAgentUpgradeParams) (*ApiResponse, error)
GetAgentUpgrade calls the Agents controller´s function
func (*AgentsController) GetAgents ¶
func (c *AgentsController) GetAgents(params *AgentsControllerGetAgentsParams) (*AllItemsResponseAgents, error)
GetAgents calls the Agents controller´s function
func (*AgentsController) GetAgentsInGroup ¶
func (c *AgentsController) GetAgentsInGroup(groupID GroupId, params *AgentsControllerGetAgentsInGroupParams) (*AllItemsResponseAgents, error)
GetAgentsInGroup calls the Agents controller´s function
func (*AgentsController) GetGroupConfig ¶
func (c *AgentsController) GetGroupConfig(groupID GroupId, params *AgentsControllerGetGroupConfigParams) (*struct { AffectedItems *[]GroupConfiguration TotalAffectedItems *int32 }, error)
GetGroupConfig calls the Agents controller´s function
func (*AgentsController) GetGroupFileJSON ¶
func (c *AgentsController) GetGroupFileJSON(groupID GroupId, fileName FileName, params *AgentsControllerGetGroupFileJsonParams) (*interface{}, error)
GetGroupFileJSON calls the Agents controller´s function
func (*AgentsController) GetGroupFileXML ¶
func (c *AgentsController) GetGroupFileXML(groupID GroupId, fileName FileName, params *AgentsControllerGetGroupFileXmlParams) (*AgentsControllerGetGroupFileXmlResponse, error)
GetGroupFileXML calls the Agents controller´s function
func (*AgentsController) GetGroupFiles ¶
func (c *AgentsController) GetGroupFiles(groupID GroupId, params *AgentsControllerGetGroupFilesParams) (*AllItemsResponse, error)
GetGroupFiles calls the Agents controller´s function
func (*AgentsController) GetListGroup ¶
func (c *AgentsController) GetListGroup(params *AgentsControllerGetListGroupParams) (*AllItemsResponseGroups, error)
GetListGroup calls the Agents controller´s function
func (*AgentsController) GetSyncAgent ¶
func (c *AgentsController) GetSyncAgent(agentID AgentId, params *AgentsControllerGetSyncAgentParams) (*AllItemsResponseAgentsSynced, error)
GetSyncAgent calls the Agents controller´s function
func (*AgentsController) InsertAgent ¶
func (c *AgentsController) InsertAgent(params *AgentsControllerInsertAgentParams, agentsControllerInsertAgentJSONRequestBody AgentsControllerInsertAgentJSONRequestBody) (*AgentIdKey, error)
InsertAgent calls the Agents controller´s function
func (*AgentsController) InsertAgentWithBody ¶
func (c *AgentsController) InsertAgentWithBody(params *AgentsControllerInsertAgentParams, contentType string, body io.Reader) (*AgentIdKey, error)
InsertAgentWithBody calls the Agents controller´s function
func (*AgentsController) PostGroup ¶
func (c *AgentsController) PostGroup(params *AgentsControllerPostGroupParams) (*ApiResponse, error)
PostGroup calls the Agents controller´s function
func (*AgentsController) PostNewAgent ¶
func (c *AgentsController) PostNewAgent(params *AgentsControllerPostNewAgentParams) (*AgentIdKey, error)
PostNewAgent calls the Agents controller´s function
func (*AgentsController) PutAgentSingleGroup ¶
func (c *AgentsController) PutAgentSingleGroup(agentID AgentId, groupID GroupId, params *AgentsControllerPutAgentSingleGroupParams) (*ApiResponse, error)
PutAgentSingleGroup calls the Agents controller´s function
func (*AgentsController) PutGroupConfigWithBody ¶
func (c *AgentsController) PutGroupConfigWithBody(groupID GroupId, params *AgentsControllerPutGroupConfigParams, contentType string, body io.Reader) (*ApiResponse, error)
PutGroupConfigWithBody calls the Agents controller´s function
func (*AgentsController) PutMultipleAgentSingleGroup ¶
func (c *AgentsController) PutMultipleAgentSingleGroup(params *AgentsControllerPutMultipleAgentSingleGroupParams) (*struct{ AllItemsResponseAgentIDs }, error)
PutMultipleAgentSingleGroup calls the Agents controller´s function
func (*AgentsController) PutUpgradeAgent ¶
func (c *AgentsController) PutUpgradeAgent(agentID AgentId, params *AgentsControllerPutUpgradeAgentParams) (*ApiResponse, error)
PutUpgradeAgent calls the Agents controller´s function
func (*AgentsController) PutUpgradeCustomAgent ¶
func (c *AgentsController) PutUpgradeCustomAgent(agentID AgentId, params *AgentsControllerPutUpgradeCustomAgentParams) (*ApiResponse, error)
PutUpgradeCustomAgent calls the Agents controller´s function
func (*AgentsController) RestartAgent ¶
func (c *AgentsController) RestartAgent(agentID AgentId, params *AgentsControllerRestartAgentParams) (*ItemAffected, error)
RestartAgent calls the Agents controller´s function
func (*AgentsController) RestartAgents ¶
func (c *AgentsController) RestartAgents(params *AgentsControllerRestartAgentsParams) (*AllItemsResponseAgentIDs, error)
RestartAgents calls the Agents controller´s function
func (*AgentsController) RestartAgentsByGroup ¶
func (c *AgentsController) RestartAgentsByGroup(groupID GroupId, params *AgentsControllerRestartAgentsByGroupParams) (*AllItemsResponseAgentIDs, error)
RestartAgentsByGroup calls the Agents controller´s function
func (*AgentsController) RestartAgentsByNode ¶
func (c *AgentsController) RestartAgentsByNode(nodeID NodeId, params *AgentsControllerRestartAgentsByNodeParams) (*AllItemsResponseAgentIDs, error)
RestartAgentsByNode calls the Agents controller´s function
type AgentsControllerAddAgentJSONBody ¶
type AgentsControllerAddAgentJSONBody struct { // Remove the old agent with the same IP if disconnected since <force_time> seconds ForceTime *int32 `json:"force_time,omitempty"` // If this is not included, the API will get the IP automatically. If you are behind a proxy, you must set the option behind_proxy_server to yes at api.yaml and make sure the proxy is setting HTTP header 'X-Forwarded-For' with origin IP address. Allowed values: IP, IP/NET, ANY Ip *string `json:"ip,omitempty"` // Agent name Name string `json:"name"` }
AgentsControllerAddAgentJSONBody defines parameters for AgentsControllerAddAgent.
type AgentsControllerAddAgentJSONRequestBody ¶
type AgentsControllerAddAgentJSONRequestBody AgentsControllerAddAgentJSONBody
AgentsControllerAddAgentRequestBody defines body for AgentsControllerAddAgent for application/json ContentType.
type AgentsControllerAddAgentParams ¶
type AgentsControllerAddAgentParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerAddAgentParams defines parameters for AgentsControllerAddAgent.
type AgentsControllerAddAgentResponse ¶
type AgentsControllerAddAgentResponse 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 ParseAgentsControllerAddAgentResponse ¶
func ParseAgentsControllerAddAgentResponse(rsp *http.Response) (*AgentsControllerAddAgentResponse, error)
ParseAgentsControllerAddAgentResponse parses an HTTP response from a AgentsControllerAddAgentWithResponse call
func (AgentsControllerAddAgentResponse) Status ¶
func (r AgentsControllerAddAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerAddAgentResponse) StatusCode ¶
func (r AgentsControllerAddAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerDeleteAgentsParams ¶
type AgentsControllerDeleteAgentsParams 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 AgentsListDelete `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 *StatusAgentParam `json:"status,omitempty"` // 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"` }
AgentsControllerDeleteAgentsParams defines parameters for AgentsControllerDeleteAgents.
type AgentsControllerDeleteAgentsResponse ¶
type AgentsControllerDeleteAgentsResponse 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"` // Return older than parameter used. It can be the default value or the parameter sent by the user OlderThan *string `json:"older_than,omitempty"` } `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerDeleteAgentsResponse ¶
func ParseAgentsControllerDeleteAgentsResponse(rsp *http.Response) (*AgentsControllerDeleteAgentsResponse, error)
ParseAgentsControllerDeleteAgentsResponse parses an HTTP response from a AgentsControllerDeleteAgentsWithResponse call
func (AgentsControllerDeleteAgentsResponse) Status ¶
func (r AgentsControllerDeleteAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerDeleteAgentsResponse) StatusCode ¶
func (r AgentsControllerDeleteAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerDeleteGroupsParams ¶
type AgentsControllerDeleteGroupsParams 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 GroupsListDelete `json:"groups_list"` }
AgentsControllerDeleteGroupsParams defines parameters for AgentsControllerDeleteGroups.
type AgentsControllerDeleteGroupsResponse ¶
type AgentsControllerDeleteGroupsResponse 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"` // 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 ParseAgentsControllerDeleteGroupsResponse ¶
func ParseAgentsControllerDeleteGroupsResponse(rsp *http.Response) (*AgentsControllerDeleteGroupsResponse, error)
ParseAgentsControllerDeleteGroupsResponse parses an HTTP response from a AgentsControllerDeleteGroupsWithResponse call
func (AgentsControllerDeleteGroupsResponse) Status ¶
func (r AgentsControllerDeleteGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerDeleteGroupsResponse) StatusCode ¶
func (r AgentsControllerDeleteGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerDeleteMultipleAgentSingleGroupParams ¶
type AgentsControllerDeleteMultipleAgentSingleGroupParams 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 AgentsListDelete `json:"agents_list"` // Group ID. (Name of the group) GroupId GroupIdQuery `json:"group_id"` }
AgentsControllerDeleteMultipleAgentSingleGroupParams defines parameters for AgentsControllerDeleteMultipleAgentSingleGroup.
type AgentsControllerDeleteMultipleAgentSingleGroupResponse ¶
type AgentsControllerDeleteMultipleAgentSingleGroupResponse 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 ParseAgentsControllerDeleteMultipleAgentSingleGroupResponse ¶
func ParseAgentsControllerDeleteMultipleAgentSingleGroupResponse(rsp *http.Response) (*AgentsControllerDeleteMultipleAgentSingleGroupResponse, error)
ParseAgentsControllerDeleteMultipleAgentSingleGroupResponse parses an HTTP response from a AgentsControllerDeleteMultipleAgentSingleGroupWithResponse call
func (AgentsControllerDeleteMultipleAgentSingleGroupResponse) Status ¶
func (r AgentsControllerDeleteMultipleAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerDeleteMultipleAgentSingleGroupResponse) StatusCode ¶
func (r AgentsControllerDeleteMultipleAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerDeleteSingleAgentMultipleGroupsParams ¶
type AgentsControllerDeleteSingleAgentMultipleGroupsParams 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"` }
AgentsControllerDeleteSingleAgentMultipleGroupsParams defines parameters for AgentsControllerDeleteSingleAgentMultipleGroups.
type AgentsControllerDeleteSingleAgentMultipleGroupsResponse ¶
type AgentsControllerDeleteSingleAgentMultipleGroupsResponse 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 ParseAgentsControllerDeleteSingleAgentMultipleGroupsResponse ¶
func ParseAgentsControllerDeleteSingleAgentMultipleGroupsResponse(rsp *http.Response) (*AgentsControllerDeleteSingleAgentMultipleGroupsResponse, error)
ParseAgentsControllerDeleteSingleAgentMultipleGroupsResponse parses an HTTP response from a AgentsControllerDeleteSingleAgentMultipleGroupsWithResponse call
func (AgentsControllerDeleteSingleAgentMultipleGroupsResponse) Status ¶
func (r AgentsControllerDeleteSingleAgentMultipleGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerDeleteSingleAgentMultipleGroupsResponse) StatusCode ¶
func (r AgentsControllerDeleteSingleAgentMultipleGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerDeleteSingleAgentSingleGroupParams ¶
type AgentsControllerDeleteSingleAgentSingleGroupParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerDeleteSingleAgentSingleGroupParams defines parameters for AgentsControllerDeleteSingleAgentSingleGroup.
type AgentsControllerDeleteSingleAgentSingleGroupResponse ¶
type AgentsControllerDeleteSingleAgentSingleGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON404 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerDeleteSingleAgentSingleGroupResponse ¶
func ParseAgentsControllerDeleteSingleAgentSingleGroupResponse(rsp *http.Response) (*AgentsControllerDeleteSingleAgentSingleGroupResponse, error)
ParseAgentsControllerDeleteSingleAgentSingleGroupResponse parses an HTTP response from a AgentsControllerDeleteSingleAgentSingleGroupWithResponse call
func (AgentsControllerDeleteSingleAgentSingleGroupResponse) Status ¶
func (r AgentsControllerDeleteSingleAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerDeleteSingleAgentSingleGroupResponse) StatusCode ¶
func (r AgentsControllerDeleteSingleAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentConfigParams ¶
type AgentsControllerGetAgentConfigParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerGetAgentConfigParams defines parameters for AgentsControllerGetAgentConfig.
type AgentsControllerGetAgentConfigResponse ¶
type AgentsControllerGetAgentConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { // Embedded struct due to allOf(#/components/schemas/ApiResponse) ApiResponse `yaml:",inline"` // 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 ParseAgentsControllerGetAgentConfigResponse ¶
func ParseAgentsControllerGetAgentConfigResponse(rsp *http.Response) (*AgentsControllerGetAgentConfigResponse, error)
ParseAgentsControllerGetAgentConfigResponse parses an HTTP response from a AgentsControllerGetAgentConfigWithResponse call
func (AgentsControllerGetAgentConfigResponse) Status ¶
func (r AgentsControllerGetAgentConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentConfigResponse) StatusCode ¶
func (r AgentsControllerGetAgentConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentFieldsParams ¶
type AgentsControllerGetAgentFieldsParams 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 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 beggining 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"` }
AgentsControllerGetAgentFieldsParams defines parameters for AgentsControllerGetAgentFields.
type AgentsControllerGetAgentFieldsResponse ¶
type AgentsControllerGetAgentFieldsResponse 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 ParseAgentsControllerGetAgentFieldsResponse ¶
func ParseAgentsControllerGetAgentFieldsResponse(rsp *http.Response) (*AgentsControllerGetAgentFieldsResponse, error)
ParseAgentsControllerGetAgentFieldsResponse parses an HTTP response from a AgentsControllerGetAgentFieldsWithResponse call
func (AgentsControllerGetAgentFieldsResponse) Status ¶
func (r AgentsControllerGetAgentFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentFieldsResponse) StatusCode ¶
func (r AgentsControllerGetAgentFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentKeyParams ¶
type AgentsControllerGetAgentKeyParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerGetAgentKeyParams defines parameters for AgentsControllerGetAgentKey.
type AgentsControllerGetAgentKeyResponse ¶
type AgentsControllerGetAgentKeyResponse 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 ParseAgentsControllerGetAgentKeyResponse ¶
func ParseAgentsControllerGetAgentKeyResponse(rsp *http.Response) (*AgentsControllerGetAgentKeyResponse, error)
ParseAgentsControllerGetAgentKeyResponse parses an HTTP response from a AgentsControllerGetAgentKeyWithResponse call
func (AgentsControllerGetAgentKeyResponse) Status ¶
func (r AgentsControllerGetAgentKeyResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentKeyResponse) StatusCode ¶
func (r AgentsControllerGetAgentKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentNoGroupParams ¶
type AgentsControllerGetAgentNoGroupParams 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 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 beggining Search *Search `json:"search,omitempty"` // Query to filter results by. For example q="status=active" Q *Query `json:"q,omitempty"` }
AgentsControllerGetAgentNoGroupParams defines parameters for AgentsControllerGetAgentNoGroup.
type AgentsControllerGetAgentNoGroupResponse ¶
type AgentsControllerGetAgentNoGroupResponse 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 ParseAgentsControllerGetAgentNoGroupResponse ¶
func ParseAgentsControllerGetAgentNoGroupResponse(rsp *http.Response) (*AgentsControllerGetAgentNoGroupResponse, error)
ParseAgentsControllerGetAgentNoGroupResponse parses an HTTP response from a AgentsControllerGetAgentNoGroupWithResponse call
func (AgentsControllerGetAgentNoGroupResponse) Status ¶
func (r AgentsControllerGetAgentNoGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentNoGroupResponse) StatusCode ¶
func (r AgentsControllerGetAgentNoGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentOutdatedParams ¶
type AgentsControllerGetAgentOutdatedParams 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 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 beggining Search *Search `json:"search,omitempty"` // Query to filter results by. For example q="status=active" Q *Query `json:"q,omitempty"` }
AgentsControllerGetAgentOutdatedParams defines parameters for AgentsControllerGetAgentOutdated.
type AgentsControllerGetAgentOutdatedResponse ¶
type AgentsControllerGetAgentOutdatedResponse 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 ParseAgentsControllerGetAgentOutdatedResponse ¶
func ParseAgentsControllerGetAgentOutdatedResponse(rsp *http.Response) (*AgentsControllerGetAgentOutdatedResponse, error)
ParseAgentsControllerGetAgentOutdatedResponse parses an HTTP response from a AgentsControllerGetAgentOutdatedWithResponse call
func (AgentsControllerGetAgentOutdatedResponse) Status ¶
func (r AgentsControllerGetAgentOutdatedResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentOutdatedResponse) StatusCode ¶
func (r AgentsControllerGetAgentOutdatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentSummaryOsParams ¶
type AgentsControllerGetAgentSummaryOsParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerGetAgentSummaryOsParams defines parameters for AgentsControllerGetAgentSummaryOs.
type AgentsControllerGetAgentSummaryOsResponse ¶
type AgentsControllerGetAgentSummaryOsResponse 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 ParseAgentsControllerGetAgentSummaryOsResponse ¶
func ParseAgentsControllerGetAgentSummaryOsResponse(rsp *http.Response) (*AgentsControllerGetAgentSummaryOsResponse, error)
ParseAgentsControllerGetAgentSummaryOsResponse parses an HTTP response from a AgentsControllerGetAgentSummaryOsWithResponse call
func (AgentsControllerGetAgentSummaryOsResponse) Status ¶
func (r AgentsControllerGetAgentSummaryOsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentSummaryOsResponse) StatusCode ¶
func (r AgentsControllerGetAgentSummaryOsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentSummaryStatusParams ¶
type AgentsControllerGetAgentSummaryStatusParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerGetAgentSummaryStatusParams defines parameters for AgentsControllerGetAgentSummaryStatus.
type AgentsControllerGetAgentSummaryStatusResponse ¶
type AgentsControllerGetAgentSummaryStatusResponse 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 ParseAgentsControllerGetAgentSummaryStatusResponse ¶
func ParseAgentsControllerGetAgentSummaryStatusResponse(rsp *http.Response) (*AgentsControllerGetAgentSummaryStatusResponse, error)
ParseAgentsControllerGetAgentSummaryStatusResponse parses an HTTP response from a AgentsControllerGetAgentSummaryStatusWithResponse call
func (AgentsControllerGetAgentSummaryStatusResponse) Status ¶
func (r AgentsControllerGetAgentSummaryStatusResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentSummaryStatusResponse) StatusCode ¶
func (r AgentsControllerGetAgentSummaryStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentUpgradeParams ¶
type AgentsControllerGetAgentUpgradeParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Seconds to wait for the agent to respond Timeout *int32 `json:"timeout,omitempty"` }
AgentsControllerGetAgentUpgradeParams defines parameters for AgentsControllerGetAgentUpgrade.
type AgentsControllerGetAgentUpgradeResponse ¶
type AgentsControllerGetAgentUpgradeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerGetAgentUpgradeResponse ¶
func ParseAgentsControllerGetAgentUpgradeResponse(rsp *http.Response) (*AgentsControllerGetAgentUpgradeResponse, error)
ParseAgentsControllerGetAgentUpgradeResponse parses an HTTP response from a AgentsControllerGetAgentUpgradeWithResponse call
func (AgentsControllerGetAgentUpgradeResponse) Status ¶
func (r AgentsControllerGetAgentUpgradeResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentUpgradeResponse) StatusCode ¶
func (r AgentsControllerGetAgentUpgradeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentsInGroupParams ¶
type AgentsControllerGetAgentsInGroupParams 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 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 beggining 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"` }
AgentsControllerGetAgentsInGroupParams defines parameters for AgentsControllerGetAgentsInGroup.
type AgentsControllerGetAgentsInGroupResponse ¶
type AgentsControllerGetAgentsInGroupResponse 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 ParseAgentsControllerGetAgentsInGroupResponse ¶
func ParseAgentsControllerGetAgentsInGroupResponse(rsp *http.Response) (*AgentsControllerGetAgentsInGroupResponse, error)
ParseAgentsControllerGetAgentsInGroupResponse parses an HTTP response from a AgentsControllerGetAgentsInGroupWithResponse call
func (AgentsControllerGetAgentsInGroupResponse) Status ¶
func (r AgentsControllerGetAgentsInGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentsInGroupResponse) StatusCode ¶
func (r AgentsControllerGetAgentsInGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetAgentsParams ¶
type AgentsControllerGetAgentsParams 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 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 beggining 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 Version *Version `json:"version,omitempty"` // Filter by group of agents Group *AgentGroupID `json:"group,omitempty"` // Filter by node name NodeName *NodeName `json:"node_name,omitempty"` // Filter by agent 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"` }
AgentsControllerGetAgentsParams defines parameters for AgentsControllerGetAgents.
type AgentsControllerGetAgentsResponse ¶
type AgentsControllerGetAgentsResponse 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 ParseAgentsControllerGetAgentsResponse ¶
func ParseAgentsControllerGetAgentsResponse(rsp *http.Response) (*AgentsControllerGetAgentsResponse, error)
ParseAgentsControllerGetAgentsResponse parses an HTTP response from a AgentsControllerGetAgentsWithResponse call
func (AgentsControllerGetAgentsResponse) Status ¶
func (r AgentsControllerGetAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetAgentsResponse) StatusCode ¶
func (r AgentsControllerGetAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetGroupConfigParams ¶
type AgentsControllerGetGroupConfigParams 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 Limit *Limit `json:"limit,omitempty"` }
AgentsControllerGetGroupConfigParams defines parameters for AgentsControllerGetGroupConfig.
type AgentsControllerGetGroupConfigResponse ¶
type AgentsControllerGetGroupConfigResponse 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 ParseAgentsControllerGetGroupConfigResponse ¶
func ParseAgentsControllerGetGroupConfigResponse(rsp *http.Response) (*AgentsControllerGetGroupConfigResponse, error)
ParseAgentsControllerGetGroupConfigResponse parses an HTTP response from a AgentsControllerGetGroupConfigWithResponse call
func (AgentsControllerGetGroupConfigResponse) Status ¶
func (r AgentsControllerGetGroupConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetGroupConfigResponse) StatusCode ¶
func (r AgentsControllerGetGroupConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetGroupFileJsonParams ¶
type AgentsControllerGetGroupFileJsonParams 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"` }
AgentsControllerGetGroupFileJsonParams defines parameters for AgentsControllerGetGroupFileJson.
type AgentsControllerGetGroupFileJsonResponse ¶
type AgentsControllerGetGroupFileJsonResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Data *interface{} `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON404 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerGetGroupFileJsonResponse ¶
func ParseAgentsControllerGetGroupFileJsonResponse(rsp *http.Response) (*AgentsControllerGetGroupFileJsonResponse, error)
ParseAgentsControllerGetGroupFileJsonResponse parses an HTTP response from a AgentsControllerGetGroupFileJsonWithResponse call
func (AgentsControllerGetGroupFileJsonResponse) Status ¶
func (r AgentsControllerGetGroupFileJsonResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetGroupFileJsonResponse) StatusCode ¶
func (r AgentsControllerGetGroupFileJsonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetGroupFileXmlParams ¶
type AgentsControllerGetGroupFileXmlParams 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"` }
AgentsControllerGetGroupFileXmlParams defines parameters for AgentsControllerGetGroupFileXml.
type AgentsControllerGetGroupFileXmlResponse ¶
type AgentsControllerGetGroupFileXmlResponse struct { Body []byte HTTPResponse *http.Response XML200 *string JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON404 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerGetGroupFileXmlResponse ¶
func ParseAgentsControllerGetGroupFileXmlResponse(rsp *http.Response) (*AgentsControllerGetGroupFileXmlResponse, error)
ParseAgentsControllerGetGroupFileXmlResponse parses an HTTP response from a AgentsControllerGetGroupFileXmlWithResponse call
func (AgentsControllerGetGroupFileXmlResponse) Status ¶
func (r AgentsControllerGetGroupFileXmlResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetGroupFileXmlResponse) StatusCode ¶
func (r AgentsControllerGetGroupFileXmlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetGroupFilesParams ¶
type AgentsControllerGetGroupFilesParams 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 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 beggining Search *Search `json:"search,omitempty"` // Select algorithm to generate the returned checksums Hash *Hash `json:"hash,omitempty"` }
AgentsControllerGetGroupFilesParams defines parameters for AgentsControllerGetGroupFiles.
type AgentsControllerGetGroupFilesResponse ¶
type AgentsControllerGetGroupFilesResponse 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 ParseAgentsControllerGetGroupFilesResponse ¶
func ParseAgentsControllerGetGroupFilesResponse(rsp *http.Response) (*AgentsControllerGetGroupFilesResponse, error)
ParseAgentsControllerGetGroupFilesResponse parses an HTTP response from a AgentsControllerGetGroupFilesWithResponse call
func (AgentsControllerGetGroupFilesResponse) Status ¶
func (r AgentsControllerGetGroupFilesResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetGroupFilesResponse) StatusCode ¶
func (r AgentsControllerGetGroupFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetListGroupParams ¶
type AgentsControllerGetListGroupParams 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 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 beggining Search *Search `json:"search,omitempty"` // Select algorithm to generate the returned checksums Hash *Hash `json:"hash,omitempty"` }
AgentsControllerGetListGroupParams defines parameters for AgentsControllerGetListGroup.
type AgentsControllerGetListGroupResponse ¶
type AgentsControllerGetListGroupResponse 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 ParseAgentsControllerGetListGroupResponse ¶
func ParseAgentsControllerGetListGroupResponse(rsp *http.Response) (*AgentsControllerGetListGroupResponse, error)
ParseAgentsControllerGetListGroupResponse parses an HTTP response from a AgentsControllerGetListGroupWithResponse call
func (AgentsControllerGetListGroupResponse) Status ¶
func (r AgentsControllerGetListGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetListGroupResponse) StatusCode ¶
func (r AgentsControllerGetListGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerGetSyncAgentParams ¶
type AgentsControllerGetSyncAgentParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerGetSyncAgentParams defines parameters for AgentsControllerGetSyncAgent.
type AgentsControllerGetSyncAgentResponse ¶
type AgentsControllerGetSyncAgentResponse 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 ParseAgentsControllerGetSyncAgentResponse ¶
func ParseAgentsControllerGetSyncAgentResponse(rsp *http.Response) (*AgentsControllerGetSyncAgentResponse, error)
ParseAgentsControllerGetSyncAgentResponse parses an HTTP response from a AgentsControllerGetSyncAgentWithResponse call
func (AgentsControllerGetSyncAgentResponse) Status ¶
func (r AgentsControllerGetSyncAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerGetSyncAgentResponse) StatusCode ¶
func (r AgentsControllerGetSyncAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerInsertAgentJSONBody ¶
type AgentsControllerInsertAgentJSONBody struct { // Remove the old agent with the same IP if disconnected for <force_time> seconds ForceTime *int32 `json:"force_time,omitempty"` // Agent ID Id *AgentID `json:"id,omitempty"` // If this is not included, the API will get the IP automatically. If you are behind a proxy, you must set the option behind_proxy_server to yes at api.yaml and make sure the proxy is setting HTTP header 'X-Forwarded-For' with origin IP address. 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"` }
AgentsControllerInsertAgentJSONBody defines parameters for AgentsControllerInsertAgent.
type AgentsControllerInsertAgentJSONRequestBody ¶
type AgentsControllerInsertAgentJSONRequestBody AgentsControllerInsertAgentJSONBody
AgentsControllerInsertAgentRequestBody defines body for AgentsControllerInsertAgent for application/json ContentType.
type AgentsControllerInsertAgentParams ¶
type AgentsControllerInsertAgentParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerInsertAgentParams defines parameters for AgentsControllerInsertAgent.
type AgentsControllerInsertAgentResponse ¶
type AgentsControllerInsertAgentResponse 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 ParseAgentsControllerInsertAgentResponse ¶
func ParseAgentsControllerInsertAgentResponse(rsp *http.Response) (*AgentsControllerInsertAgentResponse, error)
ParseAgentsControllerInsertAgentResponse parses an HTTP response from a AgentsControllerInsertAgentWithResponse call
func (AgentsControllerInsertAgentResponse) Status ¶
func (r AgentsControllerInsertAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerInsertAgentResponse) StatusCode ¶
func (r AgentsControllerInsertAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerInterface ¶
type AgentsControllerInterface interface { AddAgentWithBody(params *AgentsControllerAddAgentParams, contentType string, body io.Reader) (*AgentIdKey, error) AddAgent(params *AgentsControllerAddAgentParams, agentsControllerAddAgentJSONRequestBody AgentsControllerAddAgentJSONRequestBody) (*AgentIdKey, error) DeleteAgents(params *AgentsControllerDeleteAgentsParams) (*struct { AllItemsResponseAgentIDs OlderThan *string }, error) DeleteGroups(params *AgentsControllerDeleteGroupsParams) (*struct { AllItemsResponseGroupIDs AgentGroupDeleted }, error) DeleteMultipleAgentSingleGroup(params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*struct{ AllItemsResponseAgentIDs }, error) DeleteSingleAgentMultipleGroups(agentID AgentId, params *AgentsControllerDeleteSingleAgentMultipleGroupsParams) (*struct{ AllItemsResponseGroupIDs }, error) DeleteSingleAgentSingleGroup(agentID AgentId, groupID GroupId, params *AgentsControllerDeleteSingleAgentSingleGroupParams) (*ApiResponse, error) GetAgentConfig(agentID AgentId, component Component, configuration Configuration, params *AgentsControllerGetAgentConfigParams) (*AgentConfiguration, error) GetAgentFields(params *AgentsControllerGetAgentFieldsParams) (*AllItemsResponseAgentsDistinct, error) GetAgentKey(agentID AgentId, params *AgentsControllerGetAgentKeyParams) (*AllItemsResponseAgentsKeys, error) GetAgentNoGroup(params *AgentsControllerGetAgentNoGroupParams) (*AllItemsResponseAgents, error) GetAgentOutdated(params *AgentsControllerGetAgentOutdatedParams) (*AllItemsResponseAgentsSimple, error) GetAgentSummaryOs(params *AgentsControllerGetAgentSummaryOsParams) (*struct{ ApiResponse }, error) GetAgentSummaryStatus(params *AgentsControllerGetAgentSummaryStatusParams) (*AgentsSummaryStatus, error) GetAgentUpgrade(agentID AgentId, params *AgentsControllerGetAgentUpgradeParams) (*ApiResponse, error) GetAgentsInGroup(groupID GroupId, params *AgentsControllerGetAgentsInGroupParams) (*AllItemsResponseAgents, error) GetAgents(params *AgentsControllerGetAgentsParams) (*AllItemsResponseAgents, error) GetGroupConfig(groupID GroupId, params *AgentsControllerGetGroupConfigParams) (*struct { AffectedItems *[]GroupConfiguration TotalAffectedItems *int32 }, error) GetGroupFileJSON(groupID GroupId, fileName FileName, params *AgentsControllerGetGroupFileJsonParams) (*interface{}, error) GetGroupFileXML(groupID GroupId, fileName FileName, params *AgentsControllerGetGroupFileXmlParams) (*AgentsControllerGetGroupFileXmlResponse, error) GetGroupFiles(groupID GroupId, params *AgentsControllerGetGroupFilesParams) (*AllItemsResponse, error) GetListGroup(params *AgentsControllerGetListGroupParams) (*AllItemsResponseGroups, error) GetSyncAgent(agentID AgentId, params *AgentsControllerGetSyncAgentParams) (*AllItemsResponseAgentsSynced, error) InsertAgentWithBody(params *AgentsControllerInsertAgentParams, contentType string, body io.Reader) (*AgentIdKey, error) InsertAgent(params *AgentsControllerInsertAgentParams, agentsControllerInsertAgentJSONRequestBody AgentsControllerInsertAgentJSONRequestBody) (*AgentIdKey, error) PostGroup(params *AgentsControllerPostGroupParams) (*ApiResponse, error) PostNewAgent(params *AgentsControllerPostNewAgentParams) (*AgentIdKey, error) PutAgentSingleGroup(agentID AgentId, groupID GroupId, params *AgentsControllerPutAgentSingleGroupParams) (*ApiResponse, error) PutGroupConfigWithBody(groupID GroupId, params *AgentsControllerPutGroupConfigParams, contentType string, body io.Reader) (*ApiResponse, error) PutMultipleAgentSingleGroup(params *AgentsControllerPutMultipleAgentSingleGroupParams) (*struct{ AllItemsResponseAgentIDs }, error) PutUpgradeAgent(agentID AgentId, params *AgentsControllerPutUpgradeAgentParams) (*ApiResponse, error) PutUpgradeCustomAgent(agentID AgentId, params *AgentsControllerPutUpgradeCustomAgentParams) (*ApiResponse, error) RestartAgent(agentID AgentId, params *AgentsControllerRestartAgentParams) (*ItemAffected, error) RestartAgentsByGroup(groupID GroupId, params *AgentsControllerRestartAgentsByGroupParams) (*AllItemsResponseAgentIDs, error) RestartAgentsByNode(nodeID NodeId, params *AgentsControllerRestartAgentsByNodeParams) (*AllItemsResponseAgentIDs, error) RestartAgents(params *AgentsControllerRestartAgentsParams) (*AllItemsResponseAgentIDs, error) }
AgentsControllerInterface contains all methods for the wazuh controller api
type AgentsControllerPostGroupParams ¶
type AgentsControllerPostGroupParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Group ID. (Name of the group) GroupId GroupIdQuery `json:"group_id"` }
AgentsControllerPostGroupParams defines parameters for AgentsControllerPostGroup.
type AgentsControllerPostGroupResponse ¶
type AgentsControllerPostGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerPostGroupResponse ¶
func ParseAgentsControllerPostGroupResponse(rsp *http.Response) (*AgentsControllerPostGroupResponse, error)
ParseAgentsControllerPostGroupResponse parses an HTTP response from a AgentsControllerPostGroupWithResponse call
func (AgentsControllerPostGroupResponse) Status ¶
func (r AgentsControllerPostGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerPostGroupResponse) StatusCode ¶
func (r AgentsControllerPostGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerPostNewAgentParams ¶
type AgentsControllerPostNewAgentParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Agent name AgentName AgentName `json:"agent_name"` }
AgentsControllerPostNewAgentParams defines parameters for AgentsControllerPostNewAgent.
type AgentsControllerPostNewAgentResponse ¶
type AgentsControllerPostNewAgentResponse 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 ParseAgentsControllerPostNewAgentResponse ¶
func ParseAgentsControllerPostNewAgentResponse(rsp *http.Response) (*AgentsControllerPostNewAgentResponse, error)
ParseAgentsControllerPostNewAgentResponse parses an HTTP response from a AgentsControllerPostNewAgentWithResponse call
func (AgentsControllerPostNewAgentResponse) Status ¶
func (r AgentsControllerPostNewAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerPostNewAgentResponse) StatusCode ¶
func (r AgentsControllerPostNewAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerPutAgentSingleGroupParams ¶
type AgentsControllerPutAgentSingleGroupParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Whether to append the new group to current agent's multigroup or replace it ForceSingleGroup *ForceSingleGroup `json:"force_single_group,omitempty"` }
AgentsControllerPutAgentSingleGroupParams defines parameters for AgentsControllerPutAgentSingleGroup.
type AgentsControllerPutAgentSingleGroupResponse ¶
type AgentsControllerPutAgentSingleGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON404 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerPutAgentSingleGroupResponse ¶
func ParseAgentsControllerPutAgentSingleGroupResponse(rsp *http.Response) (*AgentsControllerPutAgentSingleGroupResponse, error)
ParseAgentsControllerPutAgentSingleGroupResponse parses an HTTP response from a AgentsControllerPutAgentSingleGroupWithResponse call
func (AgentsControllerPutAgentSingleGroupResponse) Status ¶
func (r AgentsControllerPutAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerPutAgentSingleGroupResponse) StatusCode ¶
func (r AgentsControllerPutAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerPutGroupConfigParams ¶
type AgentsControllerPutGroupConfigParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerPutGroupConfigParams defines parameters for AgentsControllerPutGroupConfig.
type AgentsControllerPutGroupConfigResponse ¶
type AgentsControllerPutGroupConfigResponse 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 ParseAgentsControllerPutGroupConfigResponse ¶
func ParseAgentsControllerPutGroupConfigResponse(rsp *http.Response) (*AgentsControllerPutGroupConfigResponse, error)
ParseAgentsControllerPutGroupConfigResponse parses an HTTP response from a AgentsControllerPutGroupConfigWithResponse call
func (AgentsControllerPutGroupConfigResponse) Status ¶
func (r AgentsControllerPutGroupConfigResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerPutGroupConfigResponse) StatusCode ¶
func (r AgentsControllerPutGroupConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerPutMultipleAgentSingleGroupParams ¶
type AgentsControllerPutMultipleAgentSingleGroupParams 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"` // Whether to append the new group to current agent's multigroup or replace it ForceSingleGroup *ForceSingleGroup `json:"force_single_group,omitempty"` }
AgentsControllerPutMultipleAgentSingleGroupParams defines parameters for AgentsControllerPutMultipleAgentSingleGroup.
type AgentsControllerPutMultipleAgentSingleGroupResponse ¶
type AgentsControllerPutMultipleAgentSingleGroupResponse 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 ParseAgentsControllerPutMultipleAgentSingleGroupResponse ¶
func ParseAgentsControllerPutMultipleAgentSingleGroupResponse(rsp *http.Response) (*AgentsControllerPutMultipleAgentSingleGroupResponse, error)
ParseAgentsControllerPutMultipleAgentSingleGroupResponse parses an HTTP response from a AgentsControllerPutMultipleAgentSingleGroupWithResponse call
func (AgentsControllerPutMultipleAgentSingleGroupResponse) Status ¶
func (r AgentsControllerPutMultipleAgentSingleGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerPutMultipleAgentSingleGroupResponse) StatusCode ¶
func (r AgentsControllerPutMultipleAgentSingleGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerPutUpgradeAgentParams ¶
type AgentsControllerPutUpgradeAgentParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // WPK repository WpkRepo *WpkRepo `json:"wpk_repo,omitempty"` // Wazuh version to upgrade to Version *UpgradeVersion `json:"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"` }
AgentsControllerPutUpgradeAgentParams defines parameters for AgentsControllerPutUpgradeAgent.
type AgentsControllerPutUpgradeAgentResponse ¶
type AgentsControllerPutUpgradeAgentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerPutUpgradeAgentResponse ¶
func ParseAgentsControllerPutUpgradeAgentResponse(rsp *http.Response) (*AgentsControllerPutUpgradeAgentResponse, error)
ParseAgentsControllerPutUpgradeAgentResponse parses an HTTP response from a AgentsControllerPutUpgradeAgentWithResponse call
func (AgentsControllerPutUpgradeAgentResponse) Status ¶
func (r AgentsControllerPutUpgradeAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerPutUpgradeAgentResponse) StatusCode ¶
func (r AgentsControllerPutUpgradeAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerPutUpgradeCustomAgentParams ¶
type AgentsControllerPutUpgradeCustomAgentParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // 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"` }
AgentsControllerPutUpgradeCustomAgentParams defines parameters for AgentsControllerPutUpgradeCustomAgent.
type AgentsControllerPutUpgradeCustomAgentResponse ¶
type AgentsControllerPutUpgradeCustomAgentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseAgentsControllerPutUpgradeCustomAgentResponse ¶
func ParseAgentsControllerPutUpgradeCustomAgentResponse(rsp *http.Response) (*AgentsControllerPutUpgradeCustomAgentResponse, error)
ParseAgentsControllerPutUpgradeCustomAgentResponse parses an HTTP response from a AgentsControllerPutUpgradeCustomAgentWithResponse call
func (AgentsControllerPutUpgradeCustomAgentResponse) Status ¶
func (r AgentsControllerPutUpgradeCustomAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerPutUpgradeCustomAgentResponse) StatusCode ¶
func (r AgentsControllerPutUpgradeCustomAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerRestartAgentParams ¶
type AgentsControllerRestartAgentParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerRestartAgentParams defines parameters for AgentsControllerRestartAgent.
type AgentsControllerRestartAgentResponse ¶
type AgentsControllerRestartAgentResponse 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 ParseAgentsControllerRestartAgentResponse ¶
func ParseAgentsControllerRestartAgentResponse(rsp *http.Response) (*AgentsControllerRestartAgentResponse, error)
ParseAgentsControllerRestartAgentResponse parses an HTTP response from a AgentsControllerRestartAgentWithResponse call
func (AgentsControllerRestartAgentResponse) Status ¶
func (r AgentsControllerRestartAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerRestartAgentResponse) StatusCode ¶
func (r AgentsControllerRestartAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerRestartAgentsByGroupParams ¶
type AgentsControllerRestartAgentsByGroupParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerRestartAgentsByGroupParams defines parameters for AgentsControllerRestartAgentsByGroup.
type AgentsControllerRestartAgentsByGroupResponse ¶
type AgentsControllerRestartAgentsByGroupResponse 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 ParseAgentsControllerRestartAgentsByGroupResponse ¶
func ParseAgentsControllerRestartAgentsByGroupResponse(rsp *http.Response) (*AgentsControllerRestartAgentsByGroupResponse, error)
ParseAgentsControllerRestartAgentsByGroupResponse parses an HTTP response from a AgentsControllerRestartAgentsByGroupWithResponse call
func (AgentsControllerRestartAgentsByGroupResponse) Status ¶
func (r AgentsControllerRestartAgentsByGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerRestartAgentsByGroupResponse) StatusCode ¶
func (r AgentsControllerRestartAgentsByGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerRestartAgentsByNodeParams ¶
type AgentsControllerRestartAgentsByNodeParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
AgentsControllerRestartAgentsByNodeParams defines parameters for AgentsControllerRestartAgentsByNode.
type AgentsControllerRestartAgentsByNodeResponse ¶
type AgentsControllerRestartAgentsByNodeResponse 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 ParseAgentsControllerRestartAgentsByNodeResponse ¶
func ParseAgentsControllerRestartAgentsByNodeResponse(rsp *http.Response) (*AgentsControllerRestartAgentsByNodeResponse, error)
ParseAgentsControllerRestartAgentsByNodeResponse parses an HTTP response from a AgentsControllerRestartAgentsByNodeWithResponse call
func (AgentsControllerRestartAgentsByNodeResponse) Status ¶
func (r AgentsControllerRestartAgentsByNodeResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerRestartAgentsByNodeResponse) StatusCode ¶
func (r AgentsControllerRestartAgentsByNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsControllerRestartAgentsParams ¶
type AgentsControllerRestartAgentsParams 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"` }
AgentsControllerRestartAgentsParams defines parameters for AgentsControllerRestartAgents.
type AgentsControllerRestartAgentsResponse ¶
type AgentsControllerRestartAgentsResponse 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 ParseAgentsControllerRestartAgentsResponse ¶
func ParseAgentsControllerRestartAgentsResponse(rsp *http.Response) (*AgentsControllerRestartAgentsResponse, error)
ParseAgentsControllerRestartAgentsResponse parses an HTTP response from a AgentsControllerRestartAgentsWithResponse call
func (AgentsControllerRestartAgentsResponse) Status ¶
func (r AgentsControllerRestartAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsControllerRestartAgentsResponse) StatusCode ¶
func (r AgentsControllerRestartAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsListDelete ¶
type AgentsListDelete []AgentIDDELETE
AgentsListDelete defines model for agents_list_delete.
type AgentsSummaryStatus ¶
type AgentsSummaryStatus 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"` }
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 { // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // Items that successfully applied the API call action AffectedItems []DecoderFile `json:"affected_items"` }
AllItemsResponseDecodersFiles defines model for AllItemsResponseDecodersFiles.
type AllItemsResponseGroupIDs ¶
type AllItemsResponseGroupIDs struct { // 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 { // Items that successfully applied the API call action AffectedItems []AgentGroupID `json:"affected_items"` // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` }
AllItemsResponseGroups defines model for AllItemsResponseGroups.
type AllItemsResponseLists ¶
type AllItemsResponseLists struct { // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` // 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"` // Items that successfully applied the API call action AffectedItems []CDBListFile `json:"affected_items"` }
AllItemsResponseListsFiles defines model for AllItemsResponseListsFiles.
type AllItemsResponseNodeHealthcheck ¶
type AllItemsResponseNodeHealthcheck struct { // 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 { // 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 AllItemsResponsePolicies ¶
type AllItemsResponsePolicies struct { // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` // Items that successfully applied the API call action AffectedItems []interface{} `json:"affected_items"` }
AllItemsResponsePolicies defines model for AllItemsResponsePolicies.
type AllItemsResponseRoles ¶
type AllItemsResponseRoles struct { // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` // 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"` // 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"` // 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"` // 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"` // Items that successfully applied the API call action AffectedItems []SCADatabase `json:"affected_items"` }
AllItemsResponseSCADatabase defines model for AllItemsResponseSCADatabase.
type AllItemsResponseSyscheckLastScan ¶
type AllItemsResponseSyscheckLastScan struct { // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` // Items that successfully applied the API call action AffectedItems []LastScan `json:"affected_items"` }
AllItemsResponseSyscheckLastScan defines model for AllItemsResponseSyscheckLastScan.
type AllItemsResponseSyscheckResult ¶
type AllItemsResponseSyscheckResult struct { // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // 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"` // Items that successfully applied the API call action AffectedItems []ValidationStatus `json:"affected_items"` }
AllItemsResponseValidationStatus defines model for AllItemsResponseValidationStatus.
type AllItemsResponseWazuhLogs ¶
type AllItemsResponseWazuhLogs struct { // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` // Items that successfully applied the API call action AffectedItems []WazuhLogs `json:"affected_items"` }
AllItemsResponseWazuhLogs defines model for AllItemsResponseWazuhLogs.
type AllItemsResponseWazuhStats ¶
type AllItemsResponseWazuhStats struct { // Items that successfully applied the API call action AffectedItems []interface{} `json:"affected_items"` // Embedded struct due to allOf(#/components/schemas/AllItemsResponse) AllItemsResponse `yaml:",inline"` }
AllItemsResponseWazuhStats defines model for AllItemsResponseWazuhStats.
type ApiError ¶
type ApiError struct { Code *int32 `json:"code,omitempty"` DapiErrors *ApiError_DapiErrors `json:"dapi_errors,omitempty"` Detail string `json:"detail"` Instance *string `json:"instance,omitempty"` Remediation *string `json:"remediation,omitempty"` Title 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 ¶
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 ¶
func (a ApiError_DapiErrors) MarshalJSON() ([]byte, error)
Override default JSON handling for ApiError_DapiErrors to handle AdditionalProperties
func (*ApiError_DapiErrors) Set ¶
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 ¶
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"` }
ApiResponse defines model for ApiResponse.
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 *int32 `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 CiscatController ¶
type CiscatController struct {
*ClientWithResponses
}
CiscatController implementation of the CiscatController interface
func (*CiscatController) GetAgentsCiscatResults ¶
func (c *CiscatController) GetAgentsCiscatResults(agentID AgentId, params *CiscatControllerGetAgentsCiscatResultsParams) (*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 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 beggining 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 ParseCiscatControllerGetAgentsCiscatResultsResponse ¶
func ParseCiscatControllerGetAgentsCiscatResultsResponse(rsp *http.Response) (*CiscatControllerGetAgentsCiscatResultsResponse, error)
ParseCiscatControllerGetAgentsCiscatResultsResponse 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(agentID AgentId, params *CiscatControllerGetAgentsCiscatResultsParams) (*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 callback for modifying requests which are generated before sending over // the network. RequestEditor 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) (*http.Response, error)
func (*Client) ActiveResponseControllerRunCommandWithBody ¶
func (*Client) AgentsControllerAddAgent ¶
func (c *Client) AgentsControllerAddAgent(ctx context.Context, params *AgentsControllerAddAgentParams, body AgentsControllerAddAgentJSONRequestBody) (*http.Response, error)
func (*Client) AgentsControllerAddAgentWithBody ¶
func (*Client) AgentsControllerDeleteAgents ¶
func (*Client) AgentsControllerDeleteGroups ¶
func (*Client) AgentsControllerDeleteMultipleAgentSingleGroup ¶
func (*Client) AgentsControllerDeleteSingleAgentMultipleGroups ¶
func (*Client) AgentsControllerDeleteSingleAgentSingleGroup ¶
func (*Client) AgentsControllerGetAgentConfig ¶
func (c *Client) AgentsControllerGetAgentConfig(ctx context.Context, agentId AgentId, component Component, configuration Configuration, params *AgentsControllerGetAgentConfigParams) (*http.Response, error)
func (*Client) AgentsControllerGetAgentFields ¶
func (*Client) AgentsControllerGetAgentKey ¶
func (*Client) AgentsControllerGetAgentNoGroup ¶
func (*Client) AgentsControllerGetAgentOutdated ¶
func (*Client) AgentsControllerGetAgentSummaryOs ¶
func (*Client) AgentsControllerGetAgentSummaryStatus ¶
func (*Client) AgentsControllerGetAgentUpgrade ¶
func (*Client) AgentsControllerGetAgents ¶
func (*Client) AgentsControllerGetAgentsInGroup ¶
func (*Client) AgentsControllerGetGroupConfig ¶
func (*Client) AgentsControllerGetGroupFileJson ¶
func (*Client) AgentsControllerGetGroupFileXml ¶
func (*Client) AgentsControllerGetGroupFiles ¶
func (*Client) AgentsControllerGetListGroup ¶
func (*Client) AgentsControllerGetSyncAgent ¶
func (*Client) AgentsControllerInsertAgent ¶
func (c *Client) AgentsControllerInsertAgent(ctx context.Context, params *AgentsControllerInsertAgentParams, body AgentsControllerInsertAgentJSONRequestBody) (*http.Response, error)
func (*Client) AgentsControllerInsertAgentWithBody ¶
func (*Client) AgentsControllerPostGroup ¶
func (*Client) AgentsControllerPostNewAgent ¶
func (*Client) AgentsControllerPutAgentSingleGroup ¶
func (*Client) AgentsControllerPutGroupConfigWithBody ¶
func (*Client) AgentsControllerPutMultipleAgentSingleGroup ¶
func (*Client) AgentsControllerPutUpgradeAgent ¶
func (*Client) AgentsControllerPutUpgradeCustomAgent ¶
func (*Client) AgentsControllerRestartAgent ¶
func (*Client) AgentsControllerRestartAgents ¶
func (*Client) AgentsControllerRestartAgentsByGroup ¶
func (*Client) AgentsControllerRestartAgentsByNode ¶
func (*Client) CiscatControllerGetAgentsCiscatResults ¶
func (*Client) ClusterControllerDeleteFilesNode ¶
func (*Client) ClusterControllerGetApiConfig ¶
func (*Client) ClusterControllerGetClusterNode ¶
func (*Client) ClusterControllerGetClusterNodes ¶
func (*Client) ClusterControllerGetConfValidation ¶
func (*Client) ClusterControllerGetConfig ¶
func (*Client) ClusterControllerGetConfigurationNode ¶
func (*Client) ClusterControllerGetFilesNode ¶
func (*Client) ClusterControllerGetHealthcheck ¶
func (*Client) ClusterControllerGetInfoNode ¶
func (*Client) ClusterControllerGetLogNode ¶
func (*Client) ClusterControllerGetLogSummaryNode ¶
func (*Client) ClusterControllerGetNodeConfig ¶
func (c *Client) ClusterControllerGetNodeConfig(ctx context.Context, nodeId NodeId, component Component, configuration Configuration, params *ClusterControllerGetNodeConfigParams) (*http.Response, error)
func (*Client) ClusterControllerGetStatsAnalysisdNode ¶
func (*Client) ClusterControllerGetStatsHourlyNode ¶
func (*Client) ClusterControllerGetStatsNode ¶
func (*Client) ClusterControllerGetStatsRemotedNode ¶
func (*Client) ClusterControllerGetStatsWeeklyNode ¶
func (*Client) ClusterControllerGetStatus ¶
func (*Client) ClusterControllerGetStatusNode ¶
func (*Client) ClusterControllerPutFilesNodeWithBody ¶
func (*Client) ClusterControllerPutRestart ¶
func (*Client) DecodersControllerGetDecoders ¶
func (*Client) DecodersControllerGetDecodersFiles ¶
func (*Client) DecodersControllerGetDecodersParents ¶
func (*Client) DecodersControllerGetDownloadFile ¶
func (c *Client) DecodersControllerGetDownloadFile(ctx context.Context, filename DownloadFile, params *DecodersControllerGetDownloadFileParams) (*http.Response, error)
func (*Client) DefaultControllerDefaultInfo ¶
func (*Client) ExperimentalControllerClearSyscheckDatabase ¶
func (*Client) ExperimentalControllerGetCisCatResults ¶
func (*Client) ExperimentalControllerGetHardwareInfo ¶
func (*Client) ExperimentalControllerGetHotfixesInfo ¶
func (*Client) ExperimentalControllerGetNetworkAddressInfo ¶
func (*Client) ExperimentalControllerGetNetworkInterfaceInfo ¶
func (*Client) ExperimentalControllerGetNetworkProtocolInfo ¶
func (*Client) ExperimentalControllerGetOsInfo ¶
func (*Client) ExperimentalControllerGetPackagesInfo ¶
func (*Client) ExperimentalControllerGetPortsInfo ¶
func (*Client) ExperimentalControllerGetProcessesInfo ¶
func (*Client) ListsControllerGetLists ¶
func (*Client) ListsControllerGetListsFiles ¶
func (*Client) ManagerControllerDeleteFiles ¶
func (*Client) ManagerControllerGetApiConfig ¶
func (*Client) ManagerControllerGetConfValidation ¶
func (*Client) ManagerControllerGetConfiguration ¶
func (*Client) ManagerControllerGetFiles ¶
func (*Client) ManagerControllerGetInfo ¶
func (*Client) ManagerControllerGetLog ¶
func (*Client) ManagerControllerGetLogSummary ¶
func (*Client) ManagerControllerGetManagerConfigOndemand ¶
func (c *Client) ManagerControllerGetManagerConfigOndemand(ctx context.Context, component Component, configuration Configuration, params *ManagerControllerGetManagerConfigOndemandParams) (*http.Response, error)
func (*Client) ManagerControllerGetStats ¶
func (*Client) ManagerControllerGetStatsAnalysisd ¶
func (*Client) ManagerControllerGetStatsHourly ¶
func (*Client) ManagerControllerGetStatsRemoted ¶
func (*Client) ManagerControllerGetStatsWeekly ¶
func (*Client) ManagerControllerGetStatus ¶
func (*Client) ManagerControllerPutFilesWithBody ¶
func (*Client) ManagerControllerPutRestart ¶
func (*Client) MitreControllerGetAttack ¶
func (*Client) OverviewControllerGetOverviewAgents ¶
func (*Client) RulesControllerGetDownloadFile ¶
func (c *Client) RulesControllerGetDownloadFile(ctx context.Context, filename DownloadFile, params *RulesControllerGetDownloadFileParams) (*http.Response, error)
func (*Client) RulesControllerGetRules ¶
func (*Client) RulesControllerGetRulesFiles ¶
func (*Client) RulesControllerGetRulesGroups ¶
func (*Client) RulesControllerGetRulesRequirement ¶
func (c *Client) RulesControllerGetRulesRequirement(ctx context.Context, requirement RuleRequirement, params *RulesControllerGetRulesRequirementParams) (*http.Response, error)
func (*Client) ScaControllerGetScaAgent ¶
func (*Client) ScaControllerGetScaChecks ¶
func (*Client) SecurityControllerAddPolicy ¶
func (c *Client) SecurityControllerAddPolicy(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerAddPolicyWithBody ¶
func (*Client) SecurityControllerAddRole ¶
func (c *Client) SecurityControllerAddRole(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerAddRoleWithBody ¶
func (*Client) SecurityControllerAddRule ¶
func (c *Client) SecurityControllerAddRule(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerAddRuleWithBody ¶
func (*Client) SecurityControllerCreateUser ¶
func (c *Client) SecurityControllerCreateUser(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerCreateUserWithBody ¶
func (*Client) SecurityControllerDeleteSecurityConfig ¶
func (*Client) SecurityControllerDeleteUsers ¶
func (*Client) SecurityControllerGetPolicies ¶
func (*Client) SecurityControllerGetRbacActions ¶
func (*Client) SecurityControllerGetRbacResources ¶
func (*Client) SecurityControllerGetRoles ¶
func (*Client) SecurityControllerGetRules ¶
func (*Client) SecurityControllerGetSecurityConfig ¶
func (*Client) SecurityControllerGetUserMe ¶
func (*Client) SecurityControllerGetUserMePolicies ¶
func (*Client) SecurityControllerGetUsers ¶
func (*Client) SecurityControllerLoginUser ¶
func (*Client) SecurityControllerLoginUserRunAs ¶
func (c *Client) SecurityControllerLoginUserRunAs(ctx context.Context, params *SecurityControllerLoginUserParams, body SecurityControllerLoginUserJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerLoginUserRunAsWithBody ¶
func (*Client) SecurityControllerLogoutUser ¶
func (*Client) SecurityControllerPutSecurityConfig ¶
func (c *Client) SecurityControllerPutSecurityConfig(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerPutSecurityConfigWithBody ¶
func (*Client) SecurityControllerRemovePolicies ¶
func (*Client) SecurityControllerRemoveRolePolicy ¶
func (*Client) SecurityControllerRemoveRoleRule ¶
func (*Client) SecurityControllerRemoveRoles ¶
func (*Client) SecurityControllerRemoveRules ¶
func (*Client) SecurityControllerRemoveUserRole ¶
func (c *Client) SecurityControllerRemoveUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*http.Response, error)
func (*Client) SecurityControllerRevokeAllTokens ¶
func (*Client) SecurityControllerSetRolePolicy ¶
func (*Client) SecurityControllerSetRoleRule ¶
func (*Client) SecurityControllerSetUserRole ¶
func (c *Client) SecurityControllerSetUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams) (*http.Response, error)
func (*Client) SecurityControllerUpdatePolicy ¶
func (c *Client) SecurityControllerUpdatePolicy(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerUpdatePolicyWithBody ¶
func (*Client) SecurityControllerUpdateRole ¶
func (c *Client) SecurityControllerUpdateRole(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerUpdateRoleWithBody ¶
func (*Client) SecurityControllerUpdateRule ¶
func (c *Client) SecurityControllerUpdateRule(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerUpdateRuleWithBody ¶
func (*Client) SecurityControllerUpdateUser ¶
func (c *Client) SecurityControllerUpdateUser(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody) (*http.Response, error)
func (*Client) SecurityControllerUpdateUserWithBody ¶
func (*Client) SyscheckControllerDeleteSyscheckAgent ¶
func (*Client) SyscheckControllerGetLastScanAgent ¶
func (*Client) SyscheckControllerGetSyscheckAgent ¶
func (*Client) SyscheckControllerPutSyscheck ¶
func (*Client) SyscollectorControllerGetHardwareInfo ¶
func (*Client) SyscollectorControllerGetHotfixInfo ¶
func (*Client) SyscollectorControllerGetNetworkAddressInfo ¶
func (*Client) SyscollectorControllerGetNetworkInterfaceInfo ¶
func (*Client) SyscollectorControllerGetNetworkProtocolInfo ¶
func (*Client) SyscollectorControllerGetOsInfo ¶
func (*Client) SyscollectorControllerGetPackagesInfo ¶
func (*Client) SyscollectorControllerGetPortsInfo ¶
func (*Client) SyscollectorControllerGetProcessesInfo ¶
type ClientInterface ¶
type ClientInterface interface { // DefaultControllerDefaultInfo request DefaultControllerDefaultInfo(ctx context.Context, params *DefaultControllerDefaultInfoParams) (*http.Response, error) // ActiveResponseControllerRunCommand request with any body ActiveResponseControllerRunCommandWithBody(ctx context.Context, params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader) (*http.Response, error) ActiveResponseControllerRunCommand(ctx context.Context, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody) (*http.Response, error) // AgentsControllerDeleteAgents request AgentsControllerDeleteAgents(ctx context.Context, params *AgentsControllerDeleteAgentsParams) (*http.Response, error) // AgentsControllerGetAgents request AgentsControllerGetAgents(ctx context.Context, params *AgentsControllerGetAgentsParams) (*http.Response, error) // AgentsControllerAddAgent request with any body AgentsControllerAddAgentWithBody(ctx context.Context, params *AgentsControllerAddAgentParams, contentType string, body io.Reader) (*http.Response, error) AgentsControllerAddAgent(ctx context.Context, params *AgentsControllerAddAgentParams, body AgentsControllerAddAgentJSONRequestBody) (*http.Response, error) // AgentsControllerDeleteMultipleAgentSingleGroup request AgentsControllerDeleteMultipleAgentSingleGroup(ctx context.Context, params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*http.Response, error) // AgentsControllerPutMultipleAgentSingleGroup request AgentsControllerPutMultipleAgentSingleGroup(ctx context.Context, params *AgentsControllerPutMultipleAgentSingleGroupParams) (*http.Response, error) // AgentsControllerRestartAgentsByGroup request AgentsControllerRestartAgentsByGroup(ctx context.Context, groupId GroupId, params *AgentsControllerRestartAgentsByGroupParams) (*http.Response, error) // AgentsControllerInsertAgent request with any body AgentsControllerInsertAgentWithBody(ctx context.Context, params *AgentsControllerInsertAgentParams, contentType string, body io.Reader) (*http.Response, error) AgentsControllerInsertAgent(ctx context.Context, params *AgentsControllerInsertAgentParams, body AgentsControllerInsertAgentJSONRequestBody) (*http.Response, error) // AgentsControllerPostNewAgent request AgentsControllerPostNewAgent(ctx context.Context, params *AgentsControllerPostNewAgentParams) (*http.Response, error) // AgentsControllerGetAgentNoGroup request AgentsControllerGetAgentNoGroup(ctx context.Context, params *AgentsControllerGetAgentNoGroupParams) (*http.Response, error) // AgentsControllerRestartAgentsByNode request AgentsControllerRestartAgentsByNode(ctx context.Context, nodeId NodeId, params *AgentsControllerRestartAgentsByNodeParams) (*http.Response, error) // AgentsControllerGetAgentOutdated request AgentsControllerGetAgentOutdated(ctx context.Context, params *AgentsControllerGetAgentOutdatedParams) (*http.Response, error) // AgentsControllerRestartAgents request AgentsControllerRestartAgents(ctx context.Context, params *AgentsControllerRestartAgentsParams) (*http.Response, error) // AgentsControllerGetAgentFields request AgentsControllerGetAgentFields(ctx context.Context, params *AgentsControllerGetAgentFieldsParams) (*http.Response, error) // AgentsControllerGetAgentSummaryOs request AgentsControllerGetAgentSummaryOs(ctx context.Context, params *AgentsControllerGetAgentSummaryOsParams) (*http.Response, error) // AgentsControllerGetAgentSummaryStatus request AgentsControllerGetAgentSummaryStatus(ctx context.Context, params *AgentsControllerGetAgentSummaryStatusParams) (*http.Response, error) // AgentsControllerGetAgentConfig request AgentsControllerGetAgentConfig(ctx context.Context, agentId AgentId, component Component, configuration Configuration, params *AgentsControllerGetAgentConfigParams) (*http.Response, error) // AgentsControllerDeleteSingleAgentMultipleGroups request AgentsControllerDeleteSingleAgentMultipleGroups(ctx context.Context, agentId AgentId, params *AgentsControllerDeleteSingleAgentMultipleGroupsParams) (*http.Response, error) // AgentsControllerGetSyncAgent request AgentsControllerGetSyncAgent(ctx context.Context, agentId AgentId, params *AgentsControllerGetSyncAgentParams) (*http.Response, error) // AgentsControllerDeleteSingleAgentSingleGroup request AgentsControllerDeleteSingleAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentsControllerDeleteSingleAgentSingleGroupParams) (*http.Response, error) // AgentsControllerPutAgentSingleGroup request AgentsControllerPutAgentSingleGroup(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentsControllerPutAgentSingleGroupParams) (*http.Response, error) // AgentsControllerGetAgentKey request AgentsControllerGetAgentKey(ctx context.Context, agentId AgentId, params *AgentsControllerGetAgentKeyParams) (*http.Response, error) // AgentsControllerRestartAgent request AgentsControllerRestartAgent(ctx context.Context, agentId AgentId, params *AgentsControllerRestartAgentParams) (*http.Response, error) // AgentsControllerPutUpgradeAgent request AgentsControllerPutUpgradeAgent(ctx context.Context, agentId AgentId, params *AgentsControllerPutUpgradeAgentParams) (*http.Response, error) // AgentsControllerPutUpgradeCustomAgent request AgentsControllerPutUpgradeCustomAgent(ctx context.Context, agentId AgentId, params *AgentsControllerPutUpgradeCustomAgentParams) (*http.Response, error) // AgentsControllerGetAgentUpgrade request AgentsControllerGetAgentUpgrade(ctx context.Context, agentId AgentId, params *AgentsControllerGetAgentUpgradeParams) (*http.Response, error) // CiscatControllerGetAgentsCiscatResults request CiscatControllerGetAgentsCiscatResults(ctx context.Context, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams) (*http.Response, error) // ClusterControllerGetApiConfig request ClusterControllerGetApiConfig(ctx context.Context, params *ClusterControllerGetApiConfigParams) (*http.Response, error) // ClusterControllerGetConfValidation request ClusterControllerGetConfValidation(ctx context.Context, params *ClusterControllerGetConfValidationParams) (*http.Response, error) // ClusterControllerGetHealthcheck request ClusterControllerGetHealthcheck(ctx context.Context, params *ClusterControllerGetHealthcheckParams) (*http.Response, error) // ClusterControllerGetConfig request ClusterControllerGetConfig(ctx context.Context, params *ClusterControllerGetConfigParams) (*http.Response, error) // ClusterControllerGetClusterNode request ClusterControllerGetClusterNode(ctx context.Context, params *ClusterControllerGetClusterNodeParams) (*http.Response, error) // ClusterControllerGetClusterNodes request ClusterControllerGetClusterNodes(ctx context.Context, params *ClusterControllerGetClusterNodesParams) (*http.Response, error) // ClusterControllerPutRestart request ClusterControllerPutRestart(ctx context.Context, params *ClusterControllerPutRestartParams) (*http.Response, error) // ClusterControllerGetStatus request ClusterControllerGetStatus(ctx context.Context, params *ClusterControllerGetStatusParams) (*http.Response, error) // ClusterControllerGetConfigurationNode request ClusterControllerGetConfigurationNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams) (*http.Response, error) // ClusterControllerGetNodeConfig request ClusterControllerGetNodeConfig(ctx context.Context, nodeId NodeId, component Component, configuration Configuration, params *ClusterControllerGetNodeConfigParams) (*http.Response, error) // ClusterControllerDeleteFilesNode request ClusterControllerDeleteFilesNode(ctx context.Context, nodeId NodeId, params *ClusterControllerDeleteFilesNodeParams) (*http.Response, error) // ClusterControllerGetFilesNode request ClusterControllerGetFilesNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetFilesNodeParams) (*http.Response, error) // ClusterControllerPutFilesNode request with any body ClusterControllerPutFilesNodeWithBody(ctx context.Context, nodeId NodeId, params *ClusterControllerPutFilesNodeParams, contentType string, body io.Reader) (*http.Response, error) // ClusterControllerGetInfoNode request ClusterControllerGetInfoNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams) (*http.Response, error) // ClusterControllerGetLogNode request ClusterControllerGetLogNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams) (*http.Response, error) // ClusterControllerGetLogSummaryNode request ClusterControllerGetLogSummaryNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*http.Response, error) // ClusterControllerGetStatsNode request ClusterControllerGetStatsNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsNodeParams) (*http.Response, error) // ClusterControllerGetStatsAnalysisdNode request ClusterControllerGetStatsAnalysisdNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*http.Response, error) // ClusterControllerGetStatsHourlyNode request ClusterControllerGetStatsHourlyNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*http.Response, error) // ClusterControllerGetStatsRemotedNode request ClusterControllerGetStatsRemotedNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*http.Response, error) // ClusterControllerGetStatsWeeklyNode request ClusterControllerGetStatsWeeklyNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*http.Response, error) // ClusterControllerGetStatusNode request ClusterControllerGetStatusNode(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatusNodeParams) (*http.Response, error) // DecodersControllerGetDecoders request DecodersControllerGetDecoders(ctx context.Context, params *DecodersControllerGetDecodersParams) (*http.Response, error) // DecodersControllerGetDecodersFiles request DecodersControllerGetDecodersFiles(ctx context.Context, params *DecodersControllerGetDecodersFilesParams) (*http.Response, error) // DecodersControllerGetDownloadFile request DecodersControllerGetDownloadFile(ctx context.Context, filename DownloadFile, params *DecodersControllerGetDownloadFileParams) (*http.Response, error) // DecodersControllerGetDecodersParents request DecodersControllerGetDecodersParents(ctx context.Context, params *DecodersControllerGetDecodersParentsParams) (*http.Response, error) // ExperimentalControllerGetCisCatResults request ExperimentalControllerGetCisCatResults(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams) (*http.Response, error) // ExperimentalControllerClearSyscheckDatabase request ExperimentalControllerClearSyscheckDatabase(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams) (*http.Response, error) // ExperimentalControllerGetHardwareInfo request ExperimentalControllerGetHardwareInfo(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams) (*http.Response, error) // ExperimentalControllerGetHotfixesInfo request ExperimentalControllerGetHotfixesInfo(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams) (*http.Response, error) // ExperimentalControllerGetNetworkAddressInfo request ExperimentalControllerGetNetworkAddressInfo(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams) (*http.Response, error) // ExperimentalControllerGetNetworkInterfaceInfo request ExperimentalControllerGetNetworkInterfaceInfo(ctx context.Context, params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*http.Response, error) // ExperimentalControllerGetNetworkProtocolInfo request ExperimentalControllerGetNetworkProtocolInfo(ctx context.Context, params *ExperimentalControllerGetNetworkProtocolInfoParams) (*http.Response, error) // ExperimentalControllerGetOsInfo request ExperimentalControllerGetOsInfo(ctx context.Context, params *ExperimentalControllerGetOsInfoParams) (*http.Response, error) // ExperimentalControllerGetPackagesInfo request ExperimentalControllerGetPackagesInfo(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams) (*http.Response, error) // ExperimentalControllerGetPortsInfo request ExperimentalControllerGetPortsInfo(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams) (*http.Response, error) // ExperimentalControllerGetProcessesInfo request ExperimentalControllerGetProcessesInfo(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams) (*http.Response, error) // AgentsControllerDeleteGroups request AgentsControllerDeleteGroups(ctx context.Context, params *AgentsControllerDeleteGroupsParams) (*http.Response, error) // AgentsControllerGetListGroup request AgentsControllerGetListGroup(ctx context.Context, params *AgentsControllerGetListGroupParams) (*http.Response, error) // AgentsControllerPostGroup request AgentsControllerPostGroup(ctx context.Context, params *AgentsControllerPostGroupParams) (*http.Response, error) // AgentsControllerGetAgentsInGroup request AgentsControllerGetAgentsInGroup(ctx context.Context, groupId GroupId, params *AgentsControllerGetAgentsInGroupParams) (*http.Response, error) // AgentsControllerGetGroupConfig request AgentsControllerGetGroupConfig(ctx context.Context, groupId GroupId, params *AgentsControllerGetGroupConfigParams) (*http.Response, error) // AgentsControllerPutGroupConfig request with any body AgentsControllerPutGroupConfigWithBody(ctx context.Context, groupId GroupId, params *AgentsControllerPutGroupConfigParams, contentType string, body io.Reader) (*http.Response, error) // AgentsControllerGetGroupFiles request AgentsControllerGetGroupFiles(ctx context.Context, groupId GroupId, params *AgentsControllerGetGroupFilesParams) (*http.Response, error) // AgentsControllerGetGroupFileJson request AgentsControllerGetGroupFileJson(ctx context.Context, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileJsonParams) (*http.Response, error) // AgentsControllerGetGroupFileXml request AgentsControllerGetGroupFileXml(ctx context.Context, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileXmlParams) (*http.Response, error) // ListsControllerGetLists request ListsControllerGetLists(ctx context.Context, params *ListsControllerGetListsParams) (*http.Response, error) // ListsControllerGetListsFiles request ListsControllerGetListsFiles(ctx context.Context, params *ListsControllerGetListsFilesParams) (*http.Response, error) // ManagerControllerGetApiConfig request ManagerControllerGetApiConfig(ctx context.Context, params *ManagerControllerGetApiConfigParams) (*http.Response, error) // ManagerControllerGetConfiguration request ManagerControllerGetConfiguration(ctx context.Context, params *ManagerControllerGetConfigurationParams) (*http.Response, error) // ManagerControllerGetConfValidation request ManagerControllerGetConfValidation(ctx context.Context, params *ManagerControllerGetConfValidationParams) (*http.Response, error) // ManagerControllerGetManagerConfigOndemand request ManagerControllerGetManagerConfigOndemand(ctx context.Context, component Component, configuration Configuration, params *ManagerControllerGetManagerConfigOndemandParams) (*http.Response, error) // ManagerControllerDeleteFiles request ManagerControllerDeleteFiles(ctx context.Context, params *ManagerControllerDeleteFilesParams) (*http.Response, error) // ManagerControllerGetFiles request ManagerControllerGetFiles(ctx context.Context, params *ManagerControllerGetFilesParams) (*http.Response, error) // ManagerControllerPutFiles request with any body ManagerControllerPutFilesWithBody(ctx context.Context, params *ManagerControllerPutFilesParams, contentType string, body io.Reader) (*http.Response, error) // ManagerControllerGetInfo request ManagerControllerGetInfo(ctx context.Context, params *ManagerControllerGetInfoParams) (*http.Response, error) // ManagerControllerGetLog request ManagerControllerGetLog(ctx context.Context, params *ManagerControllerGetLogParams) (*http.Response, error) // ManagerControllerGetLogSummary request ManagerControllerGetLogSummary(ctx context.Context, params *ManagerControllerGetLogSummaryParams) (*http.Response, error) // ManagerControllerPutRestart request ManagerControllerPutRestart(ctx context.Context, params *ManagerControllerPutRestartParams) (*http.Response, error) // ManagerControllerGetStats request ManagerControllerGetStats(ctx context.Context, params *ManagerControllerGetStatsParams) (*http.Response, error) // ManagerControllerGetStatsAnalysisd request ManagerControllerGetStatsAnalysisd(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams) (*http.Response, error) // ManagerControllerGetStatsHourly request ManagerControllerGetStatsHourly(ctx context.Context, params *ManagerControllerGetStatsHourlyParams) (*http.Response, error) // ManagerControllerGetStatsRemoted request ManagerControllerGetStatsRemoted(ctx context.Context, params *ManagerControllerGetStatsRemotedParams) (*http.Response, error) // ManagerControllerGetStatsWeekly request ManagerControllerGetStatsWeekly(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams) (*http.Response, error) // ManagerControllerGetStatus request ManagerControllerGetStatus(ctx context.Context, params *ManagerControllerGetStatusParams) (*http.Response, error) // MitreControllerGetAttack request MitreControllerGetAttack(ctx context.Context, params *MitreControllerGetAttackParams) (*http.Response, error) // OverviewControllerGetOverviewAgents request OverviewControllerGetOverviewAgents(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams) (*http.Response, error) // RulesControllerGetRules request RulesControllerGetRules(ctx context.Context, params *RulesControllerGetRulesParams) (*http.Response, error) // RulesControllerGetRulesFiles request RulesControllerGetRulesFiles(ctx context.Context, params *RulesControllerGetRulesFilesParams) (*http.Response, error) // RulesControllerGetDownloadFile request RulesControllerGetDownloadFile(ctx context.Context, filename DownloadFile, params *RulesControllerGetDownloadFileParams) (*http.Response, error) // RulesControllerGetRulesGroups request RulesControllerGetRulesGroups(ctx context.Context, params *RulesControllerGetRulesGroupsParams) (*http.Response, error) // RulesControllerGetRulesRequirement request RulesControllerGetRulesRequirement(ctx context.Context, requirement RuleRequirement, params *RulesControllerGetRulesRequirementParams) (*http.Response, error) // ScaControllerGetScaAgent request ScaControllerGetScaAgent(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams) (*http.Response, error) // ScaControllerGetScaChecks request ScaControllerGetScaChecks(ctx context.Context, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams) (*http.Response, error) // SecurityControllerGetRbacActions request SecurityControllerGetRbacActions(ctx context.Context, params *SecurityControllerGetRbacActionsParams) (*http.Response, error) // SecurityControllerDeleteSecurityConfig request SecurityControllerDeleteSecurityConfig(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams) (*http.Response, error) // SecurityControllerGetSecurityConfig request SecurityControllerGetSecurityConfig(ctx context.Context, params *SecurityControllerGetSecurityConfigParams) (*http.Response, error) // SecurityControllerPutSecurityConfig request with any body SecurityControllerPutSecurityConfigWithBody(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerPutSecurityConfig(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody) (*http.Response, error) // SecurityControllerRemovePolicies request SecurityControllerRemovePolicies(ctx context.Context, params *SecurityControllerRemovePoliciesParams) (*http.Response, error) // SecurityControllerGetPolicies request SecurityControllerGetPolicies(ctx context.Context, params *SecurityControllerGetPoliciesParams) (*http.Response, error) // SecurityControllerAddPolicy request with any body SecurityControllerAddPolicyWithBody(ctx context.Context, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerAddPolicy(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody) (*http.Response, error) // SecurityControllerUpdatePolicy request with any body SecurityControllerUpdatePolicyWithBody(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerUpdatePolicy(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody) (*http.Response, error) // SecurityControllerGetRbacResources request SecurityControllerGetRbacResources(ctx context.Context, params *SecurityControllerGetRbacResourcesParams) (*http.Response, error) // SecurityControllerRemoveRoles request SecurityControllerRemoveRoles(ctx context.Context, params *SecurityControllerRemoveRolesParams) (*http.Response, error) // SecurityControllerGetRoles request SecurityControllerGetRoles(ctx context.Context, params *SecurityControllerGetRolesParams) (*http.Response, error) // SecurityControllerAddRole request with any body SecurityControllerAddRoleWithBody(ctx context.Context, params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerAddRole(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody) (*http.Response, error) // SecurityControllerUpdateRole request with any body SecurityControllerUpdateRoleWithBody(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerUpdateRole(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody) (*http.Response, error) // SecurityControllerRemoveRolePolicy request SecurityControllerRemoveRolePolicy(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams) (*http.Response, error) // SecurityControllerSetRolePolicy request SecurityControllerSetRolePolicy(ctx context.Context, roleId RoleId, params *SecurityControllerSetRolePolicyParams) (*http.Response, error) // SecurityControllerRemoveRoleRule request SecurityControllerRemoveRoleRule(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams) (*http.Response, error) // SecurityControllerSetRoleRule request SecurityControllerSetRoleRule(ctx context.Context, roleId RoleId, params *SecurityControllerSetRoleRuleParams) (*http.Response, error) // SecurityControllerRemoveRules request SecurityControllerRemoveRules(ctx context.Context, params *SecurityControllerRemoveRulesParams) (*http.Response, error) // SecurityControllerGetRules request SecurityControllerGetRules(ctx context.Context, params *SecurityControllerGetRulesParams) (*http.Response, error) // SecurityControllerAddRule request with any body SecurityControllerAddRuleWithBody(ctx context.Context, params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerAddRule(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody) (*http.Response, error) // SecurityControllerUpdateRule request with any body SecurityControllerUpdateRuleWithBody(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerUpdateRule(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody) (*http.Response, error) // SecurityControllerLogoutUser request SecurityControllerLogoutUser(ctx context.Context) (*http.Response, error) // SecurityControllerLoginUser request SecurityControllerLoginUser(ctx context.Context, params *SecurityControllerLoginUserParams) (*http.Response, error) // SecurityControllerLoginUserRunAs request with any body SecurityControllerLoginUserRunAsWithBody(ctx context.Context, params *SecurityControllerLoginUserParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerLoginUserRunAs(ctx context.Context, params *SecurityControllerLoginUserParams, body SecurityControllerLoginUserJSONRequestBody) (*http.Response, error) // SecurityControllerRevokeAllTokens request SecurityControllerRevokeAllTokens(ctx context.Context) (*http.Response, error) // SecurityControllerDeleteUsers request SecurityControllerDeleteUsers(ctx context.Context, params *SecurityControllerDeleteUsersParams) (*http.Response, error) // SecurityControllerGetUsers request SecurityControllerGetUsers(ctx context.Context, params *SecurityControllerGetUsersParams) (*http.Response, error) // SecurityControllerCreateUser request with any body SecurityControllerCreateUserWithBody(ctx context.Context, params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerCreateUser(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody) (*http.Response, error) // SecurityControllerGetUserMe request SecurityControllerGetUserMe(ctx context.Context, params *SecurityControllerGetUserMeParams) (*http.Response, error) // SecurityControllerGetUserMePolicies request SecurityControllerGetUserMePolicies(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams) (*http.Response, error) // SecurityControllerUpdateUser request with any body SecurityControllerUpdateUserWithBody(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader) (*http.Response, error) SecurityControllerUpdateUser(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody) (*http.Response, error) // SecurityControllerRemoveUserRole request SecurityControllerRemoveUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*http.Response, error) // SecurityControllerSetUserRole request SecurityControllerSetUserRole(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams) (*http.Response, error) // SyscheckControllerPutSyscheck request SyscheckControllerPutSyscheck(ctx context.Context, params *SyscheckControllerPutSyscheckParams) (*http.Response, error) // SyscheckControllerDeleteSyscheckAgent request SyscheckControllerDeleteSyscheckAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*http.Response, error) // SyscheckControllerGetSyscheckAgent request SyscheckControllerGetSyscheckAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*http.Response, error) // SyscheckControllerGetLastScanAgent request SyscheckControllerGetLastScanAgent(ctx context.Context, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams) (*http.Response, error) // SyscollectorControllerGetHardwareInfo request SyscollectorControllerGetHardwareInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*http.Response, error) // SyscollectorControllerGetHotfixInfo request SyscollectorControllerGetHotfixInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*http.Response, error) // SyscollectorControllerGetNetworkAddressInfo request SyscollectorControllerGetNetworkAddressInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*http.Response, error) // SyscollectorControllerGetNetworkInterfaceInfo request SyscollectorControllerGetNetworkInterfaceInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*http.Response, error) // SyscollectorControllerGetNetworkProtocolInfo request SyscollectorControllerGetNetworkProtocolInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*http.Response, error) // SyscollectorControllerGetOsInfo request SyscollectorControllerGetOsInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetOsInfoParams) (*http.Response, error) // SyscollectorControllerGetPackagesInfo request SyscollectorControllerGetPackagesInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*http.Response, error) // SyscollectorControllerGetPortsInfo request SyscollectorControllerGetPortsInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams) (*http.Response, error) // SyscollectorControllerGetProcessesInfo request SyscollectorControllerGetProcessesInfo(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams) (*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 ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithLogin ¶
func WithLogin(user string, password string) ClientOption
WithLogin specifies the credentials for
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) (*ActiveResponseControllerRunCommandResponse, error)
ActiveResponseControllerRunCommandWithBodyWithResponse request with arbitrary body returning *ActiveResponseControllerRunCommandResponse
func (*ClientWithResponses) ActiveResponseControllerRunCommandWithResponse ¶
func (c *ClientWithResponses) ActiveResponseControllerRunCommandWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody) (*ActiveResponseControllerRunCommandResponse, error)
func (*ClientWithResponses) AgentsControllerAddAgentWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsControllerAddAgentWithBodyWithResponse(ctx context.Context, params *AgentsControllerAddAgentParams, contentType string, body io.Reader) (*AgentsControllerAddAgentResponse, error)
AgentsControllerAddAgentWithBodyWithResponse request with arbitrary body returning *AgentsControllerAddAgentResponse
func (*ClientWithResponses) AgentsControllerAddAgentWithResponse ¶
func (c *ClientWithResponses) AgentsControllerAddAgentWithResponse(ctx context.Context, params *AgentsControllerAddAgentParams, body AgentsControllerAddAgentJSONRequestBody) (*AgentsControllerAddAgentResponse, error)
func (*ClientWithResponses) AgentsControllerDeleteAgentsWithResponse ¶
func (c *ClientWithResponses) AgentsControllerDeleteAgentsWithResponse(ctx context.Context, params *AgentsControllerDeleteAgentsParams) (*AgentsControllerDeleteAgentsResponse, error)
AgentsControllerDeleteAgentsWithResponse request returning *AgentsControllerDeleteAgentsResponse
func (*ClientWithResponses) AgentsControllerDeleteGroupsWithResponse ¶
func (c *ClientWithResponses) AgentsControllerDeleteGroupsWithResponse(ctx context.Context, params *AgentsControllerDeleteGroupsParams) (*AgentsControllerDeleteGroupsResponse, error)
AgentsControllerDeleteGroupsWithResponse request returning *AgentsControllerDeleteGroupsResponse
func (*ClientWithResponses) AgentsControllerDeleteMultipleAgentSingleGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerDeleteMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*AgentsControllerDeleteMultipleAgentSingleGroupResponse, error)
AgentsControllerDeleteMultipleAgentSingleGroupWithResponse request returning *AgentsControllerDeleteMultipleAgentSingleGroupResponse
func (*ClientWithResponses) AgentsControllerDeleteSingleAgentMultipleGroupsWithResponse ¶
func (c *ClientWithResponses) AgentsControllerDeleteSingleAgentMultipleGroupsWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerDeleteSingleAgentMultipleGroupsParams) (*AgentsControllerDeleteSingleAgentMultipleGroupsResponse, error)
AgentsControllerDeleteSingleAgentMultipleGroupsWithResponse request returning *AgentsControllerDeleteSingleAgentMultipleGroupsResponse
func (*ClientWithResponses) AgentsControllerDeleteSingleAgentSingleGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerDeleteSingleAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentsControllerDeleteSingleAgentSingleGroupParams) (*AgentsControllerDeleteSingleAgentSingleGroupResponse, error)
AgentsControllerDeleteSingleAgentSingleGroupWithResponse request returning *AgentsControllerDeleteSingleAgentSingleGroupResponse
func (*ClientWithResponses) AgentsControllerGetAgentConfigWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentConfigWithResponse(ctx context.Context, agentId AgentId, component Component, configuration Configuration, params *AgentsControllerGetAgentConfigParams) (*AgentsControllerGetAgentConfigResponse, error)
AgentsControllerGetAgentConfigWithResponse request returning *AgentsControllerGetAgentConfigResponse
func (*ClientWithResponses) AgentsControllerGetAgentFieldsWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentFieldsWithResponse(ctx context.Context, params *AgentsControllerGetAgentFieldsParams) (*AgentsControllerGetAgentFieldsResponse, error)
AgentsControllerGetAgentFieldsWithResponse request returning *AgentsControllerGetAgentFieldsResponse
func (*ClientWithResponses) AgentsControllerGetAgentKeyWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentKeyWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerGetAgentKeyParams) (*AgentsControllerGetAgentKeyResponse, error)
AgentsControllerGetAgentKeyWithResponse request returning *AgentsControllerGetAgentKeyResponse
func (*ClientWithResponses) AgentsControllerGetAgentNoGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentNoGroupWithResponse(ctx context.Context, params *AgentsControllerGetAgentNoGroupParams) (*AgentsControllerGetAgentNoGroupResponse, error)
AgentsControllerGetAgentNoGroupWithResponse request returning *AgentsControllerGetAgentNoGroupResponse
func (*ClientWithResponses) AgentsControllerGetAgentOutdatedWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentOutdatedWithResponse(ctx context.Context, params *AgentsControllerGetAgentOutdatedParams) (*AgentsControllerGetAgentOutdatedResponse, error)
AgentsControllerGetAgentOutdatedWithResponse request returning *AgentsControllerGetAgentOutdatedResponse
func (*ClientWithResponses) AgentsControllerGetAgentSummaryOsWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentSummaryOsWithResponse(ctx context.Context, params *AgentsControllerGetAgentSummaryOsParams) (*AgentsControllerGetAgentSummaryOsResponse, error)
AgentsControllerGetAgentSummaryOsWithResponse request returning *AgentsControllerGetAgentSummaryOsResponse
func (*ClientWithResponses) AgentsControllerGetAgentSummaryStatusWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentSummaryStatusWithResponse(ctx context.Context, params *AgentsControllerGetAgentSummaryStatusParams) (*AgentsControllerGetAgentSummaryStatusResponse, error)
AgentsControllerGetAgentSummaryStatusWithResponse request returning *AgentsControllerGetAgentSummaryStatusResponse
func (*ClientWithResponses) AgentsControllerGetAgentUpgradeWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentUpgradeWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerGetAgentUpgradeParams) (*AgentsControllerGetAgentUpgradeResponse, error)
AgentsControllerGetAgentUpgradeWithResponse request returning *AgentsControllerGetAgentUpgradeResponse
func (*ClientWithResponses) AgentsControllerGetAgentsInGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentsInGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerGetAgentsInGroupParams) (*AgentsControllerGetAgentsInGroupResponse, error)
AgentsControllerGetAgentsInGroupWithResponse request returning *AgentsControllerGetAgentsInGroupResponse
func (*ClientWithResponses) AgentsControllerGetAgentsWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetAgentsWithResponse(ctx context.Context, params *AgentsControllerGetAgentsParams) (*AgentsControllerGetAgentsResponse, error)
AgentsControllerGetAgentsWithResponse request returning *AgentsControllerGetAgentsResponse
func (*ClientWithResponses) AgentsControllerGetGroupConfigWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetGroupConfigWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerGetGroupConfigParams) (*AgentsControllerGetGroupConfigResponse, error)
AgentsControllerGetGroupConfigWithResponse request returning *AgentsControllerGetGroupConfigResponse
func (*ClientWithResponses) AgentsControllerGetGroupFileJsonWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetGroupFileJsonWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileJsonParams) (*AgentsControllerGetGroupFileJsonResponse, error)
AgentsControllerGetGroupFileJsonWithResponse request returning *AgentsControllerGetGroupFileJsonResponse
func (*ClientWithResponses) AgentsControllerGetGroupFileXmlWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetGroupFileXmlWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileXmlParams) (*AgentsControllerGetGroupFileXmlResponse, error)
AgentsControllerGetGroupFileXmlWithResponse request returning *AgentsControllerGetGroupFileXmlResponse
func (*ClientWithResponses) AgentsControllerGetGroupFilesWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetGroupFilesWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerGetGroupFilesParams) (*AgentsControllerGetGroupFilesResponse, error)
AgentsControllerGetGroupFilesWithResponse request returning *AgentsControllerGetGroupFilesResponse
func (*ClientWithResponses) AgentsControllerGetListGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetListGroupWithResponse(ctx context.Context, params *AgentsControllerGetListGroupParams) (*AgentsControllerGetListGroupResponse, error)
AgentsControllerGetListGroupWithResponse request returning *AgentsControllerGetListGroupResponse
func (*ClientWithResponses) AgentsControllerGetSyncAgentWithResponse ¶
func (c *ClientWithResponses) AgentsControllerGetSyncAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerGetSyncAgentParams) (*AgentsControllerGetSyncAgentResponse, error)
AgentsControllerGetSyncAgentWithResponse request returning *AgentsControllerGetSyncAgentResponse
func (*ClientWithResponses) AgentsControllerInsertAgentWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsControllerInsertAgentWithBodyWithResponse(ctx context.Context, params *AgentsControllerInsertAgentParams, contentType string, body io.Reader) (*AgentsControllerInsertAgentResponse, error)
AgentsControllerInsertAgentWithBodyWithResponse request with arbitrary body returning *AgentsControllerInsertAgentResponse
func (*ClientWithResponses) AgentsControllerInsertAgentWithResponse ¶
func (c *ClientWithResponses) AgentsControllerInsertAgentWithResponse(ctx context.Context, params *AgentsControllerInsertAgentParams, body AgentsControllerInsertAgentJSONRequestBody) (*AgentsControllerInsertAgentResponse, error)
func (*ClientWithResponses) AgentsControllerPostGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerPostGroupWithResponse(ctx context.Context, params *AgentsControllerPostGroupParams) (*AgentsControllerPostGroupResponse, error)
AgentsControllerPostGroupWithResponse request returning *AgentsControllerPostGroupResponse
func (*ClientWithResponses) AgentsControllerPostNewAgentWithResponse ¶
func (c *ClientWithResponses) AgentsControllerPostNewAgentWithResponse(ctx context.Context, params *AgentsControllerPostNewAgentParams) (*AgentsControllerPostNewAgentResponse, error)
AgentsControllerPostNewAgentWithResponse request returning *AgentsControllerPostNewAgentResponse
func (*ClientWithResponses) AgentsControllerPutAgentSingleGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerPutAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentsControllerPutAgentSingleGroupParams) (*AgentsControllerPutAgentSingleGroupResponse, error)
AgentsControllerPutAgentSingleGroupWithResponse request returning *AgentsControllerPutAgentSingleGroupResponse
func (*ClientWithResponses) AgentsControllerPutGroupConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsControllerPutGroupConfigWithBodyWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerPutGroupConfigParams, contentType string, body io.Reader) (*AgentsControllerPutGroupConfigResponse, error)
AgentsControllerPutGroupConfigWithBodyWithResponse request with arbitrary body returning *AgentsControllerPutGroupConfigResponse
func (*ClientWithResponses) AgentsControllerPutMultipleAgentSingleGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerPutMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentsControllerPutMultipleAgentSingleGroupParams) (*AgentsControllerPutMultipleAgentSingleGroupResponse, error)
AgentsControllerPutMultipleAgentSingleGroupWithResponse request returning *AgentsControllerPutMultipleAgentSingleGroupResponse
func (*ClientWithResponses) AgentsControllerPutUpgradeAgentWithResponse ¶
func (c *ClientWithResponses) AgentsControllerPutUpgradeAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerPutUpgradeAgentParams) (*AgentsControllerPutUpgradeAgentResponse, error)
AgentsControllerPutUpgradeAgentWithResponse request returning *AgentsControllerPutUpgradeAgentResponse
func (*ClientWithResponses) AgentsControllerPutUpgradeCustomAgentWithResponse ¶
func (c *ClientWithResponses) AgentsControllerPutUpgradeCustomAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerPutUpgradeCustomAgentParams) (*AgentsControllerPutUpgradeCustomAgentResponse, error)
AgentsControllerPutUpgradeCustomAgentWithResponse request returning *AgentsControllerPutUpgradeCustomAgentResponse
func (*ClientWithResponses) AgentsControllerRestartAgentWithResponse ¶
func (c *ClientWithResponses) AgentsControllerRestartAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerRestartAgentParams) (*AgentsControllerRestartAgentResponse, error)
AgentsControllerRestartAgentWithResponse request returning *AgentsControllerRestartAgentResponse
func (*ClientWithResponses) AgentsControllerRestartAgentsByGroupWithResponse ¶
func (c *ClientWithResponses) AgentsControllerRestartAgentsByGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerRestartAgentsByGroupParams) (*AgentsControllerRestartAgentsByGroupResponse, error)
AgentsControllerRestartAgentsByGroupWithResponse request returning *AgentsControllerRestartAgentsByGroupResponse
func (*ClientWithResponses) AgentsControllerRestartAgentsByNodeWithResponse ¶
func (c *ClientWithResponses) AgentsControllerRestartAgentsByNodeWithResponse(ctx context.Context, nodeId NodeId, params *AgentsControllerRestartAgentsByNodeParams) (*AgentsControllerRestartAgentsByNodeResponse, error)
AgentsControllerRestartAgentsByNodeWithResponse request returning *AgentsControllerRestartAgentsByNodeResponse
func (*ClientWithResponses) AgentsControllerRestartAgentsWithResponse ¶
func (c *ClientWithResponses) AgentsControllerRestartAgentsWithResponse(ctx context.Context, params *AgentsControllerRestartAgentsParams) (*AgentsControllerRestartAgentsResponse, error)
AgentsControllerRestartAgentsWithResponse request returning *AgentsControllerRestartAgentsResponse
func (*ClientWithResponses) Authenticate ¶
func (c *ClientWithResponses) Authenticate() error
Authenticate login using basic auth to optain a token
func (*ClientWithResponses) CiscatControllerGetAgentsCiscatResultsWithResponse ¶
func (c *ClientWithResponses) CiscatControllerGetAgentsCiscatResultsWithResponse(ctx context.Context, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams) (*CiscatControllerGetAgentsCiscatResultsResponse, error)
CiscatControllerGetAgentsCiscatResultsWithResponse request returning *CiscatControllerGetAgentsCiscatResultsResponse
func (*ClientWithResponses) ClusterControllerDeleteFilesNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerDeleteFilesNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerDeleteFilesNodeParams) (*ClusterControllerDeleteFilesNodeResponse, error)
ClusterControllerDeleteFilesNodeWithResponse request returning *ClusterControllerDeleteFilesNodeResponse
func (*ClientWithResponses) ClusterControllerGetApiConfigWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetApiConfigWithResponse(ctx context.Context, params *ClusterControllerGetApiConfigParams) (*ClusterControllerGetApiConfigResponse, error)
ClusterControllerGetApiConfigWithResponse request returning *ClusterControllerGetApiConfigResponse
func (*ClientWithResponses) ClusterControllerGetClusterNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetClusterNodeWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodeParams) (*ClusterControllerGetClusterNodeResponse, error)
ClusterControllerGetClusterNodeWithResponse request returning *ClusterControllerGetClusterNodeResponse
func (*ClientWithResponses) ClusterControllerGetClusterNodesWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetClusterNodesWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodesParams) (*ClusterControllerGetClusterNodesResponse, error)
ClusterControllerGetClusterNodesWithResponse request returning *ClusterControllerGetClusterNodesResponse
func (*ClientWithResponses) ClusterControllerGetConfValidationWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetConfValidationWithResponse(ctx context.Context, params *ClusterControllerGetConfValidationParams) (*ClusterControllerGetConfValidationResponse, error)
ClusterControllerGetConfValidationWithResponse request returning *ClusterControllerGetConfValidationResponse
func (*ClientWithResponses) ClusterControllerGetConfigWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetConfigWithResponse(ctx context.Context, params *ClusterControllerGetConfigParams) (*ClusterControllerGetConfigResponse, error)
ClusterControllerGetConfigWithResponse request returning *ClusterControllerGetConfigResponse
func (*ClientWithResponses) ClusterControllerGetConfigurationNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetConfigurationNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams) (*ClusterControllerGetConfigurationNodeResponse, error)
ClusterControllerGetConfigurationNodeWithResponse request returning *ClusterControllerGetConfigurationNodeResponse
func (*ClientWithResponses) ClusterControllerGetFilesNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetFilesNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetFilesNodeParams) (*ClusterControllerGetFilesNodeResponse, error)
ClusterControllerGetFilesNodeWithResponse request returning *ClusterControllerGetFilesNodeResponse
func (*ClientWithResponses) ClusterControllerGetHealthcheckWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetHealthcheckWithResponse(ctx context.Context, params *ClusterControllerGetHealthcheckParams) (*ClusterControllerGetHealthcheckResponse, error)
ClusterControllerGetHealthcheckWithResponse request returning *ClusterControllerGetHealthcheckResponse
func (*ClientWithResponses) ClusterControllerGetInfoNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetInfoNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams) (*ClusterControllerGetInfoNodeResponse, error)
ClusterControllerGetInfoNodeWithResponse request returning *ClusterControllerGetInfoNodeResponse
func (*ClientWithResponses) ClusterControllerGetLogNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetLogNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams) (*ClusterControllerGetLogNodeResponse, error)
ClusterControllerGetLogNodeWithResponse request returning *ClusterControllerGetLogNodeResponse
func (*ClientWithResponses) ClusterControllerGetLogSummaryNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetLogSummaryNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*ClusterControllerGetLogSummaryNodeResponse, error)
ClusterControllerGetLogSummaryNodeWithResponse request returning *ClusterControllerGetLogSummaryNodeResponse
func (*ClientWithResponses) ClusterControllerGetNodeConfigWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetNodeConfigWithResponse(ctx context.Context, nodeId NodeId, component Component, configuration Configuration, params *ClusterControllerGetNodeConfigParams) (*ClusterControllerGetNodeConfigResponse, error)
ClusterControllerGetNodeConfigWithResponse request returning *ClusterControllerGetNodeConfigResponse
func (*ClientWithResponses) ClusterControllerGetStatsAnalysisdNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsAnalysisdNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*ClusterControllerGetStatsAnalysisdNodeResponse, error)
ClusterControllerGetStatsAnalysisdNodeWithResponse request returning *ClusterControllerGetStatsAnalysisdNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsHourlyNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsHourlyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*ClusterControllerGetStatsHourlyNodeResponse, error)
ClusterControllerGetStatsHourlyNodeWithResponse request returning *ClusterControllerGetStatsHourlyNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsNodeParams) (*ClusterControllerGetStatsNodeResponse, error)
ClusterControllerGetStatsNodeWithResponse request returning *ClusterControllerGetStatsNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsRemotedNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsRemotedNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*ClusterControllerGetStatsRemotedNodeResponse, error)
ClusterControllerGetStatsRemotedNodeWithResponse request returning *ClusterControllerGetStatsRemotedNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatsWeeklyNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatsWeeklyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*ClusterControllerGetStatsWeeklyNodeResponse, error)
ClusterControllerGetStatsWeeklyNodeWithResponse request returning *ClusterControllerGetStatsWeeklyNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatusNodeWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatusNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatusNodeParams) (*ClusterControllerGetStatusNodeResponse, error)
ClusterControllerGetStatusNodeWithResponse request returning *ClusterControllerGetStatusNodeResponse
func (*ClientWithResponses) ClusterControllerGetStatusWithResponse ¶
func (c *ClientWithResponses) ClusterControllerGetStatusWithResponse(ctx context.Context, params *ClusterControllerGetStatusParams) (*ClusterControllerGetStatusResponse, error)
ClusterControllerGetStatusWithResponse request returning *ClusterControllerGetStatusResponse
func (*ClientWithResponses) ClusterControllerPutFilesNodeWithBodyWithResponse ¶
func (c *ClientWithResponses) ClusterControllerPutFilesNodeWithBodyWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerPutFilesNodeParams, contentType string, body io.Reader) (*ClusterControllerPutFilesNodeResponse, error)
ClusterControllerPutFilesNodeWithBodyWithResponse request with arbitrary body returning *ClusterControllerPutFilesNodeResponse
func (*ClientWithResponses) ClusterControllerPutRestartWithResponse ¶
func (c *ClientWithResponses) ClusterControllerPutRestartWithResponse(ctx context.Context, params *ClusterControllerPutRestartParams) (*ClusterControllerPutRestartResponse, error)
ClusterControllerPutRestartWithResponse request returning *ClusterControllerPutRestartResponse
func (*ClientWithResponses) DecodersControllerGetDecodersFilesWithResponse ¶
func (c *ClientWithResponses) DecodersControllerGetDecodersFilesWithResponse(ctx context.Context, params *DecodersControllerGetDecodersFilesParams) (*DecodersControllerGetDecodersFilesResponse, error)
DecodersControllerGetDecodersFilesWithResponse request returning *DecodersControllerGetDecodersFilesResponse
func (*ClientWithResponses) DecodersControllerGetDecodersParentsWithResponse ¶
func (c *ClientWithResponses) DecodersControllerGetDecodersParentsWithResponse(ctx context.Context, params *DecodersControllerGetDecodersParentsParams) (*DecodersControllerGetDecodersParentsResponse, error)
DecodersControllerGetDecodersParentsWithResponse request returning *DecodersControllerGetDecodersParentsResponse
func (*ClientWithResponses) DecodersControllerGetDecodersWithResponse ¶
func (c *ClientWithResponses) DecodersControllerGetDecodersWithResponse(ctx context.Context, params *DecodersControllerGetDecodersParams) (*DecodersControllerGetDecodersResponse, error)
DecodersControllerGetDecodersWithResponse request returning *DecodersControllerGetDecodersResponse
func (*ClientWithResponses) DecodersControllerGetDownloadFileWithResponse ¶
func (c *ClientWithResponses) DecodersControllerGetDownloadFileWithResponse(ctx context.Context, filename DownloadFile, params *DecodersControllerGetDownloadFileParams) (*DecodersControllerGetDownloadFileResponse, error)
DecodersControllerGetDownloadFileWithResponse request returning *DecodersControllerGetDownloadFileResponse
func (*ClientWithResponses) DefaultControllerDefaultInfoWithResponse ¶
func (c *ClientWithResponses) DefaultControllerDefaultInfoWithResponse(ctx context.Context, params *DefaultControllerDefaultInfoParams) (*DefaultControllerDefaultInfoResponse, error)
DefaultControllerDefaultInfoWithResponse request returning *DefaultControllerDefaultInfoResponse
func (*ClientWithResponses) ExperimentalControllerClearSyscheckDatabaseWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerClearSyscheckDatabaseWithResponse(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams) (*ExperimentalControllerClearSyscheckDatabaseResponse, error)
ExperimentalControllerClearSyscheckDatabaseWithResponse request returning *ExperimentalControllerClearSyscheckDatabaseResponse
func (*ClientWithResponses) ExperimentalControllerGetCisCatResultsWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetCisCatResultsWithResponse(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams) (*ExperimentalControllerGetCisCatResultsResponse, error)
ExperimentalControllerGetCisCatResultsWithResponse request returning *ExperimentalControllerGetCisCatResultsResponse
func (*ClientWithResponses) ExperimentalControllerGetHardwareInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetHardwareInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams) (*ExperimentalControllerGetHardwareInfoResponse, error)
ExperimentalControllerGetHardwareInfoWithResponse request returning *ExperimentalControllerGetHardwareInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetHotfixesInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetHotfixesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams) (*ExperimentalControllerGetHotfixesInfoResponse, error)
ExperimentalControllerGetHotfixesInfoWithResponse request returning *ExperimentalControllerGetHotfixesInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetNetworkAddressInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetNetworkAddressInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams) (*ExperimentalControllerGetNetworkAddressInfoResponse, error)
ExperimentalControllerGetNetworkAddressInfoWithResponse request returning *ExperimentalControllerGetNetworkAddressInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetNetworkInterfaceInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*ExperimentalControllerGetNetworkInterfaceInfoResponse, error)
ExperimentalControllerGetNetworkInterfaceInfoWithResponse request returning *ExperimentalControllerGetNetworkInterfaceInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetNetworkProtocolInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkProtocolInfoParams) (*ExperimentalControllerGetNetworkProtocolInfoResponse, error)
ExperimentalControllerGetNetworkProtocolInfoWithResponse request returning *ExperimentalControllerGetNetworkProtocolInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetOsInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetOsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetOsInfoParams) (*ExperimentalControllerGetOsInfoResponse, error)
ExperimentalControllerGetOsInfoWithResponse request returning *ExperimentalControllerGetOsInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetPackagesInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetPackagesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams) (*ExperimentalControllerGetPackagesInfoResponse, error)
ExperimentalControllerGetPackagesInfoWithResponse request returning *ExperimentalControllerGetPackagesInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetPortsInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetPortsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams) (*ExperimentalControllerGetPortsInfoResponse, error)
ExperimentalControllerGetPortsInfoWithResponse request returning *ExperimentalControllerGetPortsInfoResponse
func (*ClientWithResponses) ExperimentalControllerGetProcessesInfoWithResponse ¶
func (c *ClientWithResponses) ExperimentalControllerGetProcessesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams) (*ExperimentalControllerGetProcessesInfoResponse, error)
ExperimentalControllerGetProcessesInfoWithResponse request returning *ExperimentalControllerGetProcessesInfoResponse
func (*ClientWithResponses) ListsControllerGetListsFilesWithResponse ¶
func (c *ClientWithResponses) ListsControllerGetListsFilesWithResponse(ctx context.Context, params *ListsControllerGetListsFilesParams) (*ListsControllerGetListsFilesResponse, error)
ListsControllerGetListsFilesWithResponse request returning *ListsControllerGetListsFilesResponse
func (*ClientWithResponses) ListsControllerGetListsWithResponse ¶
func (c *ClientWithResponses) ListsControllerGetListsWithResponse(ctx context.Context, params *ListsControllerGetListsParams) (*ListsControllerGetListsResponse, error)
ListsControllerGetListsWithResponse request returning *ListsControllerGetListsResponse
func (*ClientWithResponses) ManagerControllerDeleteFilesWithResponse ¶
func (c *ClientWithResponses) ManagerControllerDeleteFilesWithResponse(ctx context.Context, params *ManagerControllerDeleteFilesParams) (*ManagerControllerDeleteFilesResponse, error)
ManagerControllerDeleteFilesWithResponse request returning *ManagerControllerDeleteFilesResponse
func (*ClientWithResponses) ManagerControllerGetApiConfigWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetApiConfigWithResponse(ctx context.Context, params *ManagerControllerGetApiConfigParams) (*ManagerControllerGetApiConfigResponse, error)
ManagerControllerGetApiConfigWithResponse request returning *ManagerControllerGetApiConfigResponse
func (*ClientWithResponses) ManagerControllerGetConfValidationWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetConfValidationWithResponse(ctx context.Context, params *ManagerControllerGetConfValidationParams) (*ManagerControllerGetConfValidationResponse, error)
ManagerControllerGetConfValidationWithResponse request returning *ManagerControllerGetConfValidationResponse
func (*ClientWithResponses) ManagerControllerGetConfigurationWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetConfigurationWithResponse(ctx context.Context, params *ManagerControllerGetConfigurationParams) (*ManagerControllerGetConfigurationResponse, error)
ManagerControllerGetConfigurationWithResponse request returning *ManagerControllerGetConfigurationResponse
func (*ClientWithResponses) ManagerControllerGetFilesWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetFilesWithResponse(ctx context.Context, params *ManagerControllerGetFilesParams) (*ManagerControllerGetFilesResponse, error)
ManagerControllerGetFilesWithResponse request returning *ManagerControllerGetFilesResponse
func (*ClientWithResponses) ManagerControllerGetInfoWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetInfoWithResponse(ctx context.Context, params *ManagerControllerGetInfoParams) (*ManagerControllerGetInfoResponse, error)
ManagerControllerGetInfoWithResponse request returning *ManagerControllerGetInfoResponse
func (*ClientWithResponses) ManagerControllerGetLogSummaryWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetLogSummaryWithResponse(ctx context.Context, params *ManagerControllerGetLogSummaryParams) (*ManagerControllerGetLogSummaryResponse, error)
ManagerControllerGetLogSummaryWithResponse request returning *ManagerControllerGetLogSummaryResponse
func (*ClientWithResponses) ManagerControllerGetLogWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetLogWithResponse(ctx context.Context, params *ManagerControllerGetLogParams) (*ManagerControllerGetLogResponse, error)
ManagerControllerGetLogWithResponse request returning *ManagerControllerGetLogResponse
func (*ClientWithResponses) ManagerControllerGetManagerConfigOndemandWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetManagerConfigOndemandWithResponse(ctx context.Context, component Component, configuration Configuration, params *ManagerControllerGetManagerConfigOndemandParams) (*ManagerControllerGetManagerConfigOndemandResponse, error)
ManagerControllerGetManagerConfigOndemandWithResponse request returning *ManagerControllerGetManagerConfigOndemandResponse
func (*ClientWithResponses) ManagerControllerGetStatsAnalysisdWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsAnalysisdWithResponse(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams) (*ManagerControllerGetStatsAnalysisdResponse, error)
ManagerControllerGetStatsAnalysisdWithResponse request returning *ManagerControllerGetStatsAnalysisdResponse
func (*ClientWithResponses) ManagerControllerGetStatsHourlyWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsHourlyWithResponse(ctx context.Context, params *ManagerControllerGetStatsHourlyParams) (*ManagerControllerGetStatsHourlyResponse, error)
ManagerControllerGetStatsHourlyWithResponse request returning *ManagerControllerGetStatsHourlyResponse
func (*ClientWithResponses) ManagerControllerGetStatsRemotedWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsRemotedWithResponse(ctx context.Context, params *ManagerControllerGetStatsRemotedParams) (*ManagerControllerGetStatsRemotedResponse, error)
ManagerControllerGetStatsRemotedWithResponse request returning *ManagerControllerGetStatsRemotedResponse
func (*ClientWithResponses) ManagerControllerGetStatsWeeklyWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsWeeklyWithResponse(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams) (*ManagerControllerGetStatsWeeklyResponse, error)
ManagerControllerGetStatsWeeklyWithResponse request returning *ManagerControllerGetStatsWeeklyResponse
func (*ClientWithResponses) ManagerControllerGetStatsWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatsWithResponse(ctx context.Context, params *ManagerControllerGetStatsParams) (*ManagerControllerGetStatsResponse, error)
ManagerControllerGetStatsWithResponse request returning *ManagerControllerGetStatsResponse
func (*ClientWithResponses) ManagerControllerGetStatusWithResponse ¶
func (c *ClientWithResponses) ManagerControllerGetStatusWithResponse(ctx context.Context, params *ManagerControllerGetStatusParams) (*ManagerControllerGetStatusResponse, error)
ManagerControllerGetStatusWithResponse request returning *ManagerControllerGetStatusResponse
func (*ClientWithResponses) ManagerControllerPutFilesWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagerControllerPutFilesWithBodyWithResponse(ctx context.Context, params *ManagerControllerPutFilesParams, contentType string, body io.Reader) (*ManagerControllerPutFilesResponse, error)
ManagerControllerPutFilesWithBodyWithResponse request with arbitrary body returning *ManagerControllerPutFilesResponse
func (*ClientWithResponses) ManagerControllerPutRestartWithResponse ¶
func (c *ClientWithResponses) ManagerControllerPutRestartWithResponse(ctx context.Context, params *ManagerControllerPutRestartParams) (*ManagerControllerPutRestartResponse, error)
ManagerControllerPutRestartWithResponse request returning *ManagerControllerPutRestartResponse
func (*ClientWithResponses) MitreControllerGetAttackWithResponse ¶
func (c *ClientWithResponses) MitreControllerGetAttackWithResponse(ctx context.Context, params *MitreControllerGetAttackParams) (*MitreControllerGetAttackResponse, error)
MitreControllerGetAttackWithResponse request returning *MitreControllerGetAttackResponse
func (*ClientWithResponses) OverviewControllerGetOverviewAgentsWithResponse ¶
func (c *ClientWithResponses) OverviewControllerGetOverviewAgentsWithResponse(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams) (*OverviewControllerGetOverviewAgentsResponse, error)
OverviewControllerGetOverviewAgentsWithResponse request returning *OverviewControllerGetOverviewAgentsResponse
func (*ClientWithResponses) RulesControllerGetDownloadFileWithResponse ¶
func (c *ClientWithResponses) RulesControllerGetDownloadFileWithResponse(ctx context.Context, filename DownloadFile, params *RulesControllerGetDownloadFileParams) (*RulesControllerGetDownloadFileResponse, error)
RulesControllerGetDownloadFileWithResponse request returning *RulesControllerGetDownloadFileResponse
func (*ClientWithResponses) RulesControllerGetRulesFilesWithResponse ¶
func (c *ClientWithResponses) RulesControllerGetRulesFilesWithResponse(ctx context.Context, params *RulesControllerGetRulesFilesParams) (*RulesControllerGetRulesFilesResponse, error)
RulesControllerGetRulesFilesWithResponse request returning *RulesControllerGetRulesFilesResponse
func (*ClientWithResponses) RulesControllerGetRulesGroupsWithResponse ¶
func (c *ClientWithResponses) RulesControllerGetRulesGroupsWithResponse(ctx context.Context, params *RulesControllerGetRulesGroupsParams) (*RulesControllerGetRulesGroupsResponse, error)
RulesControllerGetRulesGroupsWithResponse request returning *RulesControllerGetRulesGroupsResponse
func (*ClientWithResponses) RulesControllerGetRulesRequirementWithResponse ¶
func (c *ClientWithResponses) RulesControllerGetRulesRequirementWithResponse(ctx context.Context, requirement RuleRequirement, params *RulesControllerGetRulesRequirementParams) (*RulesControllerGetRulesRequirementResponse, error)
RulesControllerGetRulesRequirementWithResponse request returning *RulesControllerGetRulesRequirementResponse
func (*ClientWithResponses) RulesControllerGetRulesWithResponse ¶
func (c *ClientWithResponses) RulesControllerGetRulesWithResponse(ctx context.Context, params *RulesControllerGetRulesParams) (*RulesControllerGetRulesResponse, error)
RulesControllerGetRulesWithResponse request returning *RulesControllerGetRulesResponse
func (*ClientWithResponses) ScaControllerGetScaAgentWithResponse ¶
func (c *ClientWithResponses) ScaControllerGetScaAgentWithResponse(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams) (*ScaControllerGetScaAgentResponse, error)
ScaControllerGetScaAgentWithResponse request returning *ScaControllerGetScaAgentResponse
func (*ClientWithResponses) ScaControllerGetScaChecksWithResponse ¶
func (c *ClientWithResponses) ScaControllerGetScaChecksWithResponse(ctx context.Context, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams) (*ScaControllerGetScaChecksResponse, error)
ScaControllerGetScaChecksWithResponse request returning *ScaControllerGetScaChecksResponse
func (*ClientWithResponses) SecurityControllerAddPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddPolicyWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader) (*SecurityControllerAddPolicyResponse, error)
SecurityControllerAddPolicyWithBodyWithResponse request with arbitrary body returning *SecurityControllerAddPolicyResponse
func (*ClientWithResponses) SecurityControllerAddPolicyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddPolicyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody) (*SecurityControllerAddPolicyResponse, error)
func (*ClientWithResponses) SecurityControllerAddRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRoleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*SecurityControllerAddRoleResponse, error)
SecurityControllerAddRoleWithBodyWithResponse request with arbitrary body returning *SecurityControllerAddRoleResponse
func (*ClientWithResponses) SecurityControllerAddRoleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRoleWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody) (*SecurityControllerAddRoleResponse, error)
func (*ClientWithResponses) SecurityControllerAddRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRuleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*SecurityControllerAddRuleResponse, error)
SecurityControllerAddRuleWithBodyWithResponse request with arbitrary body returning *SecurityControllerAddRuleResponse
func (*ClientWithResponses) SecurityControllerAddRuleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerAddRuleWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody) (*SecurityControllerAddRuleResponse, error)
func (*ClientWithResponses) SecurityControllerCreateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerCreateUserWithBodyWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*SecurityControllerCreateUserResponse, error)
SecurityControllerCreateUserWithBodyWithResponse request with arbitrary body returning *SecurityControllerCreateUserResponse
func (*ClientWithResponses) SecurityControllerCreateUserWithResponse ¶
func (c *ClientWithResponses) SecurityControllerCreateUserWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody) (*SecurityControllerCreateUserResponse, error)
func (*ClientWithResponses) SecurityControllerDeleteSecurityConfigWithResponse ¶
func (c *ClientWithResponses) SecurityControllerDeleteSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams) (*SecurityControllerDeleteSecurityConfigResponse, error)
SecurityControllerDeleteSecurityConfigWithResponse request returning *SecurityControllerDeleteSecurityConfigResponse
func (*ClientWithResponses) SecurityControllerDeleteUsersWithResponse ¶
func (c *ClientWithResponses) SecurityControllerDeleteUsersWithResponse(ctx context.Context, params *SecurityControllerDeleteUsersParams) (*SecurityControllerDeleteUsersResponse, error)
SecurityControllerDeleteUsersWithResponse request returning *SecurityControllerDeleteUsersResponse
func (*ClientWithResponses) SecurityControllerGetPoliciesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetPoliciesWithResponse(ctx context.Context, params *SecurityControllerGetPoliciesParams) (*SecurityControllerGetPoliciesResponse, error)
SecurityControllerGetPoliciesWithResponse request returning *SecurityControllerGetPoliciesResponse
func (*ClientWithResponses) SecurityControllerGetRbacActionsWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRbacActionsWithResponse(ctx context.Context, params *SecurityControllerGetRbacActionsParams) (*SecurityControllerGetRbacActionsResponse, error)
SecurityControllerGetRbacActionsWithResponse request returning *SecurityControllerGetRbacActionsResponse
func (*ClientWithResponses) SecurityControllerGetRbacResourcesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRbacResourcesWithResponse(ctx context.Context, params *SecurityControllerGetRbacResourcesParams) (*SecurityControllerGetRbacResourcesResponse, error)
SecurityControllerGetRbacResourcesWithResponse request returning *SecurityControllerGetRbacResourcesResponse
func (*ClientWithResponses) SecurityControllerGetRolesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRolesWithResponse(ctx context.Context, params *SecurityControllerGetRolesParams) (*SecurityControllerGetRolesResponse, error)
SecurityControllerGetRolesWithResponse request returning *SecurityControllerGetRolesResponse
func (*ClientWithResponses) SecurityControllerGetRulesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetRulesWithResponse(ctx context.Context, params *SecurityControllerGetRulesParams) (*SecurityControllerGetRulesResponse, error)
SecurityControllerGetRulesWithResponse request returning *SecurityControllerGetRulesResponse
func (*ClientWithResponses) SecurityControllerGetSecurityConfigWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerGetSecurityConfigParams) (*SecurityControllerGetSecurityConfigResponse, error)
SecurityControllerGetSecurityConfigWithResponse request returning *SecurityControllerGetSecurityConfigResponse
func (*ClientWithResponses) SecurityControllerGetUserMePoliciesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetUserMePoliciesWithResponse(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams) (*SecurityControllerGetUserMePoliciesResponse, error)
SecurityControllerGetUserMePoliciesWithResponse request returning *SecurityControllerGetUserMePoliciesResponse
func (*ClientWithResponses) SecurityControllerGetUserMeWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetUserMeWithResponse(ctx context.Context, params *SecurityControllerGetUserMeParams) (*SecurityControllerGetUserMeResponse, error)
SecurityControllerGetUserMeWithResponse request returning *SecurityControllerGetUserMeResponse
func (*ClientWithResponses) SecurityControllerGetUsersWithResponse ¶
func (c *ClientWithResponses) SecurityControllerGetUsersWithResponse(ctx context.Context, params *SecurityControllerGetUsersParams) (*SecurityControllerGetUsersResponse, error)
SecurityControllerGetUsersWithResponse request returning *SecurityControllerGetUsersResponse
func (*ClientWithResponses) SecurityControllerLoginUserRunAsWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerLoginUserRunAsWithBodyWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, contentType string, body io.Reader) (*SecurityControllerLoginUserRunAsResponse, error)
SecurityControllerLoginUserRunAsWithBodyWithResponse request with arbitrary body returning *SecurityControllerLoginUserRunAsResponse
func (*ClientWithResponses) SecurityControllerLoginUserRunAsWithResponse ¶
func (c *ClientWithResponses) SecurityControllerLoginUserRunAsWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, body SecurityControllerLoginUserJSONRequestBody) (*SecurityControllerLoginUserRunAsResponse, error)
func (*ClientWithResponses) SecurityControllerLoginUserWithResponse ¶
func (c *ClientWithResponses) SecurityControllerLoginUserWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams) (*SecurityControllerLoginUserResponse, error)
SecurityControllerLoginUserWithResponse request returning *SecurityControllerLoginUserResponse
func (*ClientWithResponses) SecurityControllerLogoutUserWithResponse ¶
func (c *ClientWithResponses) SecurityControllerLogoutUserWithResponse(ctx context.Context) (*SecurityControllerLogoutUserResponse, error)
SecurityControllerLogoutUserWithResponse request returning *SecurityControllerLogoutUserResponse
func (*ClientWithResponses) SecurityControllerPutSecurityConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerPutSecurityConfigWithBodyWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader) (*SecurityControllerPutSecurityConfigResponse, error)
SecurityControllerPutSecurityConfigWithBodyWithResponse request with arbitrary body returning *SecurityControllerPutSecurityConfigResponse
func (*ClientWithResponses) SecurityControllerPutSecurityConfigWithResponse ¶
func (c *ClientWithResponses) SecurityControllerPutSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody) (*SecurityControllerPutSecurityConfigResponse, error)
func (*ClientWithResponses) SecurityControllerRemovePoliciesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemovePoliciesWithResponse(ctx context.Context, params *SecurityControllerRemovePoliciesParams) (*SecurityControllerRemovePoliciesResponse, error)
SecurityControllerRemovePoliciesWithResponse request returning *SecurityControllerRemovePoliciesResponse
func (*ClientWithResponses) SecurityControllerRemoveRolePolicyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams) (*SecurityControllerRemoveRolePolicyResponse, error)
SecurityControllerRemoveRolePolicyWithResponse request returning *SecurityControllerRemoveRolePolicyResponse
func (*ClientWithResponses) SecurityControllerRemoveRoleRuleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams) (*SecurityControllerRemoveRoleRuleResponse, error)
SecurityControllerRemoveRoleRuleWithResponse request returning *SecurityControllerRemoveRoleRuleResponse
func (*ClientWithResponses) SecurityControllerRemoveRolesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRolesWithResponse(ctx context.Context, params *SecurityControllerRemoveRolesParams) (*SecurityControllerRemoveRolesResponse, error)
SecurityControllerRemoveRolesWithResponse request returning *SecurityControllerRemoveRolesResponse
func (*ClientWithResponses) SecurityControllerRemoveRulesWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveRulesWithResponse(ctx context.Context, params *SecurityControllerRemoveRulesParams) (*SecurityControllerRemoveRulesResponse, error)
SecurityControllerRemoveRulesWithResponse request returning *SecurityControllerRemoveRulesResponse
func (*ClientWithResponses) SecurityControllerRemoveUserRoleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRemoveUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*SecurityControllerRemoveUserRoleResponse, error)
SecurityControllerRemoveUserRoleWithResponse request returning *SecurityControllerRemoveUserRoleResponse
func (*ClientWithResponses) SecurityControllerRevokeAllTokensWithResponse ¶
func (c *ClientWithResponses) SecurityControllerRevokeAllTokensWithResponse(ctx context.Context) (*SecurityControllerRevokeAllTokensResponse, error)
SecurityControllerRevokeAllTokensWithResponse request returning *SecurityControllerRevokeAllTokensResponse
func (*ClientWithResponses) SecurityControllerSetRolePolicyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerSetRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRolePolicyParams) (*SecurityControllerSetRolePolicyResponse, error)
SecurityControllerSetRolePolicyWithResponse request returning *SecurityControllerSetRolePolicyResponse
func (*ClientWithResponses) SecurityControllerSetRoleRuleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerSetRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRoleRuleParams) (*SecurityControllerSetRoleRuleResponse, error)
SecurityControllerSetRoleRuleWithResponse request returning *SecurityControllerSetRoleRuleResponse
func (*ClientWithResponses) SecurityControllerSetUserRoleWithResponse ¶
func (c *ClientWithResponses) SecurityControllerSetUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams) (*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) (*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) (*SecurityControllerUpdatePolicyResponse, error)
func (*ClientWithResponses) SecurityControllerUpdateRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateRoleWithBodyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader) (*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) (*SecurityControllerUpdateRoleResponse, error)
func (*ClientWithResponses) SecurityControllerUpdateRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateRuleWithBodyWithResponse(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader) (*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) (*SecurityControllerUpdateRuleResponse, error)
func (*ClientWithResponses) SecurityControllerUpdateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) SecurityControllerUpdateUserWithBodyWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader) (*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) (*SecurityControllerUpdateUserResponse, error)
func (*ClientWithResponses) SyscheckControllerDeleteSyscheckAgentWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerDeleteSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*SyscheckControllerDeleteSyscheckAgentResponse, error)
SyscheckControllerDeleteSyscheckAgentWithResponse request returning *SyscheckControllerDeleteSyscheckAgentResponse
func (*ClientWithResponses) SyscheckControllerGetLastScanAgentWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams) (*SyscheckControllerGetLastScanAgentResponse, error)
SyscheckControllerGetLastScanAgentWithResponse request returning *SyscheckControllerGetLastScanAgentResponse
func (*ClientWithResponses) SyscheckControllerGetSyscheckAgentWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerGetSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*SyscheckControllerGetSyscheckAgentResponse, error)
SyscheckControllerGetSyscheckAgentWithResponse request returning *SyscheckControllerGetSyscheckAgentResponse
func (*ClientWithResponses) SyscheckControllerPutSyscheckWithResponse ¶
func (c *ClientWithResponses) SyscheckControllerPutSyscheckWithResponse(ctx context.Context, params *SyscheckControllerPutSyscheckParams) (*SyscheckControllerPutSyscheckResponse, error)
SyscheckControllerPutSyscheckWithResponse request returning *SyscheckControllerPutSyscheckResponse
func (*ClientWithResponses) SyscollectorControllerGetHardwareInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetHardwareInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*SyscollectorControllerGetHardwareInfoResponse, error)
SyscollectorControllerGetHardwareInfoWithResponse request returning *SyscollectorControllerGetHardwareInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetHotfixInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetHotfixInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*SyscollectorControllerGetHotfixInfoResponse, error)
SyscollectorControllerGetHotfixInfoWithResponse request returning *SyscollectorControllerGetHotfixInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetNetworkAddressInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetNetworkAddressInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*SyscollectorControllerGetNetworkAddressInfoResponse, error)
SyscollectorControllerGetNetworkAddressInfoWithResponse request returning *SyscollectorControllerGetNetworkAddressInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetNetworkInterfaceInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*SyscollectorControllerGetNetworkInterfaceInfoResponse, error)
SyscollectorControllerGetNetworkInterfaceInfoWithResponse request returning *SyscollectorControllerGetNetworkInterfaceInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetNetworkProtocolInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*SyscollectorControllerGetNetworkProtocolInfoResponse, error)
SyscollectorControllerGetNetworkProtocolInfoWithResponse request returning *SyscollectorControllerGetNetworkProtocolInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetOsInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetOsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetOsInfoParams) (*SyscollectorControllerGetOsInfoResponse, error)
SyscollectorControllerGetOsInfoWithResponse request returning *SyscollectorControllerGetOsInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetPackagesInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetPackagesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*SyscollectorControllerGetPackagesInfoResponse, error)
SyscollectorControllerGetPackagesInfoWithResponse request returning *SyscollectorControllerGetPackagesInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetPortsInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetPortsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams) (*SyscollectorControllerGetPortsInfoResponse, error)
SyscollectorControllerGetPortsInfoWithResponse request returning *SyscollectorControllerGetPortsInfoResponse
func (*ClientWithResponses) SyscollectorControllerGetProcessesInfoWithResponse ¶
func (c *ClientWithResponses) SyscollectorControllerGetProcessesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams) (*SyscollectorControllerGetProcessesInfoResponse, error)
SyscollectorControllerGetProcessesInfoWithResponse request returning *SyscollectorControllerGetProcessesInfoResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // DefaultControllerDefaultInfo request DefaultControllerDefaultInfoWithResponse(ctx context.Context, params *DefaultControllerDefaultInfoParams) (*DefaultControllerDefaultInfoResponse, error) // ActiveResponseControllerRunCommand request with any body ActiveResponseControllerRunCommandWithBodyWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, contentType string, body io.Reader) (*ActiveResponseControllerRunCommandResponse, error) ActiveResponseControllerRunCommandWithResponse(ctx context.Context, params *ActiveResponseControllerRunCommandParams, body ActiveResponseControllerRunCommandJSONRequestBody) (*ActiveResponseControllerRunCommandResponse, error) // AgentsControllerDeleteAgents request AgentsControllerDeleteAgentsWithResponse(ctx context.Context, params *AgentsControllerDeleteAgentsParams) (*AgentsControllerDeleteAgentsResponse, error) // AgentsControllerGetAgents request AgentsControllerGetAgentsWithResponse(ctx context.Context, params *AgentsControllerGetAgentsParams) (*AgentsControllerGetAgentsResponse, error) // AgentsControllerAddAgent request with any body AgentsControllerAddAgentWithBodyWithResponse(ctx context.Context, params *AgentsControllerAddAgentParams, contentType string, body io.Reader) (*AgentsControllerAddAgentResponse, error) AgentsControllerAddAgentWithResponse(ctx context.Context, params *AgentsControllerAddAgentParams, body AgentsControllerAddAgentJSONRequestBody) (*AgentsControllerAddAgentResponse, error) // AgentsControllerDeleteMultipleAgentSingleGroup request AgentsControllerDeleteMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentsControllerDeleteMultipleAgentSingleGroupParams) (*AgentsControllerDeleteMultipleAgentSingleGroupResponse, error) // AgentsControllerPutMultipleAgentSingleGroup request AgentsControllerPutMultipleAgentSingleGroupWithResponse(ctx context.Context, params *AgentsControllerPutMultipleAgentSingleGroupParams) (*AgentsControllerPutMultipleAgentSingleGroupResponse, error) // AgentsControllerRestartAgentsByGroup request AgentsControllerRestartAgentsByGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerRestartAgentsByGroupParams) (*AgentsControllerRestartAgentsByGroupResponse, error) // AgentsControllerInsertAgent request with any body AgentsControllerInsertAgentWithBodyWithResponse(ctx context.Context, params *AgentsControllerInsertAgentParams, contentType string, body io.Reader) (*AgentsControllerInsertAgentResponse, error) AgentsControllerInsertAgentWithResponse(ctx context.Context, params *AgentsControllerInsertAgentParams, body AgentsControllerInsertAgentJSONRequestBody) (*AgentsControllerInsertAgentResponse, error) // AgentsControllerPostNewAgent request AgentsControllerPostNewAgentWithResponse(ctx context.Context, params *AgentsControllerPostNewAgentParams) (*AgentsControllerPostNewAgentResponse, error) // AgentsControllerGetAgentNoGroup request AgentsControllerGetAgentNoGroupWithResponse(ctx context.Context, params *AgentsControllerGetAgentNoGroupParams) (*AgentsControllerGetAgentNoGroupResponse, error) // AgentsControllerRestartAgentsByNode request AgentsControllerRestartAgentsByNodeWithResponse(ctx context.Context, nodeId NodeId, params *AgentsControllerRestartAgentsByNodeParams) (*AgentsControllerRestartAgentsByNodeResponse, error) // AgentsControllerGetAgentOutdated request AgentsControllerGetAgentOutdatedWithResponse(ctx context.Context, params *AgentsControllerGetAgentOutdatedParams) (*AgentsControllerGetAgentOutdatedResponse, error) // AgentsControllerRestartAgents request AgentsControllerRestartAgentsWithResponse(ctx context.Context, params *AgentsControllerRestartAgentsParams) (*AgentsControllerRestartAgentsResponse, error) // AgentsControllerGetAgentFields request AgentsControllerGetAgentFieldsWithResponse(ctx context.Context, params *AgentsControllerGetAgentFieldsParams) (*AgentsControllerGetAgentFieldsResponse, error) // AgentsControllerGetAgentSummaryOs request AgentsControllerGetAgentSummaryOsWithResponse(ctx context.Context, params *AgentsControllerGetAgentSummaryOsParams) (*AgentsControllerGetAgentSummaryOsResponse, error) // AgentsControllerGetAgentSummaryStatus request AgentsControllerGetAgentSummaryStatusWithResponse(ctx context.Context, params *AgentsControllerGetAgentSummaryStatusParams) (*AgentsControllerGetAgentSummaryStatusResponse, error) // AgentsControllerGetAgentConfig request AgentsControllerGetAgentConfigWithResponse(ctx context.Context, agentId AgentId, component Component, configuration Configuration, params *AgentsControllerGetAgentConfigParams) (*AgentsControllerGetAgentConfigResponse, error) // AgentsControllerDeleteSingleAgentMultipleGroups request AgentsControllerDeleteSingleAgentMultipleGroupsWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerDeleteSingleAgentMultipleGroupsParams) (*AgentsControllerDeleteSingleAgentMultipleGroupsResponse, error) // AgentsControllerGetSyncAgent request AgentsControllerGetSyncAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerGetSyncAgentParams) (*AgentsControllerGetSyncAgentResponse, error) // AgentsControllerDeleteSingleAgentSingleGroup request AgentsControllerDeleteSingleAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentsControllerDeleteSingleAgentSingleGroupParams) (*AgentsControllerDeleteSingleAgentSingleGroupResponse, error) // AgentsControllerPutAgentSingleGroup request AgentsControllerPutAgentSingleGroupWithResponse(ctx context.Context, agentId AgentId, groupId GroupId, params *AgentsControllerPutAgentSingleGroupParams) (*AgentsControllerPutAgentSingleGroupResponse, error) // AgentsControllerGetAgentKey request AgentsControllerGetAgentKeyWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerGetAgentKeyParams) (*AgentsControllerGetAgentKeyResponse, error) // AgentsControllerRestartAgent request AgentsControllerRestartAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerRestartAgentParams) (*AgentsControllerRestartAgentResponse, error) // AgentsControllerPutUpgradeAgent request AgentsControllerPutUpgradeAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerPutUpgradeAgentParams) (*AgentsControllerPutUpgradeAgentResponse, error) // AgentsControllerPutUpgradeCustomAgent request AgentsControllerPutUpgradeCustomAgentWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerPutUpgradeCustomAgentParams) (*AgentsControllerPutUpgradeCustomAgentResponse, error) // AgentsControllerGetAgentUpgrade request AgentsControllerGetAgentUpgradeWithResponse(ctx context.Context, agentId AgentId, params *AgentsControllerGetAgentUpgradeParams) (*AgentsControllerGetAgentUpgradeResponse, error) // CiscatControllerGetAgentsCiscatResults request CiscatControllerGetAgentsCiscatResultsWithResponse(ctx context.Context, agentId AgentId, params *CiscatControllerGetAgentsCiscatResultsParams) (*CiscatControllerGetAgentsCiscatResultsResponse, error) // ClusterControllerGetApiConfig request ClusterControllerGetApiConfigWithResponse(ctx context.Context, params *ClusterControllerGetApiConfigParams) (*ClusterControllerGetApiConfigResponse, error) // ClusterControllerGetConfValidation request ClusterControllerGetConfValidationWithResponse(ctx context.Context, params *ClusterControllerGetConfValidationParams) (*ClusterControllerGetConfValidationResponse, error) // ClusterControllerGetHealthcheck request ClusterControllerGetHealthcheckWithResponse(ctx context.Context, params *ClusterControllerGetHealthcheckParams) (*ClusterControllerGetHealthcheckResponse, error) // ClusterControllerGetConfig request ClusterControllerGetConfigWithResponse(ctx context.Context, params *ClusterControllerGetConfigParams) (*ClusterControllerGetConfigResponse, error) // ClusterControllerGetClusterNode request ClusterControllerGetClusterNodeWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodeParams) (*ClusterControllerGetClusterNodeResponse, error) // ClusterControllerGetClusterNodes request ClusterControllerGetClusterNodesWithResponse(ctx context.Context, params *ClusterControllerGetClusterNodesParams) (*ClusterControllerGetClusterNodesResponse, error) // ClusterControllerPutRestart request ClusterControllerPutRestartWithResponse(ctx context.Context, params *ClusterControllerPutRestartParams) (*ClusterControllerPutRestartResponse, error) // ClusterControllerGetStatus request ClusterControllerGetStatusWithResponse(ctx context.Context, params *ClusterControllerGetStatusParams) (*ClusterControllerGetStatusResponse, error) // ClusterControllerGetConfigurationNode request ClusterControllerGetConfigurationNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetConfigurationNodeParams) (*ClusterControllerGetConfigurationNodeResponse, error) // ClusterControllerGetNodeConfig request ClusterControllerGetNodeConfigWithResponse(ctx context.Context, nodeId NodeId, component Component, configuration Configuration, params *ClusterControllerGetNodeConfigParams) (*ClusterControllerGetNodeConfigResponse, error) // ClusterControllerDeleteFilesNode request ClusterControllerDeleteFilesNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerDeleteFilesNodeParams) (*ClusterControllerDeleteFilesNodeResponse, error) // ClusterControllerGetFilesNode request ClusterControllerGetFilesNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetFilesNodeParams) (*ClusterControllerGetFilesNodeResponse, error) // ClusterControllerPutFilesNode request with any body ClusterControllerPutFilesNodeWithBodyWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerPutFilesNodeParams, contentType string, body io.Reader) (*ClusterControllerPutFilesNodeResponse, error) // ClusterControllerGetInfoNode request ClusterControllerGetInfoNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetInfoNodeParams) (*ClusterControllerGetInfoNodeResponse, error) // ClusterControllerGetLogNode request ClusterControllerGetLogNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogNodeParams) (*ClusterControllerGetLogNodeResponse, error) // ClusterControllerGetLogSummaryNode request ClusterControllerGetLogSummaryNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*ClusterControllerGetLogSummaryNodeResponse, error) // ClusterControllerGetStatsNode request ClusterControllerGetStatsNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsNodeParams) (*ClusterControllerGetStatsNodeResponse, error) // ClusterControllerGetStatsAnalysisdNode request ClusterControllerGetStatsAnalysisdNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*ClusterControllerGetStatsAnalysisdNodeResponse, error) // ClusterControllerGetStatsHourlyNode request ClusterControllerGetStatsHourlyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*ClusterControllerGetStatsHourlyNodeResponse, error) // ClusterControllerGetStatsRemotedNode request ClusterControllerGetStatsRemotedNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*ClusterControllerGetStatsRemotedNodeResponse, error) // ClusterControllerGetStatsWeeklyNode request ClusterControllerGetStatsWeeklyNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*ClusterControllerGetStatsWeeklyNodeResponse, error) // ClusterControllerGetStatusNode request ClusterControllerGetStatusNodeWithResponse(ctx context.Context, nodeId NodeId, params *ClusterControllerGetStatusNodeParams) (*ClusterControllerGetStatusNodeResponse, error) // DecodersControllerGetDecoders request DecodersControllerGetDecodersWithResponse(ctx context.Context, params *DecodersControllerGetDecodersParams) (*DecodersControllerGetDecodersResponse, error) // DecodersControllerGetDecodersFiles request DecodersControllerGetDecodersFilesWithResponse(ctx context.Context, params *DecodersControllerGetDecodersFilesParams) (*DecodersControllerGetDecodersFilesResponse, error) // DecodersControllerGetDownloadFile request DecodersControllerGetDownloadFileWithResponse(ctx context.Context, filename DownloadFile, params *DecodersControllerGetDownloadFileParams) (*DecodersControllerGetDownloadFileResponse, error) // DecodersControllerGetDecodersParents request DecodersControllerGetDecodersParentsWithResponse(ctx context.Context, params *DecodersControllerGetDecodersParentsParams) (*DecodersControllerGetDecodersParentsResponse, error) // ExperimentalControllerGetCisCatResults request ExperimentalControllerGetCisCatResultsWithResponse(ctx context.Context, params *ExperimentalControllerGetCisCatResultsParams) (*ExperimentalControllerGetCisCatResultsResponse, error) // ExperimentalControllerClearSyscheckDatabase request ExperimentalControllerClearSyscheckDatabaseWithResponse(ctx context.Context, params *ExperimentalControllerClearSyscheckDatabaseParams) (*ExperimentalControllerClearSyscheckDatabaseResponse, error) // ExperimentalControllerGetHardwareInfo request ExperimentalControllerGetHardwareInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHardwareInfoParams) (*ExperimentalControllerGetHardwareInfoResponse, error) // ExperimentalControllerGetHotfixesInfo request ExperimentalControllerGetHotfixesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetHotfixesInfoParams) (*ExperimentalControllerGetHotfixesInfoResponse, error) // ExperimentalControllerGetNetworkAddressInfo request ExperimentalControllerGetNetworkAddressInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkAddressInfoParams) (*ExperimentalControllerGetNetworkAddressInfoResponse, error) // ExperimentalControllerGetNetworkInterfaceInfo request ExperimentalControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*ExperimentalControllerGetNetworkInterfaceInfoResponse, error) // ExperimentalControllerGetNetworkProtocolInfo request ExperimentalControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetNetworkProtocolInfoParams) (*ExperimentalControllerGetNetworkProtocolInfoResponse, error) // ExperimentalControllerGetOsInfo request ExperimentalControllerGetOsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetOsInfoParams) (*ExperimentalControllerGetOsInfoResponse, error) // ExperimentalControllerGetPackagesInfo request ExperimentalControllerGetPackagesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPackagesInfoParams) (*ExperimentalControllerGetPackagesInfoResponse, error) // ExperimentalControllerGetPortsInfo request ExperimentalControllerGetPortsInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetPortsInfoParams) (*ExperimentalControllerGetPortsInfoResponse, error) // ExperimentalControllerGetProcessesInfo request ExperimentalControllerGetProcessesInfoWithResponse(ctx context.Context, params *ExperimentalControllerGetProcessesInfoParams) (*ExperimentalControllerGetProcessesInfoResponse, error) // AgentsControllerDeleteGroups request AgentsControllerDeleteGroupsWithResponse(ctx context.Context, params *AgentsControllerDeleteGroupsParams) (*AgentsControllerDeleteGroupsResponse, error) // AgentsControllerGetListGroup request AgentsControllerGetListGroupWithResponse(ctx context.Context, params *AgentsControllerGetListGroupParams) (*AgentsControllerGetListGroupResponse, error) // AgentsControllerPostGroup request AgentsControllerPostGroupWithResponse(ctx context.Context, params *AgentsControllerPostGroupParams) (*AgentsControllerPostGroupResponse, error) // AgentsControllerGetAgentsInGroup request AgentsControllerGetAgentsInGroupWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerGetAgentsInGroupParams) (*AgentsControllerGetAgentsInGroupResponse, error) // AgentsControllerGetGroupConfig request AgentsControllerGetGroupConfigWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerGetGroupConfigParams) (*AgentsControllerGetGroupConfigResponse, error) // AgentsControllerPutGroupConfig request with any body AgentsControllerPutGroupConfigWithBodyWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerPutGroupConfigParams, contentType string, body io.Reader) (*AgentsControllerPutGroupConfigResponse, error) // AgentsControllerGetGroupFiles request AgentsControllerGetGroupFilesWithResponse(ctx context.Context, groupId GroupId, params *AgentsControllerGetGroupFilesParams) (*AgentsControllerGetGroupFilesResponse, error) // AgentsControllerGetGroupFileJson request AgentsControllerGetGroupFileJsonWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileJsonParams) (*AgentsControllerGetGroupFileJsonResponse, error) // AgentsControllerGetGroupFileXml request AgentsControllerGetGroupFileXmlWithResponse(ctx context.Context, groupId GroupId, fileName FileName, params *AgentsControllerGetGroupFileXmlParams) (*AgentsControllerGetGroupFileXmlResponse, error) // ListsControllerGetLists request ListsControllerGetListsWithResponse(ctx context.Context, params *ListsControllerGetListsParams) (*ListsControllerGetListsResponse, error) // ListsControllerGetListsFiles request ListsControllerGetListsFilesWithResponse(ctx context.Context, params *ListsControllerGetListsFilesParams) (*ListsControllerGetListsFilesResponse, error) // ManagerControllerGetApiConfig request ManagerControllerGetApiConfigWithResponse(ctx context.Context, params *ManagerControllerGetApiConfigParams) (*ManagerControllerGetApiConfigResponse, error) // ManagerControllerGetConfiguration request ManagerControllerGetConfigurationWithResponse(ctx context.Context, params *ManagerControllerGetConfigurationParams) (*ManagerControllerGetConfigurationResponse, error) // ManagerControllerGetConfValidation request ManagerControllerGetConfValidationWithResponse(ctx context.Context, params *ManagerControllerGetConfValidationParams) (*ManagerControllerGetConfValidationResponse, error) // ManagerControllerGetManagerConfigOndemand request ManagerControllerGetManagerConfigOndemandWithResponse(ctx context.Context, component Component, configuration Configuration, params *ManagerControllerGetManagerConfigOndemandParams) (*ManagerControllerGetManagerConfigOndemandResponse, error) // ManagerControllerDeleteFiles request ManagerControllerDeleteFilesWithResponse(ctx context.Context, params *ManagerControllerDeleteFilesParams) (*ManagerControllerDeleteFilesResponse, error) // ManagerControllerGetFiles request ManagerControllerGetFilesWithResponse(ctx context.Context, params *ManagerControllerGetFilesParams) (*ManagerControllerGetFilesResponse, error) // ManagerControllerPutFiles request with any body ManagerControllerPutFilesWithBodyWithResponse(ctx context.Context, params *ManagerControllerPutFilesParams, contentType string, body io.Reader) (*ManagerControllerPutFilesResponse, error) // ManagerControllerGetInfo request ManagerControllerGetInfoWithResponse(ctx context.Context, params *ManagerControllerGetInfoParams) (*ManagerControllerGetInfoResponse, error) // ManagerControllerGetLog request ManagerControllerGetLogWithResponse(ctx context.Context, params *ManagerControllerGetLogParams) (*ManagerControllerGetLogResponse, error) // ManagerControllerGetLogSummary request ManagerControllerGetLogSummaryWithResponse(ctx context.Context, params *ManagerControllerGetLogSummaryParams) (*ManagerControllerGetLogSummaryResponse, error) // ManagerControllerPutRestart request ManagerControllerPutRestartWithResponse(ctx context.Context, params *ManagerControllerPutRestartParams) (*ManagerControllerPutRestartResponse, error) // ManagerControllerGetStats request ManagerControllerGetStatsWithResponse(ctx context.Context, params *ManagerControllerGetStatsParams) (*ManagerControllerGetStatsResponse, error) // ManagerControllerGetStatsAnalysisd request ManagerControllerGetStatsAnalysisdWithResponse(ctx context.Context, params *ManagerControllerGetStatsAnalysisdParams) (*ManagerControllerGetStatsAnalysisdResponse, error) // ManagerControllerGetStatsHourly request ManagerControllerGetStatsHourlyWithResponse(ctx context.Context, params *ManagerControllerGetStatsHourlyParams) (*ManagerControllerGetStatsHourlyResponse, error) // ManagerControllerGetStatsRemoted request ManagerControllerGetStatsRemotedWithResponse(ctx context.Context, params *ManagerControllerGetStatsRemotedParams) (*ManagerControllerGetStatsRemotedResponse, error) // ManagerControllerGetStatsWeekly request ManagerControllerGetStatsWeeklyWithResponse(ctx context.Context, params *ManagerControllerGetStatsWeeklyParams) (*ManagerControllerGetStatsWeeklyResponse, error) // ManagerControllerGetStatus request ManagerControllerGetStatusWithResponse(ctx context.Context, params *ManagerControllerGetStatusParams) (*ManagerControllerGetStatusResponse, error) // MitreControllerGetAttack request MitreControllerGetAttackWithResponse(ctx context.Context, params *MitreControllerGetAttackParams) (*MitreControllerGetAttackResponse, error) // OverviewControllerGetOverviewAgents request OverviewControllerGetOverviewAgentsWithResponse(ctx context.Context, params *OverviewControllerGetOverviewAgentsParams) (*OverviewControllerGetOverviewAgentsResponse, error) // RulesControllerGetRules request RulesControllerGetRulesWithResponse(ctx context.Context, params *RulesControllerGetRulesParams) (*RulesControllerGetRulesResponse, error) // RulesControllerGetRulesFiles request RulesControllerGetRulesFilesWithResponse(ctx context.Context, params *RulesControllerGetRulesFilesParams) (*RulesControllerGetRulesFilesResponse, error) // RulesControllerGetDownloadFile request RulesControllerGetDownloadFileWithResponse(ctx context.Context, filename DownloadFile, params *RulesControllerGetDownloadFileParams) (*RulesControllerGetDownloadFileResponse, error) // RulesControllerGetRulesGroups request RulesControllerGetRulesGroupsWithResponse(ctx context.Context, params *RulesControllerGetRulesGroupsParams) (*RulesControllerGetRulesGroupsResponse, error) // RulesControllerGetRulesRequirement request RulesControllerGetRulesRequirementWithResponse(ctx context.Context, requirement RuleRequirement, params *RulesControllerGetRulesRequirementParams) (*RulesControllerGetRulesRequirementResponse, error) // ScaControllerGetScaAgent request ScaControllerGetScaAgentWithResponse(ctx context.Context, agentId AgentId, params *ScaControllerGetScaAgentParams) (*ScaControllerGetScaAgentResponse, error) // ScaControllerGetScaChecks request ScaControllerGetScaChecksWithResponse(ctx context.Context, agentId AgentId, policyId PolicyId, params *ScaControllerGetScaChecksParams) (*ScaControllerGetScaChecksResponse, error) // SecurityControllerGetRbacActions request SecurityControllerGetRbacActionsWithResponse(ctx context.Context, params *SecurityControllerGetRbacActionsParams) (*SecurityControllerGetRbacActionsResponse, error) // SecurityControllerDeleteSecurityConfig request SecurityControllerDeleteSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerDeleteSecurityConfigParams) (*SecurityControllerDeleteSecurityConfigResponse, error) // SecurityControllerGetSecurityConfig request SecurityControllerGetSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerGetSecurityConfigParams) (*SecurityControllerGetSecurityConfigResponse, error) // SecurityControllerPutSecurityConfig request with any body SecurityControllerPutSecurityConfigWithBodyWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader) (*SecurityControllerPutSecurityConfigResponse, error) SecurityControllerPutSecurityConfigWithResponse(ctx context.Context, params *SecurityControllerPutSecurityConfigParams, body SecurityControllerPutSecurityConfigJSONRequestBody) (*SecurityControllerPutSecurityConfigResponse, error) // SecurityControllerRemovePolicies request SecurityControllerRemovePoliciesWithResponse(ctx context.Context, params *SecurityControllerRemovePoliciesParams) (*SecurityControllerRemovePoliciesResponse, error) // SecurityControllerGetPolicies request SecurityControllerGetPoliciesWithResponse(ctx context.Context, params *SecurityControllerGetPoliciesParams) (*SecurityControllerGetPoliciesResponse, error) // SecurityControllerAddPolicy request with any body SecurityControllerAddPolicyWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, contentType string, body io.Reader) (*SecurityControllerAddPolicyResponse, error) SecurityControllerAddPolicyWithResponse(ctx context.Context, params *SecurityControllerAddPolicyParams, body SecurityControllerAddPolicyJSONRequestBody) (*SecurityControllerAddPolicyResponse, error) // SecurityControllerUpdatePolicy request with any body SecurityControllerUpdatePolicyWithBodyWithResponse(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader) (*SecurityControllerUpdatePolicyResponse, error) SecurityControllerUpdatePolicyWithResponse(ctx context.Context, policyId PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, body SecurityControllerUpdatePolicyJSONRequestBody) (*SecurityControllerUpdatePolicyResponse, error) // SecurityControllerGetRbacResources request SecurityControllerGetRbacResourcesWithResponse(ctx context.Context, params *SecurityControllerGetRbacResourcesParams) (*SecurityControllerGetRbacResourcesResponse, error) // SecurityControllerRemoveRoles request SecurityControllerRemoveRolesWithResponse(ctx context.Context, params *SecurityControllerRemoveRolesParams) (*SecurityControllerRemoveRolesResponse, error) // SecurityControllerGetRoles request SecurityControllerGetRolesWithResponse(ctx context.Context, params *SecurityControllerGetRolesParams) (*SecurityControllerGetRolesResponse, error) // SecurityControllerAddRole request with any body SecurityControllerAddRoleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*SecurityControllerAddRoleResponse, error) SecurityControllerAddRoleWithResponse(ctx context.Context, params *SecurityControllerAddRoleParams, body SecurityControllerAddRoleJSONRequestBody) (*SecurityControllerAddRoleResponse, error) // SecurityControllerUpdateRole request with any body SecurityControllerUpdateRoleWithBodyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader) (*SecurityControllerUpdateRoleResponse, error) SecurityControllerUpdateRoleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerUpdateRoleParams, body SecurityControllerUpdateRoleJSONRequestBody) (*SecurityControllerUpdateRoleResponse, error) // SecurityControllerRemoveRolePolicy request SecurityControllerRemoveRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRolePolicyParams) (*SecurityControllerRemoveRolePolicyResponse, error) // SecurityControllerSetRolePolicy request SecurityControllerSetRolePolicyWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRolePolicyParams) (*SecurityControllerSetRolePolicyResponse, error) // SecurityControllerRemoveRoleRule request SecurityControllerRemoveRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerRemoveRoleRuleParams) (*SecurityControllerRemoveRoleRuleResponse, error) // SecurityControllerSetRoleRule request SecurityControllerSetRoleRuleWithResponse(ctx context.Context, roleId RoleId, params *SecurityControllerSetRoleRuleParams) (*SecurityControllerSetRoleRuleResponse, error) // SecurityControllerRemoveRules request SecurityControllerRemoveRulesWithResponse(ctx context.Context, params *SecurityControllerRemoveRulesParams) (*SecurityControllerRemoveRulesResponse, error) // SecurityControllerGetRules request SecurityControllerGetRulesWithResponse(ctx context.Context, params *SecurityControllerGetRulesParams) (*SecurityControllerGetRulesResponse, error) // SecurityControllerAddRule request with any body SecurityControllerAddRuleWithBodyWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*SecurityControllerAddRuleResponse, error) SecurityControllerAddRuleWithResponse(ctx context.Context, params *SecurityControllerAddRuleParams, body SecurityControllerAddRuleJSONRequestBody) (*SecurityControllerAddRuleResponse, error) // SecurityControllerUpdateRule request with any body SecurityControllerUpdateRuleWithBodyWithResponse(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader) (*SecurityControllerUpdateRuleResponse, error) SecurityControllerUpdateRuleWithResponse(ctx context.Context, ruleId SecurityRuleId, params *SecurityControllerUpdateRuleParams, body SecurityControllerUpdateRuleJSONRequestBody) (*SecurityControllerUpdateRuleResponse, error) // SecurityControllerLogoutUser request SecurityControllerLogoutUserWithResponse(ctx context.Context) (*SecurityControllerLogoutUserResponse, error) // SecurityControllerLoginUser request SecurityControllerLoginUserWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams) (*SecurityControllerLoginUserResponse, error) // SecurityControllerLoginUserRunAs request with any body SecurityControllerLoginUserRunAsWithBodyWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, contentType string, body io.Reader) (*SecurityControllerLoginUserRunAsResponse, error) SecurityControllerLoginUserRunAsWithResponse(ctx context.Context, params *SecurityControllerLoginUserParams, body SecurityControllerLoginUserJSONRequestBody) (*SecurityControllerLoginUserRunAsResponse, error) // SecurityControllerRevokeAllTokens request SecurityControllerRevokeAllTokensWithResponse(ctx context.Context) (*SecurityControllerRevokeAllTokensResponse, error) // SecurityControllerDeleteUsers request SecurityControllerDeleteUsersWithResponse(ctx context.Context, params *SecurityControllerDeleteUsersParams) (*SecurityControllerDeleteUsersResponse, error) // SecurityControllerGetUsers request SecurityControllerGetUsersWithResponse(ctx context.Context, params *SecurityControllerGetUsersParams) (*SecurityControllerGetUsersResponse, error) // SecurityControllerCreateUser request with any body SecurityControllerCreateUserWithBodyWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*SecurityControllerCreateUserResponse, error) SecurityControllerCreateUserWithResponse(ctx context.Context, params *SecurityControllerCreateUserParams, body SecurityControllerCreateUserJSONRequestBody) (*SecurityControllerCreateUserResponse, error) // SecurityControllerGetUserMe request SecurityControllerGetUserMeWithResponse(ctx context.Context, params *SecurityControllerGetUserMeParams) (*SecurityControllerGetUserMeResponse, error) // SecurityControllerGetUserMePolicies request SecurityControllerGetUserMePoliciesWithResponse(ctx context.Context, params *SecurityControllerGetUserMePoliciesParams) (*SecurityControllerGetUserMePoliciesResponse, error) // SecurityControllerUpdateUser request with any body SecurityControllerUpdateUserWithBodyWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader) (*SecurityControllerUpdateUserResponse, error) SecurityControllerUpdateUserWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerUpdateUserParams, body SecurityControllerUpdateUserJSONRequestBody) (*SecurityControllerUpdateUserResponse, error) // SecurityControllerRemoveUserRole request SecurityControllerRemoveUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*SecurityControllerRemoveUserRoleResponse, error) // SecurityControllerSetUserRole request SecurityControllerSetUserRoleWithResponse(ctx context.Context, userId UserIdRequired, params *SecurityControllerSetUserRoleParams) (*SecurityControllerSetUserRoleResponse, error) // SyscheckControllerPutSyscheck request SyscheckControllerPutSyscheckWithResponse(ctx context.Context, params *SyscheckControllerPutSyscheckParams) (*SyscheckControllerPutSyscheckResponse, error) // SyscheckControllerDeleteSyscheckAgent request SyscheckControllerDeleteSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*SyscheckControllerDeleteSyscheckAgentResponse, error) // SyscheckControllerGetSyscheckAgent request SyscheckControllerGetSyscheckAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*SyscheckControllerGetSyscheckAgentResponse, error) // SyscheckControllerGetLastScanAgent request SyscheckControllerGetLastScanAgentWithResponse(ctx context.Context, agentId AgentId, params *SyscheckControllerGetLastScanAgentParams) (*SyscheckControllerGetLastScanAgentResponse, error) // SyscollectorControllerGetHardwareInfo request SyscollectorControllerGetHardwareInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*SyscollectorControllerGetHardwareInfoResponse, error) // SyscollectorControllerGetHotfixInfo request SyscollectorControllerGetHotfixInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*SyscollectorControllerGetHotfixInfoResponse, error) // SyscollectorControllerGetNetworkAddressInfo request SyscollectorControllerGetNetworkAddressInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*SyscollectorControllerGetNetworkAddressInfoResponse, error) // SyscollectorControllerGetNetworkInterfaceInfo request SyscollectorControllerGetNetworkInterfaceInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*SyscollectorControllerGetNetworkInterfaceInfoResponse, error) // SyscollectorControllerGetNetworkProtocolInfo request SyscollectorControllerGetNetworkProtocolInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*SyscollectorControllerGetNetworkProtocolInfoResponse, error) // SyscollectorControllerGetOsInfo request SyscollectorControllerGetOsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetOsInfoParams) (*SyscollectorControllerGetOsInfoResponse, error) // SyscollectorControllerGetPackagesInfo request SyscollectorControllerGetPackagesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*SyscollectorControllerGetPackagesInfoResponse, error) // SyscollectorControllerGetPortsInfo request SyscollectorControllerGetPortsInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetPortsInfoParams) (*SyscollectorControllerGetPortsInfoResponse, error) // SyscollectorControllerGetProcessesInfo request SyscollectorControllerGetProcessesInfoWithResponse(ctx context.Context, agentId AgentId, params *SyscollectorControllerGetProcessesInfoParams) (*SyscollectorControllerGetProcessesInfoResponse, 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) DeleteFilesNode ¶
func (c *ClusterController) DeleteFilesNode(nodeID NodeId, params *ClusterControllerDeleteFilesNodeParams) (*ApiResponse, error)
DeleteFilesNode calls the Cluster controller´s function
func (*ClusterController) GetAPIConfig ¶
func (c *ClusterController) GetAPIConfig(params *ClusterControllerGetApiConfigParams) (*struct{ AdditionalProperties map[string]interface{} }, error)
GetAPIConfig calls the Cluster controller´s function
func (*ClusterController) GetClusterNode ¶
func (c *ClusterController) GetClusterNode(params *ClusterControllerGetClusterNodeParams) (*struct { Cluster *string Node *string Type *string }, error)
GetClusterNode calls the Cluster controller´s function
func (*ClusterController) GetClusterNodes ¶
func (c *ClusterController) GetClusterNodes(params *ClusterControllerGetClusterNodesParams) (*AllItemsResponseClusterNodes, error)
GetClusterNodes calls the Cluster controller´s function
func (*ClusterController) GetConfValidation ¶
func (c *ClusterController) GetConfValidation(params *ClusterControllerGetConfValidationParams) (*AllItemsResponseValidationStatus, error)
GetConfValidation calls the Cluster controller´s function
func (*ClusterController) GetConfig ¶
func (c *ClusterController) GetConfig(params *ClusterControllerGetConfigParams) (*struct { BindAddr *string Disabled *bool Hidden *string Key *string Name *string NodeName *string NodeType *string Nodes *[]string Port *int }, error)
GetConfig calls the Cluster controller´s function
func (*ClusterController) GetConfigurationNode ¶
func (c *ClusterController) GetConfigurationNode(nodeID NodeId, params *ClusterControllerGetConfigurationNodeParams) (*WazuhMangerConfiguration, error)
GetConfigurationNode calls the Cluster controller´s function
func (*ClusterController) GetFilesNode ¶
func (c *ClusterController) GetFilesNode(nodeID NodeId, params *ClusterControllerGetFilesNodeParams) (*struct{ Contents *string }, error)
GetFilesNode calls the Cluster controller´s function
func (*ClusterController) GetHealthcheck ¶
func (c *ClusterController) GetHealthcheck(params *ClusterControllerGetHealthcheckParams) (*AllItemsResponseNodeHealthcheck, error)
GetHealthcheck calls the Cluster controller´s function
func (*ClusterController) GetInfoNode ¶
func (c *ClusterController) GetInfoNode(nodeID NodeId, params *ClusterControllerGetInfoNodeParams) (*WazuhInfo, error)
GetInfoNode calls the Cluster controller´s function
func (*ClusterController) GetLogNode ¶
func (c *ClusterController) GetLogNode(nodeID NodeId, params *ClusterControllerGetLogNodeParams) (*AllItemsResponseWazuhLogs, error)
GetLogNode calls the Cluster controller´s function
func (*ClusterController) GetLogSummaryNode ¶
func (c *ClusterController) GetLogSummaryNode(nodeID NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*WazuhLogsSummary, error)
GetLogSummaryNode calls the Cluster controller´s function
func (*ClusterController) GetNodeConfig ¶
func (c *ClusterController) GetNodeConfig(nodeID NodeId, component Component, configuration Configuration, params *ClusterControllerGetNodeConfigParams) (*struct{ ApiResponse }, error)
GetNodeConfig calls the Cluster controller´s function
func (*ClusterController) GetStatsAnalysisdNode ¶
func (c *ClusterController) GetStatsAnalysisdNode(nodeID NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*AllItemsResponseWazuhStats, error)
GetStatsAnalysisdNode calls the Cluster controller´s function
func (*ClusterController) GetStatsHourlyNode ¶
func (c *ClusterController) GetStatsHourlyNode(nodeID NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*AllItemsResponseWazuhStats, error)
GetStatsHourlyNode calls the Cluster controller´s function
func (*ClusterController) GetStatsNode ¶
func (c *ClusterController) GetStatsNode(nodeID NodeId, params *ClusterControllerGetStatsNodeParams) (*AllItemsResponseWazuhStats, error)
GetStatsNode calls the Cluster controller´s function
func (*ClusterController) GetStatsRemotedNode ¶
func (c *ClusterController) GetStatsRemotedNode(nodeID NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*AllItemsResponseWazuhStats, error)
GetStatsRemotedNode calls the Cluster controller´s function
func (*ClusterController) GetStatsWeeklyNode ¶
func (c *ClusterController) GetStatsWeeklyNode(nodeID NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*AllItemsResponseWazuhStats, error)
GetStatsWeeklyNode calls the Cluster controller´s function
func (*ClusterController) GetStatus ¶
func (c *ClusterController) GetStatus(params *ClusterControllerGetStatusParams) (*struct { Enabled *string Running *string }, error)
GetStatus calls the Cluster controller´s function
func (*ClusterController) GetStatusNode ¶
func (c *ClusterController) GetStatusNode(nodeID NodeId, params *ClusterControllerGetStatusNodeParams) (*WazuhDaemonsStatus, error)
GetStatusNode calls the Cluster controller´s function
func (*ClusterController) PutFilesNodeWithBody ¶
func (c *ClusterController) PutFilesNodeWithBody(nodeID NodeId, params *ClusterControllerPutFilesNodeParams, contentType string, body io.Reader) (*ApiResponse, error)
PutFilesNodeWithBody calls the Cluster controller´s function
func (*ClusterController) PutRestart ¶
func (c *ClusterController) PutRestart(params *ClusterControllerPutRestartParams) (*AllItemsResponseNodeIDs, error)
PutRestart calls the Cluster controller´s function
type ClusterControllerDeleteFilesNodeParams ¶
type ClusterControllerDeleteFilesNodeParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Filepath to delete file. (Relative to wazuh installation folder) Path DeleteFilesPath `json:"path"` }
ClusterControllerDeleteFilesNodeParams defines parameters for ClusterControllerDeleteFilesNode.
type ClusterControllerDeleteFilesNodeResponse ¶
type ClusterControllerDeleteFilesNodeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseClusterControllerDeleteFilesNodeResponse ¶
func ParseClusterControllerDeleteFilesNodeResponse(rsp *http.Response) (*ClusterControllerDeleteFilesNodeResponse, error)
ParseClusterControllerDeleteFilesNodeResponse parses an HTTP response from a ClusterControllerDeleteFilesNodeWithResponse call
func (ClusterControllerDeleteFilesNodeResponse) Status ¶
func (r ClusterControllerDeleteFilesNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerDeleteFilesNodeResponse) StatusCode ¶
func (r ClusterControllerDeleteFilesNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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]interface{} `json:"-"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseClusterControllerGetApiConfigResponse ¶
func ParseClusterControllerGetApiConfigResponse(rsp *http.Response) (*ClusterControllerGetApiConfigResponse, error)
ParseClusterControllerGetApiConfigResponse 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 ParseClusterControllerGetClusterNodeResponse ¶
func ParseClusterControllerGetClusterNodeResponse(rsp *http.Response) (*ClusterControllerGetClusterNodeResponse, error)
ParseClusterControllerGetClusterNodeResponse 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 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 beggining 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 *NodeType `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"` }
ClusterControllerGetClusterNodesParams 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 ParseClusterControllerGetClusterNodesResponse ¶
func ParseClusterControllerGetClusterNodesResponse(rsp *http.Response) (*ClusterControllerGetClusterNodesResponse, error)
ParseClusterControllerGetClusterNodesResponse 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 ParseClusterControllerGetConfValidationResponse ¶
func ParseClusterControllerGetConfValidationResponse(rsp *http.Response) (*ClusterControllerGetConfValidationResponse, error)
ParseClusterControllerGetConfValidationResponse 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 *string `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 ParseClusterControllerGetConfigResponse ¶
func ParseClusterControllerGetConfigResponse(rsp *http.Response) (*ClusterControllerGetConfigResponse, error)
ParseClusterControllerGetConfigResponse 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"` // Indicates the wazuh configuration section Section *Section `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 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 *WazuhMangerConfiguration `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseClusterControllerGetConfigurationNodeResponse ¶
func ParseClusterControllerGetConfigurationNodeResponse(rsp *http.Response) (*ClusterControllerGetConfigurationNodeResponse, error)
ParseClusterControllerGetConfigurationNodeResponse 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 ClusterControllerGetFilesNodeParams ¶
type ClusterControllerGetFilesNodeParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Filepath to return file. (Relative to wazuh installation folder) Path GetFilesPath `json:"path"` }
ClusterControllerGetFilesNodeParams defines parameters for ClusterControllerGetFilesNode.
type ClusterControllerGetFilesNodeResponse ¶
type ClusterControllerGetFilesNodeResponse 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 { // File contents Contents *string `json:"contents,omitempty"` } `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseClusterControllerGetFilesNodeResponse ¶
func ParseClusterControllerGetFilesNodeResponse(rsp *http.Response) (*ClusterControllerGetFilesNodeResponse, error)
ParseClusterControllerGetFilesNodeResponse parses an HTTP response from a ClusterControllerGetFilesNodeWithResponse call
func (ClusterControllerGetFilesNodeResponse) Status ¶
func (r ClusterControllerGetFilesNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerGetFilesNodeResponse) StatusCode ¶
func (r ClusterControllerGetFilesNodeResponse) 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 ParseClusterControllerGetHealthcheckResponse ¶
func ParseClusterControllerGetHealthcheckResponse(rsp *http.Response) (*ClusterControllerGetHealthcheckResponse, error)
ParseClusterControllerGetHealthcheckResponse 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 ParseClusterControllerGetInfoNodeResponse ¶
func ParseClusterControllerGetInfoNodeResponse(rsp *http.Response) (*ClusterControllerGetInfoNodeResponse, error)
ParseClusterControllerGetInfoNodeResponse 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 elements to return 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 beggining Search *Search `json:"search,omitempty"` // Wazuh component that logged the event Tag *Tag `json:"tag,omitempty"` // Filter by log level Level *LogLevel `json:"level,omitempty"` // Query to filter results by. For example q="status=active" Q *Query `json:"q,omitempty"` }
ClusterControllerGetLogNodeParams 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 ParseClusterControllerGetLogNodeResponse ¶
func ParseClusterControllerGetLogNodeResponse(rsp *http.Response) (*ClusterControllerGetLogNodeResponse, error)
ParseClusterControllerGetLogNodeResponse 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 ParseClusterControllerGetLogSummaryNodeResponse ¶
func ParseClusterControllerGetLogSummaryNodeResponse(rsp *http.Response) (*ClusterControllerGetLogSummaryNodeResponse, error)
ParseClusterControllerGetLogSummaryNodeResponse 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 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 ParseClusterControllerGetNodeConfigResponse ¶
func ParseClusterControllerGetNodeConfigResponse(rsp *http.Response) (*ClusterControllerGetNodeConfigResponse, error)
ParseClusterControllerGetNodeConfigResponse 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 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 ParseClusterControllerGetStatsAnalysisdNodeResponse ¶
func ParseClusterControllerGetStatsAnalysisdNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsAnalysisdNodeResponse, error)
ParseClusterControllerGetStatsAnalysisdNodeResponse 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 ParseClusterControllerGetStatsHourlyNodeResponse ¶
func ParseClusterControllerGetStatsHourlyNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsHourlyNodeResponse, error)
ParseClusterControllerGetStatsHourlyNodeResponse 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 ParseClusterControllerGetStatsNodeResponse ¶
func ParseClusterControllerGetStatsNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsNodeResponse, error)
ParseClusterControllerGetStatsNodeResponse 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 ParseClusterControllerGetStatsRemotedNodeResponse ¶
func ParseClusterControllerGetStatsRemotedNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsRemotedNodeResponse, error)
ParseClusterControllerGetStatsRemotedNodeResponse 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 ParseClusterControllerGetStatsWeeklyNodeResponse ¶
func ParseClusterControllerGetStatsWeeklyNodeResponse(rsp *http.Response) (*ClusterControllerGetStatsWeeklyNodeResponse, error)
ParseClusterControllerGetStatsWeeklyNodeResponse 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 ParseClusterControllerGetStatusNodeResponse ¶
func ParseClusterControllerGetStatusNodeResponse(rsp *http.Response) (*ClusterControllerGetStatusNodeResponse, error)
ParseClusterControllerGetStatusNodeResponse 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"` }
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 *string `json:"enabled,omitempty"` // Whether the cluster daemon is running Running *string `json:"running,omitempty"` } `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseClusterControllerGetStatusResponse ¶
func ParseClusterControllerGetStatusResponse(rsp *http.Response) (*ClusterControllerGetStatusResponse, error)
ParseClusterControllerGetStatusResponse 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 { DeleteFilesNode(nodeID NodeId, params *ClusterControllerDeleteFilesNodeParams) (*ApiResponse, error) GetAPIConfig(params *ClusterControllerGetApiConfigParams) (*struct{ AdditionalProperties map[string]interface{} }, error) GetClusterNode(params *ClusterControllerGetClusterNodeParams) (*struct { Cluster *string Node *string Type *string }, error) GetClusterNodes(params *ClusterControllerGetClusterNodesParams) (*AllItemsResponseClusterNodes, error) GetConfValidation(params *ClusterControllerGetConfValidationParams) (*AllItemsResponseValidationStatus, error) GetConfig(params *ClusterControllerGetConfigParams) (*struct { BindAddr *string Disabled *bool Hidden *string Key *string Name *string NodeName *string NodeType *string Nodes *[]string Port *int }, error) GetConfigurationNode(nodeID NodeId, params *ClusterControllerGetConfigurationNodeParams) (*WazuhMangerConfiguration, error) GetFilesNode(nodeID NodeId, params *ClusterControllerGetFilesNodeParams) (*struct{ Contents *string }, error) GetHealthcheck(params *ClusterControllerGetHealthcheckParams) (*AllItemsResponseNodeHealthcheck, error) GetInfoNode(nodeID NodeId, params *ClusterControllerGetInfoNodeParams) (*WazuhInfo, error) GetLogNode(nodeID NodeId, params *ClusterControllerGetLogNodeParams) (*AllItemsResponseWazuhLogs, error) GetLogSummaryNode(nodeID NodeId, params *ClusterControllerGetLogSummaryNodeParams) (*WazuhLogsSummary, error) GetNodeConfig(nodeID NodeId, component Component, configuration Configuration, params *ClusterControllerGetNodeConfigParams) (*struct{ ApiResponse }, error) GetStatsAnalysisdNode(nodeID NodeId, params *ClusterControllerGetStatsAnalysisdNodeParams) (*AllItemsResponseWazuhStats, error) GetStatsHourlyNode(nodeID NodeId, params *ClusterControllerGetStatsHourlyNodeParams) (*AllItemsResponseWazuhStats, error) GetStatsNode(nodeID NodeId, params *ClusterControllerGetStatsNodeParams) (*AllItemsResponseWazuhStats, error) GetStatsRemotedNode(nodeID NodeId, params *ClusterControllerGetStatsRemotedNodeParams) (*AllItemsResponseWazuhStats, error) GetStatsWeeklyNode(nodeID NodeId, params *ClusterControllerGetStatsWeeklyNodeParams) (*AllItemsResponseWazuhStats, error) GetStatusNode(nodeID NodeId, params *ClusterControllerGetStatusNodeParams) (*WazuhDaemonsStatus, error) GetStatus(params *ClusterControllerGetStatusParams) (*struct { Enabled *string Running *string }, error) PutFilesNodeWithBody(nodeID NodeId, params *ClusterControllerPutFilesNodeParams, contentType string, body io.Reader) (*ApiResponse, error) PutRestart(params *ClusterControllerPutRestartParams) (*AllItemsResponseNodeIDs, error) }
ClusterControllerInterface contains all methods for the wazuh controller api
type ClusterControllerPutFilesNodeParams ¶
type ClusterControllerPutFilesNodeParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Filepath to upload/edit file. (Relative to wazuh installation folder) Path EditFilesPath `json:"path"` // If set to false, an exception will be raised when updating contents of an already existing filename Overwrite *Overwrite `json:"overwrite,omitempty"` }
ClusterControllerPutFilesNodeParams defines parameters for ClusterControllerPutFilesNode.
type ClusterControllerPutFilesNodeResponse ¶
type ClusterControllerPutFilesNodeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON406 *RequestError JSON429 *RequestError }
func ParseClusterControllerPutFilesNodeResponse ¶
func ParseClusterControllerPutFilesNodeResponse(rsp *http.Response) (*ClusterControllerPutFilesNodeResponse, error)
ParseClusterControllerPutFilesNodeResponse parses an HTTP response from a ClusterControllerPutFilesNodeWithResponse call
func (ClusterControllerPutFilesNodeResponse) Status ¶
func (r ClusterControllerPutFilesNodeResponse) Status() string
Status returns HTTPResponse.Status
func (ClusterControllerPutFilesNodeResponse) StatusCode ¶
func (r ClusterControllerPutFilesNodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 ParseClusterControllerPutRestartResponse ¶
func ParseClusterControllerPutRestartResponse(rsp *http.Response) (*ClusterControllerPutRestartResponse, error)
ParseClusterControllerPutRestartResponse 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 ClusterNode ¶
type ClusterNode struct { // Embedded struct due to allOf(#/components/schemas/ClusterNodeBasic) ClusterNodeBasic `yaml:",inline"` // 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 *string `json:"type,omitempty"` // Wazuh version installed in the node Version *string `json:"version,omitempty"` }
ClusterNodeBasic defines model for ClusterNodeBasic.
type ClusterNodeName ¶
type ClusterNodeName string
ClusterNodeName defines model for ClusterNodeName.
type Component ¶
type Component string
Component defines model for component.
const ( Component_agent Component = "agent" Component_agentless Component = "agentless" Component_analysis Component = "analysis" Component_auth Component = "auth" Component_com Component = "com" Component_csyslog Component = "csyslog" Component_integrator Component = "integrator" Component_logcollector Component = "logcollector" Component_mail Component = "mail" Component_monitor Component = "monitor" Component_request Component = "request" Component_syscheck Component = "syscheck" Component_wmodules Component = "wmodules" )
List of Component
type Configuration ¶
type Configuration string
Configuration defines model for configuration.
const ( Configuration_active_response Configuration = "active_response" Configuration_active_response1 Configuration = "active-response" Configuration_agentless Configuration = "agentless" Configuration_alerts Configuration = "alerts" Configuration_auth Configuration = "auth" Configuration_buffer Configuration = "buffer" Configuration_client Configuration = "client" Configuration_cluster Configuration = "cluster" Configuration_command Configuration = "command" Configuration_csyslog Configuration = "csyslog" Configuration_decoders Configuration = "decoders" Configuration_global Configuration = "global" Configuration_integration Configuration = "integration" Configuration_internal Configuration = "internal" Configuration_labels Configuration = "labels" Configuration_localfile Configuration = "localfile" Configuration_logging Configuration = "logging" Configuration_remote Configuration = "remote" Configuration_reports Configuration = "reports" Configuration_rootcheck Configuration = "rootcheck" Configuration_rules Configuration = "rules" Configuration_socket Configuration = "socket" Configuration_syscheck Configuration = "syscheck" Configuration_wmodules Configuration = "wmodules" )
List of Configuration
type ConfigurationValidation ¶
type ConfigurationValidation struct { // Configuration status Status *string `json:"status,omitempty"` }
ConfigurationValidation defines model for ConfigurationValidation.
type ConfirmationMessage ¶
type ConfirmationMessage struct { // Confirmation message Message *string `json:"message,omitempty"` }
ConfirmationMessage defines model for ConfirmationMessage.
type DHCPStatus ¶
type DHCPStatus string
DHCPStatus defines model for DHCPStatus.
const ( DHCPStatus_BOOTP DHCPStatus = "BOOTP" DHCPStatus_disabled DHCPStatus = "disabled" DHCPStatus_enabled DHCPStatus = "enabled" DHCPStatus_unknown DHCPStatus = "unknown" )
List of DHCPStatus
type DaemonStatus ¶
type DaemonStatus string
DaemonStatus defines model for DaemonStatus.
const ( DaemonStatus_running DaemonStatus = "running" DaemonStatus_stopped DaemonStatus = "stopped" )
List of DaemonStatus
type Decoder ¶
type Decoder struct { // Embedded struct due to allOf(#/components/schemas/DecoderFile) DecoderFile `yaml:",inline"` }
Decoder defines model for Decoder.
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 DecodersController ¶
type DecodersController struct {
*ClientWithResponses
}
DecodersController implementation of the DecodersController interface
func (*DecodersController) GetDecoders ¶
func (c *DecodersController) GetDecoders(params *DecodersControllerGetDecodersParams) (*AllItemsResponseDecoders, error)
GetDecoders calls the Decoders controller´s function
func (*DecodersController) GetDecodersFiles ¶
func (c *DecodersController) GetDecodersFiles(params *DecodersControllerGetDecodersFilesParams) (*AllItemsResponseDecodersFiles, error)
GetDecodersFiles calls the Decoders controller´s function
func (*DecodersController) GetDecodersParents ¶
func (c *DecodersController) GetDecodersParents(params *DecodersControllerGetDecodersParentsParams) (*AllItemsResponse, error)
GetDecodersParents calls the Decoders controller´s function
func (*DecodersController) GetDownloadFile ¶
func (c *DecodersController) GetDownloadFile(downloadFile DownloadFile, params *DecodersControllerGetDownloadFileParams) (*DecodersControllerGetDownloadFileResponse, error)
GetDownloadFile calls the Decoders controller´s function
type DecodersControllerGetDecodersFilesParams ¶
type DecodersControllerGetDecodersFilesParams 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 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 beggining Search *Search `json:"search,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 *StatusRLDParam `json:"status,omitempty"` }
DecodersControllerGetDecodersFilesParams defines parameters for DecodersControllerGetDecodersFiles.
type DecodersControllerGetDecodersFilesResponse ¶
type DecodersControllerGetDecodersFilesResponse 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 ParseDecodersControllerGetDecodersFilesResponse ¶
func ParseDecodersControllerGetDecodersFilesResponse(rsp *http.Response) (*DecodersControllerGetDecodersFilesResponse, error)
ParseDecodersControllerGetDecodersFilesResponse parses an HTTP response from a DecodersControllerGetDecodersFilesWithResponse call
func (DecodersControllerGetDecodersFilesResponse) Status ¶
func (r DecodersControllerGetDecodersFilesResponse) Status() string
Status returns HTTPResponse.Status
func (DecodersControllerGetDecodersFilesResponse) StatusCode ¶
func (r DecodersControllerGetDecodersFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecodersControllerGetDecodersParams ¶
type DecodersControllerGetDecodersParams 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 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 beggining 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 *StatusRLDParam `json:"status,omitempty"` }
DecodersControllerGetDecodersParams defines parameters for DecodersControllerGetDecoders.
type DecodersControllerGetDecodersParentsParams ¶
type DecodersControllerGetDecodersParentsParams 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 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 beggining Search *Search `json:"search,omitempty"` }
DecodersControllerGetDecodersParentsParams defines parameters for DecodersControllerGetDecodersParents.
type DecodersControllerGetDecodersParentsResponse ¶
type DecodersControllerGetDecodersParentsResponse 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 ParseDecodersControllerGetDecodersParentsResponse ¶
func ParseDecodersControllerGetDecodersParentsResponse(rsp *http.Response) (*DecodersControllerGetDecodersParentsResponse, error)
ParseDecodersControllerGetDecodersParentsResponse parses an HTTP response from a DecodersControllerGetDecodersParentsWithResponse call
func (DecodersControllerGetDecodersParentsResponse) Status ¶
func (r DecodersControllerGetDecodersParentsResponse) Status() string
Status returns HTTPResponse.Status
func (DecodersControllerGetDecodersParentsResponse) StatusCode ¶
func (r DecodersControllerGetDecodersParentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecodersControllerGetDecodersResponse ¶
type DecodersControllerGetDecodersResponse 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 ParseDecodersControllerGetDecodersResponse ¶
func ParseDecodersControllerGetDecodersResponse(rsp *http.Response) (*DecodersControllerGetDecodersResponse, error)
ParseDecodersControllerGetDecodersResponse parses an HTTP response from a DecodersControllerGetDecodersWithResponse call
func (DecodersControllerGetDecodersResponse) Status ¶
func (r DecodersControllerGetDecodersResponse) Status() string
Status returns HTTPResponse.Status
func (DecodersControllerGetDecodersResponse) StatusCode ¶
func (r DecodersControllerGetDecodersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecodersControllerGetDownloadFileParams ¶
type DecodersControllerGetDownloadFileParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
DecodersControllerGetDownloadFileParams defines parameters for DecodersControllerGetDownloadFile.
type DecodersControllerGetDownloadFileResponse ¶
type DecodersControllerGetDownloadFileResponse struct { Body []byte HTTPResponse *http.Response XML200 *string JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseDecodersControllerGetDownloadFileResponse ¶
func ParseDecodersControllerGetDownloadFileResponse(rsp *http.Response) (*DecodersControllerGetDownloadFileResponse, error)
ParseDecodersControllerGetDownloadFileResponse parses an HTTP response from a DecodersControllerGetDownloadFileWithResponse call
func (DecodersControllerGetDownloadFileResponse) Status ¶
func (r DecodersControllerGetDownloadFileResponse) Status() string
Status returns HTTPResponse.Status
func (DecodersControllerGetDownloadFileResponse) StatusCode ¶
func (r DecodersControllerGetDownloadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DecodersControllerInterface ¶
type DecodersControllerInterface interface { GetDecodersFiles(params *DecodersControllerGetDecodersFilesParams) (*AllItemsResponseDecodersFiles, error) GetDecodersParents(params *DecodersControllerGetDecodersParentsParams) (*AllItemsResponse, error) GetDecoders(params *DecodersControllerGetDecodersParams) (*AllItemsResponseDecoders, error) GetDownloadFile(downloadFile DownloadFile, params *DecodersControllerGetDownloadFileParams) (*DecodersControllerGetDownloadFileResponse, error) }
DecodersControllerInterface contains all methods for the wazuh controller api
type DefaultController ¶
type DefaultController struct {
*ClientWithResponses
}
DefaultController implementation of the DefaultController interface
func (*DefaultController) DefaultInfo ¶
func (c *DefaultController) DefaultInfo(params *DefaultControllerDefaultInfoParams) (*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 ParseDefaultControllerDefaultInfoResponse ¶
func ParseDefaultControllerDefaultInfoResponse(rsp *http.Response) (*DefaultControllerDefaultInfoResponse, error)
ParseDefaultControllerDefaultInfoResponse 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) (*BasicInfo, error)
}
DefaultControllerInterface contains all methods for the wazuh controller api
type DeleteFilesPath ¶
type DeleteFilesPath string
DeleteFilesPath defines model for delete_files_path.
type ExperimentalController ¶
type ExperimentalController struct {
*ClientWithResponses
}
ExperimentalController implementation of the ExperimentalController interface
func (*ExperimentalController) ClearSyscheckDatabase ¶
func (c *ExperimentalController) ClearSyscheckDatabase(params *ExperimentalControllerClearSyscheckDatabaseParams) (*AllItemsResponseAgentIDs, error)
ClearSyscheckDatabase calls the Experimental controller´s function
func (*ExperimentalController) GetCisCatResults ¶
func (c *ExperimentalController) GetCisCatResults(params *ExperimentalControllerGetCisCatResultsParams) (*AllItemsResponseCiscatResult, error)
GetCisCatResults calls the Experimental controller´s function
func (*ExperimentalController) GetHardwareInfo ¶
func (c *ExperimentalController) GetHardwareInfo(params *ExperimentalControllerGetHardwareInfoParams) (*AllItemsResponseSyscollectorHardware, error)
GetHardwareInfo calls the Experimental controller´s function
func (*ExperimentalController) GetHotfixesInfo ¶
func (c *ExperimentalController) GetHotfixesInfo(params *ExperimentalControllerGetHotfixesInfoParams) (*AllItemsResponseSyscollectorHotfixes, error)
GetHotfixesInfo calls the Experimental controller´s function
func (*ExperimentalController) GetNetworkAddressInfo ¶
func (c *ExperimentalController) GetNetworkAddressInfo(params *ExperimentalControllerGetNetworkAddressInfoParams) (*AllItemsResponseSyscollectorNetwork, error)
GetNetworkAddressInfo calls the Experimental controller´s function
func (*ExperimentalController) GetNetworkInterfaceInfo ¶
func (c *ExperimentalController) GetNetworkInterfaceInfo(params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*AllItemsResponseSyscollectorInterface, error)
GetNetworkInterfaceInfo calls the Experimental controller´s function
func (*ExperimentalController) GetNetworkProtocolInfo ¶
func (c *ExperimentalController) GetNetworkProtocolInfo(params *ExperimentalControllerGetNetworkProtocolInfoParams) (*AllItemsResponseSyscollectorProtocol, error)
GetNetworkProtocolInfo calls the Experimental controller´s function
func (*ExperimentalController) GetOsInfo ¶
func (c *ExperimentalController) GetOsInfo(params *ExperimentalControllerGetOsInfoParams) (*AllItemsResponseSyscollectorOS, error)
GetOsInfo calls the Experimental controller´s function
func (*ExperimentalController) GetPackagesInfo ¶
func (c *ExperimentalController) GetPackagesInfo(params *ExperimentalControllerGetPackagesInfoParams) (*AllItemsResponseSyscollectorPackages, error)
GetPackagesInfo calls the Experimental controller´s function
func (*ExperimentalController) GetPortsInfo ¶
func (c *ExperimentalController) GetPortsInfo(params *ExperimentalControllerGetPortsInfoParams) (*AllItemsResponseSyscollectorPorts, error)
GetPortsInfo calls the Experimental controller´s function
func (*ExperimentalController) GetProcessesInfo ¶
func (c *ExperimentalController) GetProcessesInfo(params *ExperimentalControllerGetProcessesInfoParams) (*AllItemsResponseSyscollectorProcesses, error)
GetProcessesInfo calls the Experimental controller´s function
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 AgentsListDelete `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 ParseExperimentalControllerClearSyscheckDatabaseResponse ¶
func ParseExperimentalControllerClearSyscheckDatabaseResponse(rsp *http.Response) (*ExperimentalControllerClearSyscheckDatabaseResponse, error)
ParseExperimentalControllerClearSyscheckDatabaseResponse 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 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 beggining 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 ParseExperimentalControllerGetCisCatResultsResponse ¶
func ParseExperimentalControllerGetCisCatResultsResponse(rsp *http.Response) (*ExperimentalControllerGetCisCatResultsResponse, error)
ParseExperimentalControllerGetCisCatResultsResponse 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 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 beggining 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 ParseExperimentalControllerGetHardwareInfoResponse ¶
func ParseExperimentalControllerGetHardwareInfoResponse(rsp *http.Response) (*ExperimentalControllerGetHardwareInfoResponse, error)
ParseExperimentalControllerGetHardwareInfoResponse 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 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 beggining 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 ParseExperimentalControllerGetHotfixesInfoResponse ¶
func ParseExperimentalControllerGetHotfixesInfoResponse(rsp *http.Response) (*ExperimentalControllerGetHotfixesInfoResponse, error)
ParseExperimentalControllerGetHotfixesInfoResponse 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 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 beggining 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 ParseExperimentalControllerGetNetworkAddressInfoResponse ¶
func ParseExperimentalControllerGetNetworkAddressInfoResponse(rsp *http.Response) (*ExperimentalControllerGetNetworkAddressInfoResponse, error)
ParseExperimentalControllerGetNetworkAddressInfoResponse 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 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 beggining 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 agent 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 ParseExperimentalControllerGetNetworkInterfaceInfoResponse ¶
func ParseExperimentalControllerGetNetworkInterfaceInfoResponse(rsp *http.Response) (*ExperimentalControllerGetNetworkInterfaceInfoResponse, error)
ParseExperimentalControllerGetNetworkInterfaceInfoResponse 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 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 beggining 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 ParseExperimentalControllerGetNetworkProtocolInfoResponse ¶
func ParseExperimentalControllerGetNetworkProtocolInfoResponse(rsp *http.Response) (*ExperimentalControllerGetNetworkProtocolInfoResponse, error)
ParseExperimentalControllerGetNetworkProtocolInfoResponse 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 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 beggining 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 ParseExperimentalControllerGetOsInfoResponse ¶
func ParseExperimentalControllerGetOsInfoResponse(rsp *http.Response) (*ExperimentalControllerGetOsInfoResponse, error)
ParseExperimentalControllerGetOsInfoResponse 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 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 beggining 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 agent 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 version name 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 ParseExperimentalControllerGetPackagesInfoResponse ¶
func ParseExperimentalControllerGetPackagesInfoResponse(rsp *http.Response) (*ExperimentalControllerGetPackagesInfoResponse, error)
ParseExperimentalControllerGetPackagesInfoResponse 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 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 beggining 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 ParseExperimentalControllerGetPortsInfoResponse ¶
func ParseExperimentalControllerGetPortsInfoResponse(rsp *http.Response) (*ExperimentalControllerGetPortsInfoResponse, error)
ParseExperimentalControllerGetPortsInfoResponse 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 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 beggining 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 ParseExperimentalControllerGetProcessesInfoResponse ¶
func ParseExperimentalControllerGetProcessesInfoResponse(rsp *http.Response) (*ExperimentalControllerGetProcessesInfoResponse, error)
ParseExperimentalControllerGetProcessesInfoResponse 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 { ClearSyscheckDatabase(params *ExperimentalControllerClearSyscheckDatabaseParams) (*AllItemsResponseAgentIDs, error) GetCisCatResults(params *ExperimentalControllerGetCisCatResultsParams) (*AllItemsResponseCiscatResult, error) GetHardwareInfo(params *ExperimentalControllerGetHardwareInfoParams) (*AllItemsResponseSyscollectorHardware, error) GetHotfixesInfo(params *ExperimentalControllerGetHotfixesInfoParams) (*AllItemsResponseSyscollectorHotfixes, error) GetNetworkAddressInfo(params *ExperimentalControllerGetNetworkAddressInfoParams) (*AllItemsResponseSyscollectorNetwork, error) GetNetworkInterfaceInfo(params *ExperimentalControllerGetNetworkInterfaceInfoParams) (*AllItemsResponseSyscollectorInterface, error) GetNetworkProtocolInfo(params *ExperimentalControllerGetNetworkProtocolInfoParams) (*AllItemsResponseSyscollectorProtocol, error) GetOsInfo(params *ExperimentalControllerGetOsInfoParams) (*AllItemsResponseSyscollectorOS, error) GetPackagesInfo(params *ExperimentalControllerGetPackagesInfoParams) (*AllItemsResponseSyscollectorPackages, error) GetPortsInfo(params *ExperimentalControllerGetPortsInfoParams) (*AllItemsResponseSyscollectorPorts, error) GetProcessesInfo(params *ExperimentalControllerGetProcessesInfoParams) (*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 GroupConfiguration ¶
type GroupConfiguration struct { // Group configuration. The fields on this object depend on the actual group configuration Config map[string]interface{} `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 GroupsListDelete ¶
type GroupsListDelete []GroupIDDELETE
GroupsListDelete defines model for groups_list_delete.
type Hash ¶
type Hash string
Hash defines model for hash.
const ( Hash_blake2b Hash = "blake2b" Hash_blake2s Hash = "blake2s" Hash_md5 Hash = "md5" Hash_sha1 Hash = "sha1" Hash_sha224 Hash = "sha224" Hash_sha256 Hash = "sha256" Hash_sha384 Hash = "sha384" Hash_sha3_224 Hash = "sha3_224" Hash_sha3_256 Hash = "sha3_256" Hash_sha3_384 Hash = "sha3_384" Hash_sha3_512 Hash = "sha3_512" Hash_sha512 Hash = "sha512" )
List of Hash
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 []interface{} `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 ListsController ¶
type ListsController struct {
*ClientWithResponses
}
ListsController implementation of the ListsController interface
func (*ListsController) GetLists ¶
func (c *ListsController) GetLists(params *ListsControllerGetListsParams) (*AllItemsResponseLists, error)
GetLists calls the Lists controller´s function
func (*ListsController) GetListsFiles ¶
func (c *ListsController) GetListsFiles(params *ListsControllerGetListsFilesParams) (*AllItemsResponseListsFiles, error)
GetListsFiles calls the Lists controller´s function
type ListsControllerGetListsFilesParams ¶
type ListsControllerGetListsFilesParams 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 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 beggining Search *Search `json:"search,omitempty"` // Filter by relative directory name RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"` // Filter by filename Filename *Filename `json:"filename,omitempty"` }
ListsControllerGetListsFilesParams defines parameters for ListsControllerGetListsFiles.
type ListsControllerGetListsFilesResponse ¶
type ListsControllerGetListsFilesResponse 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 ParseListsControllerGetListsFilesResponse ¶
func ParseListsControllerGetListsFilesResponse(rsp *http.Response) (*ListsControllerGetListsFilesResponse, error)
ParseListsControllerGetListsFilesResponse parses an HTTP response from a ListsControllerGetListsFilesWithResponse call
func (ListsControllerGetListsFilesResponse) Status ¶
func (r ListsControllerGetListsFilesResponse) Status() string
Status returns HTTPResponse.Status
func (ListsControllerGetListsFilesResponse) StatusCode ¶
func (r ListsControllerGetListsFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListsControllerGetListsParams ¶
type ListsControllerGetListsParams 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 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 beggining Search *Search `json:"search,omitempty"` // Filter by relative directory name RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"` // Filter by filename Filename *Filename `json:"filename,omitempty"` }
ListsControllerGetListsParams defines parameters for ListsControllerGetLists.
type ListsControllerGetListsResponse ¶
type ListsControllerGetListsResponse 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 ParseListsControllerGetListsResponse ¶
func ParseListsControllerGetListsResponse(rsp *http.Response) (*ListsControllerGetListsResponse, error)
ParseListsControllerGetListsResponse parses an HTTP response from a ListsControllerGetListsWithResponse call
func (ListsControllerGetListsResponse) Status ¶
func (r ListsControllerGetListsResponse) Status() string
Status returns HTTPResponse.Status
func (ListsControllerGetListsResponse) StatusCode ¶
func (r ListsControllerGetListsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListsControllerInterface ¶
type ListsControllerInterface interface { GetListsFiles(params *ListsControllerGetListsFilesParams) (*AllItemsResponseListsFiles, error) GetLists(params *ListsControllerGetListsParams) (*AllItemsResponseLists, error) }
ListsControllerInterface contains all methods for the wazuh controller api
type LocalPortInfo ¶
type LocalPortInfo struct { // Bind IP Ip *string `json:"ip,omitempty"` // Port used Port *int32 `json:"port,omitempty"` }
LocalPortInfo defines model for LocalPortInfo.
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 ManagerController ¶
type ManagerController struct {
*ClientWithResponses
}
ManagerController implementation of the ManagerController interface
func (*ManagerController) DeleteFiles ¶
func (c *ManagerController) DeleteFiles(params *ManagerControllerDeleteFilesParams) (*struct { ApiResponse ConfirmationMessage }, error)
DeleteFiles calls the Manager controller´s function
func (*ManagerController) GetAPIConfig ¶
func (c *ManagerController) GetAPIConfig(params *ManagerControllerGetApiConfigParams) (*ApiResponse, error)
GetAPIConfig calls the Manager controller´s function
func (*ManagerController) GetConfValidation ¶
func (c *ManagerController) GetConfValidation(params *ManagerControllerGetConfValidationParams) (*ConfigurationValidation, error)
GetConfValidation calls the Manager controller´s function
func (*ManagerController) GetConfiguration ¶
func (c *ManagerController) GetConfiguration(params *ManagerControllerGetConfigurationParams) (*WazuhMangerConfiguration, error)
GetConfiguration calls the Manager controller´s function
func (*ManagerController) GetFiles ¶
func (c *ManagerController) GetFiles(params *ManagerControllerGetFilesParams) (*struct{ Contents *string }, error)
GetFiles calls the Manager controller´s function
func (*ManagerController) GetInfo ¶
func (c *ManagerController) GetInfo(params *ManagerControllerGetInfoParams) (*WazuhInfo, error)
GetInfo calls the Manager controller´s function
func (*ManagerController) GetLog ¶
func (c *ManagerController) GetLog(params *ManagerControllerGetLogParams) (*AllItemsResponseWazuhLogs, error)
GetLog calls the Manager controller´s function
func (*ManagerController) GetLogSummary ¶
func (c *ManagerController) GetLogSummary(params *ManagerControllerGetLogSummaryParams) (*WazuhLogsSummary, error)
GetLogSummary calls the Manager controller´s function
func (*ManagerController) GetManagerConfigOndemand ¶
func (c *ManagerController) GetManagerConfigOndemand(component Component, configuration Configuration, params *ManagerControllerGetManagerConfigOndemandParams) (*struct{ ApiResponse }, error)
GetManagerConfigOndemand calls the Manager controller´s function
func (*ManagerController) GetStats ¶
func (c *ManagerController) GetStats(params *ManagerControllerGetStatsParams) (*AllItemsResponseWazuhStats, error)
GetStats calls the Manager controller´s function
func (*ManagerController) GetStatsAnalysisd ¶
func (c *ManagerController) GetStatsAnalysisd(params *ManagerControllerGetStatsAnalysisdParams) (*AllItemsResponseWazuhStats, error)
GetStatsAnalysisd calls the Manager controller´s function
func (*ManagerController) GetStatsHourly ¶
func (c *ManagerController) GetStatsHourly(params *ManagerControllerGetStatsHourlyParams) (*AllItemsResponseWazuhStats, error)
GetStatsHourly calls the Manager controller´s function
func (*ManagerController) GetStatsRemoted ¶
func (c *ManagerController) GetStatsRemoted(params *ManagerControllerGetStatsRemotedParams) (*AllItemsResponseWazuhStats, error)
GetStatsRemoted calls the Manager controller´s function
func (*ManagerController) GetStatsWeekly ¶
func (c *ManagerController) GetStatsWeekly(params *ManagerControllerGetStatsWeeklyParams) (*AllItemsResponseWazuhStats, error)
GetStatsWeekly calls the Manager controller´s function
func (*ManagerController) GetStatus ¶
func (c *ManagerController) GetStatus(params *ManagerControllerGetStatusParams) (*WazuhDaemonsStatus, error)
GetStatus calls the Manager controller´s function
func (*ManagerController) PutFilesWithBody ¶
func (c *ManagerController) PutFilesWithBody(params *ManagerControllerPutFilesParams, contentType string, body io.Reader) (*struct { ApiResponse ConfirmationMessage }, error)
PutFilesWithBody calls the Manager controller´s function
func (*ManagerController) PutRestart ¶
func (c *ManagerController) PutRestart(params *ManagerControllerPutRestartParams) (*ApiResponse, error)
PutRestart calls the Manager controller´s function
type ManagerControllerDeleteFilesParams ¶
type ManagerControllerDeleteFilesParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Filepath to delete file. (Relative to wazuh installation folder) Path DeleteFilesPath `json:"path"` }
ManagerControllerDeleteFilesParams defines parameters for ManagerControllerDeleteFiles.
type ManagerControllerDeleteFilesResponse ¶
type ManagerControllerDeleteFilesResponse 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 ParseManagerControllerDeleteFilesResponse ¶
func ParseManagerControllerDeleteFilesResponse(rsp *http.Response) (*ManagerControllerDeleteFilesResponse, error)
ParseManagerControllerDeleteFilesResponse parses an HTTP response from a ManagerControllerDeleteFilesWithResponse call
func (ManagerControllerDeleteFilesResponse) Status ¶
func (r ManagerControllerDeleteFilesResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerDeleteFilesResponse) StatusCode ¶
func (r ManagerControllerDeleteFilesResponse) 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 ParseManagerControllerGetApiConfigResponse ¶
func ParseManagerControllerGetApiConfigResponse(rsp *http.Response) (*ManagerControllerGetApiConfigResponse, error)
ParseManagerControllerGetApiConfigResponse 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 ParseManagerControllerGetConfValidationResponse ¶
func ParseManagerControllerGetConfValidationResponse(rsp *http.Response) (*ManagerControllerGetConfValidationResponse, error)
ParseManagerControllerGetConfValidationResponse 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"` // Indicates the wazuh configuration section Section *Section `json:"section,omitempty"` // Indicate a section child. E.g, fields for *ruleset* section are: decoder_dir, rule_dir, etc Field *Field `json:"field,omitempty"` }
ManagerControllerGetConfigurationParams 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 *WazuhMangerConfiguration `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseManagerControllerGetConfigurationResponse ¶
func ParseManagerControllerGetConfigurationResponse(rsp *http.Response) (*ManagerControllerGetConfigurationResponse, error)
ParseManagerControllerGetConfigurationResponse 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 ManagerControllerGetFilesParams ¶
type ManagerControllerGetFilesParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Filepath to return file. (Relative to wazuh installation folder) Path GetFilesPath `json:"path"` }
ManagerControllerGetFilesParams defines parameters for ManagerControllerGetFiles.
type ManagerControllerGetFilesResponse ¶
type ManagerControllerGetFilesResponse 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 { // File contents Contents *string `json:"contents,omitempty"` } `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseManagerControllerGetFilesResponse ¶
func ParseManagerControllerGetFilesResponse(rsp *http.Response) (*ManagerControllerGetFilesResponse, error)
ParseManagerControllerGetFilesResponse parses an HTTP response from a ManagerControllerGetFilesWithResponse call
func (ManagerControllerGetFilesResponse) Status ¶
func (r ManagerControllerGetFilesResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerGetFilesResponse) StatusCode ¶
func (r ManagerControllerGetFilesResponse) 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 ParseManagerControllerGetInfoResponse ¶
func ParseManagerControllerGetInfoResponse(rsp *http.Response) (*ManagerControllerGetInfoResponse, error)
ParseManagerControllerGetInfoResponse 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 elements to return 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 beggining Search *Search `json:"search,omitempty"` // Wazuh component that logged the event Tag *Tag `json:"tag,omitempty"` // Filter by log level Level *LogLevel `json:"level,omitempty"` // Query to filter results by. For example q="status=active" Q *Query `json:"q,omitempty"` }
ManagerControllerGetLogParams 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 ParseManagerControllerGetLogResponse ¶
func ParseManagerControllerGetLogResponse(rsp *http.Response) (*ManagerControllerGetLogResponse, error)
ParseManagerControllerGetLogResponse 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 ParseManagerControllerGetLogSummaryResponse ¶
func ParseManagerControllerGetLogSummaryResponse(rsp *http.Response) (*ManagerControllerGetLogSummaryResponse, error)
ParseManagerControllerGetLogSummaryResponse 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 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 ParseManagerControllerGetManagerConfigOndemandResponse ¶
func ParseManagerControllerGetManagerConfigOndemandResponse(rsp *http.Response) (*ManagerControllerGetManagerConfigOndemandResponse, error)
ParseManagerControllerGetManagerConfigOndemandResponse 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 ParseManagerControllerGetStatsAnalysisdResponse ¶
func ParseManagerControllerGetStatsAnalysisdResponse(rsp *http.Response) (*ManagerControllerGetStatsAnalysisdResponse, error)
ParseManagerControllerGetStatsAnalysisdResponse 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 ParseManagerControllerGetStatsHourlyResponse ¶
func ParseManagerControllerGetStatsHourlyResponse(rsp *http.Response) (*ManagerControllerGetStatsHourlyResponse, error)
ParseManagerControllerGetStatsHourlyResponse 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 ParseManagerControllerGetStatsRemotedResponse ¶
func ParseManagerControllerGetStatsRemotedResponse(rsp *http.Response) (*ManagerControllerGetStatsRemotedResponse, error)
ParseManagerControllerGetStatsRemotedResponse 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 ParseManagerControllerGetStatsResponse ¶
func ParseManagerControllerGetStatsResponse(rsp *http.Response) (*ManagerControllerGetStatsResponse, error)
ParseManagerControllerGetStatsResponse 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 ParseManagerControllerGetStatsWeeklyResponse ¶
func ParseManagerControllerGetStatsWeeklyResponse(rsp *http.Response) (*ManagerControllerGetStatsWeeklyResponse, error)
ParseManagerControllerGetStatsWeeklyResponse 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 ParseManagerControllerGetStatusResponse ¶
func ParseManagerControllerGetStatusResponse(rsp *http.Response) (*ManagerControllerGetStatusResponse, error)
ParseManagerControllerGetStatusResponse 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 { DeleteFiles(params *ManagerControllerDeleteFilesParams) (*struct { ApiResponse ConfirmationMessage }, error) GetAPIConfig(params *ManagerControllerGetApiConfigParams) (*ApiResponse, error) GetConfValidation(params *ManagerControllerGetConfValidationParams) (*ConfigurationValidation, error) GetConfiguration(params *ManagerControllerGetConfigurationParams) (*WazuhMangerConfiguration, error) GetFiles(params *ManagerControllerGetFilesParams) (*struct{ Contents *string }, error) GetInfo(params *ManagerControllerGetInfoParams) (*WazuhInfo, error) GetLogSummary(params *ManagerControllerGetLogSummaryParams) (*WazuhLogsSummary, error) GetLog(params *ManagerControllerGetLogParams) (*AllItemsResponseWazuhLogs, error) GetManagerConfigOndemand(component Component, configuration Configuration, params *ManagerControllerGetManagerConfigOndemandParams) (*struct{ ApiResponse }, error) GetStatsAnalysisd(params *ManagerControllerGetStatsAnalysisdParams) (*AllItemsResponseWazuhStats, error) GetStatsHourly(params *ManagerControllerGetStatsHourlyParams) (*AllItemsResponseWazuhStats, error) GetStatsRemoted(params *ManagerControllerGetStatsRemotedParams) (*AllItemsResponseWazuhStats, error) GetStatsWeekly(params *ManagerControllerGetStatsWeeklyParams) (*AllItemsResponseWazuhStats, error) GetStats(params *ManagerControllerGetStatsParams) (*AllItemsResponseWazuhStats, error) GetStatus(params *ManagerControllerGetStatusParams) (*WazuhDaemonsStatus, error) PutFilesWithBody(params *ManagerControllerPutFilesParams, contentType string, body io.Reader) (*struct { ApiResponse ConfirmationMessage }, error) PutRestart(params *ManagerControllerPutRestartParams) (*ApiResponse, error) }
ManagerControllerInterface contains all methods for the wazuh controller api
type ManagerControllerPutFilesParams ¶
type ManagerControllerPutFilesParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // Filepath to upload/edit file. (Relative to wazuh installation folder) Path EditFilesPath `json:"path"` // If set to false, an exception will be raised when updating contents of an already existing filename Overwrite *Overwrite `json:"overwrite,omitempty"` }
ManagerControllerPutFilesParams defines parameters for ManagerControllerPutFiles.
type ManagerControllerPutFilesResponse ¶
type ManagerControllerPutFilesResponse 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 JSON429 *RequestError }
func ParseManagerControllerPutFilesResponse ¶
func ParseManagerControllerPutFilesResponse(rsp *http.Response) (*ManagerControllerPutFilesResponse, error)
ParseManagerControllerPutFilesResponse parses an HTTP response from a ManagerControllerPutFilesWithResponse call
func (ManagerControllerPutFilesResponse) Status ¶
func (r ManagerControllerPutFilesResponse) Status() string
Status returns HTTPResponse.Status
func (ManagerControllerPutFilesResponse) StatusCode ¶
func (r ManagerControllerPutFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 ParseManagerControllerPutRestartResponse ¶
func ParseManagerControllerPutRestartResponse(rsp *http.Response) (*ManagerControllerPutRestartResponse, error)
ParseManagerControllerPutRestartResponse 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 MitreController ¶
type MitreController struct {
*ClientWithResponses
}
MitreController implementation of the MitreController interface
func (*MitreController) GetAttack ¶
func (c *MitreController) GetAttack(params *MitreControllerGetAttackParams) (*ApiResponse, error)
GetAttack calls the Mitre controller´s function
type MitreControllerGetAttackParams ¶
type MitreControllerGetAttackParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` // MITRE attack ID Id *AttackId `json:"id,omitempty"` // Show results filtered by phase PhaseName *PhaseName `json:"phase_name,omitempty"` // Show results filtered by platform PlatformName *PlatformName `json:"platform_name,omitempty"` // First element to return in the collection Offset *Offset `json:"offset,omitempty"` // Maximum number of elements to return 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 beggining 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"` }
MitreControllerGetAttackParams defines parameters for MitreControllerGetAttack.
type MitreControllerGetAttackResponse ¶
type MitreControllerGetAttackResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApiResponse JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseMitreControllerGetAttackResponse ¶
func ParseMitreControllerGetAttackResponse(rsp *http.Response) (*MitreControllerGetAttackResponse, error)
ParseMitreControllerGetAttackResponse parses an HTTP response from a MitreControllerGetAttackWithResponse call
func (MitreControllerGetAttackResponse) Status ¶
func (r MitreControllerGetAttackResponse) Status() string
Status returns HTTPResponse.Status
func (MitreControllerGetAttackResponse) StatusCode ¶
func (r MitreControllerGetAttackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MitreControllerInterface ¶
type MitreControllerInterface interface {
GetAttack(params *MitreControllerGetAttackParams) (*ApiResponse, error)
}
MitreControllerInterface contains all methods for the wazuh controller api
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"` }
NetworkInterfaceReceivedPackets defines model for NetworkInterfaceReceivedPackets.
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"` }
NetworkInterfaceSentPackets defines model for NetworkInterfaceSentPackets.
type NodeHealthcheck ¶
type NodeHealthcheck struct { Name *struct { Info *struct { Info *struct { // Embedded struct due to allOf(#/components/schemas/ClusterNodeBasic) ClusterNodeBasic `yaml:",inline"` // 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"` TotalAgentinfo *int32 `json:"total_agentinfo,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_agentinfo_free,omitempty"` SyncExtravalidFree *bool `json:"sync_extravalid_free,omitempty"` SyncIntegrityFree *bool `json:"sync_integrity_free,omitempty"` } `json:"status,omitempty"` } `json:"name,omitempty"` }
NodeHealthcheck defines model for NodeHealthcheck.
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 []AgentGroupID `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) (*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 ParseOverviewControllerGetOverviewAgentsResponse ¶
func ParseOverviewControllerGetOverviewAgentsResponse(rsp *http.Response) (*OverviewControllerGetOverviewAgentsResponse, error)
ParseOverviewControllerGetOverviewAgentsResponse 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) (*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"` }
RemotePortInfo defines model for RemotePortInfo.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestError ¶
type RequestError struct { Detail string `json:"detail"` Error *int32 `json:"error,omitempty"` Title string `json:"title"` }
RequestError defines model for RequestError.
type RequestTooLargeResponse ¶
type RequestTooLargeResponse RequestError
RequestTooLargeResponse defines model for RequestTooLargeResponse.
type ResourceList ¶
type ResourceList string
ResourceList defines model for resource_list.
const ( ResourceList____ ResourceList = "*:*" ResourceList_agent_group ResourceList = "agent:group" ResourceList_agent_id ResourceList = "agent:id" ResourceList_decoder_file ResourceList = "decoder:file" ResourceList_file_path ResourceList = "file:path" ResourceList_group_id ResourceList = "group:id" ResourceList_list_path ResourceList = "list:path" ResourceList_node_id ResourceList = "node:id" ResourceList_policy_id ResourceList = "policy:id" ResourceList_role_id ResourceList = "role:id" ResourceList_rule_file ResourceList = "rule:file" ResourceList_user_id ResourceList = "user:id" )
List of 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]interface{} `json:"rule,omitempty"` }
RolesResponse defines model for RolesResponse.
type Rule ¶
type Rule struct { // Embedded struct due to allOf(#/components/schemas/RuleFile) RuleFile `yaml:",inline"` // 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]interface{} `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 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.
const ( RuleRequirement_gdpr RuleRequirement = "gdpr" RuleRequirement_gpg13 RuleRequirement = "gpg13" RuleRequirement_hipaa RuleRequirement = "hipaa" RuleRequirement_mitre RuleRequirement = "mitre" RuleRequirement_nist_800_53 RuleRequirement = "nist-800-53" RuleRequirement_pci_dss RuleRequirement = "pci_dss" RuleRequirement_tsc RuleRequirement = "tsc" )
List of RuleRequirement
type RulesController ¶
type RulesController struct {
*ClientWithResponses
}
RulesController implementation of the RulesController interface
func (*RulesController) GetDownloadFile ¶
func (c *RulesController) GetDownloadFile(downloadFile DownloadFile, params *RulesControllerGetDownloadFileParams) (*RulesControllerGetDownloadFileResponse, error)
GetDownloadFile calls the Rules controller´s function
func (*RulesController) GetRules ¶
func (c *RulesController) GetRules(params *RulesControllerGetRulesParams) (*AllItemsResponseRules, error)
GetRules calls the Rules controller´s function
func (*RulesController) GetRulesFiles ¶
func (c *RulesController) GetRulesFiles(params *RulesControllerGetRulesFilesParams) (*AllItemsResponseRulesFiles, error)
GetRulesFiles calls the Rules controller´s function
func (*RulesController) GetRulesGroups ¶
func (c *RulesController) GetRulesGroups(params *RulesControllerGetRulesGroupsParams) (*AllItemsResponse, error)
GetRulesGroups calls the Rules controller´s function
func (*RulesController) GetRulesRequirement ¶
func (c *RulesController) GetRulesRequirement(ruleRequirement RuleRequirement, params *RulesControllerGetRulesRequirementParams) (*AllItemsResponse, error)
GetRulesRequirement calls the Rules controller´s function
type RulesControllerGetDownloadFileParams ¶
type RulesControllerGetDownloadFileParams struct { // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` // Disable timeout response WaitForComplete *WaitForComplete `json:"wait_for_complete,omitempty"` }
RulesControllerGetDownloadFileParams defines parameters for RulesControllerGetDownloadFile.
type RulesControllerGetDownloadFileResponse ¶
type RulesControllerGetDownloadFileResponse struct { Body []byte HTTPResponse *http.Response XML200 *string JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseRulesControllerGetDownloadFileResponse ¶
func ParseRulesControllerGetDownloadFileResponse(rsp *http.Response) (*RulesControllerGetDownloadFileResponse, error)
ParseRulesControllerGetDownloadFileResponse parses an HTTP response from a RulesControllerGetDownloadFileWithResponse call
func (RulesControllerGetDownloadFileResponse) Status ¶
func (r RulesControllerGetDownloadFileResponse) Status() string
Status returns HTTPResponse.Status
func (RulesControllerGetDownloadFileResponse) StatusCode ¶
func (r RulesControllerGetDownloadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RulesControllerGetRulesFilesParams ¶
type RulesControllerGetRulesFilesParams 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 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 beggining Search *Search `json:"search,omitempty"` // Filter by relative directory name RelativeDirname *GetDirnamesPath `json:"relative_dirname,omitempty"` // Filter by filename Filename *Filename `json:"filename,omitempty"` // Filter by list status. Use commas to enter multiple statuses Status *StatusRLDParam `json:"status,omitempty"` }
RulesControllerGetRulesFilesParams defines parameters for RulesControllerGetRulesFiles.
type RulesControllerGetRulesFilesResponse ¶
type RulesControllerGetRulesFilesResponse 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 ParseRulesControllerGetRulesFilesResponse ¶
func ParseRulesControllerGetRulesFilesResponse(rsp *http.Response) (*RulesControllerGetRulesFilesResponse, error)
ParseRulesControllerGetRulesFilesResponse parses an HTTP response from a RulesControllerGetRulesFilesWithResponse call
func (RulesControllerGetRulesFilesResponse) Status ¶
func (r RulesControllerGetRulesFilesResponse) Status() string
Status returns HTTPResponse.Status
func (RulesControllerGetRulesFilesResponse) StatusCode ¶
func (r RulesControllerGetRulesFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RulesControllerGetRulesGroupsParams ¶
type RulesControllerGetRulesGroupsParams 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 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 beggining Search *Search `json:"search,omitempty"` }
RulesControllerGetRulesGroupsParams defines parameters for RulesControllerGetRulesGroups.
type RulesControllerGetRulesGroupsResponse ¶
type RulesControllerGetRulesGroupsResponse 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 ParseRulesControllerGetRulesGroupsResponse ¶
func ParseRulesControllerGetRulesGroupsResponse(rsp *http.Response) (*RulesControllerGetRulesGroupsResponse, error)
ParseRulesControllerGetRulesGroupsResponse parses an HTTP response from a RulesControllerGetRulesGroupsWithResponse call
func (RulesControllerGetRulesGroupsResponse) Status ¶
func (r RulesControllerGetRulesGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (RulesControllerGetRulesGroupsResponse) StatusCode ¶
func (r RulesControllerGetRulesGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RulesControllerGetRulesParams ¶
type RulesControllerGetRulesParams 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 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 beggining 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 *StatusRLDParam `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 attack ID Mitre *Mitre `json:"mitre,omitempty"` }
RulesControllerGetRulesParams defines parameters for RulesControllerGetRules.
type RulesControllerGetRulesRequirementParams ¶
type RulesControllerGetRulesRequirementParams 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 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 beggining Search *Search `json:"search,omitempty"` }
RulesControllerGetRulesRequirementParams defines parameters for RulesControllerGetRulesRequirement.
type RulesControllerGetRulesRequirementResponse ¶
type RulesControllerGetRulesRequirementResponse 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 ParseRulesControllerGetRulesRequirementResponse ¶
func ParseRulesControllerGetRulesRequirementResponse(rsp *http.Response) (*RulesControllerGetRulesRequirementResponse, error)
ParseRulesControllerGetRulesRequirementResponse parses an HTTP response from a RulesControllerGetRulesRequirementWithResponse call
func (RulesControllerGetRulesRequirementResponse) Status ¶
func (r RulesControllerGetRulesRequirementResponse) Status() string
Status returns HTTPResponse.Status
func (RulesControllerGetRulesRequirementResponse) StatusCode ¶
func (r RulesControllerGetRulesRequirementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RulesControllerGetRulesResponse ¶
type RulesControllerGetRulesResponse 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 ParseRulesControllerGetRulesResponse ¶
func ParseRulesControllerGetRulesResponse(rsp *http.Response) (*RulesControllerGetRulesResponse, error)
ParseRulesControllerGetRulesResponse parses an HTTP response from a RulesControllerGetRulesWithResponse call
func (RulesControllerGetRulesResponse) Status ¶
func (r RulesControllerGetRulesResponse) Status() string
Status returns HTTPResponse.Status
func (RulesControllerGetRulesResponse) StatusCode ¶
func (r RulesControllerGetRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RulesControllerInterface ¶
type RulesControllerInterface interface { GetDownloadFile(downloadFile DownloadFile, params *RulesControllerGetDownloadFileParams) (*RulesControllerGetDownloadFileResponse, error) GetRulesFiles(params *RulesControllerGetRulesFilesParams) (*AllItemsResponseRulesFiles, error) GetRulesGroups(params *RulesControllerGetRulesGroupsParams) (*AllItemsResponse, error) GetRulesRequirement(ruleRequirement RuleRequirement, params *RulesControllerGetRulesRequirementParams) (*AllItemsResponse, error) GetRules(params *RulesControllerGetRulesParams) (*AllItemsResponseRules, error) }
RulesControllerInterface contains all methods for the wazuh controller api
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 *string `json:"status,omitempty"` }
RulesetStatus defines model for RulesetStatus.
type SCAChecks ¶
type SCAChecks struct { // Specify how rule results are aggregated in order to calculate the final value of a check Condition *string `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 *string `json:"result,omitempty"` // A brief description of what is being checked Title *string `json:"title,omitempty"` }
SCAChecks defines model for SCAChecks.
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(agentID AgentId, params *ScaControllerGetScaAgentParams) (*AllItemsResponseSCADatabase, error)
GetScaAgent calls the Sca controller´s function
func (*ScaController) GetScaChecks ¶
func (c *ScaController) GetScaChecks(agentID AgentId, policyID PolicyId, params *ScaControllerGetScaChecksParams) (*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 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 beggining Search *Search `json:"search,omitempty"` // Query to filter results by. For example q="status=active" Q *Query `json:"q,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 ParseScaControllerGetScaAgentResponse ¶
func ParseScaControllerGetScaAgentResponse(rsp *http.Response) (*ScaControllerGetScaAgentResponse, error)
ParseScaControllerGetScaAgentResponse 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 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 beggining Search *Search `json:"search,omitempty"` // Query to filter results by. For example q="status=active" Q *Query `json:"q,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 ParseScaControllerGetScaChecksResponse ¶
func ParseScaControllerGetScaChecksResponse(rsp *http.Response) (*ScaControllerGetScaChecksResponse, error)
ParseScaControllerGetScaChecksResponse 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(agentID AgentId, params *ScaControllerGetScaAgentParams) (*AllItemsResponseSCADatabase, error) GetScaChecks(agentID AgentId, policyID PolicyId, params *ScaControllerGetScaChecksParams) (*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 ( Section_active_response Section = "active-response" Section_agent_key_polling Section = "agent-key-polling" Section_agentless Section = "agentless" Section_alerts Section = "alerts" Section_auth Section = "auth" Section_aws_s3 Section = "aws-s3" Section_azure_logs Section = "azure-logs" Section_cis_cat Section = "cis-cat" Section_client Section = "client" Section_client_buffer Section = "client_buffer" Section_cluster Section = "cluster" Section_command Section = "command" Section_database_output Section = "database_output" Section_docker_listener Section = "docker-listener" Section_email_alerts Section = "email_alerts" Section_global Section = "global" Section_integration Section = "integration" Section_labels Section = "labels" Section_localfile Section = "localfile" Section_logging Section = "logging" Section_open_scap Section = "open-scap" Section_osquery Section = "osquery" Section_remote Section = "remote" Section_reports Section = "reports" Section_rootcheck Section = "rootcheck" Section_ruleset Section = "ruleset" Section_sca Section = "sca" Section_socket Section = "socket" Section_syscheck Section = "syscheck" Section_syscollector Section = "syscollector" Section_syslog_output Section = "syslog_output" Section_vulnerability_detector Section = "vulnerability-detector" )
List of 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 *string `json:"rbac_mode,omitempty"` }
SecurityConfiguration defines model for SecurityConfiguration.
type SecurityController ¶
type SecurityController struct {
*ClientWithResponses
}
SecurityController implementation of the SecurityController interface
func (*SecurityController) AddPolicy ¶
func (c *SecurityController) AddPolicy(params *SecurityControllerAddPolicyParams, securityControllerAddPolicyJSONRequestBody SecurityControllerAddPolicyJSONRequestBody) (*AllItemsResponsePolicies, error)
AddPolicy calls the Security controller´s function
func (*SecurityController) AddPolicyWithBody ¶
func (c *SecurityController) AddPolicyWithBody(params *SecurityControllerAddPolicyParams, contentType string, body io.Reader) (*AllItemsResponsePolicies, error)
AddPolicyWithBody calls the Security controller´s function
func (*SecurityController) AddRole ¶
func (c *SecurityController) AddRole(params *SecurityControllerAddRoleParams, securityControllerAddRoleJSONRequestBody SecurityControllerAddRoleJSONRequestBody) (*AllItemsResponseRoles, error)
AddRole calls the Security controller´s function
func (*SecurityController) AddRoleWithBody ¶
func (c *SecurityController) AddRoleWithBody(params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error)
AddRoleWithBody calls the Security controller´s function
func (*SecurityController) AddRule ¶
func (c *SecurityController) AddRule(params *SecurityControllerAddRuleParams, securityControllerAddRuleJSONRequestBody SecurityControllerAddRuleJSONRequestBody) (*AllItemsResponseRoles, error)
AddRule calls the Security controller´s function
func (*SecurityController) AddRuleWithBody ¶
func (c *SecurityController) AddRuleWithBody(params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error)
AddRuleWithBody calls the Security controller´s function
func (*SecurityController) CreateUser ¶
func (c *SecurityController) CreateUser(params *SecurityControllerCreateUserParams, securityControllerCreateUserJSONRequestBody SecurityControllerCreateUserJSONRequestBody) (*AllItemsResponseUsers, error)
CreateUser calls the Security controller´s function
func (*SecurityController) CreateUserWithBody ¶
func (c *SecurityController) CreateUserWithBody(params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*AllItemsResponseUsers, error)
CreateUserWithBody calls the Security controller´s function
func (*SecurityController) DeleteSecurityConfig ¶
func (c *SecurityController) DeleteSecurityConfig(params *SecurityControllerDeleteSecurityConfigParams) (*map[string]interface{}, error)
DeleteSecurityConfig calls the Security controller´s function
func (*SecurityController) DeleteUsers ¶
func (c *SecurityController) DeleteUsers(params *SecurityControllerDeleteUsersParams) (*AllItemsResponseUsers, error)
DeleteUsers calls the Security controller´s function
func (*SecurityController) GetPolicies ¶
func (c *SecurityController) GetPolicies(params *SecurityControllerGetPoliciesParams) (*AllItemsResponsePolicies, error)
GetPolicies calls the Security controller´s function
func (*SecurityController) GetRbacActions ¶
func (c *SecurityController) GetRbacActions(params *SecurityControllerGetRbacActionsParams) (*struct{ ApiResponse }, error)
GetRbacActions calls the Security controller´s function
func (*SecurityController) GetRbacResources ¶
func (c *SecurityController) GetRbacResources(params *SecurityControllerGetRbacResourcesParams) (*struct{ ApiResponse }, error)
GetRbacResources calls the Security controller´s function
func (*SecurityController) GetRoles ¶
func (c *SecurityController) GetRoles(params *SecurityControllerGetRolesParams) (*AllItemsResponseRoles, error)
GetRoles calls the Security controller´s function
func (*SecurityController) GetRules ¶
func (c *SecurityController) GetRules(params *SecurityControllerGetRulesParams) (*AllItemsResponseRoles, error)
GetRules calls the Security controller´s function
func (*SecurityController) GetSecurityConfig ¶
func (c *SecurityController) GetSecurityConfig(params *SecurityControllerGetSecurityConfigParams) (*ApiResponse, error)
GetSecurityConfig calls the Security controller´s function
func (*SecurityController) GetUserMe ¶
func (c *SecurityController) GetUserMe(params *SecurityControllerGetUserMeParams) (*AllItemsResponseUsers, error)
GetUserMe calls the Security controller´s function
func (*SecurityController) GetUserMePolicies ¶
func (c *SecurityController) GetUserMePolicies(params *SecurityControllerGetUserMePoliciesParams) (*ApiResponse, error)
GetUserMePolicies calls the Security controller´s function
func (*SecurityController) GetUsers ¶
func (c *SecurityController) GetUsers(params *SecurityControllerGetUsersParams) (*AllItemsResponseUsers, error)
GetUsers calls the Security controller´s function
func (*SecurityController) LoginUser ¶
func (c *SecurityController) LoginUser(params *SecurityControllerLoginUserParams) (*Token, error)
LoginUser calls the Security controller´s function
func (*SecurityController) LoginUserRunAs ¶
func (c *SecurityController) LoginUserRunAs(params *SecurityControllerLoginUserParams, securityControllerLoginUserJSONRequestBody SecurityControllerLoginUserJSONRequestBody) (*struct{ Token *string }, error)
LoginUserRunAs calls the Security controller´s function
func (*SecurityController) LoginUserRunAsWithBody ¶
func (c *SecurityController) LoginUserRunAsWithBody(params *SecurityControllerLoginUserParams, contentType string, body io.Reader) (*struct{ Token *string }, error)
LoginUserRunAsWithBody calls the Security controller´s function
func (*SecurityController) LogoutUser ¶
func (c *SecurityController) LogoutUser() (*ApiResponse, error)
LogoutUser calls the Security controller´s function
func (*SecurityController) PutSecurityConfig ¶
func (c *SecurityController) PutSecurityConfig(params *SecurityControllerPutSecurityConfigParams, securityControllerPutSecurityConfigJSONRequestBody SecurityControllerPutSecurityConfigJSONRequestBody) (*map[string]interface{}, error)
PutSecurityConfig calls the Security controller´s function
func (*SecurityController) PutSecurityConfigWithBody ¶
func (c *SecurityController) PutSecurityConfigWithBody(params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader) (*map[string]interface{}, error)
PutSecurityConfigWithBody calls the Security controller´s function
func (*SecurityController) RemovePolicies ¶
func (c *SecurityController) RemovePolicies(params *SecurityControllerRemovePoliciesParams) (*AllItemsResponsePolicies, error)
RemovePolicies calls the Security controller´s function
func (*SecurityController) RemoveRolePolicy ¶
func (c *SecurityController) RemoveRolePolicy(roleID RoleId, params *SecurityControllerRemoveRolePolicyParams) (*struct{ ApiResponse }, error)
RemoveRolePolicy calls the Security controller´s function
func (*SecurityController) RemoveRoleRule ¶
func (c *SecurityController) RemoveRoleRule(roleID RoleId, params *SecurityControllerRemoveRoleRuleParams) (*struct{ ApiResponse }, error)
RemoveRoleRule calls the Security controller´s function
func (*SecurityController) RemoveRoles ¶
func (c *SecurityController) RemoveRoles(params *SecurityControllerRemoveRolesParams) (*AllItemsResponseRoles, error)
RemoveRoles calls the Security controller´s function
func (*SecurityController) RemoveRules ¶
func (c *SecurityController) RemoveRules(params *SecurityControllerRemoveRulesParams) (*AllItemsResponseRoles, error)
RemoveRules calls the Security controller´s function
func (*SecurityController) RemoveUserRole ¶
func (c *SecurityController) RemoveUserRole(userIDRequired UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*AllItemsResponseUsers, error)
RemoveUserRole calls the Security controller´s function
func (*SecurityController) RevokeAllTokens ¶
func (c *SecurityController) RevokeAllTokens() (*map[string]interface{}, error)
RevokeAllTokens calls the Security controller´s function
func (*SecurityController) SetRolePolicy ¶
func (c *SecurityController) SetRolePolicy(roleID RoleId, params *SecurityControllerSetRolePolicyParams) (*struct{ ApiResponse }, error)
SetRolePolicy calls the Security controller´s function
func (*SecurityController) SetRoleRule ¶
func (c *SecurityController) SetRoleRule(roleID RoleId, params *SecurityControllerSetRoleRuleParams) (*struct{ ApiResponse }, error)
SetRoleRule calls the Security controller´s function
func (*SecurityController) SetUserRole ¶
func (c *SecurityController) SetUserRole(userIDRequired UserIdRequired, params *SecurityControllerSetUserRoleParams) (*AllItemsResponseUsers, error)
SetUserRole calls the Security controller´s function
func (*SecurityController) UpdatePolicy ¶
func (c *SecurityController) UpdatePolicy(policyIDRbac PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, securityControllerUpdatePolicyJSONRequestBody SecurityControllerUpdatePolicyJSONRequestBody) (*AllItemsResponsePolicies, error)
UpdatePolicy calls the Security controller´s function
func (*SecurityController) UpdatePolicyWithBody ¶
func (c *SecurityController) UpdatePolicyWithBody(policyIDRbac PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader) (*AllItemsResponsePolicies, error)
UpdatePolicyWithBody calls the Security controller´s function
func (*SecurityController) UpdateRole ¶
func (c *SecurityController) UpdateRole(roleID RoleId, params *SecurityControllerUpdateRoleParams, securityControllerUpdateRoleJSONRequestBody SecurityControllerUpdateRoleJSONRequestBody) (*AllItemsResponseRoles, error)
UpdateRole calls the Security controller´s function
func (*SecurityController) UpdateRoleWithBody ¶
func (c *SecurityController) UpdateRoleWithBody(roleID RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error)
UpdateRoleWithBody calls the Security controller´s function
func (*SecurityController) UpdateRule ¶
func (c *SecurityController) UpdateRule(securityRuleID SecurityRuleId, params *SecurityControllerUpdateRuleParams, securityControllerUpdateRuleJSONRequestBody SecurityControllerUpdateRuleJSONRequestBody) (*AllItemsResponseUsers, error)
UpdateRule calls the Security controller´s function
func (*SecurityController) UpdateRuleWithBody ¶
func (c *SecurityController) UpdateRuleWithBody(securityRuleID SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader) (*AllItemsResponseUsers, error)
UpdateRuleWithBody calls the Security controller´s function
func (*SecurityController) UpdateUser ¶
func (c *SecurityController) UpdateUser(userIDRequired UserIdRequired, params *SecurityControllerUpdateUserParams, securityControllerUpdateUserJSONRequestBody SecurityControllerUpdateUserJSONRequestBody) (*AllItemsResponseUsers, error)
UpdateUser calls the Security controller´s function
func (*SecurityController) UpdateUserWithBody ¶
func (c *SecurityController) UpdateUserWithBody(userIDRequired UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader) (*AllItemsResponseUsers, error)
UpdateUserWithBody calls the Security controller´s function
type SecurityControllerAddPolicyJSONBody ¶
type SecurityControllerAddPolicyJSONBody PoliciesRequest
SecurityControllerAddPolicyJSONBody defines parameters for SecurityControllerAddPolicy.
type SecurityControllerAddPolicyJSONRequestBody ¶
type SecurityControllerAddPolicyJSONRequestBody SecurityControllerAddPolicyJSONBody
SecurityControllerAddPolicyRequestBody 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 ParseSecurityControllerAddPolicyResponse ¶
func ParseSecurityControllerAddPolicyResponse(rsp *http.Response) (*SecurityControllerAddPolicyResponse, error)
ParseSecurityControllerAddPolicyResponse 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
SecurityControllerAddRoleRequestBody 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 ParseSecurityControllerAddRoleResponse ¶
func ParseSecurityControllerAddRoleResponse(rsp *http.Response) (*SecurityControllerAddRoleResponse, error)
ParseSecurityControllerAddRoleResponse 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
SecurityControllerAddRuleRequestBody 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 ParseSecurityControllerAddRuleResponse ¶
func ParseSecurityControllerAddRuleResponse(rsp *http.Response) (*SecurityControllerAddRuleResponse, error)
ParseSecurityControllerAddRuleResponse 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 { AllowRunAs *bool `json:"allow_run_as,omitempty"` Password string `json:"password"` Username string `json:"username"` }
SecurityControllerCreateUserJSONBody defines parameters for SecurityControllerCreateUser.
type SecurityControllerCreateUserJSONRequestBody ¶
type SecurityControllerCreateUserJSONRequestBody SecurityControllerCreateUserJSONBody
SecurityControllerCreateUserRequestBody 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 JSON429 *RequestError }
func ParseSecurityControllerCreateUserResponse ¶
func ParseSecurityControllerCreateUserResponse(rsp *http.Response) (*SecurityControllerCreateUserResponse, error)
ParseSecurityControllerCreateUserResponse 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]interface{} JSON400 *RequestError JSON401 *RequestError JSON405 *RequestError JSON429 *RequestError }
func ParseSecurityControllerDeleteSecurityConfigResponse ¶
func ParseSecurityControllerDeleteSecurityConfigResponse(rsp *http.Response) (*SecurityControllerDeleteSecurityConfigResponse, error)
ParseSecurityControllerDeleteSecurityConfigResponse 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 ParseSecurityControllerDeleteUsersResponse ¶
func ParseSecurityControllerDeleteUsersResponse(rsp *http.Response) (*SecurityControllerDeleteUsersResponse, error)
ParseSecurityControllerDeleteUsersResponse 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 SecurityControllerGetPoliciesParams ¶
type SecurityControllerGetPoliciesParams struct { // List of policy IDs PolicyIds *PolicyIdsRbac `json:"policy_ids,omitempty"` // Maximum number of elements to return 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 beggining Search *Search `json:"search,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"` }
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 ParseSecurityControllerGetPoliciesResponse ¶
func ParseSecurityControllerGetPoliciesResponse(rsp *http.Response) (*SecurityControllerGetPoliciesResponse, error)
ParseSecurityControllerGetPoliciesResponse 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 ParseSecurityControllerGetRbacActionsResponse ¶
func ParseSecurityControllerGetRbacActionsResponse(rsp *http.Response) (*SecurityControllerGetRbacActionsResponse, error)
ParseSecurityControllerGetRbacActionsResponse 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 *ResourceList `json:"resource,omitempty"` // Show results in human-readable format Pretty *Pretty `json:"pretty,omitempty"` }
SecurityControllerGetRbacResourcesParams 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 ParseSecurityControllerGetRbacResourcesResponse ¶
func ParseSecurityControllerGetRbacResourcesResponse(rsp *http.Response) (*SecurityControllerGetRbacResourcesResponse, error)
ParseSecurityControllerGetRbacResourcesResponse 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 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 beggining Search *Search `json:"search,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"` }
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 ParseSecurityControllerGetRolesResponse ¶
func ParseSecurityControllerGetRolesResponse(rsp *http.Response) (*SecurityControllerGetRolesResponse, error)
ParseSecurityControllerGetRolesResponse 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 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 beggining Search *Search `json:"search,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"` }
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 ParseSecurityControllerGetRulesResponse ¶
func ParseSecurityControllerGetRulesResponse(rsp *http.Response) (*SecurityControllerGetRulesResponse, error)
ParseSecurityControllerGetRulesResponse 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 ParseSecurityControllerGetSecurityConfigResponse ¶
func ParseSecurityControllerGetSecurityConfigResponse(rsp *http.Response) (*SecurityControllerGetSecurityConfigResponse, error)
ParseSecurityControllerGetSecurityConfigResponse 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 ParseSecurityControllerGetUserMePoliciesResponse ¶
func ParseSecurityControllerGetUserMePoliciesResponse(rsp *http.Response) (*SecurityControllerGetUserMePoliciesResponse, error)
ParseSecurityControllerGetUserMePoliciesResponse 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 ParseSecurityControllerGetUserMeResponse ¶
func ParseSecurityControllerGetUserMeResponse(rsp *http.Response) (*SecurityControllerGetUserMeResponse, error)
ParseSecurityControllerGetUserMeResponse 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 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 beggining Search *Search `json:"search,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"` }
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 ParseSecurityControllerGetUsersResponse ¶
func ParseSecurityControllerGetUsersResponse(rsp *http.Response) (*SecurityControllerGetUsersResponse, error)
ParseSecurityControllerGetUsersResponse 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, contentType string, body io.Reader) (*AllItemsResponsePolicies, error) AddPolicy(params *SecurityControllerAddPolicyParams, securityControllerAddPolicyJSONRequestBody SecurityControllerAddPolicyJSONRequestBody) (*AllItemsResponsePolicies, error) AddRoleWithBody(params *SecurityControllerAddRoleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error) AddRole(params *SecurityControllerAddRoleParams, securityControllerAddRoleJSONRequestBody SecurityControllerAddRoleJSONRequestBody) (*AllItemsResponseRoles, error) AddRuleWithBody(params *SecurityControllerAddRuleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error) AddRule(params *SecurityControllerAddRuleParams, securityControllerAddRuleJSONRequestBody SecurityControllerAddRuleJSONRequestBody) (*AllItemsResponseRoles, error) CreateUserWithBody(params *SecurityControllerCreateUserParams, contentType string, body io.Reader) (*AllItemsResponseUsers, error) CreateUser(params *SecurityControllerCreateUserParams, securityControllerCreateUserJSONRequestBody SecurityControllerCreateUserJSONRequestBody) (*AllItemsResponseUsers, error) DeleteSecurityConfig(params *SecurityControllerDeleteSecurityConfigParams) (*map[string]interface{}, error) DeleteUsers(params *SecurityControllerDeleteUsersParams) (*AllItemsResponseUsers, error) GetPolicies(params *SecurityControllerGetPoliciesParams) (*AllItemsResponsePolicies, error) GetRbacActions(params *SecurityControllerGetRbacActionsParams) (*struct{ ApiResponse }, error) GetRbacResources(params *SecurityControllerGetRbacResourcesParams) (*struct{ ApiResponse }, error) GetRoles(params *SecurityControllerGetRolesParams) (*AllItemsResponseRoles, error) GetRules(params *SecurityControllerGetRulesParams) (*AllItemsResponseRoles, error) GetSecurityConfig(params *SecurityControllerGetSecurityConfigParams) (*ApiResponse, error) GetUserMePolicies(params *SecurityControllerGetUserMePoliciesParams) (*ApiResponse, error) GetUserMe(params *SecurityControllerGetUserMeParams) (*AllItemsResponseUsers, error) GetUsers(params *SecurityControllerGetUsersParams) (*AllItemsResponseUsers, error) LoginUserRunAsWithBody(params *SecurityControllerLoginUserParams, contentType string, body io.Reader) (*struct{ Token *string }, error) LoginUserRunAs(params *SecurityControllerLoginUserParams, securityControllerLoginUserJSONRequestBody SecurityControllerLoginUserJSONRequestBody) (*struct{ Token *string }, error) LoginUser(params *SecurityControllerLoginUserParams) (*Token, error) LogoutUser() (*ApiResponse, error) PutSecurityConfigWithBody(params *SecurityControllerPutSecurityConfigParams, contentType string, body io.Reader) (*map[string]interface{}, error) PutSecurityConfig(params *SecurityControllerPutSecurityConfigParams, securityControllerPutSecurityConfigJSONRequestBody SecurityControllerPutSecurityConfigJSONRequestBody) (*map[string]interface{}, error) RemovePolicies(params *SecurityControllerRemovePoliciesParams) (*AllItemsResponsePolicies, error) RemoveRolePolicy(roleID RoleId, params *SecurityControllerRemoveRolePolicyParams) (*struct{ ApiResponse }, error) RemoveRoleRule(roleID RoleId, params *SecurityControllerRemoveRoleRuleParams) (*struct{ ApiResponse }, error) RemoveRoles(params *SecurityControllerRemoveRolesParams) (*AllItemsResponseRoles, error) RemoveRules(params *SecurityControllerRemoveRulesParams) (*AllItemsResponseRoles, error) RemoveUserRole(userIDRequired UserIdRequired, params *SecurityControllerRemoveUserRoleParams) (*AllItemsResponseUsers, error) RevokeAllTokens() (*map[string]interface{}, error) SetRolePolicy(roleID RoleId, params *SecurityControllerSetRolePolicyParams) (*struct{ ApiResponse }, error) SetRoleRule(roleID RoleId, params *SecurityControllerSetRoleRuleParams) (*struct{ ApiResponse }, error) SetUserRole(userIDRequired UserIdRequired, params *SecurityControllerSetUserRoleParams) (*AllItemsResponseUsers, error) UpdatePolicyWithBody(policyIDRbac PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, contentType string, body io.Reader) (*AllItemsResponsePolicies, error) UpdatePolicy(policyIDRbac PolicyIdRbac, params *SecurityControllerUpdatePolicyParams, securityControllerUpdatePolicyJSONRequestBody SecurityControllerUpdatePolicyJSONRequestBody) (*AllItemsResponsePolicies, error) UpdateRoleWithBody(roleID RoleId, params *SecurityControllerUpdateRoleParams, contentType string, body io.Reader) (*AllItemsResponseRoles, error) UpdateRole(roleID RoleId, params *SecurityControllerUpdateRoleParams, securityControllerUpdateRoleJSONRequestBody SecurityControllerUpdateRoleJSONRequestBody) (*AllItemsResponseRoles, error) UpdateRuleWithBody(securityRuleID SecurityRuleId, params *SecurityControllerUpdateRuleParams, contentType string, body io.Reader) (*AllItemsResponseUsers, error) UpdateRule(securityRuleID SecurityRuleId, params *SecurityControllerUpdateRuleParams, securityControllerUpdateRuleJSONRequestBody SecurityControllerUpdateRuleJSONRequestBody) (*AllItemsResponseUsers, error) UpdateUserWithBody(userIDRequired UserIdRequired, params *SecurityControllerUpdateUserParams, contentType string, body io.Reader) (*AllItemsResponseUsers, error) UpdateUser(userIDRequired UserIdRequired, params *SecurityControllerUpdateUserParams, securityControllerUpdateUserJSONRequestBody SecurityControllerUpdateUserJSONRequestBody) (*AllItemsResponseUsers, error) }
SecurityControllerInterface contains all methods for the wazuh controller api
type SecurityControllerLoginUserJSONBody ¶
type SecurityControllerLoginUserJSONBody map[string]interface{}
SecurityControllerLoginUserJSONBody defines parameters for SecurityControllerLoginUser.
type SecurityControllerLoginUserJSONRequestBody ¶
type SecurityControllerLoginUserJSONRequestBody SecurityControllerLoginUserJSONBody
SecurityControllerLoginUserRequestBody defines body for SecurityControllerLoginUser for application/json ContentType.
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 JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseSecurityControllerLoginUserResponse ¶
func ParseSecurityControllerLoginUserResponse(rsp *http.Response) (*SecurityControllerLoginUserResponse, error)
ParseSecurityControllerLoginUserResponse 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 SecurityControllerLoginUserRunAsResponse ¶
type SecurityControllerLoginUserRunAsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Token *string `json:"token,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseSecurityControllerLoginUserRunAsResponse ¶
func ParseSecurityControllerLoginUserRunAsResponse(rsp *http.Response) (*SecurityControllerLoginUserRunAsResponse, error)
ParseSecurityControllerLoginUserRunAsResponse parses an HTTP response from a SecurityControllerLoginUserRunAsWithResponse call
func (SecurityControllerLoginUserRunAsResponse) Status ¶
func (r SecurityControllerLoginUserRunAsResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityControllerLoginUserRunAsResponse) StatusCode ¶
func (r SecurityControllerLoginUserRunAsResponse) 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 ParseSecurityControllerLogoutUserResponse ¶
func ParseSecurityControllerLogoutUserResponse(rsp *http.Response) (*SecurityControllerLogoutUserResponse, error)
ParseSecurityControllerLogoutUserResponse 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
SecurityControllerPutSecurityConfigRequestBody 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]interface{} JSON400 *RequestError JSON401 *RequestError JSON405 *RequestError JSON406 *RequestError JSON429 *RequestError }
func ParseSecurityControllerPutSecurityConfigResponse ¶
func ParseSecurityControllerPutSecurityConfigResponse(rsp *http.Response) (*SecurityControllerPutSecurityConfigResponse, error)
ParseSecurityControllerPutSecurityConfigResponse 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 ParseSecurityControllerRemovePoliciesResponse ¶
func ParseSecurityControllerRemovePoliciesResponse(rsp *http.Response) (*SecurityControllerRemovePoliciesResponse, error)
ParseSecurityControllerRemovePoliciesResponse 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 ParseSecurityControllerRemoveRolePolicyResponse ¶
func ParseSecurityControllerRemoveRolePolicyResponse(rsp *http.Response) (*SecurityControllerRemoveRolePolicyResponse, error)
ParseSecurityControllerRemoveRolePolicyResponse 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 ParseSecurityControllerRemoveRoleRuleResponse ¶
func ParseSecurityControllerRemoveRoleRuleResponse(rsp *http.Response) (*SecurityControllerRemoveRoleRuleResponse, error)
ParseSecurityControllerRemoveRoleRuleResponse 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 ParseSecurityControllerRemoveRolesResponse ¶
func ParseSecurityControllerRemoveRolesResponse(rsp *http.Response) (*SecurityControllerRemoveRolesResponse, error)
ParseSecurityControllerRemoveRolesResponse 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 ParseSecurityControllerRemoveRulesResponse ¶
func ParseSecurityControllerRemoveRulesResponse(rsp *http.Response) (*SecurityControllerRemoveRulesResponse, error)
ParseSecurityControllerRemoveRulesResponse 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 ParseSecurityControllerRemoveUserRoleResponse ¶
func ParseSecurityControllerRemoveUserRoleResponse(rsp *http.Response) (*SecurityControllerRemoveUserRoleResponse, error)
ParseSecurityControllerRemoveUserRoleResponse 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]interface{} JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseSecurityControllerRevokeAllTokensResponse ¶
func ParseSecurityControllerRevokeAllTokensResponse(rsp *http.Response) (*SecurityControllerRevokeAllTokensResponse, error)
ParseSecurityControllerRevokeAllTokensResponse 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 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 ParseSecurityControllerSetRolePolicyResponse ¶
func ParseSecurityControllerSetRolePolicyResponse(rsp *http.Response) (*SecurityControllerSetRolePolicyResponse, error)
ParseSecurityControllerSetRolePolicyResponse 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 ParseSecurityControllerSetRoleRuleResponse ¶
func ParseSecurityControllerSetRoleRuleResponse(rsp *http.Response) (*SecurityControllerSetRoleRuleResponse, error)
ParseSecurityControllerSetRoleRuleResponse 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 ParseSecurityControllerSetUserRoleResponse ¶
func ParseSecurityControllerSetUserRoleResponse(rsp *http.Response) (*SecurityControllerSetUserRoleResponse, error)
ParseSecurityControllerSetUserRoleResponse 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
SecurityControllerUpdatePolicyRequestBody 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 ParseSecurityControllerUpdatePolicyResponse ¶
func ParseSecurityControllerUpdatePolicyResponse(rsp *http.Response) (*SecurityControllerUpdatePolicyResponse, error)
ParseSecurityControllerUpdatePolicyResponse 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
SecurityControllerUpdateRoleRequestBody 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 ParseSecurityControllerUpdateRoleResponse ¶
func ParseSecurityControllerUpdateRoleResponse(rsp *http.Response) (*SecurityControllerUpdateRoleResponse, error)
ParseSecurityControllerUpdateRoleResponse 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
SecurityControllerUpdateRuleRequestBody 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 JSON429 *RequestError }
func ParseSecurityControllerUpdateRuleResponse ¶
func ParseSecurityControllerUpdateRuleResponse(rsp *http.Response) (*SecurityControllerUpdateRuleResponse, error)
ParseSecurityControllerUpdateRuleResponse 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 { AllowRunAs *bool `json:"allow_run_as,omitempty"` Password *string `json:"password,omitempty"` }
SecurityControllerUpdateUserJSONBody defines parameters for SecurityControllerUpdateUser.
type SecurityControllerUpdateUserJSONRequestBody ¶
type SecurityControllerUpdateUserJSONRequestBody SecurityControllerUpdateUserJSONBody
SecurityControllerUpdateUserRequestBody 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 ParseSecurityControllerUpdateUserResponse ¶
func ParseSecurityControllerUpdateUserResponse(rsp *http.Response) (*SecurityControllerUpdateUserResponse, error)
ParseSecurityControllerUpdateUserResponse 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 SecurityRuleIdDELETE ¶
type SecurityRuleIdDELETE string
SecurityRuleIdDELETE defines model for Security_rule_id_DELETE.
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]interface{} `json:"rule"` }
SecurityRulesRequest defines model for SecurityRulesRequest.
type SecurityRulesRequestNoRequired ¶
type SecurityRulesRequestNoRequired struct { // Rule name Name *string `json:"name,omitempty"` // Rule body Rule *map[string]interface{} `json:"rule,omitempty"` }
SecurityRulesRequestNoRequired defines model for SecurityRulesRequest_no_required.
type SimpleApiError ¶
type SimpleApiError struct { Error SimpleApiError_Error `json:"error"` Id *[]interface{} `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.
func (SimpleApiError_Error) Get ¶
func (a SimpleApiError_Error) Get(fieldName string) (value struct { Code *int32 `json:"code,omitempty"` Message *string `json:"message,omitempty"` Remediation *string `json:"remediation,omitempty"` }, found bool)
Getter for additional properties for SimpleApiError_Error. Returns the specified element and whether it was found
func (SimpleApiError_Error) MarshalJSON ¶
func (a SimpleApiError_Error) MarshalJSON() ([]byte, error)
Override default JSON handling for SimpleApiError_Error to handle AdditionalProperties
func (*SimpleApiError_Error) Set ¶
func (a *SimpleApiError_Error) Set(fieldName string, value struct { Code *int32 `json:"code,omitempty"` Message *string `json:"message,omitempty"` Remediation *string `json:"remediation,omitempty"` })
Setter for additional properties for SimpleApiError_Error
func (*SimpleApiError_Error) UnmarshalJSON ¶
func (a *SimpleApiError_Error) UnmarshalJSON(b []byte) error
Override default JSON handling for SimpleApiError_Error to handle AdditionalProperties
type StatusAgentParam ¶
type StatusAgentParam []string
StatusAgentParam defines model for statusAgentParam.
type StatusRLDParam ¶
type StatusRLDParam string
StatusRLDParam defines model for statusRLDParam.
const ( StatusRLDParam_all StatusRLDParam = "all" StatusRLDParam_disabled StatusRLDParam = "disabled" StatusRLDParam_enabled StatusRLDParam = "enabled" )
List of StatusRLDParam
type SyscheckController ¶
type SyscheckController struct {
*ClientWithResponses
}
SyscheckController implementation of the SyscheckController interface
func (*SyscheckController) DeleteSyscheckAgent ¶
func (c *SyscheckController) DeleteSyscheckAgent(agentID AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*AllItemsResponse, error)
DeleteSyscheckAgent calls the Syscheck controller´s function
func (*SyscheckController) GetLastScanAgent ¶
func (c *SyscheckController) GetLastScanAgent(agentID AgentId, params *SyscheckControllerGetLastScanAgentParams) (*AllItemsResponseSyscheckLastScan, error)
GetLastScanAgent calls the Syscheck controller´s function
func (*SyscheckController) GetSyscheckAgent ¶
func (c *SyscheckController) GetSyscheckAgent(agentID AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*AllItemsResponseSyscheckResult, error)
GetSyscheckAgent calls the Syscheck controller´s function
func (*SyscheckController) PutSyscheck ¶
func (c *SyscheckController) PutSyscheck(params *SyscheckControllerPutSyscheckParams) (*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 ParseSyscheckControllerDeleteSyscheckAgentResponse ¶
func ParseSyscheckControllerDeleteSyscheckAgentResponse(rsp *http.Response) (*SyscheckControllerDeleteSyscheckAgentResponse, error)
ParseSyscheckControllerDeleteSyscheckAgentResponse 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 *AllItemsResponseSyscheckLastScan `json:"data,omitempty"` } JSON400 *RequestError JSON401 *RequestError JSON403 *ApiError JSON405 *RequestError JSON429 *RequestError }
func ParseSyscheckControllerGetLastScanAgentResponse ¶
func ParseSyscheckControllerGetLastScanAgentResponse(rsp *http.Response) (*SyscheckControllerGetLastScanAgentResponse, error)
ParseSyscheckControllerGetLastScanAgentResponse 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 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 beggining 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 file type Type *Filetype `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 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 ParseSyscheckControllerGetSyscheckAgentResponse ¶
func ParseSyscheckControllerGetSyscheckAgentResponse(rsp *http.Response) (*SyscheckControllerGetSyscheckAgentResponse, error)
ParseSyscheckControllerGetSyscheckAgentResponse 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(agentID AgentId, params *SyscheckControllerDeleteSyscheckAgentParams) (*AllItemsResponse, error) GetLastScanAgent(agentID AgentId, params *SyscheckControllerGetLastScanAgentParams) (*AllItemsResponseSyscheckLastScan, error) GetSyscheckAgent(agentID AgentId, params *SyscheckControllerGetSyscheckAgentParams) (*AllItemsResponseSyscheckResult, error) PutSyscheck(params *SyscheckControllerPutSyscheckParams) (*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 ParseSyscheckControllerPutSyscheckResponse ¶
func ParseSyscheckControllerPutSyscheckResponse(rsp *http.Response) (*SyscheckControllerPutSyscheckResponse, error)
ParseSyscheckControllerPutSyscheckResponse 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 { // 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"` // File type. Registry type only available in Windows agents Type *string `json:"type,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(agentID AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*AllItemsResponseSyscollectorHardware, error)
GetHardwareInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetHotfixInfo ¶
func (c *SyscollectorController) GetHotfixInfo(agentID AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*AllItemsResponseSyscollectorHotfixes, error)
GetHotfixInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetNetworkAddressInfo ¶
func (c *SyscollectorController) GetNetworkAddressInfo(agentID AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*AllItemsResponseSyscollectorNetwork, error)
GetNetworkAddressInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetNetworkInterfaceInfo ¶
func (c *SyscollectorController) GetNetworkInterfaceInfo(agentID AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*AllItemsResponseSyscollectorInterface, error)
GetNetworkInterfaceInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetNetworkProtocolInfo ¶
func (c *SyscollectorController) GetNetworkProtocolInfo(agentID AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*AllItemsResponseSyscollectorProtocol, error)
GetNetworkProtocolInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetOsInfo ¶
func (c *SyscollectorController) GetOsInfo(agentID AgentId, params *SyscollectorControllerGetOsInfoParams) (*AllItemsResponseSyscollectorOS, error)
GetOsInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetPackagesInfo ¶
func (c *SyscollectorController) GetPackagesInfo(agentID AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*AllItemsResponseSyscollectorPackages, error)
GetPackagesInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetPortsInfo ¶
func (c *SyscollectorController) GetPortsInfo(agentID AgentId, params *SyscollectorControllerGetPortsInfoParams) (*AllItemsResponseSyscollectorPorts, error)
GetPortsInfo calls the Syscollector controller´s function
func (*SyscollectorController) GetProcessesInfo ¶
func (c *SyscollectorController) GetProcessesInfo(agentID AgentId, params *SyscollectorControllerGetProcessesInfoParams) (*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 ParseSyscollectorControllerGetHardwareInfoResponse ¶
func ParseSyscollectorControllerGetHardwareInfoResponse(rsp *http.Response) (*SyscollectorControllerGetHardwareInfoResponse, error)
ParseSyscollectorControllerGetHardwareInfoResponse 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 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 beggining 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"` }
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 ParseSyscollectorControllerGetHotfixInfoResponse ¶
func ParseSyscollectorControllerGetHotfixInfoResponse(rsp *http.Response) (*SyscollectorControllerGetHotfixInfoResponse, error)
ParseSyscollectorControllerGetHotfixInfoResponse 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 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 beggining 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"` }
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 ParseSyscollectorControllerGetNetworkAddressInfoResponse ¶
func ParseSyscollectorControllerGetNetworkAddressInfoResponse(rsp *http.Response) (*SyscollectorControllerGetNetworkAddressInfoResponse, error)
ParseSyscollectorControllerGetNetworkAddressInfoResponse 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 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 beggining 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 agent name Name *Name `json:"name,omitempty"` // Filter by adapter Adapter *Adapter `json:"adapter,omitempty"` // Type of file 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"` }
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 ParseSyscollectorControllerGetNetworkInterfaceInfoResponse ¶
func ParseSyscollectorControllerGetNetworkInterfaceInfoResponse(rsp *http.Response) (*SyscollectorControllerGetNetworkInterfaceInfoResponse, error)
ParseSyscollectorControllerGetNetworkInterfaceInfoResponse 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 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 beggining 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"` }
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 ParseSyscollectorControllerGetNetworkProtocolInfoResponse ¶
func ParseSyscollectorControllerGetNetworkProtocolInfoResponse(rsp *http.Response) (*SyscollectorControllerGetNetworkProtocolInfoResponse, error)
ParseSyscollectorControllerGetNetworkProtocolInfoResponse 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 ParseSyscollectorControllerGetOsInfoResponse ¶
func ParseSyscollectorControllerGetOsInfoResponse(rsp *http.Response) (*SyscollectorControllerGetOsInfoResponse, error)
ParseSyscollectorControllerGetOsInfoResponse 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 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 beggining 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 agent 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 version name Version *PackageVersion `json:"version,omitempty"` // Query to filter results by. For example q="status=active" Q *Query `json:"q,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 ParseSyscollectorControllerGetPackagesInfoResponse ¶
func ParseSyscollectorControllerGetPackagesInfoResponse(rsp *http.Response) (*SyscollectorControllerGetPackagesInfoResponse, error)
ParseSyscollectorControllerGetPackagesInfoResponse 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 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 beggining 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"` }
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 ParseSyscollectorControllerGetPortsInfoResponse ¶
func ParseSyscollectorControllerGetPortsInfoResponse(rsp *http.Response) (*SyscollectorControllerGetPortsInfoResponse, error)
ParseSyscollectorControllerGetPortsInfoResponse 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 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 beggining 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"` }
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 ParseSyscollectorControllerGetProcessesInfoResponse ¶
func ParseSyscollectorControllerGetProcessesInfoResponse(rsp *http.Response) (*SyscollectorControllerGetProcessesInfoResponse, error)
ParseSyscollectorControllerGetProcessesInfoResponse 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(agentID AgentId, params *SyscollectorControllerGetHardwareInfoParams) (*AllItemsResponseSyscollectorHardware, error) GetHotfixInfo(agentID AgentId, params *SyscollectorControllerGetHotfixInfoParams) (*AllItemsResponseSyscollectorHotfixes, error) GetNetworkAddressInfo(agentID AgentId, params *SyscollectorControllerGetNetworkAddressInfoParams) (*AllItemsResponseSyscollectorNetwork, error) GetNetworkInterfaceInfo(agentID AgentId, params *SyscollectorControllerGetNetworkInterfaceInfoParams) (*AllItemsResponseSyscollectorInterface, error) GetNetworkProtocolInfo(agentID AgentId, params *SyscollectorControllerGetNetworkProtocolInfoParams) (*AllItemsResponseSyscollectorProtocol, error) GetOsInfo(agentID AgentId, params *SyscollectorControllerGetOsInfoParams) (*AllItemsResponseSyscollectorOS, error) GetPackagesInfo(agentID AgentId, params *SyscollectorControllerGetPackagesInfoParams) (*AllItemsResponseSyscollectorPackages, error) GetPortsInfo(agentID AgentId, params *SyscollectorControllerGetPortsInfoParams) (*AllItemsResponseSyscollectorPorts, error) GetProcessesInfo(agentID AgentId, params *SyscollectorControllerGetProcessesInfoParams) (*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 *string `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 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 *string `json:"format,omitempty"` // Whether the package has multi architecture support Multiarch *string `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 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 *string `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 *string `json:"state,omitempty"` // Packets pending to be transmitted TxQueue *int32 `json:"tx_queue,omitempty"` }
SyscollectorPorts defines model for SyscollectorPorts.
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 *string `json:"type,omitempty"` }
SyscollectorProtocol defines model for SyscollectorProtocol.
type Tag ¶
type Tag string
Tag defines model for tag.
const ( Tag_ossec_agentlessd Tag = "ossec-agentlessd" Tag_ossec_analysisd Tag = "ossec-analysisd" Tag_ossec_authd Tag = "ossec-authd" Tag_ossec_csyslogd Tag = "ossec-csyslogd" Tag_ossec_dbd Tag = "ossec-dbd" Tag_ossec_execd Tag = "ossec-execd" Tag_ossec_integratord Tag = "ossec-integratord" Tag_ossec_logcollector Tag = "ossec-logcollector" Tag_ossec_maild Tag = "ossec-maild" Tag_ossec_monitord Tag = "ossec-monitord" Tag_ossec_remoted Tag = "ossec-remoted" Tag_ossec_reportd Tag = "ossec-reportd" Tag_ossec_rootcheck Tag = "ossec-rootcheck" Tag_ossec_syscheckd Tag = "ossec-syscheckd" Tag_ossec_testrule Tag = "ossec-testrule" Tag_sca Tag = "sca" Tag_wazuh_db Tag = "wazuh-db" Tag_wazuh_modulesd Tag = "wazuh-modulesd" Tag_wazuh_modulesd_agent_key_polling Tag = "wazuh-modulesd:agent-key-polling" Tag_wazuh_modulesd_aws_s3 Tag = "wazuh-modulesd:aws-s3" Tag_wazuh_modulesd_azure_logs Tag = "wazuh-modulesd:azure-logs" Tag_wazuh_modulesd_ciscat Tag = "wazuh-modulesd:ciscat" Tag_wazuh_modulesd_command Tag = "wazuh-modulesd:command" Tag_wazuh_modulesd_control Tag = "wazuh-modulesd:control" Tag_wazuh_modulesd_database Tag = "wazuh-modulesd:database" Tag_wazuh_modulesd_docker_listener Tag = "wazuh-modulesd:docker-listener" Tag_wazuh_modulesd_download Tag = "wazuh-modulesd:download" Tag_wazuh_modulesd_oscap Tag = "wazuh-modulesd:oscap" Tag_wazuh_modulesd_osquery Tag = "wazuh-modulesd:osquery" Tag_wazuh_modulesd_syscollector Tag = "wazuh-modulesd:syscollector" Tag_wazuh_modulesd_vulnerability_detector Tag = "wazuh-modulesd:vulnerability-detector" )
List of Tag
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 *[]interface{} `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 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.0/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 WazuhDaemonsStatus ¶
type WazuhDaemonsStatus struct { OssecAgentlessd *DaemonStatus `json:"ossec-agentlessd,omitempty"` OssecAnalysisd *DaemonStatus `json:"ossec-analysisd,omitempty"` OssecAuthd *DaemonStatus `json:"ossec-authd,omitempty"` OssecCsyslogd *DaemonStatus `json:"ossec-csyslogd,omitempty"` OssecDbd *DaemonStatus `json:"ossec-dbd,omitempty"` OssecExecd *DaemonStatus `json:"ossec-execd,omitempty"` OssecIntegratord *DaemonStatus `json:"ossec-integratord,omitempty"` OssecLogcollector *DaemonStatus `json:"ossec-logcollector,omitempty"` OssecMaild *DaemonStatus `json:"ossec-maild,omitempty"` OssecMonitord *DaemonStatus `json:"ossec-monitord,omitempty"` OssecRemoted *DaemonStatus `json:"ossec-remoted,omitempty"` OssecReportd *DaemonStatus `json:"ossec-reportd,omitempty"` OssecSyscheckd *DaemonStatus `json:"ossec-syscheckd,omitempty"` WazuhApid *DaemonStatus `json:"wazuh-apid,omitempty"` WazuhClusterd *DaemonStatus `json:"wazuh-clusterd,omitempty"` WazuhDb *DaemonStatus `json:"wazuh-db,omitempty"` WazuhModulesd *DaemonStatus `json:"wazuh-modulesd,omitempty"` }
WazuhDaemonsStatus defines model for WazuhDaemonsStatus.
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. This variable is defined at compilation time MaxAgents *string `json:"max_agents,omitempty"` OpensslSupport *string `json:"openssl_support,omitempty"` // Wazuh installation path Path *string `json:"path,omitempty"` RulesetVersion *string `json:"ruleset_version,omitempty"` // Wazuh installation type Type *string `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 WazuhLogs ¶
type WazuhLogs struct { // Log message Description *string `json:"description,omitempty"` // Log level Level *string `json:"level,omitempty"` // Wazuh component that logged the event Tag *string `json:"tag,omitempty"` Timestamp *time.Time `json:"timestamp,omitempty"` }
WazuhLogs defines model for WazuhLogs.
type WazuhLogsSummary ¶
type WazuhLogsSummary struct { OssecAgentlessd *LogSummary `json:"ossec-agentlessd,omitempty"` OssecAnalysisd *LogSummary `json:"ossec-analysisd,omitempty"` OssecAuthd *LogSummary `json:"ossec-authd,omitempty"` OssecCsyslogd *LogSummary `json:"ossec-csyslogd,omitempty"` OssecDbd *LogSummary `json:"ossec-dbd,omitempty"` OssecExecd *LogSummary `json:"ossec-execd,omitempty"` OssecIntegratord *LogSummary `json:"ossec-integratord,omitempty"` OssecLogcollector *LogSummary `json:"ossec-logcollector,omitempty"` OssecMaild *LogSummary `json:"ossec-maild,omitempty"` OssecMonitord *LogSummary `json:"ossec-monitord,omitempty"` OssecRemoted *LogSummary `json:"ossec-remoted,omitempty"` OssecReportd *LogSummary `json:"ossec-reportd,omitempty"` OssecRootcheck *LogSummary `json:"ossec-rootcheck,omitempty"` OssecSyscheckd *LogSummary `json:"ossec-syscheckd,omitempty"` OssecTestrule *LogSummary `json:"ossec-testrule,omitempty"` Sca *LogSummary `json:"sca,omitempty"` WazuhDb *LogSummary `json:"wazuh-db,omitempty"` WazuhModulesd *LogSummary `json:"wazuh-modulesd,omitempty"` WazuhModulesdAgentKeyPolling *LogSummary `json:"wazuh-modulesd:agent-key-polling,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"` 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"` WazuhModulesdVulnerabilityDetector *LogSummary `json:"wazuh-modulesd:vulnerability-detector,omitempty"` }
WazuhLogsSummary defines model for WazuhLogsSummary.
type WazuhMangerConfiguration ¶
type WazuhMangerConfiguration struct { ActiveResponse *[]map[string]interface{} `json:"active-response,omitempty"` AgentKeyPolling *map[string]interface{} `json:"agent-key-polling,omitempty"` Agentless *[]map[string]interface{} `json:"agentless,omitempty"` Alerts *map[string]interface{} `json:"alerts,omitempty"` Auth *map[string]interface{} `json:"auth,omitempty"` AwsS3 *map[string]interface{} `json:"aws-s3,omitempty"` AzureLogs *map[string]interface{} `json:"azure-logs,omitempty"` CisCat *map[string]interface{} `json:"cis-cat,omitempty"` Cluster *map[string]interface{} `json:"cluster,omitempty"` Command *[]map[string]interface{} `json:"command,omitempty"` DatabaseOutput *map[string]interface{} `json:"database_output,omitempty"` DockerListener *map[string]interface{} `json:"docker-listener,omitempty"` EmailAlerts *map[string]interface{} `json:"email_alerts,omitempty"` GcpPubsub *map[string]interface{} `json:"gcp-pubsub,omitempty"` Global *map[string]interface{} `json:"global,omitempty"` Integration *[]map[string]interface{} `json:"integration,omitempty"` Labels *map[string]interface{} `json:"labels,omitempty"` Localfile *[]map[string]interface{} `json:"localfile,omitempty"` Logging *map[string]interface{} `json:"logging,omitempty"` OpenScap *map[string]interface{} `json:"open-scap,omitempty"` Osquery *map[string]interface{} `json:"osquery,omitempty"` Remote *[]map[string]interface{} `json:"remote,omitempty"` Reports *map[string]interface{} `json:"reports,omitempty"` Rootcheck *map[string]interface{} `json:"rootcheck,omitempty"` Ruleset *map[string]interface{} `json:"ruleset,omitempty"` Sca *map[string]interface{} `json:"sca,omitempty"` Socket *map[string]interface{} `json:"socket,omitempty"` Syscheck *map[string]interface{} `json:"syscheck,omitempty"` Syscollector *map[string]interface{} `json:"syscollector,omitempty"` SyslogOutput *[]map[string]interface{} `json:"syslog_output,omitempty"` }
WazuhMangerConfiguration defines model for WazuhMangerConfiguration.
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"` // Number of messages sent to the agents during the last five seconds MsgSent *float32 `json:"msg_sent,omitempty"` // Usage of the queue to storage events from agents QueueSize *float32 `json:"queue_size,omitempty"` // Number of received bytes from all agents during the last five seconds RecvBytes *float32 `json:"recv_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 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.