@datadog/native-appsec
Advanced tools
Comparing version 7.1.1 to 8.0.0
@@ -8,3 +8,3 @@ /** | ||
type diagnosticsInfo = { | ||
addresses: { | ||
addresses?: { | ||
optional: string[], | ||
@@ -15,3 +15,2 @@ required: string[] | ||
failed: string[], | ||
error: string, | ||
errors: { | ||
@@ -22,2 +21,8 @@ [errorString: string]: string[] | ||
type diagnosticsError = { | ||
error: string | ||
} | ||
type diagnosticsResult = diagnosticsInfo | diagnosticsError | ||
type result = { | ||
@@ -28,3 +33,3 @@ timeout: boolean; | ||
status?: 'match'; // TODO: remove this if new statuses are never added | ||
actions?: string[]; | ||
actions?: object[]; | ||
derivatives?: object; | ||
@@ -52,8 +57,9 @@ } | ||
ruleset_version?: string, | ||
rules?: diagnosticsInfo, | ||
custom_rules?: diagnosticsInfo, | ||
exclusions?: diagnosticsInfo, | ||
rules_override?: diagnosticsInfo, | ||
rules_data?: diagnosticsInfo, | ||
processors?: diagnosticsInfo | ||
rules?: diagnosticsResult, | ||
custom_rules?: diagnosticsResult, | ||
exclusions?: diagnosticsResult, | ||
rules_override?: diagnosticsResult, | ||
rules_data?: diagnosticsResult, | ||
processors?: diagnosticsResult, | ||
actions?: diagnosticsResult | ||
}; | ||
@@ -60,0 +66,0 @@ |
{ | ||
"name": "@datadog/native-appsec", | ||
"version": "7.1.1", | ||
"version": "8.0.0", | ||
"description": "Node.js bindings for libddwaf", | ||
"main": "index.js", | ||
"libddwaf_version": "1.16.0", | ||
"libddwaf_version": "1.18.0", | ||
"scripts": { | ||
@@ -44,3 +44,3 @@ "install": "exit 0", | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
}, | ||
@@ -47,0 +47,0 @@ "files": [ |
@@ -8,3 +8,3 @@ # dd-native-appsec-js | ||
* **Node.js version:** 14 and higher | ||
* **Node.js version:** 16 and higher | ||
* **Operating Systems:** | ||
@@ -11,0 +11,0 @@ * MacOS |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 9 instances 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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 3 instances in 1 package
28849386
24
65
1
9