Skip to content

Commit cd3e24b

Browse files
feat(crowdstrike): add tools + validate whatsapp, shopify, trello (#4123)
* feat(crowdstrike): add tools + validate whatsapp, shopify, trello * address comment * remove tools when unsure about docs shape * addresss comments * fix build
1 parent 6d2deb1 commit cd3e24b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4806
-787
lines changed

apps/docs/components/icons.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ export function AgentMailIcon(props: SVGProps<SVGSVGElement>) {
2828
)
2929
}
3030

31+
export function CrowdStrikeIcon(props: SVGProps<SVGSVGElement>) {
32+
return (
33+
<svg {...props} viewBox='0 0 768 500' fill='none' xmlns='http://www.w3.org/2000/svg'>
34+
<path
35+
d='m152.8 23.6c-.8.8.3 4.4 1.3 4.4.5 0 .9.5.9 1.2 0 1.5 7.2 15.9 8.8 17.6.6.7 1.2 1.7 1.2 2.2 0 1.3 8.6 13.7 12.8 18.4 10 11.2 28.2 28.1 35.2 32.7 1.4.9 3.9 2.9 5.5 4.3 1.7 1.5 4.8 3.9 7 5.4s4.9 3.5 5.9 4.4c1.1 1 3.8 3 6 4.5 2.3 1.6 5 3.6 6 4.5 1.1 1 3.8 3 6 4.5 2.3 1.5 4.3 3 4.6 3.3s3.7 3 7.5 6c3.9 3 7.5 5.9 8.1 6.5.6.5 4.6 4.1 8.9 8 14.6 13.1 25.8 25.3 32.6 35.5 6.6 10 9.2 14.4 15.1 25.8 3.1 6.2 7.7 14.4 10 18.3 2.4 3.9 5.4 8.9 6.7 11.2s3 4.8 3.8 5.5c.7.7 1.3 1.8 1.3 2.3s.5 1.5 1 2.2c.6.7 5.3 7.7 10.6 15.7 16.9 25.6 40.1 46 62.9 55.1 10.8 4.3 33.4 6 63 4.7 20.6-.8 44.2-.2 48.3 1.3 1.3.5 4.2.9 6.5.9 2.3.1 6 .7 8.2 1.5s4.9 1.5 6 1.5 3.3.7 4.9 1.5c1.5.8 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1.7.4 2 .8.8 1.3 32.3 11.2 35.8 11.2 1 0 2.6.4 3.6 1 .9.5 3.7 1.4 6.2 1.9 8.7 1.9 13.5 3.1 15.5 4 1.1.5 5.4 1.9 9.5 3.2s7.9 2.6 8.5 3.1c.5.4 1.5.8 2.3.8s2.8.6 4.5 1.4c16.4 7.1 20.8 8.8 21.4 8.3.3-.4-.7-1.7-2.3-2.9-2.5-2-6.9-5.9-16.4-14.8-1.5-1.4-4.2-3.8-6-5.4-5-4.3-26-19.9-30.5-22.6-2.2-1.3-4.2-2.7-4.5-3-.3-.4-1.2-1-2-1.4s-4.2-2.2-7.5-4.1c-6.2-3.6-18.9-9.9-26-12.9-2.2-.9-4.7-2.1-5.5-2.5-.9-.5-3-1.2-4.8-1.5-1.7-.4-3.4-1.2-3.7-1.7-.4-.5-1.6-.9-2.8-.9-2.2.1-2.2.1-.2 1.2 1.1.6 2.2 1.4 2.5 1.8.3.3 2.5 1.8 5 3.3 5.3 3.1 15 11.7 15 13.3 0 .6-.7 1.7-1.5 2.4-1.2 1-4.1.9-14.5-.4-7.2-.9-14.1-2.1-15.3-2.6-1.2-.4-4.7-1.6-7.7-2.5-15.6-4.7-47-22.1-56.1-31-.9-.8-1.9-1.2-2.3-.8z'
36+
fill='currentColor'
37+
/>
38+
</svg>
39+
)
40+
}
41+
3142
export function SearchIcon(props: SVGProps<SVGSVGElement>) {
3243
return (
3344
<svg

apps/docs/components/ui/icon-mapping.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import {
3232
CloudflareIcon,
3333
CloudWatchIcon,
3434
ConfluenceIcon,
35+
CrowdStrikeIcon,
3536
CursorIcon,
3637
DagsterIcon,
3738
DatabricksIcon,
@@ -220,6 +221,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
220221
cloudformation: CloudFormationIcon,
221222
cloudwatch: CloudWatchIcon,
222223
confluence_v2: ConfluenceIcon,
224+
crowdstrike: CrowdStrikeIcon,
223225
cursor_v2: CursorIcon,
224226
dagster: DagsterIcon,
225227
databricks: DatabricksIcon,
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
---
2+
title: CrowdStrike
3+
description: Query CrowdStrike Identity Protection sensors and documented aggregates
4+
---
5+
6+
import { BlockInfoCard } from "@/components/ui/block-info-card"
7+
8+
<BlockInfoCard
9+
type="crowdstrike"
10+
color="#E01F3D"
11+
/>
12+
13+
## Usage Instructions
14+
15+
Integrate CrowdStrike Identity Protection into workflows to search sensors, fetch documented sensor details by device ID, and run documented sensor aggregate queries.
16+
17+
18+
19+
## Tools
20+
21+
### `crowdstrike_get_sensor_aggregates`
22+
23+
Get documented CrowdStrike Identity Protection sensor aggregates from a JSON aggregate query body
24+
25+
#### Input
26+
27+
| Parameter | Type | Required | Description |
28+
| --------- | ---- | -------- | ----------- |
29+
| `clientId` | string | Yes | CrowdStrike Falcon API client ID |
30+
| `clientSecret` | string | Yes | CrowdStrike Falcon API client secret |
31+
| `cloud` | string | Yes | CrowdStrike Falcon cloud region |
32+
| `aggregateQuery` | json | Yes | JSON aggregate query body documented by CrowdStrike for sensor aggregates |
33+
34+
#### Output
35+
36+
| Parameter | Type | Description |
37+
| --------- | ---- | ----------- |
38+
| `aggregates` | array | Aggregate result groups returned by CrowdStrike |
39+
|`buckets` | array | Buckets within the aggregate result |
40+
|`count` | number | Bucket document count |
41+
|`from` | number | Bucket lower bound |
42+
|`keyAsString` | string | String representation of the bucket key |
43+
|`label` | json | Bucket label object |
44+
|`stringFrom` | string | String lower bound |
45+
|`stringTo` | string | String upper bound |
46+
|`subAggregates` | json | Nested aggregate results for this bucket |
47+
|`to` | number | Bucket upper bound |
48+
|`value` | number | Bucket metric value |
49+
|`valueAsString` | string | String representation of the bucket value |
50+
|`docCountErrorUpperBound` | number | Upper bound for bucket count error |
51+
|`name` | string | Aggregate result name |
52+
|`sumOtherDocCount` | number | Document count not included in the returned buckets |
53+
| `count` | number | Number of aggregate result groups returned |
54+
55+
### `crowdstrike_get_sensor_details`
56+
57+
Get documented CrowdStrike Identity Protection sensor details for one or more device IDs
58+
59+
#### Input
60+
61+
| Parameter | Type | Required | Description |
62+
| --------- | ---- | -------- | ----------- |
63+
| `clientId` | string | Yes | CrowdStrike Falcon API client ID |
64+
| `clientSecret` | string | Yes | CrowdStrike Falcon API client secret |
65+
| `cloud` | string | Yes | CrowdStrike Falcon cloud region |
66+
| `ids` | json | Yes | JSON array of CrowdStrike sensor device IDs |
67+
68+
#### Output
69+
70+
| Parameter | Type | Description |
71+
| --------- | ---- | ----------- |
72+
| `sensors` | array | CrowdStrike identity sensor detail records |
73+
|`agentVersion` | string | Sensor agent version |
74+
|`cid` | string | CrowdStrike customer identifier |
75+
|`deviceId` | string | Sensor device identifier |
76+
|`heartbeatTime` | number | Last heartbeat timestamp |
77+
|`hostname` | string | Sensor hostname |
78+
|`idpPolicyId` | string | Assigned Identity Protection policy ID |
79+
|`idpPolicyName` | string | Assigned Identity Protection policy name |
80+
|`ipAddress` | string | Sensor local IP address |
81+
|`kerberosConfig` | string | Kerberos configuration status |
82+
|`ldapConfig` | string | LDAP configuration status |
83+
|`ldapsConfig` | string | LDAPS configuration status |
84+
|`machineDomain` | string | Machine domain |
85+
|`ntlmConfig` | string | NTLM configuration status |
86+
|`osVersion` | string | Operating system version |
87+
|`rdpToDcConfig` | string | RDP to domain controller configuration status |
88+
|`smbToDcConfig` | string | SMB to domain controller configuration status |
89+
|`status` | string | Sensor protection status |
90+
|`statusCauses` | array | Documented causes behind the current status |
91+
|`tiEnabled` | string | Threat intelligence enablement status |
92+
| `count` | number | Number of sensors returned |
93+
| `pagination` | json | Pagination metadata when returned by the underlying API |
94+
|`limit` | number | Page size used for the query |
95+
|`offset` | number | Offset returned by CrowdStrike |
96+
|`total` | number | Total records available |
97+
98+
### `crowdstrike_query_sensors`
99+
100+
Search CrowdStrike identity protection sensors by hostname, IP, or related fields
101+
102+
#### Input
103+
104+
| Parameter | Type | Required | Description |
105+
| --------- | ---- | -------- | ----------- |
106+
| `clientId` | string | Yes | CrowdStrike Falcon API client ID |
107+
| `clientSecret` | string | Yes | CrowdStrike Falcon API client secret |
108+
| `cloud` | string | Yes | CrowdStrike Falcon cloud region |
109+
| `filter` | string | No | Falcon Query Language filter for identity sensor search |
110+
| `limit` | number | No | Maximum number of sensor records to return |
111+
| `offset` | number | No | Pagination offset for the identity sensor query |
112+
| `sort` | string | No | Sort expression for identity sensor results |
113+
114+
#### Output
115+
116+
| Parameter | Type | Description |
117+
| --------- | ---- | ----------- |
118+
| `sensors` | array | Matching CrowdStrike identity sensor records |
119+
|`agentVersion` | string | Sensor agent version |
120+
|`cid` | string | CrowdStrike customer identifier |
121+
|`deviceId` | string | Sensor device identifier |
122+
|`heartbeatTime` | number | Last heartbeat timestamp |
123+
|`hostname` | string | Sensor hostname |
124+
|`idpPolicyId` | string | Assigned Identity Protection policy ID |
125+
|`idpPolicyName` | string | Assigned Identity Protection policy name |
126+
|`ipAddress` | string | Sensor local IP address |
127+
|`kerberosConfig` | string | Kerberos configuration status |
128+
|`ldapConfig` | string | LDAP configuration status |
129+
|`ldapsConfig` | string | LDAPS configuration status |
130+
|`machineDomain` | string | Machine domain |
131+
|`ntlmConfig` | string | NTLM configuration status |
132+
|`osVersion` | string | Operating system version |
133+
|`rdpToDcConfig` | string | RDP to domain controller configuration status |
134+
|`smbToDcConfig` | string | SMB to domain controller configuration status |
135+
|`status` | string | Sensor protection status |
136+
|`statusCauses` | array | Documented causes behind the current status |
137+
|`tiEnabled` | string | Threat intelligence enablement status |
138+
| `count` | number | Number of sensors returned |
139+
| `pagination` | json | Pagination metadata \(limit, offset, total\) |
140+
|`limit` | number | Page size used for the query |
141+
|`offset` | number | Offset returned by CrowdStrike |
142+
|`total` | number | Total records available |
143+
144+

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"cloudformation",
2828
"cloudwatch",
2929
"confluence",
30+
"crowdstrike",
3031
"cursor",
3132
"dagster",
3233
"databricks",

apps/docs/content/docs/en/tools/shopify.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ Cancel an order in your Shopify store
314314
| `orderId` | string | Yes | Order ID to cancel \(gid://shopify/Order/123456789\) |
315315
| `reason` | string | Yes | Cancellation reason \(CUSTOMER, DECLINED, FRAUD, INVENTORY, STAFF, OTHER\) |
316316
| `notifyCustomer` | boolean | No | Whether to notify the customer about the cancellation |
317-
| `refund` | boolean | No | Whether to refund the order |
318-
| `restock` | boolean | No | Whether to restock the inventory |
317+
| `restock` | boolean | Yes | Whether to restock the inventory committed to the order |
318+
| `refundMethod` | json | No | Optional refund method object, for example \{"originalPaymentMethodsRefund": true\} |
319319
| `staffNote` | string | No | A note about the cancellation for staff reference |
320320

321321
#### Output

0 commit comments

Comments
 (0)