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 information about user shares of assets. Specifically, for the "Asset Data" resource and the "Retrieve Asset User Shares" operation, it fetches a list of asset shares associated with a particular user. This is useful in scenarios where you need to audit or analyze which assets are shared with or by a specific user, such as managing permissions, tracking asset distribution, or generating reports on asset access.
Practical examples include:
- Retrieving all assets shared with a given user to verify access rights.
- Filtering asset shares based on conditions like date ranges or asset types.
- Paginating through large sets of asset shares using skip and limit parameters.
- Sorting the results according to specified fields.
Properties
| Name | Meaning |
|---|---|
| X USER ID | The unique identifier of the user whose asset shares you want to retrieve. |
| Condition | A query condition string to filter the asset shares (e.g., filtering by status or type). |
| Skip | Number of records to skip, used for pagination. |
| Limit | Maximum number of records to return. |
| Order By | Field(s) by which to order the returned asset shares. |
Output
The node outputs JSON data representing the retrieved asset user shares. Each item in the output typically corresponds to an individual asset share record containing details such as asset identifiers, sharing metadata, and user-related information.
If the API supports binary data for this operation (not indicated here), the node would also provide binary output accordingly, but based on the provided code and properties, the output is purely JSON.
Dependencies
- Requires an API key credential for authenticating with the Connect Secure API.
- The node depends on the Connect Secure API being accessible and properly configured.
- No additional environment variables or external services are explicitly required beyond the API authentication.
Troubleshooting
- Missing or invalid X USER ID: Since the user ID is required, omitting it or providing an incorrect value will likely cause errors or empty results. Ensure the user ID is correct and properly formatted.
- API authentication errors: If the API key credential is missing or invalid, the node will fail to authenticate. Verify that the API key is correctly set up in n8n credentials.
- Invalid query conditions: Malformed or unsupported query strings in the Condition property may result in API errors or no data returned. Validate the query syntax according to the Connect Secure API documentation.
- Pagination issues: Setting Skip or Limit incorrectly (e.g., negative numbers) might cause unexpected behavior or errors.
- Order By field errors: Specifying invalid fields for ordering can lead to API errors; ensure the field names match those supported by the API.
Links and References
- Connect Secure API Documentation (Replace with actual URL)
- n8n Documentation - Creating Custom Nodes
- OpenAPI Specification