1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Contains information on the current access control policies for the bucket.
type AccessControlList struct {
// A value that indicates whether public read access for the bucket is enabled
// through an Access Control List (ACL).
AllowsPublicReadAccess bool
// A value that indicates whether public write access for the bucket is enabled
// through an Access Control List (ACL).
AllowsPublicWriteAccess bool
noSmithyDocumentSerde
}
// Contains information about the access keys.
type AccessKeyDetails struct {
// The access key ID of the user.
AccessKeyId *string
// The principal ID of the user.
PrincipalId *string
// The name of the user.
UserName *string
// The type of the user.
UserType *string
noSmithyDocumentSerde
}
// Contains information about the account.
type AccountDetail struct {
// The member account ID.
//
// This member is required.
AccountId *string
// The email address of the member account.
//
// This member is required.
Email *string
noSmithyDocumentSerde
}
// Provides details of the GuardDuty member account that uses a free trial service.
type AccountFreeTrialInfo struct {
// The account identifier of the GuardDuty member account.
AccountId *string
// Describes the data source enabled for the GuardDuty member account.
DataSources *DataSourcesFreeTrial
noSmithyDocumentSerde
}
// Contains information about the account level permissions on the S3 bucket.
type AccountLevelPermissions struct {
// Describes the S3 Block Public Access settings of the bucket's parent account.
BlockPublicAccess *BlockPublicAccess
noSmithyDocumentSerde
}
// Contains information about actions.
type Action struct {
// The GuardDuty finding activity type.
ActionType *string
// Information about the AWS_API_CALL action described in this finding.
AwsApiCallAction *AwsApiCallAction
// Information about the DNS_REQUEST action described in this finding.
DnsRequestAction *DnsRequestAction
// Information about the Kubernetes API call action described in this finding.
KubernetesApiCallAction *KubernetesApiCallAction
// Information about the NETWORK_CONNECTION action described in this finding.
NetworkConnectionAction *NetworkConnectionAction
// Information about the PORT_PROBE action described in this finding.
PortProbeAction *PortProbeAction
noSmithyDocumentSerde
}
// The account within the organization specified as the GuardDuty delegated
// administrator.
type AdminAccount struct {
// The Amazon Web Services account ID for the account.
AdminAccountId *string
// Indicates whether the account is enabled as the delegated administrator.
AdminStatus AdminStatus
noSmithyDocumentSerde
}
// Contains information about the administrator account and invitation.
type Administrator struct {
// The ID of the account used as the administrator account.
AccountId *string
// The value that is used to validate the administrator account to the member
// account.
InvitationId *string
// The timestamp when the invitation was sent.
InvitedAt *string
// The status of the relationship between the administrator and member accounts.
RelationshipStatus *string
noSmithyDocumentSerde
}
// Contains information about the API action.
type AwsApiCallAction struct {
// The details of the Amazon Web Services account that made the API call. This
// field identifies the resources that were affected by this API call.
AffectedResources map[string]string
// The Amazon Web Services API name.
Api *string
// The Amazon Web Services API caller type.
CallerType *string
// The domain information for the Amazon Web Services API call.
DomainDetails *DomainDetails
// The error code of the failed Amazon Web Services API action.
ErrorCode *string
// The details of the Amazon Web Services account that made the API call. This
// field appears if the call was made from outside your account.
RemoteAccountDetails *RemoteAccountDetails
// The remote IP information of the connection that initiated the Amazon Web
// Services API call.
RemoteIpDetails *RemoteIpDetails
// The Amazon Web Services service name whose API was invoked.
ServiceName *string
// The agent through which the API request was made.
UserAgent *string
noSmithyDocumentSerde
}
// Contains information on how the bucker owner's S3 Block Public Access settings
// are being applied to the S3 bucket. See S3 Block Public Access
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
// for more information.
type BlockPublicAccess struct {
// Indicates if S3 Block Public Access is set to BlockPublicAcls.
BlockPublicAcls bool
// Indicates if S3 Block Public Access is set to BlockPublicPolicy.
BlockPublicPolicy bool
// Indicates if S3 Block Public Access is set to IgnorePublicAcls.
IgnorePublicAcls bool
// Indicates if S3 Block Public Access is set to RestrictPublicBuckets.
RestrictPublicBuckets bool
noSmithyDocumentSerde
}
// Contains information about the bucket level permissions for the S3 bucket.
type BucketLevelPermissions struct {
// Contains information on how Access Control Policies are applied to the bucket.
AccessControlList *AccessControlList
// Contains information on which account level S3 Block Public Access settings are
// applied to the S3 bucket.
BlockPublicAccess *BlockPublicAccess
// Contains information on the bucket policies for the S3 bucket.
BucketPolicy *BucketPolicy
noSmithyDocumentSerde
}
// Contains information on the current bucket policies for the S3 bucket.
type BucketPolicy struct {
// A value that indicates whether public read access for the bucket is enabled
// through a bucket policy.
AllowsPublicReadAccess bool
// A value that indicates whether public write access for the bucket is enabled
// through a bucket policy.
AllowsPublicWriteAccess bool
noSmithyDocumentSerde
}
// Contains information about the city associated with the IP address.
type City struct {
// The city name of the remote IP address.
CityName *string
noSmithyDocumentSerde
}
// Contains information on the status of CloudTrail as a data source for the
// detector.
type CloudTrailConfigurationResult struct {
// Describes whether CloudTrail is enabled as a data source for the detector.
//
// This member is required.
Status DataSourceStatus
noSmithyDocumentSerde
}
// Contains information about the condition.
type Condition struct {
// Represents the equal condition to be applied to a single field when querying for
// findings.
//
// Deprecated: This member has been deprecated.
Eq []string
// Represents an equal condition to be applied to a single field when querying for
// findings.
Equals []string
// Represents a greater than condition to be applied to a single field when
// querying for findings.
GreaterThan int64
// Represents a greater than or equal condition to be applied to a single field
// when querying for findings.
GreaterThanOrEqual int64
// Represents a greater than condition to be applied to a single field when
// querying for findings.
//
// Deprecated: This member has been deprecated.
Gt int32
// Represents a greater than or equal condition to be applied to a single field
// when querying for findings.
//
// Deprecated: This member has been deprecated.
Gte int32
// Represents a less than condition to be applied to a single field when querying
// for findings.
LessThan int64
// Represents a less than or equal condition to be applied to a single field when
// querying for findings.
LessThanOrEqual int64
// Represents a less than condition to be applied to a single field when querying
// for findings.
//
// Deprecated: This member has been deprecated.
Lt int32
// Represents a less than or equal condition to be applied to a single field when
// querying for findings.
//
// Deprecated: This member has been deprecated.
Lte int32
// Represents the not equal condition to be applied to a single field when querying
// for findings.
//
// Deprecated: This member has been deprecated.
Neq []string
// Represents a not equal condition to be applied to a single field when querying
// for findings.
NotEquals []string
noSmithyDocumentSerde
}
// Details of a container.
type Container struct {
// The container runtime (such as, Docker or containerd) used to run the container.
ContainerRuntime *string
// Container ID.
Id *string
// Container image.
Image *string
// Part of the image name before the last slash. For example, imagePrefix for
// public.ecr.aws/amazonlinux/amazonlinux:latest would be
// public.ecr.aws/amazonlinux. If the image name is relative and does not have a
// slash, this field is empty.
ImagePrefix *string
// Container name.
Name *string
// Container security context.
SecurityContext *SecurityContext
// Container volume mounts.
VolumeMounts []VolumeMount
noSmithyDocumentSerde
}
// Contains information about the country where the remote IP address is located.
type Country struct {
// The country code of the remote IP address.
CountryCode *string
// The country name of the remote IP address.
CountryName *string
noSmithyDocumentSerde
}
// Contains information about which data sources are enabled.
type DataSourceConfigurations struct {
// Describes whether any Kubernetes logs are enabled as data sources.
Kubernetes *KubernetesConfiguration
// Describes whether Malware Protection is enabled as a data source.
MalwareProtection *MalwareProtectionConfiguration
// Describes whether S3 data event logs are enabled as a data source.
S3Logs *S3LogsConfiguration
noSmithyDocumentSerde
}
// Contains information on the status of data sources for the detector.
type DataSourceConfigurationsResult struct {
// An object that contains information on the status of CloudTrail as a data
// source.
//
// This member is required.
CloudTrail *CloudTrailConfigurationResult
// An object that contains information on the status of DNS logs as a data source.
//
// This member is required.
DNSLogs *DNSLogsConfigurationResult
// An object that contains information on the status of VPC flow logs as a data
// source.
//
// This member is required.
FlowLogs *FlowLogsConfigurationResult
// An object that contains information on the status of S3 Data event logs as a
// data source.
//
// This member is required.
S3Logs *S3LogsConfigurationResult
// An object that contains information on the status of all Kubernetes data
// sources.
Kubernetes *KubernetesConfigurationResult
// Describes the configuration of Malware Protection data sources.
MalwareProtection *MalwareProtectionConfigurationResult
noSmithyDocumentSerde
}
// Contains information about which data sources are enabled for the GuardDuty
// member account.
type DataSourceFreeTrial struct {
// A value that specifies the number of days left to use each enabled data source.
FreeTrialDaysRemaining int32
noSmithyDocumentSerde
}
// Contains information about which data sources are enabled for the GuardDuty
// member account.
type DataSourcesFreeTrial struct {
// Describes whether any Amazon Web Services CloudTrail management event logs are
// enabled as data sources.
CloudTrail *DataSourceFreeTrial
// Describes whether any DNS logs are enabled as data sources.
DnsLogs *DataSourceFreeTrial
// Describes whether any VPC Flow logs are enabled as data sources.
FlowLogs *DataSourceFreeTrial
// Describes whether any Kubernetes logs are enabled as data sources.
Kubernetes *KubernetesDataSourceFreeTrial
// Describes whether Malware Protection is enabled as a data source.
MalwareProtection *MalwareProtectionDataSourceFreeTrial
// Describes whether any S3 data event logs are enabled as data sources.
S3Logs *DataSourceFreeTrial
noSmithyDocumentSerde
}
// Contains information on the server side encryption method used in the S3 bucket.
// See S3 Server-Side Encryption
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) for
// more information.
type DefaultServerSideEncryption struct {
// The type of encryption used for objects within the S3 bucket.
EncryptionType *string
// The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the
// bucket EncryptionType is aws:kms.
KmsMasterKeyArn *string
noSmithyDocumentSerde
}
// Contains information about the publishing destination, including the ID, type,
// and status.
type Destination struct {
// The unique ID of the publishing destination.
//
// This member is required.
DestinationId *string
// The type of resource used for the publishing destination. Currently, only Amazon
// S3 buckets are supported.
//
// This member is required.
DestinationType DestinationType
// The status of the publishing destination.
//
// This member is required.
Status PublishingStatus
noSmithyDocumentSerde
}
// Contains the Amazon Resource Name (ARN) of the resource to publish to, such as
// an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.
type DestinationProperties struct {
// The ARN of the resource to publish to. To specify an S3 bucket folder use the
// following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/
DestinationArn *string
// The ARN of the KMS key to use for encryption.
KmsKeyArn *string
noSmithyDocumentSerde
}
// Contains information on the status of DNS logs as a data source.
type DNSLogsConfigurationResult struct {
// Denotes whether DNS logs is enabled as a data source.
//
// This member is required.
Status DataSourceStatus
noSmithyDocumentSerde
}
// Contains information about the DNS_REQUEST action described in this finding.
type DnsRequestAction struct {
// Indicates whether the targeted port is blocked.
Blocked bool
// The domain information for the API request.
Domain *string
// The network connection protocol observed in the activity that prompted GuardDuty
// to generate the finding.
Protocol *string
noSmithyDocumentSerde
}
// Contains information about the domain.
type DomainDetails struct {
// The domain information for the Amazon Web Services API call.
Domain *string
noSmithyDocumentSerde
}
// Contains list of scanned and skipped EBS volumes with details.
type EbsVolumeDetails struct {
// List of EBS volumes that were scanned.
ScannedVolumeDetails []VolumeDetail
// List of EBS volumes that were skipped from the malware scan.
SkippedVolumeDetails []VolumeDetail
noSmithyDocumentSerde
}
// Contains details from the malware scan that created a finding.
type EbsVolumeScanDetails struct {
// Returns the completion date and time of the malware scan.
ScanCompletedAt *time.Time
// Contains a complete view providing malware scan result details.
ScanDetections *ScanDetections
// Unique Id of the malware scan that generated the finding.
ScanId *string
// Returns the start date and time of the malware scan.
ScanStartedAt *time.Time
// Contains list of threat intelligence sources used to detect threats.
Sources []string
// GuardDuty finding ID that triggered a malware scan.
TriggerFindingId *string
noSmithyDocumentSerde
}
// Describes the configuration of scanning EBS volumes as a data source.
type EbsVolumesResult struct {
// Specifies the reason why scanning EBS volumes (Malware Protection) was not
// enabled as a data source.
Reason *string
// Describes whether scanning EBS volumes is enabled as a data source.
Status DataSourceStatus
noSmithyDocumentSerde
}
// Contains information about the details of the ECS Cluster.
type EcsClusterDetails struct {
// The number of services that are running on the cluster in an ACTIVE state.
ActiveServicesCount int32
// The Amazon Resource Name (ARN) that identifies the cluster.
Arn *string
// The name of the ECS Cluster.
Name *string
// The number of container instances registered into the cluster.
RegisteredContainerInstancesCount int32
// The number of tasks in the cluster that are in the RUNNING state.
RunningTasksCount int32
// The status of the ECS cluster.
Status *string
// The tags of the ECS Cluster.
Tags []Tag
// Contains information about the details of the ECS Task.
TaskDetails *EcsTaskDetails
noSmithyDocumentSerde
}
// Contains information about the task in an ECS cluster.
type EcsTaskDetails struct {
// The Amazon Resource Name (ARN) of the task.
Arn *string
// The containers that's associated with the task.
Containers []Container
// The ARN of the task definition that creates the task.
DefinitionArn *string
// The name of the task group that's associated with the task.
Group *string
// The Unix timestamp for the time when the task started.
StartedAt *time.Time
// Contains the tag specified when a task is started.
StartedBy *string
// The tags of the ECS Task.
Tags []Tag
// The Unix timestamp for the time when the task was created.
TaskCreatedAt *time.Time
// The version counter for the task.
Version *string
// The list of data volume definitions for the task.
Volumes []Volume
noSmithyDocumentSerde
}
// Details about the EKS cluster involved in a Kubernetes finding.
type EksClusterDetails struct {
// EKS cluster ARN.
Arn *string
// The timestamp when the EKS cluster was created.
CreatedAt *time.Time
// EKS cluster name.
Name *string
// The EKS cluster status.
Status *string
// The EKS cluster tags.
Tags []Tag
// The VPC ID to which the EKS cluster is attached.
VpcId *string
noSmithyDocumentSerde
}
// Contains information about the reason that the finding was generated.
type Evidence struct {
// A list of threat intelligence details related to the evidence.
ThreatIntelligenceDetails []ThreatIntelligenceDetail
noSmithyDocumentSerde
}
// Contains information about the condition.
type FilterCondition struct {
// Represents an equal condition to be applied to a single field when querying for
// scan entries.
EqualsValue *string
// Represents a greater than condition to be applied to a single field when
// querying for scan entries.
GreaterThan int64
// Represents a less than condition to be applied to a single field when querying
// for scan entries.
LessThan int64
noSmithyDocumentSerde
}
// Represents the criteria to be used in the filter for describing scan entries.
type FilterCriteria struct {
// Represents a condition that when matched will be added to the response of the
// operation.
FilterCriterion []FilterCriterion
noSmithyDocumentSerde
}
// Represents a condition that when matched will be added to the response of the
// operation. Irrespective of using any filter criteria, an administrator account
// can view the scan entries for all of its member accounts. However, each member
// account can view the scan entries only for their own account.
type FilterCriterion struct {
// An enum value representing possible scan properties to match with given scan
// entries.
CriterionKey CriterionKey
// Contains information about the condition.
FilterCondition *FilterCondition
noSmithyDocumentSerde
}
// Contains information about the finding, which is generated when abnormal or
// suspicious activity is detected.
type Finding struct {
// The ID of the account in which the finding was generated.
//
// This member is required.
AccountId *string
// The ARN of the finding.
//
// This member is required.
Arn *string
// The time and date when the finding was created.
//
// This member is required.
CreatedAt *string
// The ID of the finding.
//
// This member is required.
Id *string
// The Region where the finding was generated.
//
// This member is required.
Region *string
// Contains information about the Amazon Web Services resource associated with the
// activity that prompted GuardDuty to generate a finding.
//
// This member is required.
Resource *Resource
// The version of the schema used for the finding.
//
// This member is required.
SchemaVersion *string
// The severity of the finding.
//
// This member is required.
Severity float64
// The type of finding.
//
// This member is required.
Type *string
// The time and date when the finding was last updated.
//
// This member is required.
UpdatedAt *string
// The confidence score for the finding.
Confidence float64
// The description of the finding.
Description *string
// The partition associated with the finding.
Partition *string
// Contains additional information about the generated finding.
Service *Service
// The title of the finding.
Title *string
noSmithyDocumentSerde
}
// Contains information about the criteria used for querying findings.
type FindingCriteria struct {
// Represents a map of finding properties that match specified conditions and
// values when querying findings.
Criterion map[string]Condition
noSmithyDocumentSerde
}
// Contains information about finding statistics.
type FindingStatistics struct {
// Represents a map of severity to count statistics for a set of findings.
CountBySeverity map[string]int32
noSmithyDocumentSerde
}
// Contains information on the status of VPC flow logs as a data source.
type FlowLogsConfigurationResult struct {
// Denotes whether VPC flow logs is enabled as a data source.
//
// This member is required.
Status DataSourceStatus
noSmithyDocumentSerde
}
// Contains information about the location of the remote IP address.
type GeoLocation struct {
// The latitude information of the remote IP address.
Lat float64
// The longitude information of the remote IP address.
Lon float64
noSmithyDocumentSerde
}
// Contains details of the highest severity threat detected during scan and number
// of infected files.
type HighestSeverityThreatDetails struct {
// Total number of infected files with the highest severity threat detected.
Count int32
// Severity level of the highest severity threat detected.
Severity *string
// Threat name of the highest severity threat detected as part of the malware scan.
ThreatName *string
noSmithyDocumentSerde
}
// Represents a pre-existing file or directory on the host machine that the volume
// maps to.
type HostPath struct {
// Path of the file or directory on the host that the volume maps to.
Path *string
noSmithyDocumentSerde
}
// Contains information about the EC2 instance profile.
type IamInstanceProfile struct {
// The profile ARN of the EC2 instance.
Arn *string
// The profile ID of the EC2 instance.
Id *string
noSmithyDocumentSerde
}
// Contains information about the details of an instance.
type InstanceDetails struct {
// The Availability Zone of the EC2 instance.
AvailabilityZone *string
// The profile information of the EC2 instance.
IamInstanceProfile *IamInstanceProfile
// The image description of the EC2 instance.
ImageDescription *string
// The image ID of the EC2 instance.
ImageId *string
// The ID of the EC2 instance.
InstanceId *string
// The state of the EC2 instance.
InstanceState *string
// The type of the EC2 instance.
InstanceType *string
// The launch time of the EC2 instance.
LaunchTime *string
// The elastic network interface information of the EC2 instance.
NetworkInterfaces []NetworkInterface
// The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. Only
// applicable to Amazon Web Services Outposts instances.
OutpostArn *string
// The platform of the EC2 instance.
Platform *string
// The product code of the EC2 instance.
ProductCodes []ProductCode
// The tags of the EC2 instance.
Tags []Tag
noSmithyDocumentSerde
}
// Contains information about the invitation to become a member account.
type Invitation struct {
// The ID of the account that the invitation was sent from.
AccountId *string
// The ID of the invitation. This value is used to validate the inviter account to
// the member account.
InvitationId *string
// The timestamp when the invitation was sent.
InvitedAt *string
// The status of the relationship between the inviter and invitee accounts.
RelationshipStatus *string
noSmithyDocumentSerde
}
// Information about the Kubernetes API call action described in this finding.
type KubernetesApiCallAction struct {
// Parameters related to the Kubernetes API call action.
Parameters *string
// Contains information about the remote IP address of the connection.
RemoteIpDetails *RemoteIpDetails
// The Kubernetes API request URI.
RequestUri *string
// The IP of the Kubernetes API caller and the IPs of any proxies or load balancers
// between the caller and the API endpoint.
SourceIps []string
// The resulting HTTP response code of the Kubernetes API call action.
StatusCode int32
// The user agent of the caller of the Kubernetes API.
UserAgent *string
// The Kubernetes API request HTTP verb.
Verb *string
noSmithyDocumentSerde
}
// Describes whether Kubernetes audit logs are enabled as a data source.
type KubernetesAuditLogsConfiguration struct {
// The status of Kubernetes audit logs as a data source.
//
// This member is required.
Enable bool
noSmithyDocumentSerde
}
// Describes whether Kubernetes audit logs are enabled as a data source.
type KubernetesAuditLogsConfigurationResult struct {
// A value that describes whether Kubernetes audit logs are enabled as a data
// source.
//
// This member is required.
Status DataSourceStatus
noSmithyDocumentSerde
}
// Describes whether any Kubernetes data sources are enabled.
type KubernetesConfiguration struct {
// The status of Kubernetes audit logs as a data source.
//
// This member is required.
AuditLogs *KubernetesAuditLogsConfiguration
noSmithyDocumentSerde
}
// Describes whether any Kubernetes logs will be enabled as a data source.
type KubernetesConfigurationResult struct {
// Describes whether Kubernetes audit logs are enabled as a data source.
//
// This member is required.
AuditLogs *KubernetesAuditLogsConfigurationResult
noSmithyDocumentSerde
}
// Provides details about the Kubernetes resources when it is enabled as a data
// source.
type KubernetesDataSourceFreeTrial struct {
// Describes whether Kubernetes audit logs are enabled as a data source.
AuditLogs *DataSourceFreeTrial
noSmithyDocumentSerde
}
// Details about Kubernetes resources such as a Kubernetes user or workload
// resource involved in a Kubernetes finding.
type KubernetesDetails struct {
// Details about the Kubernetes user involved in a Kubernetes finding.
KubernetesUserDetails *KubernetesUserDetails
// Details about the Kubernetes workload involved in a Kubernetes finding.
KubernetesWorkloadDetails *KubernetesWorkloadDetails
noSmithyDocumentSerde
}
// Details about the Kubernetes user involved in a Kubernetes finding.
type KubernetesUserDetails struct {
// The groups that include the user who called the Kubernetes API.
Groups []string
// The user ID of the user who called the Kubernetes API.
Uid *string
// The username of the user who called the Kubernetes API.
Username *string
noSmithyDocumentSerde
}
// Details about the Kubernetes workload involved in a Kubernetes finding.
type KubernetesWorkloadDetails struct {
// Containers running as part of the Kubernetes workload.
Containers []Container
// Whether the hostNetwork flag is enabled for the pods included in the workload.
HostNetwork bool
// Kubernetes workload name.
Name *string
// Kubernetes namespace that the workload is part of.
Namespace *string
// Kubernetes workload type (e.g. Pod, Deployment, etc.).
Type *string
// Kubernetes workload ID.
Uid *string
// Volumes used by the Kubernetes workload.
Volumes []Volume
noSmithyDocumentSerde
}
// Contains information about the local IP address of the connection.
type LocalIpDetails struct {
// The IPv4 local address of the connection.
IpAddressV4 *string
noSmithyDocumentSerde
}
// Contains information about the port for the local connection.
type LocalPortDetails struct {
// The port number of the local connection.
Port int32
// The port name of the local connection.
PortName *string
noSmithyDocumentSerde
}
// Describes whether Malware Protection will be enabled as a data source.
type MalwareProtectionConfiguration struct {
// Describes the configuration of Malware Protection for EC2 instances with
// findings.
ScanEc2InstanceWithFindings *ScanEc2InstanceWithFindings
noSmithyDocumentSerde
}
// An object that contains information on the status of all Malware Protection data
// sources.
type MalwareProtectionConfigurationResult struct {
// Describes the configuration of Malware Protection for EC2 instances with
// findings.
ScanEc2InstanceWithFindings *ScanEc2InstanceWithFindingsResult
// The GuardDuty Malware Protection service role.
ServiceRole *string
noSmithyDocumentSerde
}
// Provides details about Malware Protection when it is enabled as a data source.
type MalwareProtectionDataSourceFreeTrial struct {
// Describes whether Malware Protection for EC2 instances with findings is enabled
// as a data source.
ScanEc2InstanceWithFindings *DataSourceFreeTrial
noSmithyDocumentSerde
}
// Contains information about the administrator account and invitation.
type Master struct {
// The ID of the account used as the administrator account.
AccountId *string
// The value used to validate the administrator account to the member account.
InvitationId *string
// The timestamp when the invitation was sent.
InvitedAt *string
// The status of the relationship between the administrator and member accounts.
RelationshipStatus *string
noSmithyDocumentSerde
}
// Contains information about the member account.
type Member struct {
// The ID of the member account.
//
// This member is required.
AccountId *string
// The email address of the member account.
//
// This member is required.
Email *string
// The administrator account ID.
//
// This member is required.
MasterId *string
// The status of the relationship between the member and the administrator.
//
// This member is required.
RelationshipStatus *string
// The last-updated timestamp of the member.
//
// This member is required.
UpdatedAt *string
// The administrator account ID.
AdministratorId *string
// The detector ID of the member account.
DetectorId *string
// The timestamp when the invitation was sent.
InvitedAt *string
noSmithyDocumentSerde
}
// Contains information on which data sources are enabled for a member account.
type MemberDataSourceConfiguration struct {
// The account ID for the member account.
//
// This member is required.
AccountId *string
// Contains information on the status of data sources for the account.
//
// This member is required.
DataSources *DataSourceConfigurationsResult
noSmithyDocumentSerde
}
// Contains information about the NETWORK_CONNECTION action described in the
// finding.
type NetworkConnectionAction struct {
// Indicates whether EC2 blocked the network connection to your instance.
Blocked bool
// The network connection direction.
ConnectionDirection *string
// The local IP information of the connection.
LocalIpDetails *LocalIpDetails
// The local port information of the connection.
LocalPortDetails *LocalPortDetails
// The network connection protocol.
Protocol *string
// The remote IP information of the connection.
RemoteIpDetails *RemoteIpDetails
// The remote port information of the connection.
RemotePortDetails *RemotePortDetails
noSmithyDocumentSerde
}
// Contains information about the elastic network interface of the EC2 instance.
type NetworkInterface struct {
// A list of IPv6 addresses for the EC2 instance.
Ipv6Addresses []string
// The ID of the network interface.
NetworkInterfaceId *string
// The private DNS name of the EC2 instance.
PrivateDnsName *string
// The private IP address of the EC2 instance.
PrivateIpAddress *string
// Other private IP address information of the EC2 instance.
PrivateIpAddresses []PrivateIpAddressDetails
// The public DNS name of the EC2 instance.
PublicDnsName *string
// The public IP address of the EC2 instance.
PublicIp *string
// The security groups associated with the EC2 instance.
SecurityGroups []SecurityGroup
// The subnet ID of the EC2 instance.
SubnetId *string
// The VPC ID of the EC2 instance.
VpcId *string
noSmithyDocumentSerde
}
// Contains information about the ISP organization of the remote IP address.
type Organization struct {
// The Autonomous System Number (ASN) of the internet provider of the remote IP
// address.
Asn *string
// The organization that registered this ASN.
AsnOrg *string
// The ISP information for the internet provider.
Isp *string
// The name of the internet provider.
Org *string
noSmithyDocumentSerde
}
// An object that contains information on which data sources will be configured to
// be automatically enabled for new members within the organization.
type OrganizationDataSourceConfigurations struct {
// Describes the configuration of Kubernetes data sources for new members of the
// organization.
Kubernetes *OrganizationKubernetesConfiguration
// Describes the configuration of Malware Protection for new members of the
// organization.
MalwareProtection *OrganizationMalwareProtectionConfiguration
// Describes whether S3 data event logs are enabled for new members of the
// organization.
S3Logs *OrganizationS3LogsConfiguration
noSmithyDocumentSerde
}
// An object that contains information on which data sources are automatically
// enabled for new members within the organization.
type OrganizationDataSourceConfigurationsResult struct {
// Describes whether S3 data event logs are enabled as a data source.
//
// This member is required.
S3Logs *OrganizationS3LogsConfigurationResult
// Describes the configuration of Kubernetes data sources.
Kubernetes *OrganizationKubernetesConfigurationResult
// Describes the configuration of Malware Protection data source for an
// organization.
MalwareProtection *OrganizationMalwareProtectionConfigurationResult
noSmithyDocumentSerde
}
// Organization-wide EBS volumes scan configuration.
type OrganizationEbsVolumes struct {
// Whether scanning EBS volumes should be auto-enabled for new members joining the
// organization.
AutoEnable bool
noSmithyDocumentSerde
}
// An object that contains information on the status of whether EBS volumes
// scanning will be enabled as a data source for an organization.
type OrganizationEbsVolumesResult struct {
// An object that contains the status of whether scanning EBS volumes should be
// auto-enabled for new members joining the organization.
AutoEnable bool
noSmithyDocumentSerde
}
// Organization-wide Kubernetes audit logs configuration.
type OrganizationKubernetesAuditLogsConfiguration struct {
// A value that contains information on whether Kubernetes audit logs should be
// enabled automatically as a data source for the organization.
//
// This member is required.
AutoEnable bool
noSmithyDocumentSerde
}
// The current configuration of Kubernetes audit logs as a data source for the
// organization.
type OrganizationKubernetesAuditLogsConfigurationResult struct {
// Whether Kubernetes audit logs data source should be auto-enabled for new members
// joining the organization.
//
// This member is required.
AutoEnable bool
noSmithyDocumentSerde
}
// Organization-wide Kubernetes data sources configurations.
type OrganizationKubernetesConfiguration struct {
// Whether Kubernetes audit logs data source should be auto-enabled for new members
// joining the organization.
//
// This member is required.
AuditLogs *OrganizationKubernetesAuditLogsConfiguration
noSmithyDocumentSerde
}
// The current configuration of all Kubernetes data sources for the organization.
type OrganizationKubernetesConfigurationResult struct {
// The current configuration of Kubernetes audit logs as a data source for the
// organization.
//
// This member is required.
AuditLogs *OrganizationKubernetesAuditLogsConfigurationResult
noSmithyDocumentSerde
}
// Organization-wide Malware Protection configurations.
type OrganizationMalwareProtectionConfiguration struct {
// Whether Malware Protection for EC2 instances with findings should be
// auto-enabled for new members joining the organization.
ScanEc2InstanceWithFindings *OrganizationScanEc2InstanceWithFindings
noSmithyDocumentSerde
}
// An object that contains information on the status of all Malware Protection data
// source for an organization.
type OrganizationMalwareProtectionConfigurationResult struct {
// Describes the configuration for scanning EC2 instances with findings for an
// organization.
ScanEc2InstanceWithFindings *OrganizationScanEc2InstanceWithFindingsResult
noSmithyDocumentSerde
}
// Describes whether S3 data event logs will be automatically enabled for new
// members of the organization.
type OrganizationS3LogsConfiguration struct {
// A value that contains information on whether S3 data event logs will be enabled
// automatically as a data source for the organization.
//
// This member is required.
AutoEnable bool
noSmithyDocumentSerde
}
// The current configuration of S3 data event logs as a data source for the
// organization.
type OrganizationS3LogsConfigurationResult struct {
// A value that describes whether S3 data event logs are automatically enabled for
// new members of the organization.
//
// This member is required.
AutoEnable bool
noSmithyDocumentSerde
}
// Organization-wide EC2 instances with findings scan configuration.
type OrganizationScanEc2InstanceWithFindings struct {
// Whether scanning EBS volumes should be auto-enabled for new members joining the
// organization.
EbsVolumes *OrganizationEbsVolumes
noSmithyDocumentSerde
}
// An object that contains information on the status of scanning EC2 instances with
// findings for an organization.
type OrganizationScanEc2InstanceWithFindingsResult struct {
// Describes the configuration for scanning EBS volumes for an organization.
EbsVolumes *OrganizationEbsVolumesResult
noSmithyDocumentSerde
}
// Contains information on the owner of the bucket.
type Owner struct {
// The canonical user ID of the bucket owner. For information about locating your
// canonical user ID see Finding Your Account Canonical User ID.
// (https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html#FindingCanonicalId)
Id *string
noSmithyDocumentSerde
}
// Contains information about how permissions are configured for the S3 bucket.
type PermissionConfiguration struct {
// Contains information about the account level permissions on the S3 bucket.
AccountLevelPermissions *AccountLevelPermissions
// Contains information about the bucket level permissions for the S3 bucket.
BucketLevelPermissions *BucketLevelPermissions
noSmithyDocumentSerde
}
// Contains information about the PORT_PROBE action described in the finding.
type PortProbeAction struct {
// Indicates whether EC2 blocked the port probe to the instance, such as with an
// ACL.
Blocked bool
// A list of objects related to port probe details.
PortProbeDetails []PortProbeDetail
noSmithyDocumentSerde
}
// Contains information about the port probe details.
type PortProbeDetail struct {
// The local IP information of the connection.
LocalIpDetails *LocalIpDetails
// The local port information of the connection.
LocalPortDetails *LocalPortDetails
// The remote IP information of the connection.
RemoteIpDetails *RemoteIpDetails
noSmithyDocumentSerde
}
// Contains other private IP address information of the EC2 instance.
type PrivateIpAddressDetails struct {
// The private DNS name of the EC2 instance.
PrivateDnsName *string
// The private IP address of the EC2 instance.
PrivateIpAddress *string
noSmithyDocumentSerde
}
// Contains information about the product code for the EC2 instance.
type ProductCode struct {
// The product code information.
Code *string
// The product code type.
ProductType *string
noSmithyDocumentSerde
}
// Describes the public access policies that apply to the S3 bucket.
type PublicAccess struct {
// Describes the effective permission on this bucket after factoring all attached
// policies.
EffectivePermission *string
// Contains information about how permissions are configured for the S3 bucket.
PermissionConfiguration *PermissionConfiguration
noSmithyDocumentSerde
}
// Contains details about the remote Amazon Web Services account that made the API
// call.
type RemoteAccountDetails struct {
// The Amazon Web Services account ID of the remote API caller.
AccountId *string
// Details on whether the Amazon Web Services account of the remote API caller is
// related to your GuardDuty environment. If this value is True the API caller is
// affiliated to your account in some way. If it is False the API caller is from
// outside your environment.
Affiliated bool
noSmithyDocumentSerde
}
// Contains information about the remote IP address of the connection.
type RemoteIpDetails struct {
// The city information of the remote IP address.
City *City
// The country code of the remote IP address.
Country *Country
// The location information of the remote IP address.
GeoLocation *GeoLocation
// The IPv4 remote address of the connection.
IpAddressV4 *string
// The ISP organization information of the remote IP address.
Organization *Organization
noSmithyDocumentSerde
}
// Contains information about the remote port.
type RemotePortDetails struct {
// The port number of the remote connection.
Port int32
// The port name of the remote connection.
PortName *string
noSmithyDocumentSerde
}
// Contains information about the Amazon Web Services resource associated with the
// activity that prompted GuardDuty to generate a finding.
type Resource struct {
// The IAM access key details (IAM user information) of a user that engaged in the
// activity that prompted GuardDuty to generate a finding.
AccessKeyDetails *AccessKeyDetails
// Details of a container.
ContainerDetails *Container
// Contains list of scanned and skipped EBS volumes with details.
EbsVolumeDetails *EbsVolumeDetails
// Contains information about the details of the ECS Cluster.
EcsClusterDetails *EcsClusterDetails
// Details about the EKS cluster involved in a Kubernetes finding.
EksClusterDetails *EksClusterDetails
// The information about the EC2 instance associated with the activity that
// prompted GuardDuty to generate a finding.
InstanceDetails *InstanceDetails
// Details about the Kubernetes user and workload involved in a Kubernetes finding.
KubernetesDetails *KubernetesDetails
// The type of Amazon Web Services resource.
ResourceType *string
// Contains information on the S3 bucket.
S3BucketDetails []S3BucketDetail
noSmithyDocumentSerde
}
// Represents the resources that were scanned in the scan entry.
type ResourceDetails struct {
// InstanceArn that was scanned in the scan entry.
InstanceArn *string
noSmithyDocumentSerde
}
// Contains information on the S3 bucket.
type S3BucketDetail struct {
// The Amazon Resource Name (ARN) of the S3 bucket.
Arn *string
// The date and time the bucket was created at.
CreatedAt *time.Time
// Describes the server side encryption method used in the S3 bucket.
DefaultServerSideEncryption *DefaultServerSideEncryption
// The name of the S3 bucket.
Name *string
// The owner of the S3 bucket.
Owner *Owner
// Describes the public access policies that apply to the S3 bucket.
PublicAccess *PublicAccess
// All tags attached to the S3 bucket
Tags []Tag
// Describes whether the bucket is a source or destination bucket.
Type *string
noSmithyDocumentSerde
}
// Describes whether S3 data event logs will be enabled as a data source.
type S3LogsConfiguration struct {
// The status of S3 data event logs as a data source.
//
// This member is required.
Enable bool
noSmithyDocumentSerde
}
// Describes whether S3 data event logs will be enabled as a data source.
type S3LogsConfigurationResult struct {
// A value that describes whether S3 data event logs are automatically enabled for
// new members of the organization.
//
// This member is required.
Status DataSourceStatus
noSmithyDocumentSerde
}
// Contains information about a malware scan.
type Scan struct {
// The ID for the account that belongs to the scan.
AccountId *string
// The unique detector ID of the administrator account that the request is
// associated with. Note that this value will be the same as the one used for
// DetectorId if the account is an administrator.
AdminDetectorId *string
// List of volumes that were attached to the original instance to be scanned.
AttachedVolumes []VolumeDetail
// The unique ID of the detector that the request is associated with.
DetectorId *string
// Represents the reason for FAILED scan status.
FailureReason *string
// Represents the number of files that were scanned.
FileCount int64
// Represents the resources that were scanned in the scan entry.
ResourceDetails *ResourceDetails
// The timestamp of when the scan was finished.
ScanEndTime *time.Time
// The unique scan ID associated with a scan entry.
ScanId *string
// Represents the result of the scan.
ScanResultDetails *ScanResultDetails
// The timestamp of when the scan was triggered.
ScanStartTime *time.Time
// An enum value representing possible scan statuses.
ScanStatus ScanStatus
// Represents total bytes that were scanned.
TotalBytes int64
// Represents the reason the scan was triggered.
TriggerDetails *TriggerDetails
noSmithyDocumentSerde
}
// Contains information about the condition.
type ScanCondition struct {
// Represents an mapEqual condition to be applied to a single field when triggering
// for malware scan.
//
// This member is required.
MapEquals []ScanConditionPair
noSmithyDocumentSerde
}
// Represents key, value pair to be matched against given resource property.
type ScanConditionPair struct {
// Represents key in the map condition.
//
// This member is required.
Key *string
// Represents optional value in the map condition. If not specified, only key will
// be matched.
Value *string
noSmithyDocumentSerde
}
// Contains a complete view providing malware scan result details.
type ScanDetections struct {
// Details of the highest severity threat detected during malware scan and number
// of infected files.
HighestSeverityThreatDetails *HighestSeverityThreatDetails
// Total number of scanned files.
ScannedItemCount *ScannedItemCount
// Contains details about identified threats organized by threat name.
ThreatDetectedByName *ThreatDetectedByName
// Total number of infected files.
ThreatsDetectedItemCount *ThreatsDetectedItemCount
noSmithyDocumentSerde
}
// Describes whether Malware Protection for EC2 instances with findings will be
// enabled as a data source.
type ScanEc2InstanceWithFindings struct {
// Describes the configuration for scanning EBS volumes as data source.
EbsVolumes bool
noSmithyDocumentSerde
}
// An object that contains information on the status of whether Malware Protection
// for EC2 instances with findings will be enabled as a data source.
type ScanEc2InstanceWithFindingsResult struct {
// Describes the configuration of scanning EBS volumes as a data source.
EbsVolumes *EbsVolumesResult
noSmithyDocumentSerde
}
// Contains details of infected file including name, file path and hash.
type ScanFilePath struct {
// File name of the infected file.
FileName *string
// The file path of the infected file.
FilePath *string
// The hash value of the infected file.
Hash *string
// EBS volume Arn details of the infected file.
VolumeArn *string
noSmithyDocumentSerde
}
// Total number of scanned files.
type ScannedItemCount struct {
// Number of files scanned.
Files int32
// Total GB of files scanned for malware.
TotalGb int32
// Total number of scanned volumes.
Volumes int32
noSmithyDocumentSerde
}
// Contains information about criteria used to filter resources before triggering
// malware scan.
type ScanResourceCriteria struct {
// Represents condition that when matched will prevent a malware scan for a certain
// resource.
Exclude map[string]ScanCondition
// Represents condition that when matched will allow a malware scan for a certain
// resource.
Include map[string]ScanCondition
noSmithyDocumentSerde
}
// Represents the result of the scan.
type ScanResultDetails struct {
// An enum value representing possible scan results.
ScanResult ScanResult
noSmithyDocumentSerde
}
// Contains files infected with the given threat providing details of malware name
// and severity.
type ScanThreatName struct {
// List of infected files in EBS volume with details.
FilePaths []ScanFilePath
// Total number of files infected with given threat.
ItemCount int32
// The name of the identified threat.
Name *string
// Severity of threat identified as part of the malware scan.
Severity *string
noSmithyDocumentSerde
}
// Container security context.
type SecurityContext struct {
// Whether the container is privileged.
Privileged bool
noSmithyDocumentSerde
}
// Contains information about the security groups associated with the EC2 instance.
type SecurityGroup struct {
// The security group ID of the EC2 instance.
GroupId *string
// The security group name of the EC2 instance.
GroupName *string
noSmithyDocumentSerde
}
// Contains additional information about the generated finding.
type Service struct {
// Information about the activity that is described in a finding.
Action *Action
// Contains additional information about the generated finding.
AdditionalInfo *ServiceAdditionalInfo
// Indicates whether this finding is archived.
Archived bool
// The total count of the occurrences of this finding type.
Count int32
// The detector ID for the GuardDuty service.
DetectorId *string
// Returns details from the malware scan that created a finding.
EbsVolumeScanDetails *EbsVolumeScanDetails
// The first-seen timestamp of the activity that prompted GuardDuty to generate
// this finding.
EventFirstSeen *string
// The last-seen timestamp of the activity that prompted GuardDuty to generate this
// finding.
EventLastSeen *string
// An evidence object associated with the service.
Evidence *Evidence
// The name of the feature that generated a finding.
FeatureName *string
// The resource role information for this finding.
ResourceRole *string
// The name of the Amazon Web Services service (GuardDuty) that generated a
// finding.
ServiceName *string
// Feedback that was submitted about the finding.
UserFeedback *string
noSmithyDocumentSerde
}
// Additional information about the generated finding.
type ServiceAdditionalInfo struct {
// Describes the type of the additional information.
Type *string
// This field specifies the value of the additional information.
Value *string
noSmithyDocumentSerde
}
// Contains information about the criteria used for sorting findings.
type SortCriteria struct {
// Represents the finding attribute (for example, accountId) to sort findings by.
AttributeName *string
// The order by which the sorted findings are to be displayed.
OrderBy OrderBy
noSmithyDocumentSerde
}
// Contains information about a tag associated with the EC2 instance.
type Tag struct {
// The EC2 instance tag key.
Key *string
// The EC2 instance tag value.
Value *string
noSmithyDocumentSerde
}
// Contains details about identified threats organized by threat name.
type ThreatDetectedByName struct {
// Total number of infected files identified.
ItemCount int32
// Flag to determine if the finding contains every single infected file-path and/or
// every threat.
Shortened bool
// List of identified threats with details, organized by threat name.
ThreatNames []ScanThreatName
// Total number of unique threats by name identified, as part of the malware scan.
UniqueThreatNameCount int32
noSmithyDocumentSerde
}
// An instance of a threat intelligence detail that constitutes evidence for the
// finding.
type ThreatIntelligenceDetail struct {
// The name of the threat intelligence list that triggered the finding.
ThreatListName *string
// A list of names of the threats in the threat intelligence list that triggered
// the finding.
ThreatNames []string
noSmithyDocumentSerde
}
// Contains total number of infected files.
type ThreatsDetectedItemCount struct {
// Total number of infected files.
Files int32
noSmithyDocumentSerde
}
// Contains the total usage with the corresponding currency unit for that value.
type Total struct {
// The total usage.
Amount *string
// The currency unit that the amount is given in.
Unit *string
noSmithyDocumentSerde
}
// Represents the reason the scan was triggered.
type TriggerDetails struct {
// The description of the scan trigger.
Description *string
// The ID of the GuardDuty finding that triggered the BirdDog scan.
GuardDutyFindingId *string
noSmithyDocumentSerde
}
// Contains information about the accounts that weren't processed.
type UnprocessedAccount struct {
// The Amazon Web Services account ID.
//
// This member is required.
AccountId *string
// A reason why the account hasn't been processed.
//
// This member is required.
Result *string
noSmithyDocumentSerde
}
// Specifies the names of the data sources that couldn't be enabled.
type UnprocessedDataSourcesResult struct {
// An object that contains information on the status of all Malware Protection data
// sources.
MalwareProtection *MalwareProtectionConfigurationResult
noSmithyDocumentSerde
}
// Contains information on the total of usage based on account IDs.
type UsageAccountResult struct {
// The Account ID that generated usage.
AccountId *string
// Represents the total of usage for the Account ID.
Total *Total
noSmithyDocumentSerde
}
// Contains information about the criteria used to query usage statistics.
type UsageCriteria struct {
// The data sources to aggregate usage statistics from.
//
// This member is required.
DataSources []DataSource
// The account IDs to aggregate usage statistics from.
AccountIds []string
// The resources to aggregate usage statistics from. Only accepts exact resource
// names.
Resources []string
noSmithyDocumentSerde
}
// Contains information on the result of usage based on data source type.
type UsageDataSourceResult struct {
// The data source type that generated usage.
DataSource DataSource
// Represents the total of usage for the specified data source.
Total *Total
noSmithyDocumentSerde
}
// Contains information on the sum of usage based on an Amazon Web Services
// resource.
type UsageResourceResult struct {
// The Amazon Web Services resource that generated usage.
Resource *string
// Represents the sum total of usage for the specified resource type.
Total *Total
noSmithyDocumentSerde
}
// Contains the result of GuardDuty usage. If a UsageStatisticType is provided the
// result for other types will be null.
type UsageStatistics struct {
// The usage statistic sum organized by account ID.
SumByAccount []UsageAccountResult
// The usage statistic sum organized by on data source.
SumByDataSource []UsageDataSourceResult
// The usage statistic sum organized by resource.
SumByResource []UsageResourceResult
// Lists the top 50 resources that have generated the most GuardDuty usage, in
// order from most to least expensive.
TopResources []UsageResourceResult
noSmithyDocumentSerde
}
// Volume used by the Kubernetes workload.
type Volume struct {
// Represents a pre-existing file or directory on the host machine that the volume
// maps to.
HostPath *HostPath
// Volume name.
Name *string
noSmithyDocumentSerde
}
// Contains EBS volume details.
type VolumeDetail struct {
// The device name for the EBS volume.
DeviceName *string
// EBS volume encryption type.
EncryptionType *string
// KMS key Arn used to encrypt the EBS volume.
KmsKeyArn *string
// Snapshot Arn of the EBS volume.
SnapshotArn *string
// EBS volume Arn information.
VolumeArn *string
// EBS volume size in GB.
VolumeSizeInGB int32
// The EBS volume type.
VolumeType *string
noSmithyDocumentSerde
}
// Container volume mount.
type VolumeMount struct {
// Volume mount path.
MountPath *string
// Volume mount name.
Name *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|