@censys/platform-sdk 0.5.0 → 0.5.1
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/README.md +2 -2
- package/docs/sdks/globaldata/README.md +0 -87
- package/docs/sdks/threathunting/README.md +87 -0
- package/examples/package-lock.json +1 -1
- package/funcs/{globalDataGetHostObservationsWithCertificate.d.ts → threatHuntingGetHostObservationsWithCertificate.d.ts} +2 -2
- package/funcs/threatHuntingGetHostObservationsWithCertificate.d.ts.map +1 -0
- package/funcs/{globalDataGetHostObservationsWithCertificate.js → threatHuntingGetHostObservationsWithCertificate.js} +7 -7
- package/funcs/threatHuntingGetHostObservationsWithCertificate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/models/operations/index.d.ts +1 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/v3threathuntinggethostobservationswithcertificate.d.ts +124 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.d.ts.map +1 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.js +183 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.js.map +1 -0
- package/package.json +1 -1
- package/sdk/globaldata.d.ts +0 -7
- package/sdk/globaldata.d.ts.map +1 -1
- package/sdk/globaldata.js +0 -10
- package/sdk/globaldata.js.map +1 -1
- package/sdk/threathunting.d.ts +7 -0
- package/sdk/threathunting.d.ts.map +1 -1
- package/sdk/threathunting.js +10 -0
- package/sdk/threathunting.js.map +1 -1
- package/src/funcs/{globalDataGetHostObservationsWithCertificate.ts → threatHuntingGetHostObservationsWithCertificate.ts} +10 -10
- package/src/lib/config.ts +4 -4
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/v3threathuntinggethostobservationswithcertificate.ts +315 -0
- package/src/sdk/globaldata.ts +0 -20
- package/src/sdk/threathunting.ts +21 -0
- package/funcs/globalDataGetHostObservationsWithCertificate.d.ts.map +0 -1
- package/funcs/globalDataGetHostObservationsWithCertificate.js.map +0 -1
- package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts +0 -124
- package/models/operations/v3globaldatagethostobservationswithcertificate.d.ts.map +0 -1
- package/models/operations/v3globaldatagethostobservationswithcertificate.js +0 -178
- package/models/operations/v3globaldatagethostobservationswithcertificate.js.map +0 -1
- package/src/models/operations/v3globaldatagethostobservationswithcertificate.ts +0 -317
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$ = exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$outboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$ = exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$inboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$ = exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$outboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.v3ThreathuntingGetHostObservationsWithCertificateGlobalsToJSON = v3ThreathuntingGetHostObservationsWithCertificateGlobalsToJSON;
|
|
41
|
+
exports.v3ThreathuntingGetHostObservationsWithCertificateGlobalsFromJSON = v3ThreathuntingGetHostObservationsWithCertificateGlobalsFromJSON;
|
|
42
|
+
exports.v3ThreathuntingGetHostObservationsWithCertificateRequestToJSON = v3ThreathuntingGetHostObservationsWithCertificateRequestToJSON;
|
|
43
|
+
exports.v3ThreathuntingGetHostObservationsWithCertificateRequestFromJSON = v3ThreathuntingGetHostObservationsWithCertificateRequestFromJSON;
|
|
44
|
+
exports.v3ThreathuntingGetHostObservationsWithCertificateResponseToJSON = v3ThreathuntingGetHostObservationsWithCertificateResponseToJSON;
|
|
45
|
+
exports.v3ThreathuntingGetHostObservationsWithCertificateResponseFromJSON = v3ThreathuntingGetHostObservationsWithCertificateResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$inboundSchema = z.object({
|
|
52
|
+
organization_id: z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"organization_id": "organizationId",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$outboundSchema = z.object({
|
|
60
|
+
organizationId: z.string().optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
organizationId: "organization_id",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var V3ThreathuntingGetHostObservationsWithCertificateGlobals$;
|
|
71
|
+
(function (V3ThreathuntingGetHostObservationsWithCertificateGlobals$) {
|
|
72
|
+
/** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateGlobals$inboundSchema` instead. */
|
|
73
|
+
V3ThreathuntingGetHostObservationsWithCertificateGlobals$.inboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$inboundSchema;
|
|
74
|
+
/** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateGlobals$outboundSchema` instead. */
|
|
75
|
+
V3ThreathuntingGetHostObservationsWithCertificateGlobals$.outboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$outboundSchema;
|
|
76
|
+
})(V3ThreathuntingGetHostObservationsWithCertificateGlobals$ || (exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$ = V3ThreathuntingGetHostObservationsWithCertificateGlobals$ = {}));
|
|
77
|
+
function v3ThreathuntingGetHostObservationsWithCertificateGlobalsToJSON(v3ThreathuntingGetHostObservationsWithCertificateGlobals) {
|
|
78
|
+
return JSON.stringify(exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$outboundSchema
|
|
79
|
+
.parse(v3ThreathuntingGetHostObservationsWithCertificateGlobals));
|
|
80
|
+
}
|
|
81
|
+
function v3ThreathuntingGetHostObservationsWithCertificateGlobalsFromJSON(jsonString) {
|
|
82
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3ThreathuntingGetHostObservationsWithCertificateGlobals$inboundSchema
|
|
83
|
+
.parse(JSON.parse(x)), `Failed to parse 'V3ThreathuntingGetHostObservationsWithCertificateGlobals' from JSON`);
|
|
84
|
+
}
|
|
85
|
+
/** @internal */
|
|
86
|
+
exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$inboundSchema = z.object({
|
|
87
|
+
organization_id: z.string().optional(),
|
|
88
|
+
certificate_id: z.string(),
|
|
89
|
+
start_time: z.string().optional(),
|
|
90
|
+
end_time: z.string().optional(),
|
|
91
|
+
port: z.number().int().optional(),
|
|
92
|
+
protocol: z.string().optional(),
|
|
93
|
+
page_token: z.string().optional(),
|
|
94
|
+
page_size: z.number().int().optional(),
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return (0, primitives_js_1.remap)(v, {
|
|
97
|
+
"organization_id": "organizationId",
|
|
98
|
+
"certificate_id": "certificateId",
|
|
99
|
+
"start_time": "startTime",
|
|
100
|
+
"end_time": "endTime",
|
|
101
|
+
"page_token": "pageToken",
|
|
102
|
+
"page_size": "pageSize",
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
/** @internal */
|
|
106
|
+
exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema = z.object({
|
|
107
|
+
organizationId: z.string().optional(),
|
|
108
|
+
certificateId: z.string(),
|
|
109
|
+
startTime: z.string().optional(),
|
|
110
|
+
endTime: z.string().optional(),
|
|
111
|
+
port: z.number().int().optional(),
|
|
112
|
+
protocol: z.string().optional(),
|
|
113
|
+
pageToken: z.string().optional(),
|
|
114
|
+
pageSize: z.number().int().optional(),
|
|
115
|
+
}).transform((v) => {
|
|
116
|
+
return (0, primitives_js_1.remap)(v, {
|
|
117
|
+
organizationId: "organization_id",
|
|
118
|
+
certificateId: "certificate_id",
|
|
119
|
+
startTime: "start_time",
|
|
120
|
+
endTime: "end_time",
|
|
121
|
+
pageToken: "page_token",
|
|
122
|
+
pageSize: "page_size",
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
128
|
+
*/
|
|
129
|
+
var V3ThreathuntingGetHostObservationsWithCertificateRequest$;
|
|
130
|
+
(function (V3ThreathuntingGetHostObservationsWithCertificateRequest$) {
|
|
131
|
+
/** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateRequest$inboundSchema` instead. */
|
|
132
|
+
V3ThreathuntingGetHostObservationsWithCertificateRequest$.inboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$inboundSchema;
|
|
133
|
+
/** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema` instead. */
|
|
134
|
+
V3ThreathuntingGetHostObservationsWithCertificateRequest$.outboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema;
|
|
135
|
+
})(V3ThreathuntingGetHostObservationsWithCertificateRequest$ || (exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$ = V3ThreathuntingGetHostObservationsWithCertificateRequest$ = {}));
|
|
136
|
+
function v3ThreathuntingGetHostObservationsWithCertificateRequestToJSON(v3ThreathuntingGetHostObservationsWithCertificateRequest) {
|
|
137
|
+
return JSON.stringify(exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema
|
|
138
|
+
.parse(v3ThreathuntingGetHostObservationsWithCertificateRequest));
|
|
139
|
+
}
|
|
140
|
+
function v3ThreathuntingGetHostObservationsWithCertificateRequestFromJSON(jsonString) {
|
|
141
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3ThreathuntingGetHostObservationsWithCertificateRequest$inboundSchema
|
|
142
|
+
.parse(JSON.parse(x)), `Failed to parse 'V3ThreathuntingGetHostObservationsWithCertificateRequest' from JSON`);
|
|
143
|
+
}
|
|
144
|
+
/** @internal */
|
|
145
|
+
exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema = z.object({
|
|
146
|
+
Headers: z.record(z.array(z.string())),
|
|
147
|
+
Result: components.ResponseEnvelopeHostObservationResponse$inboundSchema,
|
|
148
|
+
}).transform((v) => {
|
|
149
|
+
return (0, primitives_js_1.remap)(v, {
|
|
150
|
+
"Headers": "headers",
|
|
151
|
+
"Result": "result",
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
/** @internal */
|
|
155
|
+
exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$outboundSchema = z.object({
|
|
156
|
+
headers: z.record(z.array(z.string())),
|
|
157
|
+
result: components.ResponseEnvelopeHostObservationResponse$outboundSchema,
|
|
158
|
+
}).transform((v) => {
|
|
159
|
+
return (0, primitives_js_1.remap)(v, {
|
|
160
|
+
headers: "Headers",
|
|
161
|
+
result: "Result",
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
167
|
+
*/
|
|
168
|
+
var V3ThreathuntingGetHostObservationsWithCertificateResponse$;
|
|
169
|
+
(function (V3ThreathuntingGetHostObservationsWithCertificateResponse$) {
|
|
170
|
+
/** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema` instead. */
|
|
171
|
+
V3ThreathuntingGetHostObservationsWithCertificateResponse$.inboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema;
|
|
172
|
+
/** @deprecated use `V3ThreathuntingGetHostObservationsWithCertificateResponse$outboundSchema` instead. */
|
|
173
|
+
V3ThreathuntingGetHostObservationsWithCertificateResponse$.outboundSchema = exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$outboundSchema;
|
|
174
|
+
})(V3ThreathuntingGetHostObservationsWithCertificateResponse$ || (exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$ = V3ThreathuntingGetHostObservationsWithCertificateResponse$ = {}));
|
|
175
|
+
function v3ThreathuntingGetHostObservationsWithCertificateResponseToJSON(v3ThreathuntingGetHostObservationsWithCertificateResponse) {
|
|
176
|
+
return JSON.stringify(exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$outboundSchema
|
|
177
|
+
.parse(v3ThreathuntingGetHostObservationsWithCertificateResponse));
|
|
178
|
+
}
|
|
179
|
+
function v3ThreathuntingGetHostObservationsWithCertificateResponseFromJSON(jsonString) {
|
|
180
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema
|
|
181
|
+
.parse(JSON.parse(x)), `Failed to parse 'V3ThreathuntingGetHostObservationsWithCertificateResponse' from JSON`);
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=v3threathuntinggethostobservationswithcertificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3threathuntinggethostobservationswithcertificate.js","sourceRoot":"","sources":["../../src/models/operations/v3threathuntinggethostobservationswithcertificate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGH,wIAQC;AAED,4IAaC;AAmFD,wIAQC;AAED,4IAaC;AAyDD,0IAQC;AAED,8IAaC;AAtTD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,m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AAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASL,gBAAgB;AACH,QAAA,wEAAwE,GAK/E,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC,sDAAsD;CAC1E,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,0DAA0D,CAU1E;AAVD,WAAiB,0DAA0D;IACzE,yGAAyG;IAC5F,wEAAa,GACxB,+EAAuE,CAAC;IAC1E,0GAA0G;IAC7F,yEAAc,GACzB,gFAAwE,CAAC;AAI7E,CAAC,EAVgB,0DAA0D,0EAA1D,0DAA0D,QAU1E;AAED,SAAgB,+DAA+D,CAC7E,yDAC2D;IAE3D,OAAO,IAAI,CAAC,SAAS,CACnB,gFAAwE;SACrE,KAAK,CAAC,yDAAyD,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,iEAAiE,CAC/E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,+EAAuE;SACpE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzB,uFAAuF,CACxF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/sdk/globaldata.d.ts
CHANGED
|
@@ -15,13 +15,6 @@ export declare class GlobalData extends ClientSDK {
|
|
|
15
15
|
* Retrieve information about a single certificate. A certificate ID is its SHA-256 fingerprint in the Censys dataset.
|
|
16
16
|
*/
|
|
17
17
|
getCertificate(request: operations.V3GlobaldataAssetCertificateRequest, options?: RequestOptions): Promise<operations.V3GlobaldataAssetCertificateResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* Get Host Observations With Certificate
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
|
|
23
|
-
*/
|
|
24
|
-
getHostObservationsWithCertificate(request: operations.V3GlobaldataGetHostObservationsWithCertificateRequest, options?: RequestOptions): Promise<operations.V3GlobaldataGetHostObservationsWithCertificateResponse>;
|
|
25
18
|
/**
|
|
26
19
|
* Get multiple hosts
|
|
27
20
|
*
|
package/sdk/globaldata.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globaldata.d.ts","sourceRoot":"","sources":["../src/sdk/globaldata.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"globaldata.d.ts","sourceRoot":"","sources":["../src/sdk/globaldata.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,UAAW,SAAQ,SAAS;IACvC;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,uCAAuC,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wCAAwC,CAAC;IAQ/D;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oCAAoC,CAAC;IAQ3D;;;;;OAKG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAA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OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAOvD"}
|
package/sdk/globaldata.js
CHANGED
|
@@ -9,7 +9,6 @@ const globalDataCreateTrackedScan_js_1 = require("../funcs/globalDataCreateTrack
|
|
|
9
9
|
const globalDataGetCertificate_js_1 = require("../funcs/globalDataGetCertificate.js");
|
|
10
10
|
const globalDataGetCertificates_js_1 = require("../funcs/globalDataGetCertificates.js");
|
|
11
11
|
const globalDataGetHost_js_1 = require("../funcs/globalDataGetHost.js");
|
|
12
|
-
const globalDataGetHostObservationsWithCertificate_js_1 = require("../funcs/globalDataGetHostObservationsWithCertificate.js");
|
|
13
12
|
const globalDataGetHosts_js_1 = require("../funcs/globalDataGetHosts.js");
|
|
14
13
|
const globalDataGetHostTimeline_js_1 = require("../funcs/globalDataGetHostTimeline.js");
|
|
15
14
|
const globalDataGetTrackedScan_js_1 = require("../funcs/globalDataGetTrackedScan.js");
|
|
@@ -38,15 +37,6 @@ class GlobalData extends sdks_js_1.ClientSDK {
|
|
|
38
37
|
async getCertificate(request, options) {
|
|
39
38
|
return (0, fp_js_1.unwrapAsync)((0, globalDataGetCertificate_js_1.globalDataGetCertificate)(this, request, options));
|
|
40
39
|
}
|
|
41
|
-
/**
|
|
42
|
-
* Get Host Observations With Certificate
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
|
|
46
|
-
*/
|
|
47
|
-
async getHostObservationsWithCertificate(request, options) {
|
|
48
|
-
return (0, fp_js_1.unwrapAsync)((0, globalDataGetHostObservationsWithCertificate_js_1.globalDataGetHostObservationsWithCertificate)(this, request, options));
|
|
49
|
-
}
|
|
50
40
|
/**
|
|
51
41
|
* Get multiple hosts
|
|
52
42
|
*
|
package/sdk/globaldata.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globaldata.js","sourceRoot":"","sources":["../src/sdk/globaldata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4EAAsE;AACtE,4FAAsF;AACtF,sFAAgF;AAChF,wFAAkF;AAClF,wEAAkE;AAClE,
|
|
1
|
+
{"version":3,"file":"globaldata.js","sourceRoot":"","sources":["../src/sdk/globaldata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4EAAsE;AACtE,4FAAsF;AACtF,sFAAgF;AAChF,wFAAkF;AAClF,wEAAkE;AAClE,0EAAoE;AACpE,wFAAkF;AAClF,sFAAgF;AAChF,gHAA0G;AAC1G,0FAAoF;AACpF,sFAAgF;AAChF,sEAAgE;AAChE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,UAAW,SAAQ,mBAAS;IACvC;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CACnB,OAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wDAAyB,EAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAuD,EACvD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAoD,EACpD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACX,OAAgD,EAChD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wCAAiB,EAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAA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2BAA2B,CAC/B,OAAkD,EAClD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gFAAqC,EACtD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA9MD,gCA8MC"}
|
package/sdk/threathunting.d.ts
CHANGED
|
@@ -9,6 +9,13 @@ export declare class ThreatHunting extends ClientSDK {
|
|
|
9
9
|
* This endpoint works for both discovery scans and rescans.
|
|
10
10
|
*/
|
|
11
11
|
getTrackedScan(request: operations.V3GlobaldataScansGetRequest, options?: RequestOptions): Promise<operations.V3GlobaldataScansGetResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Get Host Observations With Certificate
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
|
|
17
|
+
*/
|
|
18
|
+
getHostObservationsWithCertificate(request: operations.V3ThreathuntingGetHostObservationsWithCertificateRequest, options?: RequestOptions): Promise<operations.V3ThreathuntingGetHostObservationsWithCertificateResponse>;
|
|
12
19
|
/**
|
|
13
20
|
* Create a tracked discovery scan
|
|
14
21
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threathunting.d.ts","sourceRoot":"","sources":["../src/sdk/threathunting.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"threathunting.d.ts","sourceRoot":"","sources":["../src/sdk/threathunting.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;;;;;OAMG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC;IAQnD;;;;;OAKG;IACG,kCAAkC,CACtC,OAAO,EACL,UAAU,CAAC,wDAAwD,EACrE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,yDAAyD,CACrE;IAQD;;;;;OAKG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,oCAAoC,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;IAQ5D;;;;;;OAMG;IACG,2BAA2B,CAC/B,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC;IAQtD;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;CAO1D"}
|
package/sdk/threathunting.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.ThreatHunting = void 0;
|
|
|
7
7
|
const globalDataGetTrackedScan_js_1 = require("../funcs/globalDataGetTrackedScan.js");
|
|
8
8
|
const globalDataGetTrackedScanThreatHunting_js_1 = require("../funcs/globalDataGetTrackedScanThreatHunting.js");
|
|
9
9
|
const threatHuntingCreateTrackedScan_js_1 = require("../funcs/threatHuntingCreateTrackedScan.js");
|
|
10
|
+
const threatHuntingGetHostObservationsWithCertificate_js_1 = require("../funcs/threatHuntingGetHostObservationsWithCertificate.js");
|
|
10
11
|
const threatHuntingValueCounts_js_1 = require("../funcs/threatHuntingValueCounts.js");
|
|
11
12
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
12
13
|
const fp_js_1 = require("../types/fp.js");
|
|
@@ -21,6 +22,15 @@ class ThreatHunting extends sdks_js_1.ClientSDK {
|
|
|
21
22
|
async getTrackedScan(request, options) {
|
|
22
23
|
return (0, fp_js_1.unwrapAsync)((0, globalDataGetTrackedScan_js_1.globalDataGetTrackedScan)(this, request, options));
|
|
23
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Get Host Observations With Certificate
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
|
|
30
|
+
*/
|
|
31
|
+
async getHostObservationsWithCertificate(request, options) {
|
|
32
|
+
return (0, fp_js_1.unwrapAsync)((0, threatHuntingGetHostObservationsWithCertificate_js_1.threatHuntingGetHostObservationsWithCertificate)(this, request, options));
|
|
33
|
+
}
|
|
24
34
|
/**
|
|
25
35
|
* Create a tracked discovery scan
|
|
26
36
|
*
|
package/sdk/threathunting.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threathunting.js","sourceRoot":"","sources":["../src/sdk/threathunting.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sFAAgF;AAChF,gHAA0G;AAC1G,kGAA4F;AAC5F,sFAAgF;AAChF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,aAAc,SAAQ,mBAAS;IAC1C;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,CAClB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAwD,EACxD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kEAA8B,EAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,2BAA2B,CAC/B,OAAkD,EAClD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gFAAqC,EACtD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAqD,EACrD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"threathunting.js","sourceRoot":"","sources":["../src/sdk/threathunting.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sFAAgF;AAChF,gHAA0G;AAC1G,kGAA4F;AAC5F,oIAA8H;AAC9H,sFAAgF;AAChF,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,aAAc,SAAQ,mBAAS;IAC1C;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,CAClB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,kCAAkC,CACtC,OACqE,EACrE,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,oGAA+C,EAChE,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAwD,EACxD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kEAA8B,EAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,2BAA2B,CAC/B,OAAkD,EAClD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gFAAqC,EACtD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAqD,EACrD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA1FD,sCA0FC"}
|
|
@@ -31,13 +31,13 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve historical observations of hosts associated with a certificate fingerprint. Useful for threat hunting, detection engineering, and timeline generation.
|
|
33
33
|
*/
|
|
34
|
-
export function
|
|
34
|
+
export function threatHuntingGetHostObservationsWithCertificate(
|
|
35
35
|
client: SDKCore,
|
|
36
|
-
request: operations.
|
|
36
|
+
request: operations.V3ThreathuntingGetHostObservationsWithCertificateRequest,
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
operations.
|
|
40
|
+
operations.V3ThreathuntingGetHostObservationsWithCertificateResponse,
|
|
41
41
|
| errors.ErrorModel
|
|
42
42
|
| SDKBaseError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -58,12 +58,12 @@ export function globalDataGetHostObservationsWithCertificate(
|
|
|
58
58
|
|
|
59
59
|
async function $do(
|
|
60
60
|
client: SDKCore,
|
|
61
|
-
request: operations.
|
|
61
|
+
request: operations.V3ThreathuntingGetHostObservationsWithCertificateRequest,
|
|
62
62
|
options?: RequestOptions,
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
operations.
|
|
66
|
+
operations.V3ThreathuntingGetHostObservationsWithCertificateResponse,
|
|
67
67
|
| errors.ErrorModel
|
|
68
68
|
| SDKBaseError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -81,7 +81,7 @@ async function $do(
|
|
|
81
81
|
request,
|
|
82
82
|
(value) =>
|
|
83
83
|
operations
|
|
84
|
-
.
|
|
84
|
+
.V3ThreathuntingGetHostObservationsWithCertificateRequest$outboundSchema
|
|
85
85
|
.parse(value),
|
|
86
86
|
"Input validation failed",
|
|
87
87
|
);
|
|
@@ -99,7 +99,7 @@ async function $do(
|
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
const path = pathToFunc(
|
|
102
|
-
"/v3/
|
|
102
|
+
"/v3/threat-hunting/certificate/{certificate_id}/observations/hosts",
|
|
103
103
|
)(pathParams);
|
|
104
104
|
|
|
105
105
|
const query = encodeFormQuery({
|
|
@@ -126,7 +126,7 @@ async function $do(
|
|
|
126
126
|
const context = {
|
|
127
127
|
options: client._options,
|
|
128
128
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
129
|
-
operationID: "v3-
|
|
129
|
+
operationID: "v3-threathunting-get-host-observations-with-certificate",
|
|
130
130
|
oAuth2Scopes: [],
|
|
131
131
|
|
|
132
132
|
resolvedSecurity: requestSecurity,
|
|
@@ -170,7 +170,7 @@ async function $do(
|
|
|
170
170
|
};
|
|
171
171
|
|
|
172
172
|
const [result] = await M.match<
|
|
173
|
-
operations.
|
|
173
|
+
operations.V3ThreathuntingGetHostObservationsWithCertificateResponse,
|
|
174
174
|
| errors.ErrorModel
|
|
175
175
|
| SDKBaseError
|
|
176
176
|
| ResponseValidationError
|
|
@@ -184,7 +184,7 @@ async function $do(
|
|
|
184
184
|
M.json(
|
|
185
185
|
200,
|
|
186
186
|
operations
|
|
187
|
-
.
|
|
187
|
+
.V3ThreathuntingGetHostObservationsWithCertificateResponse$inboundSchema,
|
|
188
188
|
{ hdrs: true, key: "Result" },
|
|
189
189
|
),
|
|
190
190
|
M.jsonErr([401, 403], errors.ErrorModel$inboundSchema, {
|
package/src/lib/config.ts
CHANGED
|
@@ -65,9 +65,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
|
|
66
66
|
export const SDK_METADATA = {
|
|
67
67
|
language: "typescript",
|
|
68
|
-
openapiDocVersion: "1.0.
|
|
69
|
-
sdkVersion: "0.5.
|
|
70
|
-
genVersion: "2.
|
|
68
|
+
openapiDocVersion: "1.0.25",
|
|
69
|
+
sdkVersion: "0.5.1",
|
|
70
|
+
genVersion: "2.672.0",
|
|
71
71
|
userAgent:
|
|
72
|
-
"speakeasy-sdk/typescript 0.5.
|
|
72
|
+
"speakeasy-sdk/typescript 0.5.1 2.672.0 1.0.25 @censys/platform-sdk",
|
|
73
73
|
} as const;
|
|
@@ -17,11 +17,11 @@ export * from "./v3globaldataassethostlist.js";
|
|
|
17
17
|
export * from "./v3globaldataassethosttimeline.js";
|
|
18
18
|
export * from "./v3globaldataassetwebproperty.js";
|
|
19
19
|
export * from "./v3globaldataassetwebpropertylist.js";
|
|
20
|
-
export * from "./v3globaldatagethostobservationswithcertificate.js";
|
|
21
20
|
export * from "./v3globaldatascansget.js";
|
|
22
21
|
export * from "./v3globaldatascansrescan.js";
|
|
23
22
|
export * from "./v3globaldatasearchaggregate.js";
|
|
24
23
|
export * from "./v3globaldatasearchquery.js";
|
|
24
|
+
export * from "./v3threathuntinggethostobservationswithcertificate.js";
|
|
25
25
|
export * from "./v3threathuntingscansdiscovery.js";
|
|
26
26
|
export * from "./v3threathuntingscansget.js";
|
|
27
27
|
export * from "./v3threathuntingvaluecounts.js";
|