@andrebuzeli/git-mcp 2.6.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 +346 -0
- package/dist/client.d.ts +307 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +299 -0
- package/dist/client.js.map +1 -0
- package/dist/config.d.ts +299 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +381 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +53 -0
- package/dist/index.js.map +1 -0
- package/dist/providers/base-provider.d.ts +139 -0
- package/dist/providers/base-provider.d.ts.map +1 -0
- package/dist/providers/base-provider.js +246 -0
- package/dist/providers/base-provider.js.map +1 -0
- package/dist/providers/error-handler.d.ts +51 -0
- package/dist/providers/error-handler.d.ts.map +1 -0
- package/dist/providers/error-handler.js +170 -0
- package/dist/providers/error-handler.js.map +1 -0
- package/dist/providers/gitea-provider.d.ts +68 -0
- package/dist/providers/gitea-provider.d.ts.map +1 -0
- package/dist/providers/gitea-provider.js +515 -0
- package/dist/providers/gitea-provider.js.map +1 -0
- package/dist/providers/github-provider.d.ts +68 -0
- package/dist/providers/github-provider.d.ts.map +1 -0
- package/dist/providers/github-provider.js +518 -0
- package/dist/providers/github-provider.js.map +1 -0
- package/dist/providers/index.d.ts +13 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +41 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/provider-factory.d.ts +75 -0
- package/dist/providers/provider-factory.d.ts.map +1 -0
- package/dist/providers/provider-factory.js +298 -0
- package/dist/providers/provider-factory.js.map +1 -0
- package/dist/providers/types.d.ts +276 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +7 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/server.d.ts +77 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +262 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/actions.d.ts +272 -0
- package/dist/tools/actions.d.ts.map +1 -0
- package/dist/tools/actions.js +428 -0
- package/dist/tools/actions.js.map +1 -0
- package/dist/tools/analytics.d.ts +326 -0
- package/dist/tools/analytics.d.ts.map +1 -0
- package/dist/tools/analytics.js +473 -0
- package/dist/tools/analytics.js.map +1 -0
- package/dist/tools/branches.d.ts +461 -0
- package/dist/tools/branches.d.ts.map +1 -0
- package/dist/tools/branches.js +525 -0
- package/dist/tools/branches.js.map +1 -0
- package/dist/tools/code-review.d.ts +323 -0
- package/dist/tools/code-review.d.ts.map +1 -0
- package/dist/tools/code-review.js +552 -0
- package/dist/tools/code-review.js.map +1 -0
- package/dist/tools/commits.d.ts +488 -0
- package/dist/tools/commits.d.ts.map +1 -0
- package/dist/tools/commits.js +578 -0
- package/dist/tools/commits.js.map +1 -0
- package/dist/tools/deployments.d.ts +319 -0
- package/dist/tools/deployments.d.ts.map +1 -0
- package/dist/tools/deployments.js +355 -0
- package/dist/tools/deployments.js.map +1 -0
- package/dist/tools/files.d.ts +456 -0
- package/dist/tools/files.d.ts.map +1 -0
- package/dist/tools/files.js +531 -0
- package/dist/tools/files.js.map +1 -0
- package/dist/tools/git-sync.d.ts +177 -0
- package/dist/tools/git-sync.d.ts.map +1 -0
- package/dist/tools/git-sync.js +112 -0
- package/dist/tools/git-sync.js.map +1 -0
- package/dist/tools/issues.d.ts +579 -0
- package/dist/tools/issues.d.ts.map +1 -0
- package/dist/tools/issues.js +631 -0
- package/dist/tools/issues.js.map +1 -0
- package/dist/tools/pulls.d.ts +702 -0
- package/dist/tools/pulls.d.ts.map +1 -0
- package/dist/tools/pulls.js +730 -0
- package/dist/tools/pulls.js.map +1 -0
- package/dist/tools/releases.d.ts +495 -0
- package/dist/tools/releases.d.ts.map +1 -0
- package/dist/tools/releases.js +551 -0
- package/dist/tools/releases.js.map +1 -0
- package/dist/tools/repositories.d.ts +513 -0
- package/dist/tools/repositories.d.ts.map +1 -0
- package/dist/tools/repositories.js +634 -0
- package/dist/tools/repositories.js.map +1 -0
- package/dist/tools/security.d.ts +341 -0
- package/dist/tools/security.d.ts.map +1 -0
- package/dist/tools/security.js +394 -0
- package/dist/tools/security.js.map +1 -0
- package/dist/tools/tags.d.ts +419 -0
- package/dist/tools/tags.d.ts.map +1 -0
- package/dist/tools/tags.js +479 -0
- package/dist/tools/tags.js.map +1 -0
- package/dist/tools/users.d.ts +376 -0
- package/dist/tools/users.d.ts.map +1 -0
- package/dist/tools/users.js +495 -0
- package/dist/tools/users.js.map +1 -0
- package/dist/tools/validator.d.ts +192 -0
- package/dist/tools/validator.d.ts.map +1 -0
- package/dist/tools/validator.js +198 -0
- package/dist/tools/validator.js.map +1 -0
- package/dist/tools/version-control.d.ts +247 -0
- package/dist/tools/version-control.d.ts.map +1 -0
- package/dist/tools/version-control.js +521 -0
- package/dist/tools/version-control.js.map +1 -0
- package/dist/tools/webhooks.d.ts +478 -0
- package/dist/tools/webhooks.d.ts.map +1 -0
- package/dist/tools/webhooks.js +541 -0
- package/dist/tools/webhooks.js.map +1 -0
- package/dist/tools/workflows.d.ts +313 -0
- package/dist/tools/workflows.d.ts.map +1 -0
- package/dist/tools/workflows.js +430 -0
- package/dist/tools/workflows.js.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { VcsOperations } from '../providers/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Tool: security
|
|
5
|
+
*
|
|
6
|
+
* DESCRIÇÃO:
|
|
7
|
+
* Gerenciamento completo de segurança e compliance com múltiplas ações
|
|
8
|
+
*
|
|
9
|
+
* FUNCIONALIDADES:
|
|
10
|
+
* - Execução de scans de segurança
|
|
11
|
+
* - Listagem de vulnerabilidades
|
|
12
|
+
* - Gerenciamento de alertas de segurança
|
|
13
|
+
* - Configuração de políticas de segurança
|
|
14
|
+
* - Verificação de compliance
|
|
15
|
+
* - Análise de dependências
|
|
16
|
+
*
|
|
17
|
+
* USO:
|
|
18
|
+
* - Para monitorar vulnerabilidades
|
|
19
|
+
* - Para configurar políticas de segurança
|
|
20
|
+
* - Para compliance e auditoria
|
|
21
|
+
* - Para análise de dependências
|
|
22
|
+
*
|
|
23
|
+
* RECOMENDAÇÕES:
|
|
24
|
+
* - Execute scans regularmente
|
|
25
|
+
* - Configure alertas automáticos
|
|
26
|
+
* - Mantenha dependências atualizadas
|
|
27
|
+
* - Implemente políticas rigorosas
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Schema de validação para entrada da tool security
|
|
31
|
+
*/
|
|
32
|
+
declare const SecurityInputSchema: z.ZodEffects<z.ZodObject<{
|
|
33
|
+
action: z.ZodEnum<["scan", "vulnerabilities", "alerts", "policies", "compliance", "dependencies", "advisories"]>;
|
|
34
|
+
owner: z.ZodString;
|
|
35
|
+
repo: z.ZodString;
|
|
36
|
+
provider: z.ZodOptional<z.ZodEnum<["gitea", "github", "both"]>>;
|
|
37
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
scan_type: z.ZodOptional<z.ZodEnum<["code", "dependencies", "secrets", "infrastructure"]>>;
|
|
40
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
41
|
+
severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
42
|
+
state: z.ZodOptional<z.ZodEnum<["open", "fixed", "dismissed"]>>;
|
|
43
|
+
ecosystem: z.ZodOptional<z.ZodString>;
|
|
44
|
+
package_name: z.ZodOptional<z.ZodString>;
|
|
45
|
+
alert_id: z.ZodOptional<z.ZodString>;
|
|
46
|
+
alert_number: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
dismiss_reason: z.ZodOptional<z.ZodEnum<["fix_started", "inaccurate", "no_bandwidth", "not_used", "tolerable_risk"]>>;
|
|
48
|
+
dismiss_comment: z.ZodOptional<z.ZodString>;
|
|
49
|
+
policy_name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
policy_type: z.ZodOptional<z.ZodEnum<["branch_protection", "required_reviews", "status_checks", "restrictions"]>>;
|
|
51
|
+
policy_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
52
|
+
compliance_framework: z.ZodOptional<z.ZodEnum<["sox", "pci", "hipaa", "gdpr", "iso27001"]>>;
|
|
53
|
+
report_format: z.ZodOptional<z.ZodEnum<["json", "csv", "pdf"]>>;
|
|
54
|
+
created_after: z.ZodOptional<z.ZodString>;
|
|
55
|
+
created_before: z.ZodOptional<z.ZodString>;
|
|
56
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
57
|
+
updated_before: z.ZodOptional<z.ZodString>;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
owner: string;
|
|
60
|
+
repo: string;
|
|
61
|
+
action: "scan" | "vulnerabilities" | "alerts" | "policies" | "compliance" | "dependencies" | "advisories";
|
|
62
|
+
provider?: "gitea" | "github" | "both" | undefined;
|
|
63
|
+
state?: "open" | "fixed" | "dismissed" | undefined;
|
|
64
|
+
ref?: string | undefined;
|
|
65
|
+
page?: number | undefined;
|
|
66
|
+
limit?: number | undefined;
|
|
67
|
+
created_after?: string | undefined;
|
|
68
|
+
created_before?: string | undefined;
|
|
69
|
+
scan_type?: "code" | "secrets" | "dependencies" | "infrastructure" | undefined;
|
|
70
|
+
severity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
71
|
+
ecosystem?: string | undefined;
|
|
72
|
+
package_name?: string | undefined;
|
|
73
|
+
alert_id?: string | undefined;
|
|
74
|
+
alert_number?: number | undefined;
|
|
75
|
+
dismiss_reason?: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | undefined;
|
|
76
|
+
dismiss_comment?: string | undefined;
|
|
77
|
+
policy_name?: string | undefined;
|
|
78
|
+
policy_type?: "branch_protection" | "required_reviews" | "status_checks" | "restrictions" | undefined;
|
|
79
|
+
policy_config?: Record<string, any> | undefined;
|
|
80
|
+
compliance_framework?: "sox" | "pci" | "hipaa" | "gdpr" | "iso27001" | undefined;
|
|
81
|
+
report_format?: "json" | "csv" | "pdf" | undefined;
|
|
82
|
+
updated_after?: string | undefined;
|
|
83
|
+
updated_before?: string | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
owner: string;
|
|
86
|
+
repo: string;
|
|
87
|
+
action: "scan" | "vulnerabilities" | "alerts" | "policies" | "compliance" | "dependencies" | "advisories";
|
|
88
|
+
provider?: "gitea" | "github" | "both" | undefined;
|
|
89
|
+
state?: "open" | "fixed" | "dismissed" | undefined;
|
|
90
|
+
ref?: string | undefined;
|
|
91
|
+
page?: number | undefined;
|
|
92
|
+
limit?: number | undefined;
|
|
93
|
+
created_after?: string | undefined;
|
|
94
|
+
created_before?: string | undefined;
|
|
95
|
+
scan_type?: "code" | "secrets" | "dependencies" | "infrastructure" | undefined;
|
|
96
|
+
severity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
97
|
+
ecosystem?: string | undefined;
|
|
98
|
+
package_name?: string | undefined;
|
|
99
|
+
alert_id?: string | undefined;
|
|
100
|
+
alert_number?: number | undefined;
|
|
101
|
+
dismiss_reason?: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | undefined;
|
|
102
|
+
dismiss_comment?: string | undefined;
|
|
103
|
+
policy_name?: string | undefined;
|
|
104
|
+
policy_type?: "branch_protection" | "required_reviews" | "status_checks" | "restrictions" | undefined;
|
|
105
|
+
policy_config?: Record<string, any> | undefined;
|
|
106
|
+
compliance_framework?: "sox" | "pci" | "hipaa" | "gdpr" | "iso27001" | undefined;
|
|
107
|
+
report_format?: "json" | "csv" | "pdf" | undefined;
|
|
108
|
+
updated_after?: string | undefined;
|
|
109
|
+
updated_before?: string | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
owner: string;
|
|
112
|
+
repo: string;
|
|
113
|
+
action: "scan" | "vulnerabilities" | "alerts" | "policies" | "compliance" | "dependencies" | "advisories";
|
|
114
|
+
provider?: "gitea" | "github" | "both" | undefined;
|
|
115
|
+
state?: "open" | "fixed" | "dismissed" | undefined;
|
|
116
|
+
ref?: string | undefined;
|
|
117
|
+
page?: number | undefined;
|
|
118
|
+
limit?: number | undefined;
|
|
119
|
+
created_after?: string | undefined;
|
|
120
|
+
created_before?: string | undefined;
|
|
121
|
+
scan_type?: "code" | "secrets" | "dependencies" | "infrastructure" | undefined;
|
|
122
|
+
severity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
123
|
+
ecosystem?: string | undefined;
|
|
124
|
+
package_name?: string | undefined;
|
|
125
|
+
alert_id?: string | undefined;
|
|
126
|
+
alert_number?: number | undefined;
|
|
127
|
+
dismiss_reason?: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | undefined;
|
|
128
|
+
dismiss_comment?: string | undefined;
|
|
129
|
+
policy_name?: string | undefined;
|
|
130
|
+
policy_type?: "branch_protection" | "required_reviews" | "status_checks" | "restrictions" | undefined;
|
|
131
|
+
policy_config?: Record<string, any> | undefined;
|
|
132
|
+
compliance_framework?: "sox" | "pci" | "hipaa" | "gdpr" | "iso27001" | undefined;
|
|
133
|
+
report_format?: "json" | "csv" | "pdf" | undefined;
|
|
134
|
+
updated_after?: string | undefined;
|
|
135
|
+
updated_before?: string | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
owner: string;
|
|
138
|
+
repo: string;
|
|
139
|
+
action: "scan" | "vulnerabilities" | "alerts" | "policies" | "compliance" | "dependencies" | "advisories";
|
|
140
|
+
provider?: "gitea" | "github" | "both" | undefined;
|
|
141
|
+
state?: "open" | "fixed" | "dismissed" | undefined;
|
|
142
|
+
ref?: string | undefined;
|
|
143
|
+
page?: number | undefined;
|
|
144
|
+
limit?: number | undefined;
|
|
145
|
+
created_after?: string | undefined;
|
|
146
|
+
created_before?: string | undefined;
|
|
147
|
+
scan_type?: "code" | "secrets" | "dependencies" | "infrastructure" | undefined;
|
|
148
|
+
severity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
149
|
+
ecosystem?: string | undefined;
|
|
150
|
+
package_name?: string | undefined;
|
|
151
|
+
alert_id?: string | undefined;
|
|
152
|
+
alert_number?: number | undefined;
|
|
153
|
+
dismiss_reason?: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | undefined;
|
|
154
|
+
dismiss_comment?: string | undefined;
|
|
155
|
+
policy_name?: string | undefined;
|
|
156
|
+
policy_type?: "branch_protection" | "required_reviews" | "status_checks" | "restrictions" | undefined;
|
|
157
|
+
policy_config?: Record<string, any> | undefined;
|
|
158
|
+
compliance_framework?: "sox" | "pci" | "hipaa" | "gdpr" | "iso27001" | undefined;
|
|
159
|
+
report_format?: "json" | "csv" | "pdf" | undefined;
|
|
160
|
+
updated_after?: string | undefined;
|
|
161
|
+
updated_before?: string | undefined;
|
|
162
|
+
}>;
|
|
163
|
+
export type SecurityInput = z.infer<typeof SecurityInputSchema>;
|
|
164
|
+
/**
|
|
165
|
+
* Schema de validação para resultado da tool security
|
|
166
|
+
*/
|
|
167
|
+
declare const SecurityResultSchema: z.ZodObject<{
|
|
168
|
+
success: z.ZodBoolean;
|
|
169
|
+
action: z.ZodString;
|
|
170
|
+
message: z.ZodString;
|
|
171
|
+
data: z.ZodOptional<z.ZodAny>;
|
|
172
|
+
error: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
message: string;
|
|
175
|
+
action: string;
|
|
176
|
+
success: boolean;
|
|
177
|
+
error?: string | undefined;
|
|
178
|
+
data?: any;
|
|
179
|
+
}, {
|
|
180
|
+
message: string;
|
|
181
|
+
action: string;
|
|
182
|
+
success: boolean;
|
|
183
|
+
error?: string | undefined;
|
|
184
|
+
data?: any;
|
|
185
|
+
}>;
|
|
186
|
+
export type SecurityResult = z.infer<typeof SecurityResultSchema>;
|
|
187
|
+
/**
|
|
188
|
+
* Implementação da tool security
|
|
189
|
+
*/
|
|
190
|
+
export declare const securityTool: {
|
|
191
|
+
name: string;
|
|
192
|
+
description: string;
|
|
193
|
+
inputSchema: {
|
|
194
|
+
type: string;
|
|
195
|
+
properties: {
|
|
196
|
+
action: {
|
|
197
|
+
type: string;
|
|
198
|
+
enum: string[];
|
|
199
|
+
description: string;
|
|
200
|
+
};
|
|
201
|
+
owner: {
|
|
202
|
+
type: string;
|
|
203
|
+
description: string;
|
|
204
|
+
};
|
|
205
|
+
repo: {
|
|
206
|
+
type: string;
|
|
207
|
+
description: string;
|
|
208
|
+
};
|
|
209
|
+
provider: {
|
|
210
|
+
type: string;
|
|
211
|
+
description: string;
|
|
212
|
+
};
|
|
213
|
+
scan_type: {
|
|
214
|
+
type: string;
|
|
215
|
+
enum: string[];
|
|
216
|
+
description: string;
|
|
217
|
+
};
|
|
218
|
+
ref: {
|
|
219
|
+
type: string;
|
|
220
|
+
description: string;
|
|
221
|
+
};
|
|
222
|
+
severity: {
|
|
223
|
+
type: string;
|
|
224
|
+
enum: string[];
|
|
225
|
+
description: string;
|
|
226
|
+
};
|
|
227
|
+
state: {
|
|
228
|
+
type: string;
|
|
229
|
+
enum: string[];
|
|
230
|
+
description: string;
|
|
231
|
+
};
|
|
232
|
+
ecosystem: {
|
|
233
|
+
type: string;
|
|
234
|
+
description: string;
|
|
235
|
+
};
|
|
236
|
+
package_name: {
|
|
237
|
+
type: string;
|
|
238
|
+
description: string;
|
|
239
|
+
};
|
|
240
|
+
alert_id: {
|
|
241
|
+
type: string;
|
|
242
|
+
description: string;
|
|
243
|
+
};
|
|
244
|
+
alert_number: {
|
|
245
|
+
type: string;
|
|
246
|
+
description: string;
|
|
247
|
+
};
|
|
248
|
+
dismiss_reason: {
|
|
249
|
+
type: string;
|
|
250
|
+
enum: string[];
|
|
251
|
+
description: string;
|
|
252
|
+
};
|
|
253
|
+
dismiss_comment: {
|
|
254
|
+
type: string;
|
|
255
|
+
description: string;
|
|
256
|
+
};
|
|
257
|
+
policy_name: {
|
|
258
|
+
type: string;
|
|
259
|
+
description: string;
|
|
260
|
+
};
|
|
261
|
+
policy_type: {
|
|
262
|
+
type: string;
|
|
263
|
+
enum: string[];
|
|
264
|
+
description: string;
|
|
265
|
+
};
|
|
266
|
+
policy_config: {
|
|
267
|
+
type: string;
|
|
268
|
+
description: string;
|
|
269
|
+
};
|
|
270
|
+
compliance_framework: {
|
|
271
|
+
type: string;
|
|
272
|
+
enum: string[];
|
|
273
|
+
description: string;
|
|
274
|
+
};
|
|
275
|
+
report_format: {
|
|
276
|
+
type: string;
|
|
277
|
+
enum: string[];
|
|
278
|
+
description: string;
|
|
279
|
+
};
|
|
280
|
+
created_after: {
|
|
281
|
+
type: string;
|
|
282
|
+
description: string;
|
|
283
|
+
};
|
|
284
|
+
created_before: {
|
|
285
|
+
type: string;
|
|
286
|
+
description: string;
|
|
287
|
+
};
|
|
288
|
+
updated_after: {
|
|
289
|
+
type: string;
|
|
290
|
+
description: string;
|
|
291
|
+
};
|
|
292
|
+
updated_before: {
|
|
293
|
+
type: string;
|
|
294
|
+
description: string;
|
|
295
|
+
};
|
|
296
|
+
page: {
|
|
297
|
+
type: string;
|
|
298
|
+
description: string;
|
|
299
|
+
minimum: number;
|
|
300
|
+
};
|
|
301
|
+
limit: {
|
|
302
|
+
type: string;
|
|
303
|
+
description: string;
|
|
304
|
+
minimum: number;
|
|
305
|
+
maximum: number;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
required: string[];
|
|
309
|
+
};
|
|
310
|
+
handler(input: SecurityInput): Promise<SecurityResult>;
|
|
311
|
+
/**
|
|
312
|
+
* Executa scan de segurança
|
|
313
|
+
*/
|
|
314
|
+
runSecurityScan(params: SecurityInput, provider: VcsOperations): Promise<SecurityResult>;
|
|
315
|
+
/**
|
|
316
|
+
* Lista vulnerabilidades
|
|
317
|
+
*/
|
|
318
|
+
listVulnerabilities(params: SecurityInput, provider: VcsOperations): Promise<SecurityResult>;
|
|
319
|
+
/**
|
|
320
|
+
* Gerencia alertas de segurança
|
|
321
|
+
*/
|
|
322
|
+
manageSecurityAlerts(params: SecurityInput, provider: VcsOperations): Promise<SecurityResult>;
|
|
323
|
+
/**
|
|
324
|
+
* Gerencia políticas de segurança
|
|
325
|
+
*/
|
|
326
|
+
manageSecurityPolicies(params: SecurityInput, provider: VcsOperations): Promise<SecurityResult>;
|
|
327
|
+
/**
|
|
328
|
+
* Verifica compliance
|
|
329
|
+
*/
|
|
330
|
+
checkCompliance(params: SecurityInput, provider: VcsOperations): Promise<SecurityResult>;
|
|
331
|
+
/**
|
|
332
|
+
* Analisa dependências
|
|
333
|
+
*/
|
|
334
|
+
analyzeDependencies(params: SecurityInput, provider: VcsOperations): Promise<SecurityResult>;
|
|
335
|
+
/**
|
|
336
|
+
* Lista advisories de segurança
|
|
337
|
+
*/
|
|
338
|
+
listSecurityAdvisories(params: SecurityInput, provider: VcsOperations): Promise<SecurityResult>;
|
|
339
|
+
};
|
|
340
|
+
export {};
|
|
341
|
+
//# sourceMappingURL=security.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/tools/security.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAyB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAG7E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;GAEG;AACH,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDvB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAMxB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAuCF,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAuC5D;;OAEG;4BAC2B,aAAa,YAAY,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IA6B9F;;OAEG;gCAC+B,aAAa,YAAY,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAiClG;;OAEG;iCACgC,aAAa,YAAY,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAkCnG;;OAEG;mCACkC,aAAa,YAAY,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAgCrG;;OAEG;4BAC2B,aAAa,YAAY,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IA6B9F;;OAEG;gCAC+B,aAAa,YAAY,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IA8BlG;;OAEG;mCACkC,aAAa,YAAY,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;CA+BtG,CAAC"}
|