@crowdstrike/aidr-mcp-proxy 1.5.0 → 1.6.0

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/README.md CHANGED
@@ -104,6 +104,11 @@ environment variable.
104
104
  To identify the calling user by ID in CrowdStrike AIDR, set the
105
105
  `CS_AIDR_USER_ID` environment variable.
106
106
 
107
+ ### User name
108
+
109
+ To identify the calling user by name in CrowdStrike AIDR, set the
110
+ `CS_AIDR_USER_NAME` environment variable.
111
+
107
112
  ### Proxies
108
113
 
109
114
  See the [AIDR documentation](https://aidr-docs.crowdstrike.com/docs/aidr#cloud-origins)
package/dist/proxy.mjs CHANGED
@@ -30,7 +30,8 @@ runMain(defineCommand({
30
30
  env: {
31
31
  ...process.env,
32
32
  CS_AIDR_TOKEN: void 0,
33
- CS_AIDR_USER_ID: void 0
33
+ CS_AIDR_USER_ID: void 0,
34
+ CS_AIDR_USER_NAME: void 0
34
35
  }
35
36
  });
36
37
  const client = new Client({
@@ -83,7 +84,8 @@ runMain(defineCommand({
83
84
  user_id: process.env.CS_AIDR_USER_ID,
84
85
  extra_info: {
85
86
  app_name: process.env.APP_NAME,
86
- mcp_server_name: serverVersion.name
87
+ mcp_server_name: serverVersion.name,
88
+ user_name: process.env.CS_AIDR_USER_NAME
87
89
  }
88
90
  });
89
91
  if (guardedToolsList.status !== "Success") throw new Error(`Failed to guard tools list. ${JSON.stringify(guardedToolsList, null, 2)}`);
@@ -104,7 +106,8 @@ runMain(defineCommand({
104
106
  extra_info: {
105
107
  app_name: process.env.APP_NAME,
106
108
  mcp_server_name: serverVersion.name,
107
- tool_name: args.params.name
109
+ tool_name: args.params.name,
110
+ user_name: process.env.CS_AIDR_USER_NAME
108
111
  }
109
112
  });
110
113
  if (guardedInput.status !== "Success") throw new Error("Failed to guard input.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdstrike/aidr-mcp-proxy",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Protect any MCP server from malicious entities and confidential PII.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@biomejs/biome": "2.3.11",
32
- "@containerbase/semantic-release-pnpm": "1.3.28",
32
+ "@containerbase/semantic-release-pnpm": "1.4.1",
33
33
  "@tsconfig/node22": "22.0.5",
34
34
  "@types/node": "22.19.17",
35
35
  "conventional-changelog-conventionalcommits": "9.3.0",