-
Notifications
You must be signed in to change notification settings - Fork 0
NinjaOne LCP #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Deenk
wants to merge
25
commits into
main
Choose a base branch
from
ninjaone
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
NinjaOne LCP #34
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b13db03
ninjaone lcp new version
Deenk 50411b7
fix duplicate tile placement
Deenk 28483ce
add tags
Deenk ce672b0
remove arrayCursor
Deenk c98ec16
fix multiple radio buttons in ui
Deenk 2bc23b1
revert ui changes
Deenk f408f42
Revert "revert ui changes"
Deenk adc9b79
Revert "fix multiple radio buttons in ui"
Deenk 62361c8
remove broken backup usage tile in oob dash
Deenk 45cc1e6
fix backup jobs datastream timeframes
Deenk 20346da
fix backup jobs
Deenk c411c39
fix devices path to data
Deenk 0b0ec05
fix timeframe conversion for backup jobs datastream
Deenk dc7f4da
backup path data fix
Deenk bed3bb4
fix paging id in devices script
Deenk ce3900a
fix device import again
Deenk c1f9f3f
fix unix time for backups
Deenk 2b2c392
make backupjobs liike backupusage
Deenk 840f588
remove backupjobs timeframe
Deenk 8238d39
fix ticket board data
Deenk 8a2d30c
fix product statuses
Deenk 9702d9e
fix oob dashboard timeframes
Deenk 0732532
Merge branch 'main' into ninjaone
clarkd 73fa8cf
fix external links
Deenk eca0154
Merge branch 'ninjaone' of https://github.com/squaredup/plugins into …
Deenk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "words": ["ninjarmm", "ninjaone", "bitlocker", "antivirus", "vulnerability", "vulnerabilities", "quarantined", "quarantinedthreatscount", "loggedin", "submask"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| [ | ||
| { | ||
| "name": "NinjaOne Organization", | ||
| "sourceType": "ninja-one", | ||
| "icon": "building", | ||
| "singular": "Organization", | ||
| "plural": "Organizations" | ||
| }, | ||
| { | ||
| "name": "NinjaOne Device", | ||
| "sourceType": "ninja-one", | ||
| "icon": "desktop", | ||
| "singular": "Device", | ||
| "plural": "Devices" | ||
| }, | ||
| { | ||
| "name": "NinjaOne Location", | ||
| "sourceType": "ninja-one", | ||
| "icon": "map-marker-alt", | ||
| "singular": "Location", | ||
| "plural": "Locations" | ||
| }, | ||
| { | ||
| "name": "NinjaOne Ticket Board", | ||
| "sourceType": "ninja-one", | ||
| "icon": "kanban", | ||
| "singular": "Ticket Board", | ||
| "plural": "Ticket Boards" | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,126 @@ | ||
| { | ||
| "name": "activities", | ||
| "displayName": "Activities", | ||
| "tags": ["Monitoring"], | ||
| "baseDataSourceName": "httpRequestUnscoped", | ||
| "config": { | ||
| "httpMethod": "get", | ||
| "paging": { | ||
| "mode": "token", | ||
| "pageSize": { | ||
| "realm": "queryArg", | ||
| "path": "pageSize", | ||
| "value": "1000" | ||
| }, | ||
| "in": { | ||
| "realm": "payload", | ||
| "path": "lastActivityId" | ||
| }, | ||
| "out": { | ||
| "realm": "queryArg", | ||
| "path": "olderThan" | ||
| } | ||
| }, | ||
| "expandInnerObjects": true, | ||
| "endpointPath": "/v2/activities", | ||
| "pathToData": "activities", | ||
| "getArgs": [ | ||
| { | ||
| "key": "after", | ||
| "value": "{{timeframe.start}}" | ||
| }, | ||
| { | ||
| "key": "before", | ||
| "value": "{{timeframe.end}}" | ||
| } | ||
| ], | ||
| "headers": [] | ||
| }, | ||
| "metadata": [ | ||
| { | ||
| "name": "activityTime", | ||
| "displayName": "Activity Time", | ||
| "shape": [ | ||
| "date", | ||
| { | ||
| "timeZone": "Etc/UTC" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "activity", | ||
| "displayName": "Activity", | ||
| "shape": "string", | ||
| "role": "label" | ||
| }, | ||
| { | ||
| "name": "activityId", | ||
| "displayName": "Activity ID", | ||
| "shape": "number", | ||
| "role": "id", | ||
| "visible": false | ||
| }, | ||
| { | ||
| "name": "description", | ||
| "displayName": "Description", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "activityType", | ||
| "displayName": "Activity Type", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "source", | ||
| "displayName": "Source", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "deviceId", | ||
| "displayName": "Device ID", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "deviceName", | ||
| "displayName": "Device Name", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "organizationId", | ||
| "displayName": "Organization ID", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "organizationName", | ||
| "displayName": "Organization Name", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "userId", | ||
| "displayName": "User ID", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "userName", | ||
| "displayName": "User Name", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "pattern": ".*" | ||
| } | ||
| ], | ||
| "timeframes": [ | ||
| "last1hour", | ||
| "last12hours", | ||
| "last24hours", | ||
| "last7days", | ||
| "last30days", | ||
| "thisMonth", | ||
| "thisQuarter", | ||
| "thisYear", | ||
| "lastMonth", | ||
| "lastQuarter", | ||
| "lastYear", | ||
| "none" | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,132 @@ | ||
| { | ||
| "name": "alerts", | ||
| "displayName": "Alerts", | ||
| "tags": ["Monitoring"], | ||
| "description": "Active alerts and triggered conditions", | ||
| "baseDataSourceName": "httpRequestUnscoped", | ||
| "config": { | ||
| "httpMethod": "get", | ||
| "paging": { | ||
| "mode": "none" | ||
| }, | ||
| "expandInnerObjects": true, | ||
| "endpointPath": "/v2/alerts", | ||
| "pathToData": "", | ||
| "getArgs": [], | ||
| "headers": [] | ||
| }, | ||
| "metadata": [ | ||
| { | ||
| "name": "conditionHealthStatus", | ||
| "displayName": "Health Status", | ||
| "shape": [ | ||
| "state", | ||
| { | ||
| "map": { | ||
| "error": ["UNHEALTHY"], | ||
| "warning": ["NEEDS_ATTENTION"], | ||
| "success": ["HEALTHY"], | ||
| "unknown": ["UNKNOWN"] | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "uid", | ||
| "displayName": "Alert ID", | ||
| "shape": "string", | ||
| "role": "id", | ||
| "visible": false | ||
| }, | ||
| { | ||
| "name": "sourceName", | ||
| "displayName": "Alert Name", | ||
| "shape": "string", | ||
| "role": "label" | ||
| }, | ||
| { | ||
| "name": "message", | ||
| "displayName": "Message", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "subject", | ||
| "displayName": "Subject", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "severity", | ||
| "displayName": "Severity", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "sourceType", | ||
| "displayName": "Source Type", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "createTime", | ||
| "displayName": "Created At", | ||
| "shape": [ | ||
| "date", | ||
| { | ||
| "timeZone": "Etc/UTC" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "updateTime", | ||
| "displayName": "Updated At", | ||
| "shape": [ | ||
| "date", | ||
| { | ||
| "timeZone": "Etc/UTC" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "device_id", | ||
| "displayName": "Device ID", | ||
| "shape": "string", | ||
| "visible": false | ||
| }, | ||
| { | ||
| "name": "device_displayName", | ||
| "displayName": "Device", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "device_organizationId", | ||
| "displayName": "Organization ID", | ||
| "shape": "string", | ||
| "visible": false | ||
| }, | ||
| { | ||
| "name": "device_references_organization_name", | ||
| "displayName": "Organization", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "device_locationId", | ||
| "displayName": "Location ID", | ||
| "shape": "string", | ||
| "visible": false | ||
| }, | ||
| { | ||
| "name": "device_references_location_name", | ||
| "displayName": "Location", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "device_offline", | ||
| "displayName": "Device Offline", | ||
| "shape": "boolean" | ||
| }, | ||
| { | ||
| "pattern": ".*" | ||
| } | ||
| ], | ||
| "timeframes": [ | ||
| "none" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| { | ||
| "name": "antivirusStatus", | ||
| "displayName": "Antivirus Status", | ||
| "tags": ["Security"], | ||
| "description": "Antivirus product status and definition updates", | ||
| "baseDataSourceName": "httpRequestUnscoped", | ||
| "config": { | ||
| "httpMethod": "get", | ||
| "paging": { | ||
| "mode": "token", | ||
| "pageSize": { | ||
| "realm": "queryArg", | ||
| "path": "pageSize", | ||
| "value": "1000" | ||
| }, | ||
| "in": { | ||
| "realm": "payload", | ||
| "path": "cursor.name" | ||
| }, | ||
| "out": { | ||
| "realm": "queryArg", | ||
| "path": "cursor" | ||
| } | ||
| }, | ||
| "expandInnerObjects": false, | ||
| "endpointPath": "/v2/queries/antivirus-status", | ||
| "pathToData": "results", | ||
| "getArgs": [ | ||
| { | ||
| "key": "ts", | ||
| "value": "{{timeframe.end}}" | ||
| } | ||
| ], | ||
| "headers": [] | ||
| }, | ||
| "metadata": [ | ||
| { | ||
| "name": "productState", | ||
| "displayName": "Product State", | ||
| "shape": [ | ||
| "state", | ||
| { | ||
| "map": { | ||
| "error": ["disabled", "off"], | ||
| "warning": ["partial"], | ||
| "success": ["enabled", "on"], | ||
| "unknown": [] | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "productName", | ||
| "displayName": "Product Name", | ||
| "shape": "string", | ||
| "role": "label" | ||
| }, | ||
| { | ||
| "name": "definitionStatus", | ||
| "displayName": "Definition Status", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "version", | ||
| "displayName": "Version", | ||
| "shape": "string" | ||
| }, | ||
| { | ||
| "name": "deviceId", | ||
| "displayName": "Device ID", | ||
| "shape": "string", | ||
| "role": "id", | ||
| "visible": false | ||
| }, | ||
| { | ||
| "name": "timestamp", | ||
| "displayName": "Last Updated", | ||
| "shape": [ | ||
| "date", | ||
| { | ||
| "timeZone": "Etc/UTC" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "pattern": ".*" | ||
| } | ||
| ], | ||
| "timeframes": [ | ||
| "last1hour", | ||
| "last12hours", | ||
| "last24hours", | ||
| "last7days", | ||
| "last30days", | ||
| "thisMonth", | ||
| "thisQuarter", | ||
| "thisYear", | ||
| "lastMonth", | ||
| "lastQuarter", | ||
| "lastYear", | ||
| "none" | ||
| ] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.