@keystrokehq/securitytrails 0.1.2 → 0.1.4
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/actions/bulk-static-asset-rules.cjs +4 -4
- package/dist/actions/bulk-static-asset-rules.cjs.map +1 -1
- package/dist/actions/bulk-static-asset-rules.d.cts +6 -4
- package/dist/actions/bulk-static-asset-rules.d.mts +6 -4
- package/dist/actions/bulk-static-asset-rules.mjs +4 -4
- package/dist/actions/bulk-static-asset-rules.mjs.map +1 -1
- package/dist/actions/get-company-associated-ips.cjs +2 -2
- package/dist/actions/get-company-associated-ips.cjs.map +1 -1
- package/dist/actions/get-company-associated-ips.d.cts +2 -2
- package/dist/actions/get-company-associated-ips.d.mts +2 -2
- package/dist/actions/get-company-associated-ips.mjs +2 -2
- package/dist/actions/get-company-associated-ips.mjs.map +1 -1
- package/dist/actions/get-domain-ssl.cjs +1 -1
- package/dist/actions/get-domain-ssl.cjs.map +1 -1
- package/dist/actions/get-domain-ssl.d.cts +1 -1
- package/dist/actions/get-domain-ssl.d.mts +1 -1
- package/dist/actions/get-domain-ssl.mjs +1 -1
- package/dist/actions/get-domain-ssl.mjs.map +1 -1
- package/dist/actions/get-domain.cjs +4 -4
- package/dist/actions/get-domain.cjs.map +1 -1
- package/dist/actions/get-domain.d.cts +9 -9
- package/dist/actions/get-domain.d.mts +9 -9
- package/dist/actions/get-domain.mjs +4 -4
- package/dist/actions/get-domain.mjs.map +1 -1
- package/dist/actions/ip-search-statistics.cjs +4 -4
- package/dist/actions/ip-search-statistics.cjs.map +1 -1
- package/dist/actions/ip-search-statistics.d.cts +4 -4
- package/dist/actions/ip-search-statistics.d.mts +4 -4
- package/dist/actions/ip-search-statistics.mjs +4 -4
- package/dist/actions/ip-search-statistics.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -1
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +1 -1
- package/dist/actions/list-projects.d.mts +1 -1
- package/dist/actions/list-projects.mjs +1 -1
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/ping.cjs +1 -1
- package/dist/actions/ping.cjs.map +1 -1
- package/dist/actions/ping.d.cts +1 -1
- package/dist/actions/ping.d.mts +1 -1
- package/dist/actions/ping.mjs +1 -1
- package/dist/actions/ping.mjs.map +1 -1
- package/dist/actions/scroll.cjs +1 -1
- package/dist/actions/scroll.cjs.map +1 -1
- package/dist/actions/scroll.d.cts +1 -1
- package/dist/actions/scroll.d.mts +1 -1
- package/dist/actions/scroll.mjs +1 -1
- package/dist/actions/scroll.mjs.map +1 -1
- package/dist/actions/search-ips.cjs +1 -1
- package/dist/actions/search-ips.cjs.map +1 -1
- package/dist/actions/search-ips.d.cts +1 -1
- package/dist/actions/search-ips.d.mts +1 -1
- package/dist/actions/search-ips.mjs +1 -1
- package/dist/actions/search-ips.mjs.map +1 -1
- package/dist/actions/sql-api-execute-query.cjs +2 -2
- package/dist/actions/sql-api-execute-query.cjs.map +1 -1
- package/dist/actions/sql-api-execute-query.d.cts +2 -2
- package/dist/actions/sql-api-execute-query.d.mts +2 -2
- package/dist/actions/sql-api-execute-query.mjs +2 -2
- package/dist/actions/sql-api-execute-query.mjs.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.cjs +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.cjs.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.d.cts +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.d.mts +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.mjs +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,12 +6,12 @@ const SecuritytrailsBulkStaticAssetRulesInput = zod.z.object({
|
|
|
6
6
|
asset: zod.z.string().describe("Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)"),
|
|
7
7
|
membership: zod.z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
|
|
8
8
|
static_type: zod.z.string().describe("DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)")
|
|
9
|
-
}).describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to add. Each rule must include asset, membership, and static_type").optional(),
|
|
9
|
+
}).passthrough().describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to add. Each rule must include asset, membership, and static_type").optional(),
|
|
10
10
|
remove: zod.z.array(zod.z.object({
|
|
11
11
|
asset: zod.z.string().describe("Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)"),
|
|
12
12
|
membership: zod.z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
|
|
13
13
|
static_type: zod.z.string().describe("DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)")
|
|
14
|
-
}).describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to remove. Each rule must include asset, membership, and static_type").optional(),
|
|
14
|
+
}).passthrough().describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to remove. Each rule must include asset, membership, and static_type").optional(),
|
|
15
15
|
project_id: zod.z.string().describe("ASI project identifier")
|
|
16
16
|
}).describe("Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.");
|
|
17
17
|
const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = zod.z.object({
|
|
@@ -20,11 +20,11 @@ const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema
|
|
|
20
20
|
message: zod.z.string().describe("Success or informational message about the operation").nullable().optional(),
|
|
21
21
|
complete: zod.z.boolean().describe("Whether the asynchronous operation completed within the 2-second window").nullable().optional(),
|
|
22
22
|
task_ids: zod.z.array(zod.z.string()).describe("List of task IDs for asynchronous operations that can be polled for completion status").nullable().optional()
|
|
23
|
-
}).describe("Structured response body from the API.");
|
|
23
|
+
}).passthrough().describe("Structured response body from the API.");
|
|
24
24
|
const SecuritytrailsBulkStaticAssetRulesOutput = zod.z.object({
|
|
25
25
|
body: zod.z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, zod.z.string()]),
|
|
26
26
|
status_code: zod.z.number().int().describe("HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)").nullable()
|
|
27
|
-
}).describe("Response from the bulk static asset rules endpoint.");
|
|
27
|
+
}).passthrough().describe("Response from the bulk static asset rules endpoint.");
|
|
28
28
|
const securitytrailsBulkStaticAssetRules = require_action.action("SECURITYTRAILS_BULK_STATIC_ASSET_RULES", {
|
|
29
29
|
slug: "securitytrails-bulk-static-asset-rules",
|
|
30
30
|
name: "Bulk Static Asset Rules",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-static-asset-rules.cjs","names":["z","action"],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACtB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"bulk-static-asset-rules.cjs","names":["z","action"],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).passthrough().describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).passthrough().describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACtB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtM,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,4EAA4EA,IAAAA,EAAE,OAAO;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAM,CAAC,2EAA2EA,IAAAA,EAAE,OAAO,CAAC,CAAC;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ declare const SecuritytrailsBulkStaticAssetRulesInput: z.ZodObject<{
|
|
|
6
6
|
asset: z.ZodString;
|
|
7
7
|
membership: z.ZodString;
|
|
8
8
|
static_type: z.ZodString;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>>;
|
|
10
10
|
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11
11
|
asset: z.ZodString;
|
|
12
12
|
membership: z.ZodString;
|
|
13
13
|
static_type: z.ZodString;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
project_id: z.ZodString;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
|
|
@@ -21,17 +21,19 @@ declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
|
|
|
21
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
23
|
task_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>, z.ZodString]>;
|
|
25
25
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const securitytrailsBulkStaticAssetRules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
project_id: string;
|
|
29
29
|
add?: {
|
|
30
|
+
[x: string]: unknown;
|
|
30
31
|
asset: string;
|
|
31
32
|
membership: string;
|
|
32
33
|
static_type: string;
|
|
33
34
|
}[] | undefined;
|
|
34
35
|
remove?: {
|
|
36
|
+
[x: string]: unknown;
|
|
35
37
|
asset: string;
|
|
36
38
|
membership: string;
|
|
37
39
|
static_type: string;
|
|
@@ -6,12 +6,12 @@ declare const SecuritytrailsBulkStaticAssetRulesInput: z.ZodObject<{
|
|
|
6
6
|
asset: z.ZodString;
|
|
7
7
|
membership: z.ZodString;
|
|
8
8
|
static_type: z.ZodString;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>>;
|
|
10
10
|
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11
11
|
asset: z.ZodString;
|
|
12
12
|
membership: z.ZodString;
|
|
13
13
|
static_type: z.ZodString;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
project_id: z.ZodString;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
|
|
@@ -21,17 +21,19 @@ declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
|
|
|
21
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
23
|
task_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>, z.ZodString]>;
|
|
25
25
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const securitytrailsBulkStaticAssetRules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
project_id: string;
|
|
29
29
|
add?: {
|
|
30
|
+
[x: string]: unknown;
|
|
30
31
|
asset: string;
|
|
31
32
|
membership: string;
|
|
32
33
|
static_type: string;
|
|
33
34
|
}[] | undefined;
|
|
34
35
|
remove?: {
|
|
36
|
+
[x: string]: unknown;
|
|
35
37
|
asset: string;
|
|
36
38
|
membership: string;
|
|
37
39
|
static_type: string;
|
|
@@ -6,12 +6,12 @@ const SecuritytrailsBulkStaticAssetRulesInput = z.object({
|
|
|
6
6
|
asset: z.string().describe("Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)"),
|
|
7
7
|
membership: z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
|
|
8
8
|
static_type: z.string().describe("DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)")
|
|
9
|
-
}).describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to add. Each rule must include asset, membership, and static_type").optional(),
|
|
9
|
+
}).passthrough().describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to add. Each rule must include asset, membership, and static_type").optional(),
|
|
10
10
|
remove: z.array(z.object({
|
|
11
11
|
asset: z.string().describe("Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)"),
|
|
12
12
|
membership: z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
|
|
13
13
|
static_type: z.string().describe("DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)")
|
|
14
|
-
}).describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to remove. Each rule must include asset, membership, and static_type").optional(),
|
|
14
|
+
}).passthrough().describe("Represents a single static asset rule to add or remove.")).describe("List of static asset rules to remove. Each rule must include asset, membership, and static_type").optional(),
|
|
15
15
|
project_id: z.string().describe("ASI project identifier")
|
|
16
16
|
}).describe("Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.");
|
|
17
17
|
const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({
|
|
@@ -20,7 +20,7 @@ const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema
|
|
|
20
20
|
message: z.string().describe("Success or informational message about the operation").nullable().optional(),
|
|
21
21
|
complete: z.boolean().describe("Whether the asynchronous operation completed within the 2-second window").nullable().optional(),
|
|
22
22
|
task_ids: z.array(z.string()).describe("List of task IDs for asynchronous operations that can be polled for completion status").nullable().optional()
|
|
23
|
-
}).describe("Structured response body from the API.");
|
|
23
|
+
}).passthrough().describe("Structured response body from the API.");
|
|
24
24
|
const securitytrailsBulkStaticAssetRules = action("SECURITYTRAILS_BULK_STATIC_ASSET_RULES", {
|
|
25
25
|
slug: "securitytrails-bulk-static-asset-rules",
|
|
26
26
|
name: "Bulk Static Asset Rules",
|
|
@@ -29,7 +29,7 @@ const securitytrailsBulkStaticAssetRules = action("SECURITYTRAILS_BULK_STATIC_AS
|
|
|
29
29
|
output: z.object({
|
|
30
30
|
body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),
|
|
31
31
|
status_code: z.number().int().describe("HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)").nullable()
|
|
32
|
-
}).describe("Response from the bulk static asset rules endpoint.")
|
|
32
|
+
}).passthrough().describe("Response from the bulk static asset rules endpoint.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { securitytrailsBulkStaticAssetRules };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-static-asset-rules.mjs","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,MAAM,EAAE,OAAO;EACtB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"bulk-static-asset-rules.mjs","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).passthrough().describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).passthrough().describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,MAAM,EAAE,OAAO;EACtB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtM,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,4EAA4E,EAAE,OAAO;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,CAAC,2EAA2E,EAAE,OAAO,CAAC,CAAC;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-company-associated-ips.ts
|
|
4
4
|
const SecuritytrailsGetCompanyAssociatedIpsInput = zod.z.object({ domain: zod.z.string().describe("Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.") }).describe("Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
|
|
5
|
-
const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = zod.z.object({ cidr: zod.z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')").nullable() }).describe("Individual IP record containing CIDR notation.");
|
|
5
|
+
const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = zod.z.object({ cidr: zod.z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')").nullable() }).passthrough().describe("Individual IP record containing CIDR notation.");
|
|
6
6
|
const SecuritytrailsGetCompanyAssociatedIpsOutput = zod.z.object({
|
|
7
7
|
page: zod.z.number().int().describe("Current page number (1-indexed)").nullable(),
|
|
8
8
|
query: zod.z.string().describe("The original query domain").nullable(),
|
|
@@ -12,7 +12,7 @@ const SecuritytrailsGetCompanyAssociatedIpsOutput = zod.z.object({
|
|
|
12
12
|
endpoint: zod.z.string().describe("The API endpoint that was queried").nullable(),
|
|
13
13
|
page_size: zod.z.number().int().describe("Number of records per page (default: 100)").nullable(),
|
|
14
14
|
record_count: zod.z.number().int().describe("Total number of associated IP records found").nullable()
|
|
15
|
-
}).describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
|
|
15
|
+
}).passthrough().describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
|
|
16
16
|
const securitytrailsGetCompanyAssociatedIps = require_action.action("SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS", {
|
|
17
17
|
slug: "securitytrails-get-company-associated-ips",
|
|
18
18
|
name: "Get Company Associated IPs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company-associated-ips.cjs","names":["z","action"],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-company-associated-ips.cjs","names":["z","action"],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).passthrough().describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,11 +11,11 @@ declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodObject<{
|
|
|
11
11
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
cidr: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
endpoint: z.ZodNullable<z.ZodString>;
|
|
16
16
|
page_size: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
record_count: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const securitytrailsGetCompanyAssociatedIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
domain: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,11 +11,11 @@ declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodObject<{
|
|
|
11
11
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
cidr: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
endpoint: z.ZodNullable<z.ZodString>;
|
|
16
16
|
page_size: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
record_count: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const securitytrailsGetCompanyAssociatedIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
domain: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-company-associated-ips.ts
|
|
4
4
|
const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({ domain: z.string().describe("Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.") }).describe("Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
|
|
5
|
-
const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({ cidr: z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')").nullable() }).describe("Individual IP record containing CIDR notation.");
|
|
5
|
+
const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({ cidr: z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')").nullable() }).passthrough().describe("Individual IP record containing CIDR notation.");
|
|
6
6
|
const securitytrailsGetCompanyAssociatedIps = action("SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS", {
|
|
7
7
|
slug: "securitytrails-get-company-associated-ips",
|
|
8
8
|
name: "Get Company Associated IPs",
|
|
@@ -17,7 +17,7 @@ const securitytrailsGetCompanyAssociatedIps = action("SECURITYTRAILS_GET_COMPANY
|
|
|
17
17
|
endpoint: z.string().describe("The API endpoint that was queried").nullable(),
|
|
18
18
|
page_size: z.number().int().describe("Number of records per page (default: 100)").nullable(),
|
|
19
19
|
record_count: z.number().int().describe("Total number of associated IP records found").nullable()
|
|
20
|
-
}).describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.")
|
|
20
|
+
}).passthrough().describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { securitytrailsGetCompanyAssociatedIps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company-associated-ips.mjs","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuD,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-company-associated-ips.mjs","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).passthrough().describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuD,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAY1E,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const SecuritytrailsGetDomainSslOutput = zod.z.object({
|
|
|
6
6
|
raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON payload returned by SecurityTrails containing certificate details.").nullable().optional(),
|
|
7
7
|
error: zod.z.string().describe("Error message if the request failed.").nullable().optional(),
|
|
8
8
|
status_code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
9
|
-
}).describe("Response containing SSL certificate information or error details for the requested hostname.");
|
|
9
|
+
}).passthrough().describe("Response containing SSL certificate information or error details for the requested hostname.");
|
|
10
10
|
const securitytrailsGetDomainSsl = require_action.action("SECURITYTRAILS_GET_DOMAIN_SSL", {
|
|
11
11
|
slug: "securitytrails-get-domain-ssl",
|
|
12
12
|
name: "Get Domain SSL",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domain-ssl.cjs","names":["z","action"],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,8FAA8F;
|
|
1
|
+
{"version":3,"file":"get-domain-ssl.cjs","names":["z","action"],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SecuritytrailsGetDomainSslOutput: z.ZodObject<{
|
|
|
8
8
|
raw: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const securitytrailsGetDomainSsl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
hostname: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const SecuritytrailsGetDomainSslOutput: z.ZodObject<{
|
|
|
8
8
|
raw: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const securitytrailsGetDomainSsl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
hostname: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const securitytrailsGetDomainSsl = action("SECURITYTRAILS_GET_DOMAIN_SSL", {
|
|
|
9
9
|
raw: z.record(z.string(), z.unknown()).describe("Complete JSON payload returned by SecurityTrails containing certificate details.").nullable().optional(),
|
|
10
10
|
error: z.string().describe("Error message if the request failed.").nullable().optional(),
|
|
11
11
|
status_code: z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
12
|
-
}).describe("Response containing SSL certificate information or error details for the requested hostname.")
|
|
12
|
+
}).passthrough().describe("Response containing SSL certificate information or error details for the requested hostname.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { securitytrailsGetDomainSsl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domain-ssl.mjs","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAX8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-domain-ssl.mjs","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAX8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SecuritytrailsGetDomainInput = zod.z.object({ hostname: zod.z.string().des
|
|
|
5
5
|
const SecuritytrailsGetDomain_DNSRecordSetSchema = zod.z.object({
|
|
6
6
|
values: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of DNS record values").nullable().optional(),
|
|
7
7
|
first_seen: zod.z.string().describe("Date when this DNS record was first observed (YYYY-MM-DD format)").nullable().optional()
|
|
8
|
-
}).describe("DNS records of a specific type with first seen date.");
|
|
8
|
+
}).passthrough().describe("DNS records of a specific type with first seen date.");
|
|
9
9
|
const SecuritytrailsGetDomain_CurrentDNSSchema = zod.z.object({
|
|
10
10
|
a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
11
11
|
mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
@@ -13,7 +13,7 @@ const SecuritytrailsGetDomain_CurrentDNSSchema = zod.z.object({
|
|
|
13
13
|
soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
14
14
|
txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
15
15
|
aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional()
|
|
16
|
-
}).describe("Current DNS configuration for the domain.");
|
|
16
|
+
}).passthrough().describe("Current DNS configuration for the domain.");
|
|
17
17
|
const SecuritytrailsGetDomain_DomainDataSchema = zod.z.object({
|
|
18
18
|
endpoint: zod.z.string().describe("API endpoint path used for this query").nullable(),
|
|
19
19
|
hostname: zod.z.string().describe("The queried domain hostname").nullable(),
|
|
@@ -21,11 +21,11 @@ const SecuritytrailsGetDomain_DomainDataSchema = zod.z.object({
|
|
|
21
21
|
apex_domain: zod.z.string().describe("The apex/root domain (e.g., 'example.com' for 'www.example.com')").nullable().optional(),
|
|
22
22
|
current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),
|
|
23
23
|
subdomain_count: zod.z.number().int().describe("Number of known subdomains for this domain").nullable().optional()
|
|
24
|
-
}).describe("Complete domain information returned by SecurityTrails API.");
|
|
24
|
+
}).passthrough().describe("Complete domain information returned by SecurityTrails API.");
|
|
25
25
|
const SecuritytrailsGetDomainOutput = zod.z.object({
|
|
26
26
|
raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)").nullable().optional(),
|
|
27
27
|
domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable()
|
|
28
|
-
}).describe("Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\n\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.");
|
|
28
|
+
}).passthrough().describe("Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\n\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.");
|
|
29
29
|
const securitytrailsGetDomain = require_action.action("SECURITYTRAILS_GET_DOMAIN", {
|
|
30
30
|
slug: "securitytrails-get-domain",
|
|
31
31
|
name: "Get Domain Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domain.cjs","names":["z","action"],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\").nullable(),\n hostname: z.string().describe(\"The queried domain hostname\").nullable(),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-domain.cjs","names":["z","action"],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).passthrough().describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).passthrough().describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\").nullable(),\n hostname: z.string().describe(\"The queried domain hostname\").nullable(),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).passthrough().describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,GAAG,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,aAAa,yCAAyC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8RAA8R;AAExT,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,31 +15,31 @@ declare const SecuritytrailsGetDomainOutput: z.ZodObject<{
|
|
|
15
15
|
a: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
17
17
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
mx: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
21
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
ns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
25
25
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
soa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
29
29
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
txt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
33
33
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
aaaa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37
37
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
subdomain_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const securitytrailsGetDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
hostname: string;
|
|
45
45
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,31 +15,31 @@ declare const SecuritytrailsGetDomainOutput: z.ZodObject<{
|
|
|
15
15
|
a: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
17
17
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
mx: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
21
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
ns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
25
25
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
soa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
29
29
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
txt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
32
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
33
33
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
aaaa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37
37
|
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
subdomain_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const securitytrailsGetDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
hostname: string;
|
|
45
45
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const SecuritytrailsGetDomainInput = z.object({ hostname: z.string().describe("T
|
|
|
5
5
|
const SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({
|
|
6
6
|
values: z.array(z.record(z.string(), z.unknown())).describe("List of DNS record values").nullable().optional(),
|
|
7
7
|
first_seen: z.string().describe("Date when this DNS record was first observed (YYYY-MM-DD format)").nullable().optional()
|
|
8
|
-
}).describe("DNS records of a specific type with first seen date.");
|
|
8
|
+
}).passthrough().describe("DNS records of a specific type with first seen date.");
|
|
9
9
|
const SecuritytrailsGetDomain_CurrentDNSSchema = z.object({
|
|
10
10
|
a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
11
11
|
mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
@@ -13,7 +13,7 @@ const SecuritytrailsGetDomain_CurrentDNSSchema = z.object({
|
|
|
13
13
|
soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
14
14
|
txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
|
|
15
15
|
aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional()
|
|
16
|
-
}).describe("Current DNS configuration for the domain.");
|
|
16
|
+
}).passthrough().describe("Current DNS configuration for the domain.");
|
|
17
17
|
const SecuritytrailsGetDomain_DomainDataSchema = z.object({
|
|
18
18
|
endpoint: z.string().describe("API endpoint path used for this query").nullable(),
|
|
19
19
|
hostname: z.string().describe("The queried domain hostname").nullable(),
|
|
@@ -21,7 +21,7 @@ const SecuritytrailsGetDomain_DomainDataSchema = z.object({
|
|
|
21
21
|
apex_domain: z.string().describe("The apex/root domain (e.g., 'example.com' for 'www.example.com')").nullable().optional(),
|
|
22
22
|
current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),
|
|
23
23
|
subdomain_count: z.number().int().describe("Number of known subdomains for this domain").nullable().optional()
|
|
24
|
-
}).describe("Complete domain information returned by SecurityTrails API.");
|
|
24
|
+
}).passthrough().describe("Complete domain information returned by SecurityTrails API.");
|
|
25
25
|
const securitytrailsGetDomain = action("SECURITYTRAILS_GET_DOMAIN", {
|
|
26
26
|
slug: "securitytrails-get-domain",
|
|
27
27
|
name: "Get Domain Details",
|
|
@@ -30,7 +30,7 @@ const securitytrailsGetDomain = action("SECURITYTRAILS_GET_DOMAIN", {
|
|
|
30
30
|
output: z.object({
|
|
31
31
|
raw: z.record(z.string(), z.unknown()).describe("Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)").nullable().optional(),
|
|
32
32
|
domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable()
|
|
33
|
-
}).describe("Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\n\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.")
|
|
33
|
+
}).passthrough().describe("Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\n\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { securitytrailsGetDomain };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domain.mjs","names":[],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\").nullable(),\n hostname: z.string().describe(\"The queried domain hostname\").nullable(),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-domain.mjs","names":[],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).passthrough().describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).passthrough().describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\").nullable(),\n hostname: z.string().describe(\"The queried domain hostname\").nullable(),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).passthrough().describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,2CAA2C,EAAE,OAAO;CACxD,GAAG,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,2CAA2C,EAAE,OAAO;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,aAAa,yCAAyC,SAAS;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8RAOhB;AACV,CAAC"}
|