|
554 | 554 | "description": "The scope of the security scan being performed", |
555 | 555 | "allowedValues": [ |
556 | 556 | "FILE", |
| 557 | + "FILE_AUTO", |
| 558 | + "FILE_ON_DEMAND", |
557 | 559 | "PROJECT" |
558 | 560 | ] |
559 | 561 | }, |
|
885 | 887 | "infobar", |
886 | 888 | "hover", |
887 | 889 | "webview", |
888 | | - "quickfix" |
| 890 | + "quickfix", |
| 891 | + "tree" |
889 | 892 | ], |
890 | 893 | "description": "The IDE or OS component used for the action. (Examples: S3 download to filesystem, S3 upload from editor, ...). See also `featureId` for specific feature names, `module` for low-level modules, and `resourceType`." |
891 | 894 | }, |
|
4395 | 4398 | } |
4396 | 4399 | ] |
4397 | 4400 | }, |
| 4401 | + { |
| 4402 | + "name": "codewhisperer_codeScanIssueIgnore", |
| 4403 | + "description": "Called when a code scan issue is ignored", |
| 4404 | + "metadata": [ |
| 4405 | + { |
| 4406 | + "type": "component" |
| 4407 | + }, |
| 4408 | + { |
| 4409 | + "type": "credentialStartUrl", |
| 4410 | + "required": false |
| 4411 | + }, |
| 4412 | + { |
| 4413 | + "type": "detectorId" |
| 4414 | + }, |
| 4415 | + { |
| 4416 | + "type": "findingId" |
| 4417 | + }, |
| 4418 | + { |
| 4419 | + "type": "ruleId", |
| 4420 | + "required": false |
| 4421 | + } |
| 4422 | + ] |
| 4423 | + }, |
| 4424 | + { |
| 4425 | + "name": "codewhisperer_codeScanIssueIgnoreAll", |
| 4426 | + "description": "Called when all code scan issues of a specific type are ignored", |
| 4427 | + "metadata": [ |
| 4428 | + { |
| 4429 | + "type": "component" |
| 4430 | + }, |
| 4431 | + { |
| 4432 | + "type": "credentialStartUrl", |
| 4433 | + "required": false |
| 4434 | + }, |
| 4435 | + { |
| 4436 | + "type": "detectorId" |
| 4437 | + }, |
| 4438 | + { |
| 4439 | + "type": "findingId" |
| 4440 | + }, |
| 4441 | + { |
| 4442 | + "type": "ruleId", |
| 4443 | + "required": false |
| 4444 | + } |
| 4445 | + ] |
| 4446 | + }, |
| 4447 | + { |
| 4448 | + "name": "codewhisperer_codeScanIssueGenerateFix", |
| 4449 | + "description": "Called when a code scan issue fix is generated", |
| 4450 | + "metadata": [ |
| 4451 | + { |
| 4452 | + "type": "component" |
| 4453 | + }, |
| 4454 | + { |
| 4455 | + "type": "credentialStartUrl", |
| 4456 | + "required": false |
| 4457 | + }, |
| 4458 | + { |
| 4459 | + "type": "detectorId" |
| 4460 | + }, |
| 4461 | + { |
| 4462 | + "type": "findingId" |
| 4463 | + }, |
| 4464 | + { |
| 4465 | + "type": "ruleId", |
| 4466 | + "required": false |
| 4467 | + }, |
| 4468 | + { |
| 4469 | + "type": "reason", |
| 4470 | + "required": false |
| 4471 | + }, |
| 4472 | + { |
| 4473 | + "type": "result", |
| 4474 | + "required": true |
| 4475 | + } |
| 4476 | + ] |
| 4477 | + }, |
| 4478 | + { |
| 4479 | + "name": "codewhisperer_codeScanIssueRegenerateFix", |
| 4480 | + "description": "Called when a code scan issue fix is regenerated", |
| 4481 | + "metadata": [ |
| 4482 | + { |
| 4483 | + "type": "component" |
| 4484 | + }, |
| 4485 | + { |
| 4486 | + "type": "credentialStartUrl", |
| 4487 | + "required": false |
| 4488 | + }, |
| 4489 | + { |
| 4490 | + "type": "detectorId" |
| 4491 | + }, |
| 4492 | + { |
| 4493 | + "type": "findingId" |
| 4494 | + }, |
| 4495 | + { |
| 4496 | + "type": "ruleId", |
| 4497 | + "required": false |
| 4498 | + }, |
| 4499 | + { |
| 4500 | + "type": "reason", |
| 4501 | + "required": false |
| 4502 | + }, |
| 4503 | + { |
| 4504 | + "type": "result", |
| 4505 | + "required": true |
| 4506 | + } |
| 4507 | + ] |
| 4508 | + }, |
| 4509 | + { |
| 4510 | + "name": "codewhisperer_codeScanChatNewTab", |
| 4511 | + "description": "Called when a new chat tab is opened in the code scan view", |
| 4512 | + "metadata": [ |
| 4513 | + { |
| 4514 | + "type": "codeScanSessionId", |
| 4515 | + "required": false |
| 4516 | + }, |
| 4517 | + { |
| 4518 | + "type": "credentialSourceId", |
| 4519 | + "required": false |
| 4520 | + }, |
| 4521 | + { |
| 4522 | + "type": "reason", |
| 4523 | + "required": false |
| 4524 | + }, |
| 4525 | + { |
| 4526 | + "type": "result", |
| 4527 | + "required": true |
| 4528 | + } |
| 4529 | + ] |
| 4530 | + }, |
| 4531 | + { |
| 4532 | + "name": "codewhisperer_codeScanChatProjectScan", |
| 4533 | + "description": "Called when project scan is selected from chat", |
| 4534 | + "metadata": [ |
| 4535 | + { |
| 4536 | + "type": "codeScanSessionId", |
| 4537 | + "required": false |
| 4538 | + }, |
| 4539 | + { |
| 4540 | + "type": "credentialSourceId", |
| 4541 | + "required": false |
| 4542 | + }, |
| 4543 | + { |
| 4544 | + "type": "reason", |
| 4545 | + "required": false |
| 4546 | + }, |
| 4547 | + { |
| 4548 | + "type": "result", |
| 4549 | + "required": true |
| 4550 | + } |
| 4551 | + ] |
| 4552 | + }, |
| 4553 | + { |
| 4554 | + "name": "codewhisperer_codeScanChatFileScan", |
| 4555 | + "description": "Called when file scan is selected from chat", |
| 4556 | + "metadata": [ |
| 4557 | + { |
| 4558 | + "type": "codeScanSessionId", |
| 4559 | + "required": false |
| 4560 | + }, |
| 4561 | + { |
| 4562 | + "type": "credentialSourceId", |
| 4563 | + "required": false |
| 4564 | + }, |
| 4565 | + { |
| 4566 | + "type": "reason", |
| 4567 | + "required": false |
| 4568 | + }, |
| 4569 | + { |
| 4570 | + "type": "result", |
| 4571 | + "required": true |
| 4572 | + } |
| 4573 | + ] |
| 4574 | + }, |
4398 | 4575 | { |
4399 | 4576 | "name": "codewhisperer_enabled", |
4400 | 4577 | "description": "Whether or not CodeWhisperer is enabled", |
|
0 commit comments