@keystrokehq/securitytrails 0.1.2 → 0.1.3
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/package.json +1 -1
|
@@ -5,21 +5,21 @@ const SecuritytrailsIpSearchStatisticsInput = zod.z.object({ query: zod.z.string
|
|
|
5
5
|
const SecuritytrailsIpSearchStatistics_PortStatisticSchema = zod.z.object({
|
|
6
6
|
key: zod.z.number().int().describe("Port number").nullable(),
|
|
7
7
|
count: zod.z.number().int().describe("Number of IPs with this port open").nullable()
|
|
8
|
-
}).describe("Port count statistic.");
|
|
8
|
+
}).passthrough().describe("Port count statistic.");
|
|
9
9
|
const SecuritytrailsIpSearchStatistics_TotalStatisticSchema = zod.z.object({
|
|
10
10
|
value: zod.z.number().int().describe("Total count of IPs matching the query").nullable(),
|
|
11
11
|
relation: zod.z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)").nullable()
|
|
12
|
-
}).describe("Total count with relation indicator.");
|
|
12
|
+
}).passthrough().describe("Total count with relation indicator.");
|
|
13
13
|
const SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = zod.z.object({
|
|
14
14
|
key: zod.z.string().describe("Reverse DNS pattern").nullable(),
|
|
15
15
|
count: zod.z.number().int().describe("Number of IPs matching this pattern").nullable()
|
|
16
|
-
}).describe("PTR pattern statistic.");
|
|
16
|
+
}).passthrough().describe("PTR pattern statistic.");
|
|
17
17
|
const SecuritytrailsIpSearchStatisticsOutput = zod.z.object({
|
|
18
18
|
ports: zod.z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe("Top open ports ranked by frequency across matching IPs").nullable().optional(),
|
|
19
19
|
total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),
|
|
20
20
|
endpoint: zod.z.string().describe("The API endpoint used").nullable(),
|
|
21
21
|
top_ptr_patterns: zod.z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe("Most common reverse DNS patterns across matching IPs").nullable().optional()
|
|
22
|
-
}).describe("Response schema for IP search statistics.");
|
|
22
|
+
}).passthrough().describe("Response schema for IP search statistics.");
|
|
23
23
|
const securitytrailsIpSearchStatistics = require_action.action("SECURITYTRAILS_IP_SEARCH_STATISTICS", {
|
|
24
24
|
slug: "securitytrails-ip-search-statistics",
|
|
25
25
|
name: "IP Search Statistics",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-search-statistics.cjs","names":["z","action"],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,uBAAuB;
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.cjs","names":["z","action"],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).passthrough().describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).passthrough().describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).passthrough().describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).passthrough().describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,OAAO,sDAAsD,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,kBAAkBA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,17 +8,17 @@ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
|
|
|
8
8
|
ports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
9
|
key: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>>;
|
|
12
12
|
total: z.ZodNullable<z.ZodObject<{
|
|
13
13
|
value: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
relation: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
endpoint: z.ZodNullable<z.ZodString>;
|
|
17
17
|
top_ptr_patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
18
|
key: z.ZodNullable<z.ZodString>;
|
|
19
19
|
count: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
query: string;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,17 +8,17 @@ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
|
|
|
8
8
|
ports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
9
|
key: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>>;
|
|
12
12
|
total: z.ZodNullable<z.ZodObject<{
|
|
13
13
|
value: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
relation: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
endpoint: z.ZodNullable<z.ZodString>;
|
|
17
17
|
top_ptr_patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
18
|
key: z.ZodNullable<z.ZodString>;
|
|
19
19
|
count: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
query: string;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,15 +5,15 @@ const SecuritytrailsIpSearchStatisticsInput = z.object({ query: z.string().descr
|
|
|
5
5
|
const SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({
|
|
6
6
|
key: z.number().int().describe("Port number").nullable(),
|
|
7
7
|
count: z.number().int().describe("Number of IPs with this port open").nullable()
|
|
8
|
-
}).describe("Port count statistic.");
|
|
8
|
+
}).passthrough().describe("Port count statistic.");
|
|
9
9
|
const SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({
|
|
10
10
|
value: z.number().int().describe("Total count of IPs matching the query").nullable(),
|
|
11
11
|
relation: z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)").nullable()
|
|
12
|
-
}).describe("Total count with relation indicator.");
|
|
12
|
+
}).passthrough().describe("Total count with relation indicator.");
|
|
13
13
|
const SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({
|
|
14
14
|
key: z.string().describe("Reverse DNS pattern").nullable(),
|
|
15
15
|
count: z.number().int().describe("Number of IPs matching this pattern").nullable()
|
|
16
|
-
}).describe("PTR pattern statistic.");
|
|
16
|
+
}).passthrough().describe("PTR pattern statistic.");
|
|
17
17
|
const securitytrailsIpSearchStatistics = action("SECURITYTRAILS_IP_SEARCH_STATISTICS", {
|
|
18
18
|
slug: "securitytrails-ip-search-statistics",
|
|
19
19
|
name: "IP Search Statistics",
|
|
@@ -24,7 +24,7 @@ const securitytrailsIpSearchStatistics = action("SECURITYTRAILS_IP_SEARCH_STATIS
|
|
|
24
24
|
total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),
|
|
25
25
|
endpoint: z.string().describe("The API endpoint used").nullable(),
|
|
26
26
|
top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe("Most common reverse DNS patterns across matching IPs").nullable().optional()
|
|
27
|
-
}).describe("Response schema for IP search statistics.")
|
|
27
|
+
}).passthrough().describe("Response schema for IP search statistics.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { securitytrailsIpSearchStatistics };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-search-statistics.mjs","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,uBAAuB;
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.mjs","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).passthrough().describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).passthrough().describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).passthrough().describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).passthrough().describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAM,wDAAwD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,6DAA6D,EAAE,OAAO;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAQlD,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,OAAO,sDAAsD,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAChE,kBAAkB,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/list-projects.ts
|
|
4
4
|
const SecuritytrailsListProjectsInput = zod.z.object({}).describe("Request model for listing ASI projects available to the account. No parameters are required.");
|
|
5
|
-
const SecuritytrailsListProjectsOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).describe("Raw JSON response schema for listing ASI projects.");
|
|
5
|
+
const SecuritytrailsListProjectsOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).passthrough().describe("Raw JSON response schema for listing ASI projects.");
|
|
6
6
|
const securitytrailsListProjects = require_action.action("SECURITYTRAILS_LIST_PROJECTS", {
|
|
7
7
|
slug: "securitytrails-list-projects",
|
|
8
8
|
name: "List ASI Projects",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACnK,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).passthrough().describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACnK,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
|
|
6
6
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { securitytrailsListProjects };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
|
|
6
6
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { securitytrailsListProjects };
|
|
@@ -5,7 +5,7 @@ const securitytrailsListProjects = action("SECURITYTRAILS_LIST_PROJECTS", {
|
|
|
5
5
|
name: "List ASI Projects",
|
|
6
6
|
description: "Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.",
|
|
7
7
|
input: z.object({}).describe("Request model for listing ASI projects available to the account. No parameters are required."),
|
|
8
|
-
output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).describe("Raw JSON response schema for listing ASI projects.")
|
|
8
|
+
output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).passthrough().describe("Raw JSON response schema for listing ASI projects.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { securitytrailsListProjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).passthrough().describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
package/dist/actions/ping.cjs
CHANGED
|
@@ -6,7 +6,7 @@ const SecuritytrailsPingOutput = zod.z.object({
|
|
|
6
6
|
body: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.string()]),
|
|
7
7
|
success: zod.z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise").nullable(),
|
|
8
8
|
status_code: zod.z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)").nullable()
|
|
9
|
-
}).describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.");
|
|
9
|
+
}).passthrough().describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.");
|
|
10
10
|
const securitytrailsPing = require_action.action("SECURITYTRAILS_PING", {
|
|
11
11
|
slug: "securitytrails-ping",
|
|
12
12
|
name: "Ping",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.cjs","names":["z","action"],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsPingInput = z.object({}).describe(\"Request model for SECURITYTRAILS_PING. No parameters are required.\");\nexport const SecuritytrailsPingOutput = z.object({\n body: z.union([z.record(z.string(), z.unknown()), z.string()]),\n success: z.boolean().describe(\"True if the ping was successful (HTTP 200), False otherwise\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)\").nullable(),\n}).describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACjI,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,yIAAyI;
|
|
1
|
+
{"version":3,"file":"ping.cjs","names":["z","action"],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsPingInput = z.object({}).describe(\"Request model for SECURITYTRAILS_PING. No parameters are required.\");\nexport const SecuritytrailsPingOutput = z.object({\n body: z.union([z.record(z.string(), z.unknown()), z.string()]),\n success: z.boolean().describe(\"True if the ping was successful (HTTP 200), False otherwise\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)\").nullable(),\n}).passthrough().describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACjI,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yIAAyI;AAEnK,MAAa,qBAAqBC,eAAAA,OAAO,uBAAuB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/ping.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ declare const SecuritytrailsPingOutput: z.ZodObject<{
|
|
|
6
6
|
body: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
7
7
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
8
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { securitytrailsPing };
|
package/dist/actions/ping.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ declare const SecuritytrailsPingOutput: z.ZodObject<{
|
|
|
6
6
|
body: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
7
7
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
8
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { securitytrailsPing };
|
package/dist/actions/ping.mjs
CHANGED
|
@@ -9,7 +9,7 @@ const securitytrailsPing = action("SECURITYTRAILS_PING", {
|
|
|
9
9
|
body: z.union([z.record(z.string(), z.unknown()), z.string()]),
|
|
10
10
|
success: z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise").nullable(),
|
|
11
11
|
status_code: z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)").nullable()
|
|
12
|
-
}).describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.")
|
|
12
|
+
}).passthrough().describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { securitytrailsPing };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.mjs","names":[],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsPingInput = z.object({}).describe(\"Request model for SECURITYTRAILS_PING. No parameters are required.\");\nexport const SecuritytrailsPingOutput = z.object({\n body: z.union([z.record(z.string(), z.unknown()), z.string()]),\n success: z.boolean().describe(\"True if the ping was successful (HTTP 200), False otherwise\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)\").nullable(),\n}).describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,uBAAuB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAWpD;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"ping.mjs","names":[],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsPingInput = z.object({}).describe(\"Request model for SECURITYTRAILS_PING. No parameters are required.\");\nexport const SecuritytrailsPingOutput = z.object({\n body: z.union([z.record(z.string(), z.unknown()), z.string()]),\n success: z.boolean().describe(\"True if the ping was successful (HTTP 200), False otherwise\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)\").nullable(),\n}).passthrough().describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,uBAAuB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAWpD;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yIAOhB;AACV,CAAC"}
|
package/dist/actions/scroll.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const SecuritytrailsScrollInput = zod.z.object({ scroll_id: zod.z.string().descr
|
|
|
5
5
|
const SecuritytrailsScrollOutput = zod.z.object({
|
|
6
6
|
raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON payload returned by SecurityTrails for the scroll operation."),
|
|
7
7
|
status_code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
8
|
-
}).describe("Raw JSON response schema for scroll results.");
|
|
8
|
+
}).passthrough().describe("Raw JSON response schema for scroll results.");
|
|
9
9
|
const securitytrailsScroll = require_action.action("SECURITYTRAILS_SCROLL", {
|
|
10
10
|
slug: "securitytrails-scroll",
|
|
11
11
|
name: "Scroll Results",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.cjs","names":["z","action"],"sources":["../../src/actions/scroll.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsScrollInput = z.object({\n scroll_id: z.string().describe(\"Identifier returned from a previous DSL search to fetch the next batch of results.\"),\n}).describe(\"Request model for SECURITYTRAILS_SCROLL.\");\nexport const SecuritytrailsScrollOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails for the scroll operation.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Raw JSON response schema for scroll results.\");\n\nexport const securitytrailsScroll = action(\"SECURITYTRAILS_SCROLL\", {\n slug: \"securitytrails-scroll\",\n name: \"Scroll Results\",\n description: \"Tool to continue scrolling through DSL search results. Use after receiving a scroll_id from SECURITYTRAILS_SEARCH_IPS or SECURITYTRAILS_SQL_API_EXECUTE_QUERY to fetch the next batch of data. Call iteratively until no scroll_id is returned to retrieve all pages.\",\n input: SecuritytrailsScrollInput,\n output: SecuritytrailsScrollOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,EACrH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"scroll.cjs","names":["z","action"],"sources":["../../src/actions/scroll.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsScrollInput = z.object({\n scroll_id: z.string().describe(\"Identifier returned from a previous DSL search to fetch the next batch of results.\"),\n}).describe(\"Request model for SECURITYTRAILS_SCROLL.\");\nexport const SecuritytrailsScrollOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails for the scroll operation.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Raw JSON response schema for scroll results.\");\n\nexport const securitytrailsScroll = action(\"SECURITYTRAILS_SCROLL\", {\n slug: \"securitytrails-scroll\",\n name: \"Scroll Results\",\n description: \"Tool to continue scrolling through DSL search results. Use after receiving a scroll_id from SECURITYTRAILS_SEARCH_IPS or SECURITYTRAILS_SQL_API_EXECUTE_QUERY to fetch the next batch of data. Call iteratively until no scroll_id is returned to retrieve all pages.\",\n input: SecuritytrailsScrollInput,\n output: SecuritytrailsScrollOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,EACrH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,yBAAyB;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SecuritytrailsScrollInput: z.ZodObject<{
|
|
|
7
7
|
declare const SecuritytrailsScrollOutput: z.ZodObject<{
|
|
8
8
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const securitytrailsScroll: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
scroll_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SecuritytrailsScrollInput: z.ZodObject<{
|
|
|
7
7
|
declare const SecuritytrailsScrollOutput: z.ZodObject<{
|
|
8
8
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const securitytrailsScroll: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
scroll_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
package/dist/actions/scroll.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const securitytrailsScroll = action("SECURITYTRAILS_SCROLL", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
raw: z.record(z.string(), z.unknown()).describe("Complete JSON payload returned by SecurityTrails for the scroll operation."),
|
|
10
10
|
status_code: z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
11
|
-
}).describe("Raw JSON response schema for scroll results.")
|
|
11
|
+
}).passthrough().describe("Raw JSON response schema for scroll results.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { securitytrailsScroll };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.mjs","names":[],"sources":["../../src/actions/scroll.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsScrollInput = z.object({\n scroll_id: z.string().describe(\"Identifier returned from a previous DSL search to fetch the next batch of results.\"),\n}).describe(\"Request model for SECURITYTRAILS_SCROLL.\");\nexport const SecuritytrailsScrollOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails for the scroll operation.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Raw JSON response schema for scroll results.\");\n\nexport const securitytrailsScroll = action(\"SECURITYTRAILS_SCROLL\", {\n slug: \"securitytrails-scroll\",\n name: \"Scroll Results\",\n description: \"Tool to continue scrolling through DSL search results. Use after receiving a scroll_id from SECURITYTRAILS_SEARCH_IPS or SECURITYTRAILS_SQL_API_EXECUTE_QUERY to fetch the next batch of data. Call iteratively until no scroll_id is returned to retrieve all pages.\",\n input: SecuritytrailsScrollInput,\n output: SecuritytrailsScrollOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,yBAAyB;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,EACrH,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAVwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"scroll.mjs","names":[],"sources":["../../src/actions/scroll.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsScrollInput = z.object({\n scroll_id: z.string().describe(\"Identifier returned from a previous DSL search to fetch the next batch of results.\"),\n}).describe(\"Request model for SECURITYTRAILS_SCROLL.\");\nexport const SecuritytrailsScrollOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails for the scroll operation.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Raw JSON response schema for scroll results.\");\n\nexport const securitytrailsScroll = action(\"SECURITYTRAILS_SCROLL\", {\n slug: \"securitytrails-scroll\",\n name: \"Scroll Results\",\n description: \"Tool to continue scrolling through DSL search results. Use after receiving a scroll_id from SECURITYTRAILS_SEARCH_IPS or SECURITYTRAILS_SQL_API_EXECUTE_QUERY to fetch the next batch of data. Call iteratively until no scroll_id is returned to retrieve all pages.\",\n input: SecuritytrailsScrollInput,\n output: SecuritytrailsScrollOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,yBAAyB;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,EACrH,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAVwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SecuritytrailsSearchIpsInput = zod.z.object({
|
|
|
5
5
|
page: zod.z.number().int().default(1).describe("Page number for paginated results (1-indexed). Defaults to 1.").optional(),
|
|
6
6
|
query: zod.z.string().describe("DSL query expression to execute against SecurityTrails IP index. Supports fields: ip, ptr, ptr_part, port.")
|
|
7
7
|
}).describe("Request model for SECURITYTRAILS_SEARCH_IPS.");
|
|
8
|
-
const SecuritytrailsSearchIpsOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON response from the /v1/ips/list endpoint.") }).describe("Response schema for SECURITYTRAILS_SEARCH_IPS.");
|
|
8
|
+
const SecuritytrailsSearchIpsOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON response from the /v1/ips/list endpoint.") }).passthrough().describe("Response schema for SECURITYTRAILS_SEARCH_IPS.");
|
|
9
9
|
const securitytrailsSearchIps = require_action.action("SECURITYTRAILS_SEARCH_IPS", {
|
|
10
10
|
slug: "securitytrails-search-ips",
|
|
11
11
|
name: "Search IPs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-ips.cjs","names":["z","action"],"sources":["../../src/actions/search-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSearchIpsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results (1-indexed). Defaults to 1.\").optional(),\n query: z.string().describe(\"DSL query expression to execute against SecurityTrails IP index. Supports fields: ip, ptr, ptr_part, port.\"),\n}).describe(\"Request model for SECURITYTRAILS_SEARCH_IPS.\");\nexport const SecuritytrailsSearchIpsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON response from the /v1/ips/list endpoint.\"),\n}).describe(\"Response schema for SECURITYTRAILS_SEARCH_IPS.\");\n\nexport const securitytrailsSearchIps = action(\"SECURITYTRAILS_SEARCH_IPS\", {\n slug: \"securitytrails-search-ips\",\n name: \"Search IPs\",\n description: \"Tool to search IP addresses via SecurityTrails DSL. Use when you need to filter IPs with custom DSL queries. Results are paginated; use SecurityTrails scroll mechanisms for large result sets to avoid missing assets.\",\n input: SecuritytrailsSearchIpsInput,\n output: SecuritytrailsSearchIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;AACzI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC1G,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"search-ips.cjs","names":["z","action"],"sources":["../../src/actions/search-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSearchIpsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results (1-indexed). Defaults to 1.\").optional(),\n query: z.string().describe(\"DSL query expression to execute against SecurityTrails IP index. Supports fields: ip, ptr, ptr_part, port.\"),\n}).describe(\"Request model for SECURITYTRAILS_SEARCH_IPS.\");\nexport const SecuritytrailsSearchIpsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON response from the /v1/ips/list endpoint.\"),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_SEARCH_IPS.\");\n\nexport const securitytrailsSearchIps = action(\"SECURITYTRAILS_SEARCH_IPS\", {\n slug: \"securitytrails-search-ips\",\n name: \"Search IPs\",\n description: \"Tool to search IP addresses via SecurityTrails DSL. Use when you need to filter IPs with custom DSL queries. Results are paginated; use SecurityTrails scroll mechanisms for large result sets to avoid missing assets.\",\n input: SecuritytrailsSearchIpsInput,\n output: SecuritytrailsSearchIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;AACzI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SecuritytrailsSearchIpsInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const SecuritytrailsSearchIpsOutput: z.ZodObject<{
|
|
9
9
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const securitytrailsSearchIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
query: string;
|
|
13
13
|
page?: number | undefined;
|
|
@@ -7,7 +7,7 @@ declare const SecuritytrailsSearchIpsInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const SecuritytrailsSearchIpsOutput: z.ZodObject<{
|
|
9
9
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const securitytrailsSearchIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
query: string;
|
|
13
13
|
page?: number | undefined;
|
|
@@ -8,7 +8,7 @@ const securitytrailsSearchIps = action("SECURITYTRAILS_SEARCH_IPS", {
|
|
|
8
8
|
page: z.number().int().default(1).describe("Page number for paginated results (1-indexed). Defaults to 1.").optional(),
|
|
9
9
|
query: z.string().describe("DSL query expression to execute against SecurityTrails IP index. Supports fields: ip, ptr, ptr_part, port.")
|
|
10
10
|
}).describe("Request model for SECURITYTRAILS_SEARCH_IPS."),
|
|
11
|
-
output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Complete JSON response from the /v1/ips/list endpoint.") }).describe("Response schema for SECURITYTRAILS_SEARCH_IPS.")
|
|
11
|
+
output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Complete JSON response from the /v1/ips/list endpoint.") }).passthrough().describe("Response schema for SECURITYTRAILS_SEARCH_IPS.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { securitytrailsSearchIps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-ips.mjs","names":[],"sources":["../../src/actions/search-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSearchIpsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results (1-indexed). Defaults to 1.\").optional(),\n query: z.string().describe(\"DSL query expression to execute against SecurityTrails IP index. Supports fields: ip, ptr, ptr_part, port.\"),\n}).describe(\"Request model for SECURITYTRAILS_SEARCH_IPS.\");\nexport const SecuritytrailsSearchIpsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON response from the /v1/ips/list endpoint.\"),\n}).describe(\"Response schema for SECURITYTRAILS_SEARCH_IPS.\");\n\nexport const securitytrailsSearchIps = action(\"SECURITYTRAILS_SEARCH_IPS\", {\n slug: \"securitytrails-search-ips\",\n name: \"Search IPs\",\n description: \"Tool to search IP addresses via SecurityTrails DSL. Use when you need to filter IPs with custom DSL queries. Results are paginated; use SecurityTrails scroll mechanisms for large result sets to avoid missing assets.\",\n input: SecuritytrailsSearchIpsInput,\n output: SecuritytrailsSearchIpsOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACzI,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAT2C,EAAE,OAAO,EACpD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC1G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"search-ips.mjs","names":[],"sources":["../../src/actions/search-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSearchIpsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results (1-indexed). Defaults to 1.\").optional(),\n query: z.string().describe(\"DSL query expression to execute against SecurityTrails IP index. Supports fields: ip, ptr, ptr_part, port.\"),\n}).describe(\"Request model for SECURITYTRAILS_SEARCH_IPS.\");\nexport const SecuritytrailsSearchIpsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON response from the /v1/ips/list endpoint.\"),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_SEARCH_IPS.\");\n\nexport const securitytrailsSearchIps = action(\"SECURITYTRAILS_SEARCH_IPS\", {\n slug: \"securitytrails-search-ips\",\n name: \"Search IPs\",\n description: \"Tool to search IP addresses via SecurityTrails DSL. Use when you need to filter IPs with custom DSL queries. Results are paginated; use SecurityTrails scroll mechanisms for large result sets to avoid missing assets.\",\n input: SecuritytrailsSearchIpsInput,\n output: SecuritytrailsSearchIpsOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACzI,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAT2C,EAAE,OAAO,EACpD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -9,13 +9,13 @@ const SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = zod.z.object({
|
|
|
9
9
|
"lte",
|
|
10
10
|
"gte"
|
|
11
11
|
]).describe("Relation between value and total number of results").nullable()
|
|
12
|
-
}).describe("Approximate total count metadata.");
|
|
12
|
+
}).passthrough().describe("Approximate total count metadata.");
|
|
13
13
|
const SecuritytrailsSqlApiExecuteQueryOutput = zod.z.object({
|
|
14
14
|
id: zod.z.string().describe("Scroll ID for pagination. Use with SECURITYTRAILS_SQL_API_SCROLL_RESULTS to retrieve subsequent pages. Null when no results or all results fit in one page.").nullable().optional(),
|
|
15
15
|
query: zod.z.string().describe("The exact SQL query that was executed, as echoed back by the API").nullable(),
|
|
16
16
|
total: SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema.nullable(),
|
|
17
17
|
records: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of result records (max 100 per request). Structure depends on query: hosts table returns {domain: {hostname: str}, dns: {...}}; ips table returns {address: str, asn: {owner: str}, ports: {...}}")
|
|
18
|
-
}).describe("Response schema for SQL API execute query.");
|
|
18
|
+
}).passthrough().describe("Response schema for SQL API execute query.");
|
|
19
19
|
const securitytrailsSqlApiExecuteQuery = require_action.action("SECURITYTRAILS_SQL_API_EXECUTE_QUERY", {
|
|
20
20
|
slug: "securitytrails-sql-api-execute-query",
|
|
21
21
|
name: "SQL API Execute Query",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-execute-query.cjs","names":["z","action"],"sources":["../../src/actions/sql-api-execute-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiExecuteQueryInput = z.object({\n query: z.string().describe(\"SQL-like query string to execute. Query the 'hosts' table (domains/DNS data) or 'ips' table (IP addresses/ASN/ports). Returns max 100 records per request; use scroll ID for pagination. NOTE: LIMIT clause is not supported by the API.\"),\n}).describe(\"Request model for SECURITYTRAILS_SQL_API_EXECUTE_QUERY.\");\nconst SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = z.object({\n value: z.union([z.number().int(), z.string()]),\n relation: z.enum([\"eq\", \"lte\", \"gte\"]).describe(\"Relation between value and total number of results\").nullable(),\n}).describe(\"Approximate total count metadata.\");\nexport const SecuritytrailsSqlApiExecuteQueryOutput = z.object({\n id: z.string().describe(\"Scroll ID for pagination. Use with SECURITYTRAILS_SQL_API_SCROLL_RESULTS to retrieve subsequent pages. Null when no results or all results fit in one page.\").nullable().optional(),\n query: z.string().describe(\"The exact SQL query that was executed, as echoed back by the API\").nullable(),\n total: SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema.nullable(),\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of result records (max 100 per request). Structure depends on query: hosts table returns {domain: {hostname: str}, dns: {...}}; ips table returns {address: str, asn: {owner: str}, ports: {...}}\"),\n}).describe(\"Response schema for SQL API execute query.\");\n\nexport const securitytrailsSqlApiExecuteQuery = action(\"SECURITYTRAILS_SQL_API_EXECUTE_QUERY\", {\n slug: \"securitytrails-sql-api-execute-query\",\n name: \"SQL API Execute Query\",\n description: \"Execute SQL-like queries against SecurityTrails data. Query the 'hosts' table for domain/DNS information or the 'ips' table for IP address/ASN/port data. Returns up to 100 records per request with a scroll ID for pagination. Supports standard SQL syntax (SELECT, WHERE, AND, OR, IN, IS NULL) but does NOT support LIMIT clause.\",\n input: SecuritytrailsSqlApiExecuteQueryInput,\n output: SecuritytrailsSqlApiExecuteQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,EACvQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC7C,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"sql-api-execute-query.cjs","names":["z","action"],"sources":["../../src/actions/sql-api-execute-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiExecuteQueryInput = z.object({\n query: z.string().describe(\"SQL-like query string to execute. Query the 'hosts' table (domains/DNS data) or 'ips' table (IP addresses/ASN/ports). Returns max 100 records per request; use scroll ID for pagination. NOTE: LIMIT clause is not supported by the API.\"),\n}).describe(\"Request model for SECURITYTRAILS_SQL_API_EXECUTE_QUERY.\");\nconst SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = z.object({\n value: z.union([z.number().int(), z.string()]),\n relation: z.enum([\"eq\", \"lte\", \"gte\"]).describe(\"Relation between value and total number of results\").nullable(),\n}).passthrough().describe(\"Approximate total count metadata.\");\nexport const SecuritytrailsSqlApiExecuteQueryOutput = z.object({\n id: z.string().describe(\"Scroll ID for pagination. Use with SECURITYTRAILS_SQL_API_SCROLL_RESULTS to retrieve subsequent pages. Null when no results or all results fit in one page.\").nullable().optional(),\n query: z.string().describe(\"The exact SQL query that was executed, as echoed back by the API\").nullable(),\n total: SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema.nullable(),\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of result records (max 100 per request). Structure depends on query: hosts table returns {domain: {hostname: str}, dns: {...}}; ips table returns {address: str, asn: {owner: str}, ports: {...}}\"),\n}).passthrough().describe(\"Response schema for SQL API execute query.\");\n\nexport const securitytrailsSqlApiExecuteQuery = action(\"SECURITYTRAILS_SQL_API_EXECUTE_QUERY\", {\n slug: \"securitytrails-sql-api-execute-query\",\n name: \"SQL API Execute Query\",\n description: \"Execute SQL-like queries against SecurityTrails data. Query the 'hosts' table for domain/DNS information or the 'ips' table for IP address/ASN/port data. Returns up to 100 records per request with a scroll ID for pagination. Supports standard SQL syntax (SELECT, WHERE, AND, OR, IN, IS NULL) but does NOT support LIMIT clause.\",\n input: SecuritytrailsSqlApiExecuteQueryInput,\n output: SecuritytrailsSqlApiExecuteQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,EACvQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC7C,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3M,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAO,mDAAmD,SAAS;CACnE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wMAAwM;AACvQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,9 +14,9 @@ declare const SecuritytrailsSqlApiExecuteQueryOutput: z.ZodObject<{
|
|
|
14
14
|
lte: "lte";
|
|
15
15
|
gte: "gte";
|
|
16
16
|
}>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const securitytrailsSqlApiExecuteQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
query: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,9 +14,9 @@ declare const SecuritytrailsSqlApiExecuteQueryOutput: z.ZodObject<{
|
|
|
14
14
|
lte: "lte";
|
|
15
15
|
gte: "gte";
|
|
16
16
|
}>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const securitytrailsSqlApiExecuteQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
query: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = z.object({
|
|
|
9
9
|
"lte",
|
|
10
10
|
"gte"
|
|
11
11
|
]).describe("Relation between value and total number of results").nullable()
|
|
12
|
-
}).describe("Approximate total count metadata.");
|
|
12
|
+
}).passthrough().describe("Approximate total count metadata.");
|
|
13
13
|
const securitytrailsSqlApiExecuteQuery = action("SECURITYTRAILS_SQL_API_EXECUTE_QUERY", {
|
|
14
14
|
slug: "securitytrails-sql-api-execute-query",
|
|
15
15
|
name: "SQL API Execute Query",
|
|
@@ -20,7 +20,7 @@ const securitytrailsSqlApiExecuteQuery = action("SECURITYTRAILS_SQL_API_EXECUTE_
|
|
|
20
20
|
query: z.string().describe("The exact SQL query that was executed, as echoed back by the API").nullable(),
|
|
21
21
|
total: SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema.nullable(),
|
|
22
22
|
records: z.array(z.record(z.string(), z.unknown())).describe("List of result records (max 100 per request). Structure depends on query: hosts table returns {domain: {hostname: str}, dns: {...}}; ips table returns {address: str, asn: {owner: str}, ports: {...}}")
|
|
23
|
-
}).describe("Response schema for SQL API execute query.")
|
|
23
|
+
}).passthrough().describe("Response schema for SQL API execute query.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { securitytrailsSqlApiExecuteQuery };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-execute-query.mjs","names":[],"sources":["../../src/actions/sql-api-execute-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiExecuteQueryInput = z.object({\n query: z.string().describe(\"SQL-like query string to execute. Query the 'hosts' table (domains/DNS data) or 'ips' table (IP addresses/ASN/ports). Returns max 100 records per request; use scroll ID for pagination. NOTE: LIMIT clause is not supported by the API.\"),\n}).describe(\"Request model for SECURITYTRAILS_SQL_API_EXECUTE_QUERY.\");\nconst SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = z.object({\n value: z.union([z.number().int(), z.string()]),\n relation: z.enum([\"eq\", \"lte\", \"gte\"]).describe(\"Relation between value and total number of results\").nullable(),\n}).describe(\"Approximate total count metadata.\");\nexport const SecuritytrailsSqlApiExecuteQueryOutput = z.object({\n id: z.string().describe(\"Scroll ID for pagination. Use with SECURITYTRAILS_SQL_API_SCROLL_RESULTS to retrieve subsequent pages. Null when no results or all results fit in one page.\").nullable().optional(),\n query: z.string().describe(\"The exact SQL query that was executed, as echoed back by the API\").nullable(),\n total: SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema.nullable(),\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of result records (max 100 per request). Structure depends on query: hosts table returns {domain: {hostname: str}, dns: {...}}; ips table returns {address: str, asn: {owner: str}, ports: {...}}\"),\n}).describe(\"Response schema for SQL API execute query.\");\n\nexport const securitytrailsSqlApiExecuteQuery = action(\"SECURITYTRAILS_SQL_API_EXECUTE_QUERY\", {\n slug: \"securitytrails-sql-api-execute-query\",\n name: \"SQL API Execute Query\",\n description: \"Execute SQL-like queries against SecurityTrails data. Query the 'hosts' table for domain/DNS information or the 'ips' table for IP address/ASN/port data. Returns up to 100 records per request with a scroll ID for pagination. Supports standard SQL syntax (SELECT, WHERE, AND, OR, IN, IS NULL) but does NOT support LIMIT clause.\",\n input: SecuritytrailsSqlApiExecuteQueryInput,\n output: SecuritytrailsSqlApiExecuteQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,EACvQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAC7C,UAAU,EAAE,KAAK;EAAC;EAAM;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"sql-api-execute-query.mjs","names":[],"sources":["../../src/actions/sql-api-execute-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiExecuteQueryInput = z.object({\n query: z.string().describe(\"SQL-like query string to execute. Query the 'hosts' table (domains/DNS data) or 'ips' table (IP addresses/ASN/ports). Returns max 100 records per request; use scroll ID for pagination. NOTE: LIMIT clause is not supported by the API.\"),\n}).describe(\"Request model for SECURITYTRAILS_SQL_API_EXECUTE_QUERY.\");\nconst SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = z.object({\n value: z.union([z.number().int(), z.string()]),\n relation: z.enum([\"eq\", \"lte\", \"gte\"]).describe(\"Relation between value and total number of results\").nullable(),\n}).passthrough().describe(\"Approximate total count metadata.\");\nexport const SecuritytrailsSqlApiExecuteQueryOutput = z.object({\n id: z.string().describe(\"Scroll ID for pagination. Use with SECURITYTRAILS_SQL_API_SCROLL_RESULTS to retrieve subsequent pages. Null when no results or all results fit in one page.\").nullable().optional(),\n query: z.string().describe(\"The exact SQL query that was executed, as echoed back by the API\").nullable(),\n total: SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema.nullable(),\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of result records (max 100 per request). Structure depends on query: hosts table returns {domain: {hostname: str}, dns: {...}}; ips table returns {address: str, asn: {owner: str}, ports: {...}}\"),\n}).passthrough().describe(\"Response schema for SQL API execute query.\");\n\nexport const securitytrailsSqlApiExecuteQuery = action(\"SECURITYTRAILS_SQL_API_EXECUTE_QUERY\", {\n slug: \"securitytrails-sql-api-execute-query\",\n name: \"SQL API Execute Query\",\n description: \"Execute SQL-like queries against SecurityTrails data. Query the 'hosts' table for domain/DNS information or the 'ips' table for IP address/ASN/port data. Returns up to 100 records per request with a scroll ID for pagination. Supports standard SQL syntax (SELECT, WHERE, AND, OR, IN, IS NULL) but does NOT support LIMIT clause.\",\n input: SecuritytrailsSqlApiExecuteQueryInput,\n output: SecuritytrailsSqlApiExecuteQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,EACvQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAC7C,UAAU,EAAE,KAAK;EAAC;EAAM;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3M,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACxG,OAAO,mDAAmD,SAAS;EACnE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wMAAwM;CACvQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/temp-scrape-securitytrails-usage.ts
|
|
4
4
|
const SecuritytrailsTempScrapeSecuritytrailsUsageInput = zod.z.object({}).describe("Request model for Temp Scrape Securitytrails Usage.");
|
|
5
|
-
const SecuritytrailsTempScrapeSecuritytrailsUsageOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Raw scraped data or JSON payload.") }).describe("Response model for Temp Scrape Securitytrails Usage.");
|
|
5
|
+
const SecuritytrailsTempScrapeSecuritytrailsUsageOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Raw scraped data or JSON payload.") }).passthrough().describe("Response model for Temp Scrape Securitytrails Usage.");
|
|
6
6
|
const securitytrailsTempScrapeSecuritytrailsUsage = require_action.action("SECURITYTRAILS_TEMP_SCRAPE_SECURITYTRAILS_USAGE", {
|
|
7
7
|
slug: "securitytrails-temp-scrape-securitytrails-usage",
|
|
8
8
|
name: "Temp Scrape Securitytrails Usage",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temp-scrape-securitytrails-usage.cjs","names":["z","action"],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageInput = z.object({}).describe(\"Request model for Temp Scrape Securitytrails Usage.\");\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Raw scraped data or JSON payload.\"),\n}).describe(\"Response model for Temp Scrape Securitytrails Usage.\");\n\nexport const securitytrailsTempScrapeSecuritytrailsUsage = action(\"SECURITYTRAILS_TEMP_SCRAPE_SECURITYTRAILS_USAGE\", {\n slug: \"securitytrails-temp-scrape-securitytrails-usage\",\n name: \"Temp Scrape Securitytrails Usage\",\n description: \"Retrieve account usage information from the SecurityTrails API. This action fetches the current monthly usage and allowed monthly usage limits for your SecurityTrails API account. Use this to monitor your API quota consumption. Returns: On success (200): - current_monthly_usage: Your current API usage for the month - allowed_monthly_usage: Your total allowed monthly API quota On error: - status_code: HTTP status code - response_text: Error message from API\",\n input: SecuritytrailsTempScrapeSecuritytrailsUsageInput,\n output: SecuritytrailsTempScrapeSecuritytrailsUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC3I,MAAa,oDAAoDA,IAAAA,EAAE,OAAO,EACxE,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACrF,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"temp-scrape-securitytrails-usage.cjs","names":["z","action"],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageInput = z.object({}).describe(\"Request model for Temp Scrape Securitytrails Usage.\");\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Raw scraped data or JSON payload.\"),\n}).passthrough().describe(\"Response model for Temp Scrape Securitytrails Usage.\");\n\nexport const securitytrailsTempScrapeSecuritytrailsUsage = action(\"SECURITYTRAILS_TEMP_SCRAPE_SECURITYTRAILS_USAGE\", {\n slug: \"securitytrails-temp-scrape-securitytrails-usage\",\n name: \"Temp Scrape Securitytrails Usage\",\n description: \"Retrieve account usage information from the SecurityTrails API. This action fetches the current monthly usage and allowed monthly usage limits for your SecurityTrails API account. Use this to monitor your API quota consumption. Returns: On success (200): - current_monthly_usage: Your current API usage for the month - allowed_monthly_usage: Your total allowed monthly API quota On error: - status_code: HTTP status code - response_text: Error message from API\",\n input: SecuritytrailsTempScrapeSecuritytrailsUsageInput,\n output: SecuritytrailsTempScrapeSecuritytrailsUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC3I,MAAa,oDAAoDA,IAAAA,EAAE,OAAO,EACxE,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8CAA8CC,eAAAA,OAAO,mDAAmD;CACnH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SecuritytrailsTempScrapeSecuritytrailsUsageInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SecuritytrailsTempScrapeSecuritytrailsUsageOutput: z.ZodObject<{
|
|
6
6
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const securitytrailsTempScrapeSecuritytrailsUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { securitytrailsTempScrapeSecuritytrailsUsage };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SecuritytrailsTempScrapeSecuritytrailsUsageInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SecuritytrailsTempScrapeSecuritytrailsUsageOutput: z.ZodObject<{
|
|
6
6
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const securitytrailsTempScrapeSecuritytrailsUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { securitytrailsTempScrapeSecuritytrailsUsage };
|
|
@@ -5,7 +5,7 @@ const securitytrailsTempScrapeSecuritytrailsUsage = action("SECURITYTRAILS_TEMP_
|
|
|
5
5
|
name: "Temp Scrape Securitytrails Usage",
|
|
6
6
|
description: "Retrieve account usage information from the SecurityTrails API. This action fetches the current monthly usage and allowed monthly usage limits for your SecurityTrails API account. Use this to monitor your API quota consumption. Returns: On success (200): - current_monthly_usage: Your current API usage for the month - allowed_monthly_usage: Your total allowed monthly API quota On error: - status_code: HTTP status code - response_text: Error message from API",
|
|
7
7
|
input: z.object({}).describe("Request model for Temp Scrape Securitytrails Usage."),
|
|
8
|
-
output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Raw scraped data or JSON payload.") }).describe("Response model for Temp Scrape Securitytrails Usage.")
|
|
8
|
+
output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Raw scraped data or JSON payload.") }).passthrough().describe("Response model for Temp Scrape Securitytrails Usage.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { securitytrailsTempScrapeSecuritytrailsUsage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temp-scrape-securitytrails-usage.mjs","names":[],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageInput = z.object({}).describe(\"Request model for Temp Scrape Securitytrails Usage.\");\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Raw scraped data or JSON payload.\"),\n}).describe(\"Response model for Temp Scrape Securitytrails Usage.\");\n\nexport const securitytrailsTempScrapeSecuritytrailsUsage = action(\"SECURITYTRAILS_TEMP_SCRAPE_SECURITYTRAILS_USAGE\", {\n slug: \"securitytrails-temp-scrape-securitytrails-usage\",\n name: \"Temp Scrape Securitytrails Usage\",\n description: \"Retrieve account usage information from the SecurityTrails API. This action fetches the current monthly usage and allowed monthly usage limits for your SecurityTrails API account. Use this to monitor your API quota consumption. Returns: On success (200): - current_monthly_usage: Your current API usage for the month - allowed_monthly_usage: Your total allowed monthly API quota On error: - status_code: HTTP status code - response_text: Error message from API\",\n input: SecuritytrailsTempScrapeSecuritytrailsUsageInput,\n output: SecuritytrailsTempScrapeSecuritytrailsUsageOutput,\n});\n"],"mappings":";;AASA,MAAa,8CAA8C,OAAO,mDAAmD;CACnH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAS7E;CACP,QAT+D,EAAE,OAAO,EACxE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACrF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"temp-scrape-securitytrails-usage.mjs","names":[],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageInput = z.object({}).describe(\"Request model for Temp Scrape Securitytrails Usage.\");\nexport const SecuritytrailsTempScrapeSecuritytrailsUsageOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Raw scraped data or JSON payload.\"),\n}).passthrough().describe(\"Response model for Temp Scrape Securitytrails Usage.\");\n\nexport const securitytrailsTempScrapeSecuritytrailsUsage = action(\"SECURITYTRAILS_TEMP_SCRAPE_SECURITYTRAILS_USAGE\", {\n slug: \"securitytrails-temp-scrape-securitytrails-usage\",\n name: \"Temp Scrape Securitytrails Usage\",\n description: \"Retrieve account usage information from the SecurityTrails API. This action fetches the current monthly usage and allowed monthly usage limits for your SecurityTrails API account. Use this to monitor your API quota consumption. Returns: On success (200): - current_monthly_usage: Your current API usage for the month - allowed_monthly_usage: Your total allowed monthly API quota On error: - status_code: HTTP status code - response_text: Error message from API\",\n input: SecuritytrailsTempScrapeSecuritytrailsUsageInput,\n output: SecuritytrailsTempScrapeSecuritytrailsUsageOutput,\n});\n"],"mappings":";;AASA,MAAa,8CAA8C,OAAO,mDAAmD;CACnH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAS7E;CACP,QAT+D,EAAE,OAAO,EACxE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|