@keystrokehq/securitytrails 0.1.0 → 0.1.2
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 -1
- package/dist/actions/bulk-static-asset-rules.cjs.map +1 -1
- package/dist/actions/bulk-static-asset-rules.d.cts +36 -3
- package/dist/actions/bulk-static-asset-rules.d.cts.map +1 -1
- package/dist/actions/bulk-static-asset-rules.d.mts +36 -3
- package/dist/actions/bulk-static-asset-rules.d.mts.map +1 -1
- package/dist/actions/bulk-static-asset-rules.mjs +1 -1
- package/dist/actions/bulk-static-asset-rules.mjs.map +1 -1
- package/dist/actions/get-company-associated-ips.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-company-associated-ips.mjs.map +1 -1
- package/dist/actions/get-domain-ssl.cjs +1 -1
- package/dist/actions/get-domain-ssl.cjs.map +1 -1
- package/dist/actions/get-domain-ssl.d.cts +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 +1 -1
- package/dist/actions/get-domain-ssl.mjs.map +1 -1
- package/dist/actions/get-domain.cjs +2 -2
- 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 +2 -2
- package/dist/actions/get-domain.mjs.map +1 -1
- package/dist/actions/ip-search-statistics.cjs +7 -7
- 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 +7 -7
- package/dist/actions/ip-search-statistics.mjs.map +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.map +1 -1
- package/dist/actions/ping.cjs +2 -2
- 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 +2 -2
- package/dist/actions/ping.mjs.map +1 -1
- package/dist/actions/scroll.cjs +1 -1
- package/dist/actions/scroll.cjs.map +1 -1
- package/dist/actions/scroll.d.cts +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 +1 -1
- package/dist/actions/scroll.mjs.map +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.map +1 -1
- package/dist/actions/sql-api-execute-query.cjs +2 -2
- package/dist/actions/sql-api-execute-query.cjs.map +1 -1
- package/dist/actions/sql-api-execute-query.d.cts +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 +2 -2
- 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.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.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
|
@@ -1,9 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-domain.d.ts
|
|
4
|
-
declare const SecuritytrailsGetDomainInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsGetDomainInput: z.ZodObject<{
|
|
5
|
+
hostname: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsGetDomainOutput: z.ZodObject<{
|
|
8
|
+
raw: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
|
+
domain_data: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
endpoint: z.ZodNullable<z.ZodString>;
|
|
11
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
12
|
+
alexa_rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
apex_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
current_dns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
a: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
17
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>>;
|
|
19
|
+
mx: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
21
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
ns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
25
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>>>;
|
|
27
|
+
soa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
29
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
txt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
33
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
35
|
+
aaaa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
subdomain_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const securitytrailsGetDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
|
+
hostname: string;
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
46
|
//#endregion
|
|
8
47
|
export { securitytrailsGetDomain };
|
|
9
48
|
//# sourceMappingURL=get-domain.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domain.d.mts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-domain.d.mts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAuB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -15,8 +15,8 @@ const SecuritytrailsGetDomain_CurrentDNSSchema = z.object({
|
|
|
15
15
|
aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional()
|
|
16
16
|
}).describe("Current DNS configuration for the domain.");
|
|
17
17
|
const SecuritytrailsGetDomain_DomainDataSchema = z.object({
|
|
18
|
-
endpoint: z.string().describe("API endpoint path used for this query"),
|
|
19
|
-
hostname: z.string().describe("The queried domain hostname"),
|
|
18
|
+
endpoint: z.string().describe("API endpoint path used for this query").nullable(),
|
|
19
|
+
hostname: z.string().describe("The queried domain hostname").nullable(),
|
|
20
20
|
alexa_rank: z.number().int().describe("Historical Alexa ranking (deprecated, often null)").nullable().optional(),
|
|
21
21
|
apex_domain: z.string().describe("The apex/root domain (e.g., 'example.com' for 'www.example.com')").nullable().optional(),
|
|
22
22
|
current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domain.mjs","names":[],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput
|
|
1
|
+
{"version":3,"file":"get-domain.mjs","names":[],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\").nullable(),\n hostname: z.string().describe(\"The queried domain hostname\").nullable(),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2CAA2C,EAAE,OAAO;CACxD,GAAG,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,2CAA2C,EAAE,OAAO;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAMzE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,aAAa,yCAAyC,SAAS;CACjE,CAAC,CAAC,CAAC,SAAS,8RAOF;AACV,CAAC"}
|
|
@@ -3,21 +3,21 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/ip-search-statistics.ts
|
|
4
4
|
const SecuritytrailsIpSearchStatisticsInput = zod.z.object({ query: zod.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.") }).describe("Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.");
|
|
5
5
|
const SecuritytrailsIpSearchStatistics_PortStatisticSchema = zod.z.object({
|
|
6
|
-
key: zod.z.number().int().describe("Port number"),
|
|
7
|
-
count: zod.z.number().int().describe("Number of IPs with this port open")
|
|
6
|
+
key: zod.z.number().int().describe("Port number").nullable(),
|
|
7
|
+
count: zod.z.number().int().describe("Number of IPs with this port open").nullable()
|
|
8
8
|
}).describe("Port count statistic.");
|
|
9
9
|
const SecuritytrailsIpSearchStatistics_TotalStatisticSchema = zod.z.object({
|
|
10
|
-
value: zod.z.number().int().describe("Total count of IPs matching the query"),
|
|
11
|
-
relation: zod.z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)")
|
|
10
|
+
value: zod.z.number().int().describe("Total count of IPs matching the query").nullable(),
|
|
11
|
+
relation: zod.z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)").nullable()
|
|
12
12
|
}).describe("Total count with relation indicator.");
|
|
13
13
|
const SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = zod.z.object({
|
|
14
|
-
key: zod.z.string().describe("Reverse DNS pattern"),
|
|
15
|
-
count: zod.z.number().int().describe("Number of IPs matching this pattern")
|
|
14
|
+
key: zod.z.string().describe("Reverse DNS pattern").nullable(),
|
|
15
|
+
count: zod.z.number().int().describe("Number of IPs matching this pattern").nullable()
|
|
16
16
|
}).describe("PTR pattern statistic.");
|
|
17
17
|
const SecuritytrailsIpSearchStatisticsOutput = zod.z.object({
|
|
18
18
|
ports: zod.z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe("Top open ports ranked by frequency across matching IPs").nullable().optional(),
|
|
19
19
|
total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),
|
|
20
|
-
endpoint: zod.z.string().describe("The API endpoint used"),
|
|
20
|
+
endpoint: zod.z.string().describe("The API endpoint used").nullable(),
|
|
21
21
|
top_ptr_patterns: zod.z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe("Most common reverse DNS patterns across matching IPs").nullable().optional()
|
|
22
22
|
}).describe("Response schema for IP search statistics.");
|
|
23
23
|
const securitytrailsIpSearchStatistics = require_action.action("SECURITYTRAILS_IP_SEARCH_STATISTICS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-search-statistics.cjs","names":["z","action"],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.cjs","names":["z","action"],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,OAAO,sDAAsD,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,kBAAkBA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ip-search-statistics.d.ts
|
|
4
|
-
declare const SecuritytrailsIpSearchStatisticsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsIpSearchStatisticsInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
|
|
8
|
+
ports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
key: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>>>;
|
|
12
|
+
total: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
relation: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
endpoint: z.ZodNullable<z.ZodString>;
|
|
17
|
+
top_ptr_patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
key: z.ZodNullable<z.ZodString>;
|
|
19
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
query: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { securitytrailsIpSearchStatistics };
|
|
9
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":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.d.cts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ip-search-statistics.d.ts
|
|
4
|
-
declare const SecuritytrailsIpSearchStatisticsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsIpSearchStatisticsInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
|
|
8
|
+
ports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
key: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>>>;
|
|
12
|
+
total: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
relation: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
endpoint: z.ZodNullable<z.ZodString>;
|
|
17
|
+
top_ptr_patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
key: z.ZodNullable<z.ZodString>;
|
|
19
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
query: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { securitytrailsIpSearchStatistics };
|
|
9
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":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.d.mts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/ip-search-statistics.ts
|
|
4
4
|
const SecuritytrailsIpSearchStatisticsInput = z.object({ 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.") }).describe("Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.");
|
|
5
5
|
const SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({
|
|
6
|
-
key: z.number().int().describe("Port number"),
|
|
7
|
-
count: z.number().int().describe("Number of IPs with this port open")
|
|
6
|
+
key: z.number().int().describe("Port number").nullable(),
|
|
7
|
+
count: z.number().int().describe("Number of IPs with this port open").nullable()
|
|
8
8
|
}).describe("Port count statistic.");
|
|
9
9
|
const SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({
|
|
10
|
-
value: z.number().int().describe("Total count of IPs matching the query"),
|
|
11
|
-
relation: z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)")
|
|
10
|
+
value: z.number().int().describe("Total count of IPs matching the query").nullable(),
|
|
11
|
+
relation: z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)").nullable()
|
|
12
12
|
}).describe("Total count with relation indicator.");
|
|
13
13
|
const SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({
|
|
14
|
-
key: z.string().describe("Reverse DNS pattern"),
|
|
15
|
-
count: z.number().int().describe("Number of IPs matching this pattern")
|
|
14
|
+
key: z.string().describe("Reverse DNS pattern").nullable(),
|
|
15
|
+
count: z.number().int().describe("Number of IPs matching this pattern").nullable()
|
|
16
16
|
}).describe("PTR pattern statistic.");
|
|
17
17
|
const securitytrailsIpSearchStatistics = action("SECURITYTRAILS_IP_SEARCH_STATISTICS", {
|
|
18
18
|
slug: "securitytrails-ip-search-statistics",
|
|
@@ -22,7 +22,7 @@ const securitytrailsIpSearchStatistics = action("SECURITYTRAILS_IP_SEARCH_STATIS
|
|
|
22
22
|
output: z.object({
|
|
23
23
|
ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe("Top open ports ranked by frequency across matching IPs").nullable().optional(),
|
|
24
24
|
total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),
|
|
25
|
-
endpoint: z.string().describe("The API endpoint used"),
|
|
25
|
+
endpoint: z.string().describe("The API endpoint used").nullable(),
|
|
26
26
|
top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe("Most common reverse DNS patterns across matching IPs").nullable().optional()
|
|
27
27
|
}).describe("Response schema for IP search statistics.")
|
|
28
28
|
});
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"ip-search-statistics.mjs","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,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,SAAS,sCAAsC;AAClD,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,SAAS,wBAAwB;AAQpC,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,OAAO,sDAAsD,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAChE,kBAAkB,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,2CAOF;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
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACnK,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,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/list-projects.d.ts
|
|
4
|
-
declare const SecuritytrailsListProjectsInput: z.
|
|
5
|
-
declare const SecuritytrailsListProjectsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
|
|
6
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { securitytrailsListProjects };
|
|
9
11
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,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/list-projects.d.ts
|
|
4
|
-
declare const SecuritytrailsListProjectsInput: z.
|
|
5
|
-
declare const SecuritytrailsListProjectsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
|
|
6
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { securitytrailsListProjects };
|
|
9
11
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,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
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
package/dist/actions/ping.cjs
CHANGED
|
@@ -4,8 +4,8 @@ let zod = require("zod");
|
|
|
4
4
|
const SecuritytrailsPingInput = zod.z.object({}).describe("Request model for SECURITYTRAILS_PING. No parameters are required.");
|
|
5
5
|
const SecuritytrailsPingOutput = zod.z.object({
|
|
6
6
|
body: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.string()]),
|
|
7
|
-
success: zod.z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise"),
|
|
8
|
-
status_code: zod.z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)")
|
|
7
|
+
success: zod.z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise").nullable(),
|
|
8
|
+
status_code: zod.z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)").nullable()
|
|
9
9
|
}).describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.");
|
|
10
10
|
const securitytrailsPing = require_action.action("SECURITYTRAILS_PING", {
|
|
11
11
|
slug: "securitytrails-ping",
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"ping.cjs","names":["z","action"],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsPingInput = z.object({}).describe(\"Request model for SECURITYTRAILS_PING. No parameters are required.\");\nexport const SecuritytrailsPingOutput = z.object({\n body: z.union([z.record(z.string(), z.unknown()), z.string()]),\n success: z.boolean().describe(\"True if the ping was successful (HTTP 200), False otherwise\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)\").nullable(),\n}).describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACjI,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,yIAAyI;AAErJ,MAAa,qBAAqBC,eAAAA,OAAO,uBAAuB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/ping.d.cts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ping.d.ts
|
|
4
|
-
declare const SecuritytrailsPingInput: z.
|
|
5
|
-
declare const SecuritytrailsPingOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsPingInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SecuritytrailsPingOutput: z.ZodObject<{
|
|
6
|
+
body: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
7
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
|
+
status_code: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { securitytrailsPing };
|
|
9
13
|
//# sourceMappingURL=ping.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.d.cts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"ping.d.cts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
package/dist/actions/ping.d.mts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ping.d.ts
|
|
4
|
-
declare const SecuritytrailsPingInput: z.
|
|
5
|
-
declare const SecuritytrailsPingOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SecuritytrailsPingInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SecuritytrailsPingOutput: z.ZodObject<{
|
|
6
|
+
body: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
7
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
8
|
+
status_code: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { securitytrailsPing };
|
|
9
13
|
//# sourceMappingURL=ping.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.d.mts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"ping.d.mts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
package/dist/actions/ping.mjs
CHANGED
|
@@ -7,8 +7,8 @@ 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)")
|
|
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
12
|
}).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
|
|
@@ -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}).describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,uBAAuB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAWpD;CACP,QAXsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,yIAOF;AACV,CAAC"}
|
package/dist/actions/scroll.cjs
CHANGED
|
@@ -4,7 +4,7 @@ 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.")
|
|
7
|
+
status_code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
8
8
|
}).describe("Raw JSON response schema for scroll results.");
|
|
9
9
|
const securitytrailsScroll = require_action.action("SECURITYTRAILS_SCROLL", {
|
|
10
10
|
slug: "securitytrails-scroll",
|
|
@@ -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}).describe(\"Raw JSON response schema for scroll results.\");\n\nexport const securitytrailsScroll = action(\"SECURITYTRAILS_SCROLL\", {\n slug: \"securitytrails-scroll\",\n name: \"Scroll Results\",\n description: \"Tool to continue scrolling through DSL search results. Use after receiving a scroll_id from SECURITYTRAILS_SEARCH_IPS or SECURITYTRAILS_SQL_API_EXECUTE_QUERY to fetch the next batch of data. Call iteratively until no scroll_id is returned to retrieve all pages.\",\n input: SecuritytrailsScrollInput,\n output: SecuritytrailsScrollOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,EACrH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,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.$strip>;
|
|
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.$strip>;
|
|
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,7 +7,7 @@ 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.")
|
|
10
|
+
status_code: z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
11
11
|
}).describe("Raw JSON response schema for scroll results.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
@@ -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}).describe(\"Raw JSON response schema for scroll results.\");\n\nexport const securitytrailsScroll = action(\"SECURITYTRAILS_SCROLL\", {\n slug: \"securitytrails-scroll\",\n name: \"Scroll Results\",\n description: \"Tool to continue scrolling through DSL search results. Use after receiving a scroll_id from SECURITYTRAILS_SEARCH_IPS or SECURITYTRAILS_SQL_API_EXECUTE_QUERY to fetch the next batch of data. Call iteratively until no scroll_id is returned to retrieve all pages.\",\n input: SecuritytrailsScrollInput,\n output: SecuritytrailsScrollOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,yBAAyB;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,EACrH,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAVwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,8CAOF;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
|
|
1
|
+
{"version":3,"file":"search-ips.cjs","names":["z","action"],"sources":["../../src/actions/search-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsSearchIpsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results (1-indexed). Defaults to 1.\").optional(),\n query: z.string().describe(\"DSL query expression to execute against SecurityTrails IP index. Supports fields: ip, ptr, ptr_part, port.\"),\n}).describe(\"Request model for SECURITYTRAILS_SEARCH_IPS.\");\nexport const SecuritytrailsSearchIpsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON response from the /v1/ips/list endpoint.\"),\n}).describe(\"Response schema for SECURITYTRAILS_SEARCH_IPS.\");\n\nexport const securitytrailsSearchIps = action(\"SECURITYTRAILS_SEARCH_IPS\", {\n slug: \"securitytrails-search-ips\",\n name: \"Search IPs\",\n description: \"Tool to search IP addresses via SecurityTrails DSL. Use when you need to filter IPs with custom DSL queries. Results are paginated; use SecurityTrails scroll mechanisms for large result sets to avoid missing assets.\",\n input: SecuritytrailsSearchIpsInput,\n output: SecuritytrailsSearchIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;AACzI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAC1G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,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.$strip>;
|
|
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
|