@node9/policy-engine 2.8.3 → 2.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2075,6 +2075,10 @@ function analyzeShellCommand(command) {
2075
2075
 
2076
2076
  // src/egress/index.ts
2077
2077
  var DEFAULT_EGRESS_ALLOWLIST = [
2078
+ // node9's own control plane (api, app, dev-api, staging and the apex).
2079
+ // Without it, turning egress on asks the user to approve node9 itself.
2080
+ // A user `deny` entry still wins over this list, see evaluateEgress.
2081
+ "*.node9.ai",
2078
2082
  "*.github.com",
2079
2083
  "*.githubusercontent.com",
2080
2084
  "*.npmjs.org",
package/dist/index.mjs CHANGED
@@ -1960,6 +1960,10 @@ function analyzeShellCommand(command) {
1960
1960
 
1961
1961
  // src/egress/index.ts
1962
1962
  var DEFAULT_EGRESS_ALLOWLIST = [
1963
+ // node9's own control plane (api, app, dev-api, staging and the apex).
1964
+ // Without it, turning egress on asks the user to approve node9 itself.
1965
+ // A user `deny` entry still wins over this list, see evaluateEgress.
1966
+ "*.node9.ai",
1963
1967
  "*.github.com",
1964
1968
  "*.githubusercontent.com",
1965
1969
  "*.npmjs.org",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node9/policy-engine",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
4
4
  "description": "Shared policy evaluation engine for node9 — DLP, smart rules, AST shell parsing, shields, loop detection. Pure functions, no I/O. Used by both node9-proxy and the node9 SaaS firewall.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://node9.ai",