Actions222
- Application Baseline Actions
- Attack Surface Actions
- Backup Software Actions
- EDR Actions
- Tags Actions
- PII Actions
- External Scan Actions
- Settings Actions
- Compliance Assessment Actions
- Reports Actions
- Compliance Actions
- Jobs Actions
- Active Directory Actions
- Retrieve Ad Roles
- Retrieve Ad User Licenses
- Retrieve Azure Licenses
- Retrieve Azure Ad Logs
- Retrieve Azure Secure Score
- Retrieve Ad Password Policies
- Retrieve Ad Groups View
- Retrieve Ad Ous View
- Retrieve Ad Gpos View
- Retrieve Ad Computers View
- Retrieve Ad Users View
- Retrieve Ad Domain Details
- Retrieve Ad Gpos Details
- Retrieve Get Ous Details
- Retrieve Get Groups Details
- Retrieve Ad Group Users
- Retrieve Ad Group Computers
- Retrieve Get User Details
- Retrieve Get Computer Details
- Retrieve Ad Roles Details
- Retrieve Ad Roles Member
- Retrieve Ad Basic Info
- Audit Log Actions
- Ad Audit Actions
- Asset Data Actions
- Retrieve Bios Info
- Retrieve Bio Info
- Retrieve Browser Extensions
- Retrieve Browser Extension
- Retrieve Ciphers View
- Retrieve Cipher View
- Retrieve Windows Protection Status
- Retrieve Window Protection Status
- Retrieve Asset Compliance Report Card
- Retrieve Asset Firewall Policy
- Retrieve Asset Installed Drivers
- Retrieve Asset Installed Driver
- Retrieve Asset Interface
- Retrieve Asset Msdt
- Retrieve Asset Ports
- Retrieve Asset Port
- Retrieve Asset Security Report Data
- Retrieve Asset Security Report Datum
- Retrieve Asset Shares
- Retrieve Asset Share
- Retrieve Asset Storages
- Retrieve Asset Storage
- Retrieve Asset Unqouted Services
- Retrieve Asset Unqouted Service
- Retrieve Asset User Shares
- Retrieve Asset User Share
- Retrieve Asset Video Info
- Retrieve Asset Windows Reboot Required
- Retrieve Asset Window Reboot Required
- Vulnerabilities Actions
- Firewall Actions
- Integration Actions
- Retrieve Integration Credentials
- Retrieve Integration Credential
- Create Integration Credential
- Update Integration Credential
- Delete Integration Credential
- Retrieve Integration Rules
- Retrieve Integration Rule
- Create Integration Rule
- Update Integration Rule
- Delete Integration Rule
- Retrieve Company Mappings
- Retrieve Company Mapping
- Create Company Mapping
- Update Company Mapping
- Delete Company Mapping
- Event Set Actions
- Ticket Template Actions
- Scheduler Actions
- Credentials Actions
- Asset Actions
- Retrieve Records
- Retrieve Assets
- Retrieve Asset
- Create Asset
- Update Asset
- Delete Asset
- Retrieve Asset Stats
- Retrieve Asset Stat
- Retrieve Asset View
- Retrieve Cron Jobs
- Retrieve Kernel Modules
- Retrieve Suid Permissions
- Retrieve Ufw Firewall Rules
- Retrieve Selinux Settings
- Retrieve Asset Iptables Rules
- Retrieve Asset Users
- Retrieve Asset Processes Running
- Retrieve Asset Services
- Retrieve Asset Patches Info
- Retrieve Asset Firewall Rules
- Retrieve Asset Registry Misconfiguration
- Retrieve Asset Open Ports
- Retrieve Notification Tickets View
- Retrieve System Events View
- Discovery Settings Actions
- Retrieve Discovery Settings
- Retrieve Discovery Setting
- Create Discovery Setting
- Update Discovery Setting
- Delete Discovery Setting
- Retrieve Agent Discoverysettings Mapping
- Retrieve Agent Discoverysetting Mapping
- Create Agent Discoverysetting Mapping
- Update Agent Discoverysetting Mapping
- Delete Agent Discoverysetting Mapping
- Auth Actions
- Company Actions
- Agent Actions
Overview
This node interacts with the Connect Secure API to retrieve statistical data about companies. Specifically, the "Retrieve Company Stats" operation fetches company statistics based on user-defined query parameters such as filtering conditions, pagination controls, and sorting preferences.
Common scenarios for this node include:
- Fetching summarized or detailed statistics about companies for reporting or analytics.
- Integrating company stats into workflows that require up-to-date business metrics.
- Automating data retrieval for dashboards or monitoring systems.
For example, a user might want to retrieve the top 10 companies ordered by revenue, skipping the first 5 records, or filter companies based on specific criteria using a condition string.
Properties
| Name | Meaning |
|---|---|
| X USER ID | User Id required for authentication; sent as a header in the API request. |
| Condition | Query condition string to filter which company stats are retrieved. |
| Skip | Number of records to skip (pagination offset). |
| Limit | Maximum number of records to return (pagination limit). |
| Order By | Field(s) by which to order the returned company stats. |
Output
The node outputs JSON data containing the retrieved company statistics matching the query parameters. The structure typically includes an array of company stat objects, each representing a company's statistical data as returned by the Connect Secure API.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Connect Secure API.
- Depends on the Connect Secure API being accessible and the provided user ID being valid.
- The node uses the OpenAPI specification bundled internally to define its operations and properties.
Troubleshooting
- Missing or invalid X USER ID: The API requires a valid user ID header; ensure it is provided and correct.
- Invalid query condition syntax: If the condition string is malformed, the API may reject the request or return no results.
- Pagination issues: Setting
skiporlimitincorrectly (e.g., negative numbers) may cause errors or unexpected results. - Order By field invalid: Specifying a non-existent field in
order_bycan lead to API errors or default ordering. - API connectivity problems: Network issues or incorrect API credentials will prevent successful data retrieval.
Error messages from the API should be reviewed to adjust input parameters accordingly.
Links and References
- Connect Secure API Documentation (replace with actual URL)
- n8n documentation on HTTP Request Node for understanding API calls
- General info on OpenAPI Specification