|
132 | 132 | ],
|
133 | 133 | "description": "High level categorization indicating the cause of the error"
|
134 | 134 | },
|
| 135 | + { |
| 136 | + "name": "cfnParameterFileUsed", |
| 137 | + "type": "boolean", |
| 138 | + "description": "Boolean value of whether or not a Cfn parameter file is provided." |
| 139 | + }, |
| 140 | + { |
| 141 | + "name": "checkType", |
| 142 | + "type": "string", |
| 143 | + "allowedValues": [ |
| 144 | + "CheckNoNewAccess", |
| 145 | + "CheckAccessNotGranted" |
| 146 | + ], |
| 147 | + "description": "User inputted check type to denote which custom check to run." |
| 148 | + }, |
135 | 149 | {
|
136 | 150 | "name": "cloudWatchLogsPresentation",
|
137 | 151 | "allowedValues": [
|
|
837 | 851 | "type": "string",
|
838 | 852 | "description": "The id of the detector which produced the code scan issue"
|
839 | 853 | },
|
| 854 | + { |
| 855 | + "name": "documentType", |
| 856 | + "type": "string", |
| 857 | + "allowedValues": [ |
| 858 | + "CloudFormation", |
| 859 | + "Terraform Plan", |
| 860 | + "JSON Policy Language" |
| 861 | + ], |
| 862 | + "description": "Document type of the edited file in IAM Policy Checks" |
| 863 | + }, |
840 | 864 | {
|
841 | 865 | "name": "duration",
|
842 | 866 | "type": "double",
|
|
989 | 1013 | "type": "string",
|
990 | 1014 | "description": "The id of a security finding from a code scan"
|
991 | 1015 | },
|
| 1016 | + { |
| 1017 | + "name": "findingsCount", |
| 1018 | + "type": "int", |
| 1019 | + "description": "Number of findings discovered after executing IAM Policy Checks" |
| 1020 | + }, |
992 | 1021 | {
|
993 | 1022 | "name": "framework",
|
994 | 1023 | "type": "string",
|
|
1038 | 1067 | "type": "boolean",
|
1039 | 1068 | "description": "Whether or not the deploy targets a new destination (true) or an existing destination (false)"
|
1040 | 1069 | },
|
| 1070 | + { |
| 1071 | + "name": "inputPolicyType", |
| 1072 | + "type": "string", |
| 1073 | + "allowedValues": [ |
| 1074 | + "Identity", |
| 1075 | + "Resource", |
| 1076 | + "None" |
| 1077 | + ], |
| 1078 | + "description": "User inputted policy type of the edited file. Applicable to only JSON Policy Language." |
| 1079 | + }, |
1041 | 1080 | {
|
1042 | 1081 | "name": "insightsDialogOpenSource",
|
1043 | 1082 | "allowedValues": [
|
|
1139 | 1178 | "type": "string",
|
1140 | 1179 | "description": "The reason for a metric or exception depending on context. It describes a certain theme of errors usually the exception class name eg. FileIOException"
|
1141 | 1180 | },
|
| 1181 | + { |
| 1182 | + "name": "referencePolicyType", |
| 1183 | + "type": "string", |
| 1184 | + "allowedValues": [ |
| 1185 | + "Identity", |
| 1186 | + "Resource", |
| 1187 | + "None" |
| 1188 | + ], |
| 1189 | + "description": "User inputted policy type of the reference file. Applicable to only CheckNoNewAccess check type." |
| 1190 | + }, |
1142 | 1191 | {
|
1143 | 1192 | "name": "requestId",
|
1144 | 1193 | "type": "string",
|
|
1324 | 1373 | }
|
1325 | 1374 | ],
|
1326 | 1375 | "metrics": [
|
| 1376 | + { |
| 1377 | + "name": "accessanalyzer_iamPolicyChecksCustomChecks", |
| 1378 | + "description": "Execution of Custom Policy Checks in IAM Policy Checks", |
| 1379 | + "metadata": [ |
| 1380 | + { |
| 1381 | + "type": "cfnParameterFileUsed" |
| 1382 | + }, |
| 1383 | + { |
| 1384 | + "type": "checkType" |
| 1385 | + }, |
| 1386 | + { |
| 1387 | + "type": "documentType" |
| 1388 | + }, |
| 1389 | + { |
| 1390 | + "type": "findingsCount" |
| 1391 | + }, |
| 1392 | + { |
| 1393 | + "type": "inputPolicyType" |
| 1394 | + }, |
| 1395 | + { |
| 1396 | + "type": "reason", |
| 1397 | + "required": false |
| 1398 | + }, |
| 1399 | + { |
| 1400 | + "type": "referencePolicyType" |
| 1401 | + }, |
| 1402 | + { |
| 1403 | + "type": "result" |
| 1404 | + } |
| 1405 | + ] |
| 1406 | + }, |
| 1407 | + { |
| 1408 | + "name": "accessanalyzer_iamPolicyChecksValidatePolicy", |
| 1409 | + "description": "Execution of Validate Policy in IAM Policy Checks", |
| 1410 | + "metadata": [ |
| 1411 | + { |
| 1412 | + "type": "cfnParameterFileUsed" |
| 1413 | + }, |
| 1414 | + { |
| 1415 | + "type": "documentType" |
| 1416 | + }, |
| 1417 | + { |
| 1418 | + "type": "findingsCount" |
| 1419 | + }, |
| 1420 | + { |
| 1421 | + "type": "inputPolicyType" |
| 1422 | + }, |
| 1423 | + { |
| 1424 | + "type": "reason", |
| 1425 | + "required": false |
| 1426 | + }, |
| 1427 | + { |
| 1428 | + "type": "result" |
| 1429 | + } |
| 1430 | + ] |
| 1431 | + }, |
1327 | 1432 | {
|
1328 | 1433 | "name": "amazonq_approachInvoke",
|
1329 | 1434 | "description": "Captures Approach generation process",
|
|
0 commit comments