func (client *Client) RunSyscheckAgent(agentId string) (*string, error) {
	return client.RunSyscheckAgentContext(context.Background(), agentId)
}
Run syscheck scan in an agent
Runs syscheck and rootcheck on an agent (Wazuh launches both processes simultaneously).
https://documentation.wazuh.com/3.x/user-manual/api/reference.html#run-syscheck-scan-in-an-agent
package wazuh
import (
	"context"
	"path"
	. "github.com/mrtc0/wazuh/define/syscheck"
)
func (client *Client) GetSyscheckFiles(agentId string) (*[]SyscheckFiles, error) {
	return client.GetSyscheckFilesContext(context.Background(), agentId)
}
func (client *Client) GetSyscheckFilesContext(ctx context.Context, agentId string) (*[]SyscheckFiles, error) {
	response, err := GetSyscheckFilesRequest(ctx, client, path.Join("syscheck", agentId))
	if err != nil {
		return nil, err
	}
	return &response.Data.Items, nil
}
func GetSyscheckFilesRequest(ctx context.Context, client *Client, path string) (*GetSyscheckFilesResponse, error) {
	response := &GetSyscheckFilesResponse{}
	err := GetJson(ctx, client, path, response)
	if err != nil {
		return nil, err
	}
	return response, nil
}
func (client *Client) RunSyscheckAllAgents() (*string, error) {
	return client.RunSyscheckAllAgentsContext(context.Background())
}
func (client *Client) RunSyscheckAllAgentsContext(ctx context.Context) (*string, error) {
	response, err := RunSyscheckAllAgentsRequest(ctx, client, path.Join("syscheck"))
	if err != nil {
		return nil, err
	}
	return &response.Data, nil
}
func RunSyscheckAllAgentsRequest(ctx context.Context, client *Client, path string) (*RunSyscheckAllAgentsResponse, error) {
	response := &RunSyscheckAllAgentsResponse{}
	err := PutJson(ctx, client, path, []byte{}, response)
	if err != nil {
		return nil, err
	}
	return response, nil
}