BigFix

HCL BigFix Patch provides an automated, simplified patching process that is administered from a single console.

Vulnerability Management · HCL BigFix

Details

IDBigFix
ProviderHCL Technologies
CategoryVulnerability Management
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10116658
Supported ModulesAgentix XSIAM

README

Overview


Use the BigFix integration to manage patching processes.

 

Configure BigFix on Cortex XSOAR


  1. Navigate to Settings > Integrations > Servers & Services.
  2. Search for BigFix.
  3. Click Add instance to create and configure a new integration instance.
    • Name: a textual name for the integration instance.
    • Server url (e.g https://192.168.10.1:52311)
    • Username
    • Trust any certificate (not secure)
    • Use system proxy
  4. Click Test to validate the URLs, token, and connection.

Commands


You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

  1. Get all sites: bigfix-get-sites
  2. Get a single site: bigfix-get-site
  3. Get all patches for a site: bigfix-get-patches
  4. Get all endpoints: bigfix-get-endpoints
  5. Get the details of an endpoint: bigfix-get-endpoint
  6. Create an action to run on target computers: bigfix-deploy-patch
  7. Get a patch by fixlet ID: bigfix-get-patch
  8. Delete an action: bigfix-action-delete
  9. Get the status of an action: bigfix-action-status
  10. Stop an action: bigfix-action-stop
  11. Evaluate an expression and get the result: bigfix-query

1. Get all sites


Retrieves all the sites.

Base Command
bigfix-get-sites
Context Output
Path Type Description
Bigfix.Site unknown Site
Bigfix.Site.Name string Name of the site
Bigfix.Site.Description string Description of the site
Bigfix.Site.Resource string Link to the endpoint resource
Bigfix.Site.Type string Type of the site ("master", "custom", "external", "operator")
Bigfix.Site.Domain string Site domain
Bigfix.Site.GatherURL string Gather URL
Bigfix.Site.GlobalReadPermission string Whether the Global Read Permission is available
 
Command Example
!bigfix-get-sites
Context Example
{
    "Bigfix": {
        "Site": [
            {
                "Resource": "https://xsoar-example:20021/api/site/master/ActionSite",
                "Description": null,
                "GatherURL": "http://WIN-CQD6UQJIA7J:52311/cgi-bin/bfgather.exe/actionsite",
                "GlobalReadPermission": "false",
                "Name": "ActionSite",
                "Type": "master",
                "Subscription": {
                    "Mode": "All"
                }
            },
            {
                "Resource": "https://xsoar-example:20021/api/site/external/BES Support",
                "Description": null,
                "GatherURL": "http://sync.bigfix.com/cgi-bin/bfgather/bessupport",
                "GlobalReadPermission": "true",
                "Name": "BES Support",
                "Type": "external",
                "Subscription": {
                    "Mode": "All"
                }
            },
            {
                "Resource": "https://xsoar-example:20021/api/site/external/BES Inventory and License",
                "Description": null,
                "GatherURL": "http://sync.bigfix.com/cgi-bin/bfgather/besinventory",
                "GlobalReadPermission": "false",
                "Name": "BES Inventory and License",
                "Type": "external",
                "Subscription": {
                    "Mode": "None"
                }
            },
            {
                "Resource": "https://xsoar-example:20021/api/site/external/BES Asset Discovery",
                "Description": null,
                "GatherURL": "http://sync.bigfix.com/cgi-bin/bfgather/assetdiscovery",
                "GlobalReadPermission": "false",
                "Name": "BES Asset Discovery",
                "Type": "external",
                "Subscription": {
                    "Mode": "None"
                }
            },
            {
                "GatherURL": "http://WIN-CQD6UQJIA7J:52311/cgi-bin/bfgather.exe/actionsite",
                "Type": "operator",
                "Resource": "https://xsoar-example:20021/api/site/operator/admin",
                "Name": "admin"
            }
        ]
    }
}
Human Readable Output

image

2. Get a single site


Retrieves a single site by name and type.

Base Command
bigfix-get-site
Input
Argument Name Description Required
site_name Name of the site. If the site is external or operator then the site must be specified. Optional
site_type Site type ("external", "operator", "master", "custom") Required
 
Context Output
Path Type Description
Bigfix.Site unknown Site
Bigfix.Site.Name string Name of the site
Bigfix.Site.Description string Description of the site
Bigfix.Site.Resource string Link to the endpoint resource.
Bigfix.Site.Type string Type of the site ("master", "custom", "external", "operator")
Bigfix.Site.Domain string Site domain
Bigfix.Site.GatherURL string Gather URL
Bigfix.Site.GlobalReadPermission string Whether the Global Read Permission is available
 
Command Example
!bigfix-get-site site_type=master
!bigfix-get-site site_type=external site_name="BES Support"
Context Example
{
    "Bigfix": {
        "Site": {
            "Resource": "https://xsoar-example:20021/api/site/master/None",
            "Description": null,
            "GatherURL": "http://WIN-CQD6UQJIA7J:52311/cgi-bin/bfgather.exe/actionsite",
            "GlobalReadPermission": "false",
            "Name": "ActionSite",
            "Type": "master",
            "Subscription": {
                "Mode": "All"
            }
        }
    }
}
Human Readable Output

image

3. Get all patches for a site


Retrieves all the patches (fixlets) of site.

Base Command
bigfix-get-patches
Input
Argument Name Description Required
site_type Type of the site ("external", "operator", "master", "custom") Required
site_name Name of the site. If the site is external or operator then the site must be specified. Optional
 
Context Output
Path Type Description
Bigfix.Patch.ID string Patch (fixlet) ID
Bigfix.Patch.LastModified date Last modified timestamp
Bigfix.Patch.Name string Name of the patch requested
Bigfix.Patch.Resource string The link for the patch
Bigfix.Patch.Description string Description of the requested patch
Bigfix.Patch.Relevance string Relevance of the requested patch
Bigfix.Patch.Category string Category of the requested patch
Bigfix.Patch.DownloadSize string Download size
Bigfix.Patch.Source string Source where the patch originates
Bigfix.Patch.SourceID string Source ID of the requested patch
Bigfix.Patch.SourceSeverity string Source severity of the requested patch
Bigfix.Patch.SourceReleaseDate string Source release date of the requested patch
Bigfix.Patch.ActionID string Action ID of the patch requested.
Bigfix.Patch.ActionScript string Action script of the patch requested.
 
Command Example
!bigfix-get-patches site_type="master"
Context Example
{
    "Bigfix": {
        "Patch": [
            {
                "Category": null,
                "Resource": "https://xsoar-example:20021/api/fixlet/master/38",
                "Description": "This is a description of foo patch",
                "DownloadSize": null,
                "SourceID": null,
                "LastModified": "Fri, 15 Jun 2018 13:31:17 +0000",
                "SourceReleaseDate": "2018-06-15",
                "Source": "Internal",
                "ActionID": "Action1",
                "ActionScript": {
                    "@MIMEType": "application/x-sh",
                    "#text": "#!/bin/sh\n# Enter your action script here\necho \"Hello World\""
                },
                "Relevance": null,
                "SourceSeverity": null,
                "ID": "38",
                "Name": "Anar Fixlet"
            },
            {
                "Category": null,
                "Resource": "https://xsoar-example:20021/api/fixlet/master/39",
                "Description": "Test Fixlet",
                "DownloadSize": null,
                "SourceID": null,
                "LastModified": "Fri, 15 Jun 2018 19:37:29 +0000",
                "SourceReleaseDate": "2018-06-15",
                "Source": "Internal",
                "ActionID": "Action1",
                "ActionScript": {
                    "@MIMEType": "application/x-Fixlet-Windows-Shell",
                    "#text": "// Enter your action script here"
                },
                "Relevance": "true",
                "SourceSeverity": null,
                "ID": "39",
                "Name": "Custom Fixlet"
            }
        ]
    }
}
Human Readable Output

image

4. Get all endpoints


Retrieves all endpoints (computers).

Base Command
bigfix-get-endpoints
Input
Argument Name Description Required
get_endpoint_details Whether to get endpoint full details of each endpoint or just basic details, such as ID and last reported time. We recommend setting this to false if there are many endpoints to retrieve. Optional
 
Context Output
Path Type Description
Bigfix.Endpoint unknown Endpoint (computer)
Bigfix.Endpoint.ID string The IDof the endpoint (computer ID)
Bigfix.Endpoint.Resource string URL to the endpoint details
Bigfix.Endpoint.LastReportTime date Last report time of the endpoint
Bigfix.Endpoint.ActiveDirectoryPath string Active directory path of the endpoint device
Bigfix.Endpoint.AgentType string Agent Type of the endpoint
Bigfix.Endpoint.AgentVersion string Agent Version of the endpoint.
Bigfix.Endpoint.BESRelaySelectionMethod unknown Relay selection method of the endpoint
Bigfix.Endpoint.BESRelayServiceInstalled unknown Relay service installed of the endpoint.
Bigfix.Endpoint.BESRootServer string Root server of the endpoint.
Bigfix.Endpoint.BIOS string BIOS of the endpoint.
Bigfix.Endpoint.CPU string CPU of the endpoint
Bigfix.Endpoint.ClientSettings unknown Client settings of the endpoint
Bigfix.Endpoint.ComputerName string Computer name of the endpoint
Bigfix.Endpoint.ComputerType string Computer Type of the endpoint
Bigfix.Endpoint.DNSName string DNS Name of the endpoint
Bigfix.Endpoint.DeviceType string Device Type of the endpoint device
Bigfix.Endpoint.DistancetoBESRelay unknown Distance to BES Relay of the endpoint
Bigfix.Endpoint.FreeSpaceonSystemDrive unknown Free space on sytem drive of the endpoint
Bigfix.Endpoint.IPAddress string IP of the endpoint
Bigfix.Endpoint.LicenseType unknown License of the endpoint
Bigfix.Endpoint.Locked unknown Locked of the endpoint
Bigfix.Endpoint.OS string OS of the endpoint
Bigfix.Endpoint.RAM number RAM of the endpoint
Bigfix.Endpoint.Relay string Relay of the endpoint
Bigfix.Endpoint.RelayNameOfClient string Relay Name of the client
Bigfix.Endpoint.SubnetAddress string Subnet Address of the endpoint
Bigfix.Endpoint.SubscribedSites string Subscribed sites
Bigfix.Endpoint.TotalSizeofSystemDrive number Total size of system drive
Bigfix.Endpoint.UserName string User name
 
Command Example
!bigfix-get-endpoints
Context Example
{
    "Bigfix": {
        "Endpoint": [
            {
                "UserName": "Administrator",
                "BESRootServer": "win-cqd6uqjia7j (0)",
                "TotalSizeofSystemDrive": "101896 MB",
                "AgentType": "Native",
                "DNSName": "WIN-CQD6UQJIA7J",
                "Resource": "https://xsoar-example:20021/api/computer/2696130",
                "CPU": "2200 MHz Xeon Gold 5120",
                "LicenseType": "Windows Server",
                "Relay": "BES Root Server",
                "BESRelayServiceInstalled": "Automatic",
                "RAM": "8192 MB",
                "BIOS": "07/28/2017",
                "AgentVersion": "9.5.9.62",
                "IPAddress": "192.168.1.57",
                "RelayNameOfClient": "WIN-CQD6UQJIA7J",
                "FreeSpaceonSystemDrive": "71399 MB",
                "BESRelaySelectionMethod": "Automatic",
                "ComputerName": "WIN-CQD6UQJIA7J",
                "SubscribedSites": "http://sync.bigfix.com/cgi-bin/bfgather/bessupport",
                "Locked": "No",
                "ClientSettings": [
                    "CVE-2014-0160=rotated",
                    "_BESClient_ActionManager_SkipVoluntaryOnForceShutdown=1",
                    "_BESClient_LastShutdown_Reason=Service manager shutdown request",
                    "_BESClient_Resource_StartupNormalSpeed=0",
                    "_BESClient_Upgrade_UTF8Settings=1",
                    "_BESClient_UploadManager_BufferDirectory=C:\\Program Files (x86)\\BigFix Enterprise\\BES Client\\__BESData\\__Global\\Upload",
                    "_BESGather_Comm_UseDownloadService=0",
                    "_BESGather_Download_CacheLimitMB=1024",
                    "_BESGather_Download_CheckInternetFlag=1",
                    "_BESGather_Download_CheckParentFlag=0",
                    "_BESGather_Download_InactivityTimeout=300",
                    "_BESRelay_HTTPServer_HttpLogDirectoryPath=",
                    "_BESRelay_HTTPServer_LogFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESRelay.log",
                    "_BESRelay_HTTPServer_PortNumber=52311",
                    "_BESRelay_HTTPServer_ServerRootPath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\wwwrootbes\\",
                    "_BESRelay_UploadManager_BufferDirectory=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\UploadManagerData\\BufferDir",
                    "_BESRelay_UploadManager_ParentURL=",
                    "_Enterprise Server_ClientRegister_RegistrationListReplicatePeriod=3600",
                    "_Enterprise Server_ClientRegister_UDPMessagePort=52311",
                    "_HTTPServer_Referrer_CheckEnabled=1",
                    "_WebReports_HTTPRedirect_PortNumber=8080",
                    "_WebReports_HTTPServer_HostName=http://WIN-CQD6UQJIA7J:52311",
                    "_WebReports_HTTPServer_HttpLogDirectoryPath=",
                    "_WebReports_HTTPServer_LogFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESWebReportsServer.log",
                    "_WebReports_HTTPServer_PortNumber=8083",
                    "_WebReports_HTTPServer_ServerRootPath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESReportsServer\\wwwroot\\",
                    "_WebReports_HTTPServer_SSLCertificateFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESReportsData\\SelfWRCertificate.pem",
                    "_WebReports_HTTPServer_UseSSLFlag=1",
                    "__LockState=false",
                    "__RelaySelect_Automatic=1",
                    "__RelayServer1=",
                    "__RelayServer2=",
                    "__Relay_Control_Server1=",
                    "__Relay_Control_Server2="
                ],
                "SubnetAddress": "192.168.1.0",
                "DeviceType": "Server",
                "ID": "2696130",
                "ActiveDirectoryPath": "<none>",
                "LastReportTime": "Mon, 29 Oct 2018 22:12:04 +0000",
                "DistancetoBESRelay": "0",
                "OS": "Win2016 10.0.14393.2248 (1607)",
                "ComputerType": "Virtual"
            },
            {
                "UserName": "Administrator",
                "BESRootServer": "win-cqd6uqjia7j (0)",
                "TotalSizeofSystemDrive": "101896 MB",
                "AgentType": "Native",
                "DNSName": "WIN-CQD6UQJIA7J",
                "Resource": "https://xsoar-example:20021/api/computer/3385267",
                "CPU": "2200 MHz Xeon",
                "LicenseType": "Windows Server",
                "Relay": "BES Root Server",
                "BESRelayServiceInstalled": "Manual",
                "RAM": "8192 MB",
                "BIOS": "04/05/2016",
                "AgentVersion": "9.5.9.62",
                "IPAddress": "192.168.1.57",
                "RelayNameOfClient": "WIN-CQD6UQJIA7J",
                "FreeSpaceonSystemDrive": "70978 MB",
                "BESRelaySelectionMethod": "Manual",
                "ComputerName": "WIN-CQD6UQJIA7J",
                "SubscribedSites": "http://sync.bigfix.com/cgi-bin/bfgather/bessupport",
                "Locked": "No",
                "ClientSettings": [
                    "_BESClient_ActionManager_SkipVoluntaryOnForceShutdown=1",
                    "_BESClient_Resource_StartupNormalSpeed=0",
                    "_BESClient_Upgrade_UTF8Settings=1",
                    "_BESClient_UploadManager_BufferDirectory=C:\\Program Files (x86)\\BigFix Enterprise\\BES Client\\__BESData\\__Global\\Upload",
                    "_BESGather_Comm_UseDownloadService=0",
                    "_BESGather_Download_CacheLimitMB=1024",
                    "_BESGather_Download_CheckInternetFlag=1",
                    "_BESGather_Download_CheckParentFlag=0",
                    "_BESGather_Download_InactivityTimeout=300",
                    "_BESRelay_HTTPServer_HttpLogDirectoryPath=",
                    "_BESRelay_HTTPServer_LogFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESRelay.log",
                    "_BESRelay_HTTPServer_PortNumber=52311",
                    "_BESRelay_HTTPServer_ServerRootPath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\wwwrootbes\\",
                    "_BESRelay_UploadManager_BufferDirectory=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\UploadManagerData\\BufferDir",
                    "_BESRelay_UploadManager_ParentURL=",
                    "_Enterprise Server_ClientRegister_RegistrationListReplicatePeriod=3600",
                    "_Enterprise Server_ClientRegister_UDPMessagePort=52311",
                    "_HTTPServer_Referrer_CheckEnabled=1",
                    "_WebReports_HTTPRedirect_PortNumber=8080",
                    "_WebReports_HTTPServer_HostName=http://WIN-CQD6UQJIA7J:52311",
                    "_WebReports_HTTPServer_HttpLogDirectoryPath=",
                    "_WebReports_HTTPServer_LogFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESWebReportsServer.log",
                    "_WebReports_HTTPServer_PortNumber=8083",
                    "_WebReports_HTTPServer_ServerRootPath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESReportsServer\\wwwroot\\",
                    "_WebReports_HTTPServer_SSLCertificateFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESReportsData\\SelfWRCertificate.pem",
                    "_WebReports_HTTPServer_UseSSLFlag=1",
                    "__LockState=false",
                    "__RelayServer1=",
                    "__RelayServer2=",
                    "__Relay_Control_Server1=",
                    "__Relay_Control_Server2="
                ],
                "SubnetAddress": "192.168.1.0",
                "DeviceType": "Server",
                "ID": "3385267",
                "ActiveDirectoryPath": "<none>",
                "LastReportTime": "Wed, 27 Jun 2018 00:16:15 +0000",
                "DistancetoBESRelay": "0",
                "OS": "Win2016 10.0.14393.1944 (1607)",
                "ComputerType": "Virtual"
            }
        ]
    }
}
Human Readable Output

image

5. Get the details of an endpoint


Retrieves the details of an endpoint (computer).

Base Command
bigfix-get-endpoint
Input
Argument Name Description Required
computer_id Computer ID Required
 
Context Output
Path Type Description
Bigfix.Endpoint unknown Endpoint (computer)
Bigfix.Endpoint.ID string The if of the endpoint (computer ID)
Bigfix.Endpoint.Resource string URL to the endpoint details
Bigfix.Endpoint.LastReportTime date Last report time of the endpoint
Bigfix.Endpoint.ActiveDirectoryPath string Active directory path of the endpoint device
Bigfix.Endpoint.AgentType string Agent Type of the endpoint
Bigfix.Endpoint.AgentVersion string Agent version of the endpoint
Bigfix.Endpoint.BESRelaySelectionMethod unknown Relay selection method of the endpoint
Bigfix.Endpoint.BESRelayServiceInstalled unknown Relay service installed of the endpoint
Bigfix.Endpoint.BESRootServer string Root server of the endpoint
Bigfix.Endpoint.BIOS string BIOS of the endpoint
Bigfix.Endpoint.CPU string CPU of the endpoint
Bigfix.Endpoint.ClientSettings unknown Client settings of the endpoint
Bigfix.Endpoint.ComputerName string Computer name of the endpoint
Bigfix.Endpoint.ComputerType string Computer type of the endpoint
Bigfix.Endpoint.DNSName string DNS name of the endpoint
Bigfix.Endpoint.DeviceType string Device type of the endpoint device
Bigfix.Endpoint.DistancetoBESRelay unknown Distance to BES Relay of the endpoint
Bigfix.Endpoint.FreeSpaceonSystemDrive unknown Free space on system drive of the endpoint
Bigfix.Endpoint.IPAddress string IP of the endpoint
Bigfix.Endpoint.LicenseType unknown License of the endpoint
Bigfix.Endpoint.Locked unknown Locked of the endpoint
Bigfix.Endpoint.OS string OS of the endpoint
Bigfix.Endpoint.RAM number RAM of the endpoint
Bigfix.Endpoint.Relay string Relay of the endpoint
Bigfix.Endpoint.RelayNameOfClient string Relay Name of the client
Bigfix.Endpoint.SubnetAddress string Subnet Address of the endpoint
Bigfix.Endpoint.SubscribedSites string Subscribed sites
Bigfix.Endpoint.TotalSizeofSystemDrive number Total size of system drive
Bigfix.Endpoint.UserName string User name
 
Command Example
!bigfix-get-endpoint computer_id=3385267
Context Example
{
    "Bigfix": {
        "Endpoint": {
            "UserName": "Administrator",
            "BESRootServer": "win-cqd6uqjia7j (0)",
            "TotalSizeofSystemDrive": "101896 MB",
            "AgentType": "Native",
            "DNSName": "WIN-CQD6UQJIA7J",
            "Resource": "https://xsoar-example:20021/api/computer/3385267",
            "CPU": "2200 MHz Xeon",
            "LicenseType": "Windows Server",
            "Relay": "BES Root Server",
            "BESRelayServiceInstalled": "Manual",
            "RAM": "8192 MB",
            "BIOS": "04/05/2016",
            "AgentVersion": "9.5.9.62",
            "IPAddress": "192.168.1.57",
            "RelayNameOfClient": "WIN-CQD6UQJIA7J",
            "FreeSpaceonSystemDrive": "70978 MB",
            "BESRelaySelectionMethod": "Manual",
            "ComputerName": "WIN-CQD6UQJIA7J",
            "SubscribedSites": "http://sync.bigfix.com/cgi-bin/bfgather/bessupport",
            "Locked": "No",
            "ClientSettings": [
                "_BESClient_ActionManager_SkipVoluntaryOnForceShutdown=1",
                "_BESClient_Resource_StartupNormalSpeed=0",
                "_BESClient_Upgrade_UTF8Settings=1",
                "_BESClient_UploadManager_BufferDirectory=C:\\Program Files (x86)\\BigFix Enterprise\\BES Client\\__BESData\\__Global\\Upload",
                "_BESGather_Comm_UseDownloadService=0",
                "_BESGather_Download_CacheLimitMB=1024",
                "_BESGather_Download_CheckInternetFlag=1",
                "_BESGather_Download_CheckParentFlag=0",
                "_BESGather_Download_InactivityTimeout=300",
                "_BESRelay_HTTPServer_HttpLogDirectoryPath=",
                "_BESRelay_HTTPServer_LogFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESRelay.log",
                "_BESRelay_HTTPServer_PortNumber=52311",
                "_BESRelay_HTTPServer_ServerRootPath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\wwwrootbes\\",
                "_BESRelay_UploadManager_BufferDirectory=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\UploadManagerData\\BufferDir",
                "_BESRelay_UploadManager_ParentURL=",
                "_Enterprise Server_ClientRegister_RegistrationListReplicatePeriod=3600",
                "_Enterprise Server_ClientRegister_UDPMessagePort=52311",
                "_HTTPServer_Referrer_CheckEnabled=1",
                "_WebReports_HTTPRedirect_PortNumber=8080",
                "_WebReports_HTTPServer_HostName=http://WIN-CQD6UQJIA7J:52311",
                "_WebReports_HTTPServer_HttpLogDirectoryPath=",
                "_WebReports_HTTPServer_LogFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESWebReportsServer.log",
                "_WebReports_HTTPServer_PortNumber=8083",
                "_WebReports_HTTPServer_ServerRootPath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESReportsServer\\wwwroot\\",
                "_WebReports_HTTPServer_SSLCertificateFilePath=C:\\Program Files (x86)\\BigFix Enterprise\\BES Server\\BESReportsData\\SelfWRCertificate.pem",
                "_WebReports_HTTPServer_UseSSLFlag=1",
                "__LockState=false",
                "__RelayServer1=",
                "__RelayServer2=",
                "__Relay_Control_Server1=",
                "__Relay_Control_Server2="
            ],
            "SubnetAddress": "192.168.1.0",
            "DeviceType": "Server",
            "ID": "3385267",
            "ActiveDirectoryPath": "<none>",
            "LastReportTime": "Wed, 27 Jun 2018 00:16:15 +0000",
            "DistancetoBESRelay": "0",
            "OS": "Win2016 10.0.14393.1944 (1607)",
            "ComputerType": "Virtual"
        }
    }
}
Human Readable Output

image

6. Create an action to run on target computers


Create an action on BigFix that will run the given action from the given fixlet on target computers. The computerID parameter takes a comma-separated list of BigFix computer IDs. If no computers are specified, the action will be run on the default computers configured on BigFix. If the action should run on all computers set the computerID parameter to all.

Base Command
bigfix-deploy-patch
Input
Argument Name Description Required
site_name Name of the site. If the site is external or operator then the site must be specified Required
computer_ids Provide IDs of computers to deploy the patch. Pass 'all' to deploy to all the computers. Required
fixlet_id The Fixlet ID. To use the action script from the original Fixlet or Task Message. Required
action_id The action ID. The specified action will run on target computers. Required
 
Context Output
Path Type Description
Bigfix.Action.ID number Action ID
Bigfix.Action.Name string Action name
Bigfix.Action.SiteName string Site name
Bigfix.Action.ComputerIDs unknown Computers IDs the patch was applied to
Bigfix.Action.AllComputers boolean true if patch was applied to all the computers
Bigfix.Action.Resource string Link to action in BigFix
 
Command Example
!bigfix-deploy-patch site_name="BES Support" computer_ids="3385267" fixlet_id="1759" action_id="Action2"
Context Example
Human Readable Output

image

7. Get a patch by fixlet ID


Retrieves a patch (fixlet) by ID.

Base Command
bigfix-get-patch
Input
Argument Name Description Required
id Fixlet ID Required
site_type Type of the site ("external", "operator", "master", "custom" Required
site_name Name of the site. If the site is external or operator then site must be provided Optional
 
Context Output
Path Type Description
Bigfix.Patch.ID unknown Patch(fixlet) ID
Bigfix.Patch.Name unknown Patch name
Bigfix.Patch.Resource unknown Link (URL) to the patch
Bigfix.Patch.Description unknown Description
Bigfix.Patch.Relevance unknown Relevance of the patch requested
Bigfix.Patch.Category string Category of the patch requested
Bigfix.Patch.DownloadSize unknown Download size
Bigfix.Patch.Source unknown Source from where the patch is coming from
Bigfix.Patch.SourceID unknown Source ID of the patch requested
Bigfix.Patch.SourceSeverity unknown Source severity of the patch requested
Bigfix.Patch.SourceReleaseDate unknown Source release date of the patch requested
Bigfix.Patch.ActionID string Action ID of the patch requested
Bigfix.Patch.ActionScript string Action script of the patch requested
 
Command Example
!bigfix-get-patch id=38 site_type=master
Context Example
{
    "Bigfix": {
        "Patch": {
            "Category": null,
            "Resource": "https://xsoar-example:20021/api/fixlet/master/38",
            "Description": "This is a description of foo patch",
            "DownloadSize": null,
            "SourceID": null,
            "SourceReleaseDate": "2018-06-15",
            "Source": "Internal",
            "ActionID": "Action1",
            "ActionScript": {
                "@MIMEType": "application/x-sh",
                "#text": "#!/bin/sh\n# Enter your action script here\necho \"Hello World\""
            },
            "Relevance": null,
            "SourceSeverity": null,
            "ID": "38",
            "Name": "Anar Fixlet"
        }
    }
}
Human Readable Output

image

8. Delete an action


Stops and deletes the specified action. Note: You cannot delete actions that are members of a Multiple Action Group. This note applies to HCL BigFix V9.2 and later.

Base Command
bigfix-action-delete
Input
Argument Name Description Required
action_id Action ID Required
 
Context Output

There is no context output for this command.

Command Example
!bigfix-action-delete action_id
Human Readable Output

image

9. Get the status of an action


Gets the status of an action against its targets.

Base Command
bigfix-action-status
Input
Argument Name Description Required
action_id Action ID Required
 
Context Output
Path Type Description
Bigfix.Action.ID string Action ID
Bigfix.Action.Status string Action status (e.g., "Open", "Stopped")
 
Command Example
!bigfix-action-status action_id=56
Context Example
{
    "Bigfix": {
        "Action": {
            "Status": "Open",
            "ID": "56"
        }
    }
}
Human Readable Output

image

10. Stop an action


Stops the specified action.

Base Command
bigfix-action-stop
Input
Argument Name Description Required
action_id Action ID Required
 
Context Output

There is no context output for this command.

Command Example
!bigfix-action-stop action_id
Human Readable Output

image

11. Evaluate an expression and get the result


Evaluates an expression and gets the result. The request is processed through the server to WebReports.

Base Command
bigfix-query
Input
Argument Name Description Required
relevance Relevance query (example: names of bes computers) Required
 
Context Output
Path Type Description
Bigfix.QueryResults unknown The results of the query
 
Command Example
!bigfix-query relevance="cpus of bes computers"
!bigfix-query relevance="names of bes computers"
Context Example
{
    "Bigfix": {
        "QueryResults": [
            "2200 MHz Xeon Gold 5120",
            "2200 MHz Xeon"
        ]
    }
}
Human Readable Output

image

Configuration parameters

  • url — Server url (e.g https://192.168.10.1:52311) (required)
  • credentials — Username (required)
  • unsecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings

Commands (11)

  • bigfix-action-delete

    Stops and deletes the specified action. Note: You cannot delete actions that are members of a Multiple Action Group. This note applies to HCL BigFix V9.2 and later.

  • bigfix-action-status

    Gets the status of an action against it's targets.

  • bigfix-action-stop

    Stops the specified action.

  • bigfix-deploy-patch

    Create an action on BigFix that will run the given action from the given fixlet on target computers. The computerID parameter takes a comma-separated list of BigFix computer IDs. If no computers are given, the action will be run on the default computers configured on BigFix. If the action should run on all computers set the computerID parameter to all.

  • bigfix-get-endpoint

    Retrieve endpoint (computer) details.

  • bigfix-get-endpoints

    Retrieve all the endpoints (computers).

  • bigfix-get-patch

    Retrieve patch (fixlet) by id.

  • bigfix-get-patches

    Retrieve all the patches (fixlets) of site.

  • bigfix-get-site

    Retrieve single site by name and type.

  • bigfix-get-sites

    Retrieves all the sites.

  • bigfix-query

    Evaluate a relevance expression and get the result. This runs request is processed through the server to WebReports.

category: Vulnerability Management
provider: HCL Technologies
commonfields:
  id: BigFix
  version: -1
configuration:
- display: Server url (e.g https://192.168.10.1:52311)
  name: url
  required: true
  type: 0
- display: Username
  name: credentials
  required: true
  type: 9
- display: Trust any certificate (not secure)
  name: unsecure
  type: 8
  required: false
- display: Use system proxy settings
  name: proxy
  type: 8
  required: false
description: HCL BigFix Patch provides an automated, simplified patching process that is administered from a single console.
display: BigFix
name: BigFix
script:
  commands:
  - description: Retrieves all the sites.
    name: bigfix-get-sites
    outputs:
    - contextPath: Bigfix.Site
      description: Site.
      type: unknown
    - contextPath: Bigfix.Site.Name
      description: Name of the site.
      type: string
    - contextPath: Bigfix.Site.Description
      description: Description of the site.
      type: string
    - contextPath: Bigfix.Site.Resource
      description: Link to the endpoint resource.
      type: string
    - contextPath: Bigfix.Site.Type
      description: Type of the site (master,custom,external,operator).
      type: string
    - contextPath: Bigfix.Site.Domain
      description: Site domain.
      type: string
    - contextPath: Bigfix.Site.GatherURL
      description: Gather URL.
      type: string
    - contextPath: Bigfix.Site.GlobalReadPermission
      description: Global Read Permission available or not.
      type: string
  - arguments:
    - description: Name of the site. If the site is external or operator then site must be provided.
      name: site_name
    - auto: PREDEFINED
      defaultValue: master
      description: 'Type of the site. One of the following options: external,operator,master,custom.'
      name: site_type
      predefined:
      - external
      - operator
      - master
      - custom
      required: true
    description: Retrieve single site by name and type.
    name: bigfix-get-site
    outputs:
    - contextPath: Bigfix.Site
      description: Site.
      type: unknown
    - contextPath: Bigfix.Site.Name
      description: Name of the site.
      type: string
    - contextPath: Bigfix.Site.Description
      description: Description of the site.
      type: string
    - contextPath: Bigfix.Site.Resource
      description: Link to the endpoint resource.
      type: string
    - contextPath: Bigfix.Site.Type
      description: Type of the site (master,custom,external,operator).
      type: string
    - contextPath: Bigfix.Site.Domain
      description: Site domain.
      type: string
    - contextPath: Bigfix.Site.GatherURL
      description: Gather URL.
      type: string
    - contextPath: Bigfix.Site.GlobalReadPermission
      description: Global Read Permission available or not.
      type: string
  - arguments:
    - auto: PREDEFINED
      defaultValue: master
      description: 'Type of the site. One of the following options: external,operator,master,custom.'
      name: site_type
      predefined:
      - external
      - operator
      - master
      - custom
      required: true
    - description: Name of the site. If the site is external or operator then site must be provided.
      name: site_name
    description: Retrieve all the patches (fixlets) of site.
    name: bigfix-get-patches
    outputs:
    - contextPath: Bigfix.Patch.ID
      description: Patch (fixlet) ID.
      type: string
    - contextPath: Bigfix.Patch.LastModified
      description: Last modified Timestamp.
      type: date
    - contextPath: Bigfix.Patch.Name
      description: Name of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.Resource
      description: The link for the patch.
      type: string
    - contextPath: Bigfix.Patch.Description
      description: Description of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.Relevance
      description: Relevance of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.Category
      description: Category of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.DownloadSize
      description: Download size.
      type: string
    - contextPath: Bigfix.Patch.Source
      description: Source from where the patch is coming from.
      type: string
    - contextPath: Bigfix.Patch.SourceID
      description: Source ID of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.SourceSeverity
      description: Source Severity of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.SourceReleaseDate
      description: Source Release Date of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.ActionID
      description: Action ID of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.ActionScript
      description: Action Script of the Patch requested.
      type: string
  - arguments:
    - auto: PREDEFINED
      defaultValue: 'true'
      description: Whether to get endpoint full details of each endpoint or just basic details, such as ID and last reported time. We recommend setting this to false if there are many endpoints to retrieve.
      name: get_endpoint_details
      predefined:
      - 'true'
      - 'false'
    description: Retrieve all the endpoints (computers).
    name: bigfix-get-endpoints
    outputs:
    - contextPath: Bigfix.Endpoint
      description: Endpoint (computer).
      type: Unknown
    - contextPath: Bigfix.Endpoint.ID
      description: The if of the endpoint (computer ID).
      type: string
    - contextPath: Bigfix.Endpoint.Resource
      description: URL to the endpoint details.
      type: string
    - contextPath: Bigfix.Endpoint.LastReportTime
      description: Last report time of the endpoint.
      type: date
    - contextPath: Bigfix.Endpoint.ActiveDirectoryPath
      description: Active directory path of the endpoint device.
      type: string
    - contextPath: Bigfix.Endpoint.AgentType
      description: Agent Type of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.AgentVersion
      description: Agent Version of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.BESRelaySelectionMethod
      description: Relay selection method of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.BESRelayServiceInstalled
      description: Relay service installed of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.BESRootServer
      description: Root server of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.BIOS
      description: BIOS of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.CPU
      description: CPU of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.ClientSettings
      description: Client settings of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.ComputerName
      description: Computer name of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.ComputerType
      description: Computer Type of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.DNSName
      description: DNS Name of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.DeviceType
      description: Device Type of the endpoint device.
      type: string
    - contextPath: Bigfix.Endpoint.DistancetoBESRelay
      description: Distance to BES Relay of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.FreeSpaceonSystemDrive
      description: Free space on sytem drive of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.IPAddress
      description: IP of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.LicenseType
      description: License of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.Locked
      description: Locked of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.OS
      description: OS of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.RAM
      description: RAM of the endpoint.
      type: number
    - contextPath: Bigfix.Endpoint.Relay
      description: Relay of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.RelayNameOfClient
      description: Relay Name of the client.
      type: string
    - contextPath: Bigfix.Endpoint.SubnetAddress
      description: Subnet Address of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.SubscribedSites
      description: Subscribed sites.
      type: string
    - contextPath: Bigfix.Endpoint.TotalSizeofSystemDrive
      description: Total size of system drive.
      type: number
    - contextPath: Bigfix.Endpoint.UserName
      description: User name.
      type: string
  - arguments:
    - description: Computer ID.
      name: computer_id
      required: true
    description: Retrieve endpoint (computer) details.
    name: bigfix-get-endpoint
    outputs:
    - contextPath: Bigfix.Endpoint
      description: Endpoint (computer).
      type: Unknown
    - contextPath: Bigfix.Endpoint.ID
      description: The if of the endpoint (computer ID).
      type: string
    - contextPath: Bigfix.Endpoint.Resource
      description: URL to the endpoint details.
      type: string
    - contextPath: Bigfix.Endpoint.LastReportTime
      description: Last report time of the endpoint.
      type: date
    - contextPath: Bigfix.Endpoint.ActiveDirectoryPath
      description: Active directory path of the endpoint device.
      type: string
    - contextPath: Bigfix.Endpoint.AgentType
      description: Agent Type of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.AgentVersion
      description: Agent Version of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.BESRelaySelectionMethod
      description: Relay selection method of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.BESRelayServiceInstalled
      description: Relay service installed of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.BESRootServer
      description: Root server of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.BIOS
      description: BIOS of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.CPU
      description: CPU of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.ClientSettings
      description: Client settings of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.ComputerName
      description: Computer name of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.ComputerType
      description: Computer Type of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.DNSName
      description: DNS Name of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.DeviceType
      description: Device Type of the endpoint device.
      type: string
    - contextPath: Bigfix.Endpoint.DistancetoBESRelay
      description: Distance to BES Relay of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.FreeSpaceonSystemDrive
      description: Free space on sytem drive of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.IPAddress
      description: IP of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.LicenseType
      description: License of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.Locked
      description: Locked of the endpoint.
      type: Unknown
    - contextPath: Bigfix.Endpoint.OS
      description: OS of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.RAM
      description: RAM of the endpoint.
      type: number
    - contextPath: Bigfix.Endpoint.Relay
      description: Relay of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.RelayNameOfClient
      description: Relay Name of the client.
      type: string
    - contextPath: Bigfix.Endpoint.SubnetAddress
      description: Subnet Address of the endpoint.
      type: string
    - contextPath: Bigfix.Endpoint.SubscribedSites
      description: Subscribed sites.
      type: string
    - contextPath: Bigfix.Endpoint.TotalSizeofSystemDrive
      description: Total size of system drive.
      type: number
    - contextPath: Bigfix.Endpoint.UserName
      description: User name.
      type: string
  - arguments:
    - description: Name of the site. If the site is external or operator then site must be provided.
      name: site_name
      required: true
    - description: Provide ids of computers to deploy the patch. Pass 'all' to deploy to all the computers.
      isArray: true
      name: computer_ids
      required: true
    - description: The Fixlet ID. To use the action script from the original Fixlet or Task Message.
      name: fixlet_id
      required: true
    - description: The action ID. The specified action will run on target computers.
      name: action_id
      required: true
    description: Create an action on BigFix that will run the given action from the given fixlet on target computers.  The computerID parameter takes a comma-separated list of BigFix computer IDs. If no computers are given, the action will be run on the default computers configured on BigFix. If the action should run on all computers set the computerID parameter to all.
    name: bigfix-deploy-patch
    outputs:
    - contextPath: Bigfix.Action.ID
      description: Action ID.
      type: number
    - contextPath: Bigfix.Action.Name
      description: Action Name.
      type: string
    - contextPath: Bigfix.Action.SiteName
      description: Site name.
      type: string
    - contextPath: Bigfix.Action.ComputerIDs
      description: Computers IDs to which the patch was applied to.
      type: Unknown
    - contextPath: Bigfix.Action.AllComputers
      description: true if patch was applied to all the computers.
      type: boolean
    - contextPath: Bigfix.Action.Resource
      description: Link to action in bigfix.
      type: string
  - arguments:
    - description: Fixlet id.
      name: id
      required: true
    - auto: PREDEFINED
      description: 'Type of the site. One of the following options: external,operator,master,custom.'
      name: site_type
      predefined:
      - external
      - operator
      - master
      - custom
      required: true
    - description: Name of the site. If the site is external or operator then site must be provided.
      name: site_name
    description: Retrieve patch (fixlet) by id.
    name: bigfix-get-patch
    outputs:
    - contextPath: Bigfix.Patch.ID
      description: Patch(fixlet) id.
      type: Unknown
    - contextPath: Bigfix.Patch.Name
      description: Patch name.
      type: Unknown
    - contextPath: Bigfix.Patch.Resource
      description: Link (URL) to the patch.
      type: Unknown
    - contextPath: Bigfix.Patch.Description
      description: Description.
      type: Unknown
    - contextPath: Bigfix.Patch.Relevance
      description: Relevance of the Patch requested.
      type: Unknown
    - contextPath: Bigfix.Patch.Category
      description: Category of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.DownloadSize
      description: Download size.
      type: Unknown
    - contextPath: Bigfix.Patch.Source
      description: Source from where the patch is coming from.
      type: Unknown
    - contextPath: Bigfix.Patch.SourceID
      description: Source ID of the Patch requested.
      type: Unknown
    - contextPath: Bigfix.Patch.SourceSeverity
      description: Source Severity of the Patch requested.
      type: Unknown
    - contextPath: Bigfix.Patch.SourceReleaseDate
      description: Source Release Date of the Patch requested.
      type: Unknown
    - contextPath: Bigfix.Patch.ActionID
      description: Action ID of the Patch requested.
      type: string
    - contextPath: Bigfix.Patch.ActionScript
      description: Action Script of the Patch requested.
      type: string
  - arguments:
    - description: Action ID.
      name: action_id
      required: true
    description: 'Stops and deletes the specified action. Note: You cannot delete actions that are members of a Multiple Action Group. This note applies to HCL BigFix V9.2 and later.'
    name: bigfix-action-delete
  - arguments:
    - description: Action ID.
      name: action_id
      required: true
    description: Gets the status of an action against it's targets.
    name: bigfix-action-status
    outputs:
    - contextPath: Bigfix.Action.ID
      description: Action ID.
      type: string
    - contextPath: Bigfix.Action.Status
      description: Action Status (e.g Open, Stopped).
      type: string
  - arguments:
    - description: Action ID.
      name: action_id
      required: true
    description: Stops the specified action.
    name: bigfix-action-stop
  - arguments:
    - description: 'Relevance query (example:  names of bes computers).'
      name: relevance
      required: true
    description: Evaluate a relevance expression and get the result. This runs request is processed through the server to WebReports.
    name: bigfix-query
    outputs:
    - contextPath: Bigfix.QueryResults
      description: The results of the query.
      type: unknown
  runonce: false
  script: '-'
  subtype: python3
  type: python
  dockerimage: demisto/python3:3.12.13.10116658
fromversion: 5.0.0
tests:
- No tests (auto formatted)