RMM: NinjaOne RMM V.11

RMM: NinjaOne RMM V.11

NinjaOne RMM Integration gives an ability to bulk deploy ConnectSecure Agents and Sync Vulnerabilities.

If you are still using NinjaOne RMM V.10 please use the KB below for configuration

RMM: NinjaOne RMM V.10


NinjaOne Setup

Navigate to your NinjaOne Portal, login, and click on Administration.

image-20260107-194242.png

Click on Apps > API > Add client app as shown below.

image-20260107-194612.png
  • Select the Application Platform as API Services (machine to machine)

image-20260107-194850.png
  • Enter Name: Choose a name of your choice for the Application Platform.

  • Redirect URL’s are not required; leave blank

  • Enter Scopes: Select all the fields. (Monitoring, Management, Control)

  • Select Allowed Grant Types: Client Credentials.

Ensure that only the "Client Credentials" grant type is selected in the allowed grant types configuration. This selection ensures that the OAuth2 flow is restricted to client credentials, suitable for server-to-server authentication scenarios.​

​When selecting the "Client Credentials" grant type, the system will not require a redirect URL. This is because the client credentials flow does not involve user redirection and is intended for non-interactive authentication scenarios.

Disabling management scope API access will impact company mapping within the platform of ConnectSecure integration and prevent updates to agent deployment variables (such as Company ID, Tenant ID, and Secret Key) for new installations. 

image-20260107-195911.png

Once the application is created successfully, the client’s secret credentials will be created.

Make sure to copy the client's secret credentials before leaving this page. This is the only time you will be able to view your client secret.

  • image-20260107-195747.png

Next Navigate to Administration > Devices > Device Custom Fields

  • Tap the + Add custom field

image-20260107-200406.png

Select Field Type as Text and click on continue.

image-20260107-201557.png

You must create the following four global custom fields exactly as shown. These names are case-sensitive and required for proper functionality.

Create four separate mandatory text fields as

cybercnscompanyid

cybercnsdomain

cybercnstenantid

cybercnstoken

Example below of cybercnscompanyid being configured

image-20260107-202200.png

Once you have filled in the Overview information navigate to the Permissions on the same Edit Custom Field view.

  • Select Automation as Read/write.

  • Select API as Read/write.

  • Select Technician Access as Editable.

 

 

 

32401819-a8d1-41c2-a6f1-27ebb1ba7c53.png

You then will navigate to Inheritance on the same Edit Custom Field view.

  • Select as Device, location, organization

  • Then click on Submit.

image-20260107-202838.png

After configuring all four mandatory case‑sensitive fields, the device custom fields will display as seen below.

image-20260107-203224.png


ConnectSecure Integration Configuration

  • Navigate to Global > Settings > Integrations > RMM Integrations and choose NinjaOne RMM from the integrations from the tiles.

image-20260107-204439.png

Credentials

Before we start here, NinjaOne user API Key information should be ready to be inputted here.

  1. Enter Name: Choose a name of your choice for the credentials to be added.

  2. Enter ClientID: Enter an API ClientID as generated from NinjaOne for a user.

  3. Enter Client Secret: Enter API ClientSecret as generated from NinjaOne for a user.

  4. Enter Domain: Enter the NinjaOne URL used for accessing the portal. Eg.https://us2.ninjarmm.com/

  5. Enter Select Associated Company: Select the Associated company under user.

image-20260107-204119.png

Once all the above is entered correctly, SAVE credentials. This will provide a green credentials saved successfully banner.

image-20260107-204656.png

You then will be able to view the credentials added and have the option to delete from here if needed.

image-20260107-204603.png

Company Mapping

This is where companies between NinjaOne and ConnectSecure are to be mapped; Import them directly from NinjaOne RMM or map existing ConnectSecure companies to NinjaOne RMM using the Add button.

One of these two options could be selected

Import Companies from NinjaOne RMM:- To import multiple companies listed under NinjaOne RMM to ConnectSecure at a time.

Map Existing Company to an NinjaOne RMM company:- To map an existing company in ConnectSecure to the existing company under NinjaOne RMM.

  • To import multiple companies from NinjaOne RMM, choose Import Companies from NinjaOne RMM, and click on Next.

image-20260107-211627.png

In case you want to manually search the company, you can simply click on the drop-down of NinjaOne RMM Companies and it will list all companies available under NinjaOne RMM.

image-20260107-211351.png

Once you have selected your NinjaOne RMM Companies Click Save.

53c6d4b2-9bb1-443b-98c4-9859dc213f1b.png

To map Existing Company to a NinjaOne RMM Company, select the Companies from ConnectSecure, and Click Next.

image-20260107-211259.png
  • Choose Credentials for the Map Existing Company to NinjaOne RMM company.

  • Choose Local Company.

  • Choose NinjaRMM One Company and click on Add.

image-20260107-205829.png

Once all the fields are provided, Click on Finish to map all the selected NinjaOne RMM companies.

image-20260107-210146.png

Using the Action column, you can Edit and Delete the integration mapping. Any mapping can be removed as and when necessary.

image-20260107-210303.png

NinjaOne Script Deployment Overview

NinjaOne RMM Integration allows you to deploy ConnectSecure Agents in bulk via NinjaOne RMM using the prebuilt scripts provided below.

Tap here to download the NinjaOne script

The download contains a RMM Scripts folder with a script for deployment on each operating system including Windows, MAC, and Linux.

image-20260108-195358.png

How to add automation in NinjaOne RMM

Navigate to the Administration Dashboard

image-20260108-143513.png

Click on Library > Automation > +Automation > New Script

image-20260108-143714.png

You can paste the script contents from the downloaded file mentioned above.

Alternately, you can choose to ‘Import a File’ and point to the scripts downloaded.+

image-20260108-195840.png

You will see your script loaded into the command line window as shown below:

image-20260108-143854.png

You then will be able to view your Created Script in the Automation Library as shown below

image-20260108-144051.png

You now are ready to deploy the ConnectSecure Agent through your NinjaOne RMM.

Navigate to the Dashboard > Select your Organization

image-20260108-144339.png

Select the device > Play icon > Automation > Script

image-20260108-144728.png

Click on the ConnectSecure script found in your Automation Library that you have saved.

image-20260108-144902.png

Select Run as System > Run

image-20260108-144955.png

You can navigate to Activities > All > and view the activity of the install script.

 

Below you can see a failure output with the reasoning.

image-20260108-145107.png

Here is an output of a successful install.

image-20260109-141444.png

Permissions

You must enable the System > Vulnerability Access permissions within the NinjaOne portal in order to add/edit and manage the integration apps.

image-20260428-193635.png

Sync Vulnerabilities

The NinjaRMM vulnerability sync runs automatically once every 24 hours, ensuring that the latest vulnerability data is updated in Ninja on a daily basis.

Additionally, if you need point in time updates, you can also trigger the sync manually from the UI as and when it is needed.

Ensure the Vulnerability Importer App Is Enabled in NinjaOne

Log in to the NinjaOne portal.

Navigate to Administrator → Apps → Installed.

Confirm that Vulnerability Importer is Enabled/Installed. If it is disabled, enable it before continuing.

image-20260416-191349.png

Create a Scan Group in NinjaOne

A Scan Group is required for ConnectSecure to push vulnerability data into NinjaOne.

Click on the Vulnerability Importer

Select Create Scan Group.

image-20260416-191845.png

Fill in the Scan Group Fields

  1. Enter any unique name you want to use for this group.

  2. Select scanning vendor > Choose Other.

  3. Other (scanning source)

  4. Upload a CSV (even a blank CSV with the required headers is acceptable).

1aedf093-0df9-4c41-8221-d77f0353bc95.png

Example CSV.

The column headers must match the expected values exactly as documented and shown below.

Please ensure there are no additional spaces or formatting differences in the header names and use the exact expected column names while preparing the CSV file.

image-20260416-193202.png

Map the attributes:

Device ID → hostname

CVE ID → cve

Click Finish to create the Scan Group.

image-20260416-193234.png

NinjaOne Vulnerability Importer - NinjaRMM Vulnerability Importer


Login to ConnectSecure

Navigate to Global SettingsIntegrationsRMM Integrations and choose NinjaOne RMM from the integrations from the tiles.

Select the three-dot Action menu found in the Company Mapping for any NinjaOne mapped company and select the Sync Vulnerabilities option.

image-20260326-154203.png

Select the Ninja scan group from the drop-down and click Sync Vulnerabilities.

image-20260326-154322.png

Check your NinjaOne Vulnerabilities view to see the data.

image-20260326-154721.png

Need Support?

If you need assistance, our support team is here to help. You can create, view, and manage support tickets through our portal at any time.

Support Portal: https://connectsecure.freshdesk.com
Email: support@connectsecure.com