@jupiterone/integration-sdk-core
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -50,3 +50,9 @@ "use strict"; | ||
if (entity.active === undefined && source.status) { | ||
entity.active = source.status === 'Online' || source.status === 'Active'; | ||
const isActive = new RegExp('(?<!in)active|enabled|online', 'i').test(source.status); | ||
const isInactive = new RegExp('inactive|disabled|offline', 'i').test(source.status); | ||
entity.active = isActive | ||
? true // if | ||
: isInactive | ||
? false // else if | ||
: undefined; // else | ||
} | ||
@@ -53,0 +59,0 @@ // Remove transferred `source.tags` property from the entity. `tags` is in the |
{ | ||
"name": "@jupiterone/integration-sdk-core", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "The SDK for developing JupiterOne integrations", | ||
@@ -26,3 +26,3 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@jupiterone/data-model": "^0.13.0", | ||
"@jupiterone/data-model": "^0.14.0", | ||
"lodash": "^4.17.15", | ||
@@ -34,3 +34,3 @@ "uuid": "^7.0.3" | ||
}, | ||
"gitHead": "3f8924c5c3f68d56b8a1f09425dd7e45dee8884b" | ||
"gitHead": "f5a63f604ed3825dcc9b236b233bf228743217d9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
360541
2252
+ Added@jupiterone/data-model@0.14.1(transitive)
- Removed@jupiterone/data-model@0.13.0(transitive)