@keystrokehq/securitytrails 0.1.0 → 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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/bulk-static-asset-rules.cjs +5 -5
- package/dist/actions/bulk-static-asset-rules.cjs.map +1 -1
- package/dist/actions/bulk-static-asset-rules.d.cts +38 -3
- package/dist/actions/bulk-static-asset-rules.d.cts.map +1 -1
- package/dist/actions/bulk-static-asset-rules.d.mts +38 -3
- package/dist/actions/bulk-static-asset-rules.d.mts.map +1 -1
- package/dist/actions/bulk-static-asset-rules.mjs +5 -5
- package/dist/actions/bulk-static-asset-rules.mjs.map +1 -1
- package/dist/actions/get-company-associated-ips.cjs +7 -7
- package/dist/actions/get-company-associated-ips.cjs.map +1 -1
- package/dist/actions/get-company-associated-ips.d.cts +18 -3
- package/dist/actions/get-company-associated-ips.d.cts.map +1 -1
- package/dist/actions/get-company-associated-ips.d.mts +18 -3
- package/dist/actions/get-company-associated-ips.d.mts.map +1 -1
- package/dist/actions/get-company-associated-ips.mjs +7 -7
- package/dist/actions/get-company-associated-ips.mjs.map +1 -1
- package/dist/actions/get-domain-ssl.cjs +2 -2
- package/dist/actions/get-domain-ssl.cjs.map +1 -1
- package/dist/actions/get-domain-ssl.d.cts +11 -3
- package/dist/actions/get-domain-ssl.d.cts.map +1 -1
- package/dist/actions/get-domain-ssl.d.mts +11 -3
- package/dist/actions/get-domain-ssl.d.mts.map +1 -1
- package/dist/actions/get-domain-ssl.mjs +2 -2
- package/dist/actions/get-domain-ssl.mjs.map +1 -1
- package/dist/actions/get-domain.cjs +6 -6
- package/dist/actions/get-domain.cjs.map +1 -1
- package/dist/actions/get-domain.d.cts +42 -3
- package/dist/actions/get-domain.d.cts.map +1 -1
- package/dist/actions/get-domain.d.mts +42 -3
- package/dist/actions/get-domain.d.mts.map +1 -1
- package/dist/actions/get-domain.mjs +6 -6
- package/dist/actions/get-domain.mjs.map +1 -1
- package/dist/actions/ip-search-statistics.cjs +11 -11
- package/dist/actions/ip-search-statistics.cjs.map +1 -1
- package/dist/actions/ip-search-statistics.d.cts +21 -3
- package/dist/actions/ip-search-statistics.d.cts.map +1 -1
- package/dist/actions/ip-search-statistics.d.mts +21 -3
- package/dist/actions/ip-search-statistics.d.mts.map +1 -1
- package/dist/actions/ip-search-statistics.mjs +11 -11
- 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 +5 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +5 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -1
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/ping.cjs +3 -3
- package/dist/actions/ping.cjs.map +1 -1
- package/dist/actions/ping.d.cts +7 -3
- package/dist/actions/ping.d.cts.map +1 -1
- package/dist/actions/ping.d.mts +7 -3
- package/dist/actions/ping.d.mts.map +1 -1
- package/dist/actions/ping.mjs +3 -3
- package/dist/actions/ping.mjs.map +1 -1
- package/dist/actions/scroll.cjs +2 -2
- package/dist/actions/scroll.cjs.map +1 -1
- package/dist/actions/scroll.d.cts +10 -3
- package/dist/actions/scroll.d.cts.map +1 -1
- package/dist/actions/scroll.d.mts +10 -3
- package/dist/actions/scroll.d.mts.map +1 -1
- package/dist/actions/scroll.mjs +2 -2
- 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 +11 -3
- package/dist/actions/search-ips.d.cts.map +1 -1
- package/dist/actions/search-ips.d.mts +11 -3
- package/dist/actions/search-ips.d.mts.map +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 +4 -4
- package/dist/actions/sql-api-execute-query.cjs.map +1 -1
- package/dist/actions/sql-api-execute-query.d.cts +19 -3
- package/dist/actions/sql-api-execute-query.d.cts.map +1 -1
- package/dist/actions/sql-api-execute-query.d.mts +19 -3
- package/dist/actions/sql-api-execute-query.d.mts.map +1 -1
- package/dist/actions/sql-api-execute-query.mjs +4 -4
- package/dist/actions/sql-api-execute-query.mjs.map +1 -1
- package/dist/actions/sql-api-scroll-results.cjs.map +1 -1
- package/dist/actions/sql-api-scroll-results.d.cts +9 -3
- package/dist/actions/sql-api-scroll-results.d.cts.map +1 -1
- package/dist/actions/sql-api-scroll-results.d.mts +9 -3
- package/dist/actions/sql-api-scroll-results.d.mts.map +1 -1
- package/dist/actions/sql-api-scroll-results.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 +5 -3
- package/dist/actions/temp-scrape-securitytrails-usage.d.cts.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.d.mts +5 -3
- package/dist/actions/temp-scrape-securitytrails-usage.d.mts.map +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.mjs +1 -1
- package/dist/actions/temp-scrape-securitytrails-usage.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/actions/ping.mjs
CHANGED
|
@@ -7,9 +7,9 @@ const securitytrailsPing = action("SECURITYTRAILS_PING", {
|
|
|
7
7
|
input: z.object({}).describe("Request model for SECURITYTRAILS_PING. No parameters are required."),
|
|
8
8
|
output: z.object({
|
|
9
9
|
body: z.union([z.record(z.string(), z.unknown()), z.string()]),
|
|
10
|
-
success: z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise"),
|
|
11
|
-
status_code: z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)")
|
|
12
|
-
}).describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.")
|
|
10
|
+
success: z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise").nullable(),
|
|
11
|
+
status_code: z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)").nullable()
|
|
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
|
|
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
|
@@ -4,8 +4,8 @@ let zod = require("zod");
|
|
|
4
4
|
const SecuritytrailsScrollInput = zod.z.object({ scroll_id: zod.z.string().describe("Identifier returned from a previous DSL search to fetch the next batch of results.") }).describe("Request model for SECURITYTRAILS_SCROLL.");
|
|
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
|
-
status_code: zod.z.number().int().describe("HTTP status code returned by the API.")
|
|
8
|
-
}).describe("Raw JSON response schema for scroll results.");
|
|
7
|
+
status_code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/scroll.d.ts
|
|
4
|
-
declare const SecuritytrailsScrollInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsScrollInput: z.ZodObject<{
|
|
5
|
+
scroll_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsScrollOutput: z.ZodObject<{
|
|
8
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const securitytrailsScroll: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
scroll_id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { securitytrailsScroll };
|
|
9
16
|
//# sourceMappingURL=scroll.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.d.cts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"scroll.d.cts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/scroll.d.ts
|
|
4
|
-
declare const SecuritytrailsScrollInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsScrollInput: z.ZodObject<{
|
|
5
|
+
scroll_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsScrollOutput: z.ZodObject<{
|
|
8
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const securitytrailsScroll: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
scroll_id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { securitytrailsScroll };
|
|
9
16
|
//# sourceMappingURL=scroll.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.d.mts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"scroll.d.mts","names":[],"sources":["../../src/actions/scroll.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
package/dist/actions/scroll.mjs
CHANGED
|
@@ -7,8 +7,8 @@ const securitytrailsScroll = action("SECURITYTRAILS_SCROLL", {
|
|
|
7
7
|
input: z.object({ scroll_id: z.string().describe("Identifier returned from a previous DSL search to fetch the next batch of results.") }).describe("Request model for 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
|
-
status_code: z.number().int().describe("HTTP status code returned by the API.")
|
|
11
|
-
}).describe("Raw JSON response schema for scroll results.")
|
|
10
|
+
status_code: z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
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
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-ips.d.ts
|
|
4
|
-
declare const SecuritytrailsSearchIpsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsSearchIpsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
query: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SecuritytrailsSearchIpsOutput: z.ZodObject<{
|
|
9
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const securitytrailsSearchIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
query: string;
|
|
13
|
+
page?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { securitytrailsSearchIps };
|
|
9
17
|
//# sourceMappingURL=search-ips.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-ips.d.cts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"search-ips.d.cts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-ips.d.ts
|
|
4
|
-
declare const SecuritytrailsSearchIpsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsSearchIpsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
query: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SecuritytrailsSearchIpsOutput: z.ZodObject<{
|
|
9
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const securitytrailsSearchIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
query: string;
|
|
13
|
+
page?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { securitytrailsSearchIps };
|
|
9
17
|
//# sourceMappingURL=search-ips.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-ips.d.mts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"search-ips.d.mts","names":[],"sources":["../../src/actions/search-ips.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -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
|
|
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"}
|
|
@@ -8,14 +8,14 @@ const SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = zod.z.object({
|
|
|
8
8
|
"eq",
|
|
9
9
|
"lte",
|
|
10
10
|
"gte"
|
|
11
|
-
]).describe("Relation between value and total number of results")
|
|
12
|
-
}).describe("Approximate total count metadata.");
|
|
11
|
+
]).describe("Relation between value and total number of results").nullable()
|
|
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
|
-
query: zod.z.string().describe("The exact SQL query that was executed, as echoed back by the API"),
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/sql-api-execute-query.d.ts
|
|
4
|
-
declare const SecuritytrailsSqlApiExecuteQueryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsSqlApiExecuteQueryInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsSqlApiExecuteQueryOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
query: z.ZodNullable<z.ZodString>;
|
|
10
|
+
total: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
12
|
+
relation: z.ZodNullable<z.ZodEnum<{
|
|
13
|
+
eq: "eq";
|
|
14
|
+
lte: "lte";
|
|
15
|
+
gte: "gte";
|
|
16
|
+
}>>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const securitytrailsSqlApiExecuteQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
query: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { securitytrailsSqlApiExecuteQuery };
|
|
9
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":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"sql-api-execute-query.d.cts","names":[],"sources":["../../src/actions/sql-api-execute-query.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAOrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/sql-api-execute-query.d.ts
|
|
4
|
-
declare const SecuritytrailsSqlApiExecuteQueryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsSqlApiExecuteQueryInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsSqlApiExecuteQueryOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
query: z.ZodNullable<z.ZodString>;
|
|
10
|
+
total: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
12
|
+
relation: z.ZodNullable<z.ZodEnum<{
|
|
13
|
+
eq: "eq";
|
|
14
|
+
lte: "lte";
|
|
15
|
+
gte: "gte";
|
|
16
|
+
}>>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const securitytrailsSqlApiExecuteQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
query: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { securitytrailsSqlApiExecuteQuery };
|
|
9
25
|
//# sourceMappingURL=sql-api-execute-query.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-execute-query.d.mts","names":[],"sources":["../../src/actions/sql-api-execute-query.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"sql-api-execute-query.d.mts","names":[],"sources":["../../src/actions/sql-api-execute-query.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAOrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -8,8 +8,8 @@ const SecuritytrailsSqlApiExecuteQuery_ScrollTotalSchema = z.object({
|
|
|
8
8
|
"eq",
|
|
9
9
|
"lte",
|
|
10
10
|
"gte"
|
|
11
|
-
]).describe("Relation between value and total number of results")
|
|
12
|
-
}).describe("Approximate total count metadata.");
|
|
11
|
+
]).describe("Relation between value and total number of results").nullable()
|
|
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",
|
|
@@ -17,10 +17,10 @@ const securitytrailsSqlApiExecuteQuery = action("SECURITYTRAILS_SQL_API_EXECUTE_
|
|
|
17
17
|
input: SecuritytrailsSqlApiExecuteQueryInput,
|
|
18
18
|
output: z.object({
|
|
19
19
|
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(),
|
|
20
|
-
query: z.string().describe("The exact SQL query that was executed, as echoed back by the API"),
|
|
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
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-scroll-results.cjs","names":["z","action"],"sources":["../../src/actions/sql-api-scroll-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiScrollResultsInput
|
|
1
|
+
{"version":3,"file":"sql-api-scroll-results.cjs","names":["z","action"],"sources":["../../src/actions/sql-api-scroll-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiScrollResultsInput = z.object({\n scroll_id: z.string().describe(\"Unique scroll identifier returned by the initial SQL API POST /query request. Use this to fetch the next page of results.\"),\n}).describe(\"Request model for SECURITYTRAILS_SQL_API_SCROLL_RESULTS.\");\nexport const SecuritytrailsSqlApiScrollResultsOutput = z.object({\n records: z.array(z.record(z.string(), z.unknown())).describe(\"Up to 100 records for the SQL query corresponding to the provided scroll_id.\"),\n}).passthrough().describe(\"Response model for SQL API scroll results.\");\n\nexport const securitytrailsSqlApiScrollResults = action(\"SECURITYTRAILS_SQL_API_SCROLL_RESULTS\", {\n slug: \"securitytrails-sql-api-scroll-results\",\n name: \"SQL API Scroll Results\",\n description: \"Tool to fetch next page of SQL query results. Use after obtaining scroll_id from initial SQL API response.\",\n input: SecuritytrailsSqlApiScrollResultsInput,\n output: SecuritytrailsSqlApiScrollResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EAC5J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/sql-api-scroll-results.d.ts
|
|
4
|
-
declare const SecuritytrailsSqlApiScrollResultsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsSqlApiScrollResultsInput: z.ZodObject<{
|
|
5
|
+
scroll_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsSqlApiScrollResultsOutput: z.ZodObject<{
|
|
8
|
+
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const securitytrailsSqlApiScrollResults: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
scroll_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { securitytrailsSqlApiScrollResults };
|
|
9
15
|
//# sourceMappingURL=sql-api-scroll-results.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-scroll-results.d.cts","names":[],"sources":["../../src/actions/sql-api-scroll-results.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"sql-api-scroll-results.d.cts","names":[],"sources":["../../src/actions/sql-api-scroll-results.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/sql-api-scroll-results.d.ts
|
|
4
|
-
declare const SecuritytrailsSqlApiScrollResultsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsSqlApiScrollResultsInput: z.ZodObject<{
|
|
5
|
+
scroll_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsSqlApiScrollResultsOutput: z.ZodObject<{
|
|
8
|
+
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const securitytrailsSqlApiScrollResults: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
scroll_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { securitytrailsSqlApiScrollResults };
|
|
9
15
|
//# sourceMappingURL=sql-api-scroll-results.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-scroll-results.d.mts","names":[],"sources":["../../src/actions/sql-api-scroll-results.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"sql-api-scroll-results.d.mts","names":[],"sources":["../../src/actions/sql-api-scroll-results.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api-scroll-results.mjs","names":[],"sources":["../../src/actions/sql-api-scroll-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiScrollResultsInput
|
|
1
|
+
{"version":3,"file":"sql-api-scroll-results.mjs","names":[],"sources":["../../src/actions/sql-api-scroll-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSqlApiScrollResultsInput = z.object({\n scroll_id: z.string().describe(\"Unique scroll identifier returned by the initial SQL API POST /query request. Use this to fetch the next page of results.\"),\n}).describe(\"Request model for SECURITYTRAILS_SQL_API_SCROLL_RESULTS.\");\nexport const SecuritytrailsSqlApiScrollResultsOutput = z.object({\n records: z.array(z.record(z.string(), z.unknown())).describe(\"Up to 100 records for the SQL query corresponding to the provided scroll_id.\"),\n}).passthrough().describe(\"Response model for SQL API scroll results.\");\n\nexport const securitytrailsSqlApiScrollResults = action(\"SECURITYTRAILS_SQL_API_SCROLL_RESULTS\", {\n slug: \"securitytrails-sql-api-scroll-results\",\n name: \"SQL API Scroll Results\",\n description: \"Tool to fetch next page of SQL query results. Use after obtaining scroll_id from initial SQL API response.\",\n input: SecuritytrailsSqlApiScrollResultsInput,\n output: SecuritytrailsSqlApiScrollResultsOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoD,EAAE,OAAO,EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EAC5J,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,EAC7I,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
|
|
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"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/temp-scrape-securitytrails-usage.d.ts
|
|
4
|
-
declare const SecuritytrailsTempScrapeSecuritytrailsUsageInput: z.
|
|
5
|
-
declare const SecuritytrailsTempScrapeSecuritytrailsUsageOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsTempScrapeSecuritytrailsUsageInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SecuritytrailsTempScrapeSecuritytrailsUsageOutput: z.ZodObject<{
|
|
6
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$loose>;
|
|
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]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { securitytrailsTempScrapeSecuritytrailsUsage };
|
|
9
11
|
//# sourceMappingURL=temp-scrape-securitytrails-usage.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temp-scrape-securitytrails-usage.d.cts","names":[],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"mappings":";;;cAIa,gDAAA,
|
|
1
|
+
{"version":3,"file":"temp-scrape-securitytrails-usage.d.cts","names":[],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;cAIjD,2CAAA,gCAA2C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/temp-scrape-securitytrails-usage.d.ts
|
|
4
|
-
declare const SecuritytrailsTempScrapeSecuritytrailsUsageInput: z.
|
|
5
|
-
declare const SecuritytrailsTempScrapeSecuritytrailsUsageOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsTempScrapeSecuritytrailsUsageInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SecuritytrailsTempScrapeSecuritytrailsUsageOutput: z.ZodObject<{
|
|
6
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$loose>;
|
|
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]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { securitytrailsTempScrapeSecuritytrailsUsage };
|
|
9
11
|
//# sourceMappingURL=temp-scrape-securitytrails-usage.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temp-scrape-securitytrails-usage.d.mts","names":[],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"mappings":";;;cAIa,gDAAA,
|
|
1
|
+
{"version":3,"file":"temp-scrape-securitytrails-usage.d.mts","names":[],"sources":["../../src/actions/temp-scrape-securitytrails-usage.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;cAIjD,2CAAA,gCAA2C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -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
|
|
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"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const securitytrailsCatalog = {
|
|
|
7
7
|
"category": "Security & Identity Tools",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/securitytrails",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "SecurityTrails API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your SecurityTrails API key, obtainable from your SecurityTrails account."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.securitytrailsCatalog = securitytrailsCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const securitytrailsCatalog = {\n \"slug\": \"securitytrails\",\n \"name\": \"Securitytrails\",\n \"description\": \"SecurityTrails is a cybersecurity platform providing comprehensive domain, IP, DNS, and WHOIS intelligence data. It offers historical DNS records, subdomain discovery, WHOIS history, associated domains, passive DNS datasets, and website technology detection to support threat hunting, brand protection, cyber forensics, and attack surface management.\",\n \"category\": \"Security & Identity Tools\",\n \"logo\": \"https://logos.composio.dev/api/securitytrails\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const securitytrailsCatalog = {\n \"slug\": \"securitytrails\",\n \"name\": \"Securitytrails\",\n \"description\": \"SecurityTrails is a cybersecurity platform providing comprehensive domain, IP, DNS, and WHOIS intelligence data. It offers historical DNS records, subdomain discovery, WHOIS history, associated domains, passive DNS datasets, and website technology detection to support threat hunting, brand protection, cyber forensics, and attack surface management.\",\n \"category\": \"Security & Identity Tools\",\n \"logo\": \"https://logos.composio.dev/api/securitytrails\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"SecurityTrails API Key\",\n \"secret\": true,\n \"description\": \"Your SecurityTrails API key, obtainable from your SecurityTrails account.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|