@keystrokehq/securitytrails 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/bulk-static-asset-rules.cjs +1 -0
- package/dist/actions/bulk-static-asset-rules.cjs.map +1 -1
- package/dist/actions/bulk-static-asset-rules.d.cts +3 -27
- package/dist/actions/bulk-static-asset-rules.d.cts.map +1 -1
- package/dist/actions/bulk-static-asset-rules.d.mts +3 -27
- package/dist/actions/bulk-static-asset-rules.d.mts.map +1 -1
- package/dist/actions/bulk-static-asset-rules.mjs +1 -0
- package/dist/actions/bulk-static-asset-rules.mjs.map +1 -1
- package/dist/actions/get-company-associated-ips.cjs +1 -0
- package/dist/actions/get-company-associated-ips.cjs.map +1 -1
- package/dist/actions/get-company-associated-ips.d.cts +3 -15
- package/dist/actions/get-company-associated-ips.d.cts.map +1 -1
- package/dist/actions/get-company-associated-ips.d.mts +3 -15
- package/dist/actions/get-company-associated-ips.d.mts.map +1 -1
- package/dist/actions/get-company-associated-ips.mjs +1 -0
- package/dist/actions/get-company-associated-ips.mjs.map +1 -1
- package/dist/actions/get-domain-ssl.cjs +1 -0
- package/dist/actions/get-domain-ssl.cjs.map +1 -1
- package/dist/actions/get-domain-ssl.d.cts +3 -15
- package/dist/actions/get-domain-ssl.d.cts.map +1 -1
- package/dist/actions/get-domain-ssl.d.mts +3 -15
- package/dist/actions/get-domain-ssl.d.mts.map +1 -1
- package/dist/actions/get-domain-ssl.mjs +1 -0
- package/dist/actions/get-domain-ssl.mjs.map +1 -1
- package/dist/actions/get-domain.cjs +1 -0
- package/dist/actions/get-domain.cjs.map +1 -1
- package/dist/actions/get-domain.d.cts +3 -15
- package/dist/actions/get-domain.d.cts.map +1 -1
- package/dist/actions/get-domain.d.mts +3 -15
- package/dist/actions/get-domain.d.mts.map +1 -1
- package/dist/actions/get-domain.mjs +1 -0
- package/dist/actions/get-domain.mjs.map +1 -1
- package/dist/actions/ip-search-statistics.cjs +1 -0
- package/dist/actions/ip-search-statistics.cjs.map +1 -1
- package/dist/actions/ip-search-statistics.d.cts +3 -15
- package/dist/actions/ip-search-statistics.d.cts.map +1 -1
- package/dist/actions/ip-search-statistics.d.mts +3 -15
- package/dist/actions/ip-search-statistics.d.mts.map +1 -1
- package/dist/actions/ip-search-statistics.mjs +1 -0
- package/dist/actions/ip-search-statistics.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -13
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -13
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/ping.cjs +1 -0
- package/dist/actions/ping.cjs.map +1 -1
- package/dist/actions/ping.d.cts +3 -13
- package/dist/actions/ping.d.cts.map +1 -1
- package/dist/actions/ping.d.mts +3 -13
- package/dist/actions/ping.d.mts.map +1 -1
- package/dist/actions/ping.mjs +1 -0
- package/dist/actions/ping.mjs.map +1 -1
- package/dist/actions/scroll.cjs +1 -0
- package/dist/actions/scroll.cjs.map +1 -1
- package/dist/actions/scroll.d.cts +3 -15
- package/dist/actions/scroll.d.cts.map +1 -1
- package/dist/actions/scroll.d.mts +3 -15
- package/dist/actions/scroll.d.mts.map +1 -1
- package/dist/actions/scroll.mjs +1 -0
- package/dist/actions/scroll.mjs.map +1 -1
- package/dist/actions/search-ips.cjs +1 -0
- package/dist/actions/search-ips.cjs.map +1 -1
- package/dist/actions/search-ips.d.cts +3 -16
- package/dist/actions/search-ips.d.cts.map +1 -1
- package/dist/actions/search-ips.d.mts +3 -16
- package/dist/actions/search-ips.d.mts.map +1 -1
- package/dist/actions/search-ips.mjs +1 -0
- package/dist/actions/search-ips.mjs.map +1 -1
- package/dist/actions/sql-api-execute-query.cjs +1 -0
- package/dist/actions/sql-api-execute-query.cjs.map +1 -1
- package/dist/actions/sql-api-execute-query.d.cts +3 -15
- package/dist/actions/sql-api-execute-query.d.cts.map +1 -1
- package/dist/actions/sql-api-execute-query.d.mts +3 -15
- package/dist/actions/sql-api-execute-query.d.mts.map +1 -1
- package/dist/actions/sql-api-execute-query.mjs +1 -0
- package/dist/actions/sql-api-execute-query.mjs.map +1 -1
- package/dist/actions/sql-api-scroll-results.cjs +1 -0
- package/dist/actions/sql-api-scroll-results.cjs.map +1 -1
- package/dist/actions/sql-api-scroll-results.d.cts +3 -15
- package/dist/actions/sql-api-scroll-results.d.cts.map +1 -1
- package/dist/actions/sql-api-scroll-results.d.mts +3 -15
- package/dist/actions/sql-api-scroll-results.d.mts.map +1 -1
- package/dist/actions/sql-api-scroll-results.mjs +1 -0
- package/dist/actions/sql-api-scroll-results.mjs.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.cjs +1 -0
- package/dist/actions/temp-scrape-securitytrails-usage.cjs.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.d.cts +3 -13
- package/dist/actions/temp-scrape-securitytrails-usage.d.cts.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.d.mts +3 -13
- package/dist/actions/temp-scrape-securitytrails-usage.d.mts.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.mjs +1 -0
- package/dist/actions/temp-scrape-securitytrails-usage.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/ip-search-statistics.d.ts
|
|
@@ -19,21 +21,7 @@ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
|
|
|
19
21
|
count: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
}, z.core.$loose>>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const securitytrailsIpSearchStatistics:
|
|
23
|
-
query: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const securitytrailsIpSearchStatistics: AppAction<typeof SecuritytrailsIpSearchStatisticsInput, typeof SecuritytrailsIpSearchStatisticsOutput, typeof securitytrails.credential>;
|
|
37
25
|
//#endregion
|
|
38
26
|
export { securitytrailsIpSearchStatistics };
|
|
39
27
|
//# sourceMappingURL=ip-search-statistics.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-search-statistics.d.cts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.d.cts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/ip-search-statistics.d.ts
|
|
@@ -19,21 +21,7 @@ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
|
|
|
19
21
|
count: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
}, z.core.$loose>>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const securitytrailsIpSearchStatistics:
|
|
23
|
-
query: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const securitytrailsIpSearchStatistics: AppAction<typeof SecuritytrailsIpSearchStatisticsInput, typeof SecuritytrailsIpSearchStatisticsOutput, typeof securitytrails.credential>;
|
|
37
25
|
//#endregion
|
|
38
26
|
export { securitytrailsIpSearchStatistics };
|
|
39
27
|
//# sourceMappingURL=ip-search-statistics.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-search-statistics.d.mts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.d.mts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.mjs","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsIpSearchStatisticsInput,\n typeof SecuritytrailsIpSearchStatisticsOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,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,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBoD,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,2CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsListProjectsInput,\n typeof SecuritytrailsListProjectsOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,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,6BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -5,19 +7,7 @@ declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
|
|
6
8
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const securitytrailsListProjects:
|
|
9
|
-
connectionId: z.ZodString;
|
|
10
|
-
entityId: z.ZodString;
|
|
11
|
-
instanceId: z.ZodString;
|
|
12
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
-
generic_api_key: z.ZodString;
|
|
14
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const securitytrailsListProjects: AppAction<typeof SecuritytrailsListProjectsInput, typeof SecuritytrailsListProjectsOutput, typeof securitytrails.credential>;
|
|
21
11
|
//#endregion
|
|
22
12
|
export { securitytrailsListProjects };
|
|
23
13
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-projects.d.ts
|
|
@@ -5,19 +7,7 @@ declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
|
|
6
8
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const securitytrailsListProjects:
|
|
9
|
-
connectionId: z.ZodString;
|
|
10
|
-
entityId: z.ZodString;
|
|
11
|
-
instanceId: z.ZodString;
|
|
12
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
-
generic_api_key: z.ZodString;
|
|
14
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const securitytrailsListProjects: AppAction<typeof SecuritytrailsListProjectsInput, typeof SecuritytrailsListProjectsOutput, typeof securitytrails.credential>;
|
|
21
11
|
//#endregion
|
|
22
12
|
export { securitytrailsListProjects };
|
|
23
13
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsListProjectsInput,\n typeof SecuritytrailsListProjectsOutput,\n typeof securitytrails.credential\n> = 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":";;;AAWA,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAa5D;CACP,QAb8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
package/dist/actions/ping.cjs
CHANGED
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"ping.cjs","names":["z","action"],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsPingInput,\n typeof SecuritytrailsPingOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/ping.d.cts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/ping.d.ts
|
|
@@ -7,19 +9,7 @@ declare const SecuritytrailsPingOutput: z.ZodObject<{
|
|
|
7
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
10
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const securitytrailsPing:
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const securitytrailsPing: AppAction<typeof SecuritytrailsPingInput, typeof SecuritytrailsPingOutput, typeof securitytrails.credential>;
|
|
23
13
|
//#endregion
|
|
24
14
|
export { securitytrailsPing };
|
|
25
15
|
//# sourceMappingURL=ping.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.d.cts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ping.d.cts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,cAAA,CAAe,UAAA"}
|
package/dist/actions/ping.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/ping.d.ts
|
|
@@ -7,19 +9,7 @@ declare const SecuritytrailsPingOutput: z.ZodObject<{
|
|
|
7
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
10
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const securitytrailsPing:
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const securitytrailsPing: AppAction<typeof SecuritytrailsPingInput, typeof SecuritytrailsPingOutput, typeof securitytrails.credential>;
|
|
23
13
|
//#endregion
|
|
24
14
|
export { securitytrailsPing };
|
|
25
15
|
//# sourceMappingURL=ping.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.d.mts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ping.d.mts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,cAAA,CAAe,UAAA"}
|
package/dist/actions/ping.mjs
CHANGED
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"ping.mjs","names":[],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsPingInput,\n typeof SecuritytrailsPingOutput,\n typeof securitytrails.credential\n> = 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":";;;AAaA,MAAa,qBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAepD;CACP,QAfsC,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,yIAWhB;AACV,CAAC"}
|
package/dist/actions/scroll.cjs
CHANGED
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"scroll.cjs","names":["z","action"],"sources":["../../src/actions/scroll.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsScrollInput,\n typeof SecuritytrailsScrollOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/scroll.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SecuritytrailsScrollOutput: z.ZodObject<{
|
|
|
8
10
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const securitytrailsScroll:
|
|
12
|
-
scroll_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const securitytrailsScroll: AppAction<typeof SecuritytrailsScrollInput, typeof SecuritytrailsScrollOutput, typeof securitytrails.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { securitytrailsScroll };
|
|
28
16
|
//# sourceMappingURL=scroll.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.d.cts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"scroll.d.cts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/scroll.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SecuritytrailsScrollOutput: z.ZodObject<{
|
|
|
8
10
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const securitytrailsScroll:
|
|
12
|
-
scroll_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const securitytrailsScroll: AppAction<typeof SecuritytrailsScrollInput, typeof SecuritytrailsScrollOutput, typeof securitytrails.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { securitytrailsScroll };
|
|
28
16
|
//# sourceMappingURL=scroll.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.d.mts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"scroll.d.mts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,cAAA,CAAe,UAAA"}
|
package/dist/actions/scroll.mjs
CHANGED
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"scroll.mjs","names":[],"sources":["../../src/actions/scroll.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsScrollInput,\n typeof SecuritytrailsScrollOutput,\n typeof securitytrails.credential\n> = 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":";;;AAcA,MAAa,uBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,EACrH,CAAC,CAAC,CAAC,SAAS,0CAcH;CACP,QAdwC,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,8CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"search-ips.cjs","names":["z","action"],"sources":["../../src/actions/search-ips.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsSearchIpsInput,\n typeof SecuritytrailsSearchIpsOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-ips.d.ts
|
|
@@ -8,22 +10,7 @@ declare const SecuritytrailsSearchIpsInput: z.ZodObject<{
|
|
|
8
10
|
declare const SecuritytrailsSearchIpsOutput: z.ZodObject<{
|
|
9
11
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const securitytrailsSearchIps:
|
|
12
|
-
query: string;
|
|
13
|
-
page?: number | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const securitytrailsSearchIps: AppAction<typeof SecuritytrailsSearchIpsInput, typeof SecuritytrailsSearchIpsOutput, typeof securitytrails.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { securitytrailsSearchIps };
|
|
29
16
|
//# sourceMappingURL=search-ips.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-ips.d.cts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-ips.d.cts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-ips.d.ts
|
|
@@ -8,22 +10,7 @@ declare const SecuritytrailsSearchIpsInput: z.ZodObject<{
|
|
|
8
10
|
declare const SecuritytrailsSearchIpsOutput: z.ZodObject<{
|
|
9
11
|
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const securitytrailsSearchIps:
|
|
12
|
-
query: string;
|
|
13
|
-
page?: number | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const securitytrailsSearchIps: AppAction<typeof SecuritytrailsSearchIpsInput, typeof SecuritytrailsSearchIpsOutput, typeof securitytrails.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { securitytrailsSearchIps };
|
|
29
16
|
//# sourceMappingURL=search-ips.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-ips.d.mts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-ips.d.mts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"search-ips.mjs","names":[],"sources":["../../src/actions/search-ips.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsSearchIpsInput,\n typeof SecuritytrailsSearchIpsOutput,\n typeof securitytrails.credential\n> = 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":";;;AAcA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,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,8CAaH;CACP,QAb2C,EAAE,OAAO,EACpD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"sql-api-execute-query.cjs","names":["z","action"],"sources":["../../src/actions/sql-api-execute-query.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsSqlApiExecuteQueryInput,\n typeof SecuritytrailsSqlApiExecuteQueryOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,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,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { securitytrails } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/sql-api-execute-query.d.ts
|
|
@@ -17,21 +19,7 @@ declare const SecuritytrailsSqlApiExecuteQueryOutput: z.ZodObject<{
|
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const securitytrailsSqlApiExecuteQuery:
|
|
21
|
-
query: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"securitytrails", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const securitytrailsSqlApiExecuteQuery: AppAction<typeof SecuritytrailsSqlApiExecuteQueryInput, typeof SecuritytrailsSqlApiExecuteQueryOutput, typeof securitytrails.credential>;
|
|
35
23
|
//#endregion
|
|
36
24
|
export { securitytrailsSqlApiExecuteQuery };
|
|
37
25
|
//# sourceMappingURL=sql-api-execute-query.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-execute-query.d.cts","names":[],"sources":["../../src/actions/sql-api-execute-query.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"sql-api-execute-query.d.cts","names":[],"sources":["../../src/actions/sql-api-execute-query.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAOrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
|