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 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995
|
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="securitycenter_v1.html">Security Command Center API</a> . <a href="securitycenter_v1.folders.html">folders</a> . <a href="securitycenter_v1.folders.sources.html">sources</a> . <a href="securitycenter_v1.folders.sources.findings.html">findings</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="securitycenter_v1.folders.sources.findings.externalSystems.html">externalSystems()</a></code>
</p>
<p class="firstline">Returns the externalSystems Resource.</p>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#group">group(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings</p>
<p class="toc_element">
<code><a href="#group_next">group_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#list">list(parent, compareDuration=None, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, readTime=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.</p>
<p class="toc_element">
<code><a href="#setMute">setMute(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the mute state of a finding.</p>
<p class="toc_element">
<code><a href="#setState">setState(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the state of a finding.</p>
<p class="toc_element">
<code><a href="#updateSecurityMarks">updateSecurityMarks(name, body=None, startTime=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates security marks.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="group">group(parent, body=None, x__xgafv=None)</code>
<pre>Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings
Args:
parent: string, Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or `projects/{project_id}/sources/-` (required)
body: object, The request body.
The object takes the form of:
{ # Request message for grouping by findings.
"compareDuration": "A String", # When compare_duration is set, the GroupResult's "state_change" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible "state_change" values when compare_duration is specified: * "CHANGED": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * "UNCHANGED": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * "ADDED": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * "REMOVED": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all findings present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.
"filter": "A String", # Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : ""` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:`
"groupBy": "A String", # Required. Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported when compare_duration is set: * state_change
"pageSize": 42, # The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
"pageToken": "A String", # The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.
"readTime": "A String", # Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for group by findings.
"groupByResults": [ # Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
{ # Result containing the properties and count of a groupBy request.
"count": "A String", # Total count of resources for the given properties.
"properties": { # Properties matching the groupBy fields in the request.
"a_key": "",
},
},
],
"nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results.
"readTime": "A String", # Time used for executing the groupBy request.
"totalSize": 42, # The total number of results matching the query.
}</pre>
</div>
<div class="method">
<code class="details" id="group_next">group_next()</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
<div class="method">
<code class="details" id="list">list(parent, compareDuration=None, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, readTime=None, x__xgafv=None)</code>
<pre>Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings
Args:
parent: string, Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-` (required)
compareDuration: string, When compare_duration is set, the ListFindingsResult's "state_change" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible "state_change" values when compare_duration is specified: * "CHANGED": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * "UNCHANGED": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * "ADDED": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * "REMOVED": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all findings present at read_time.
fieldMask: string, A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.
filter: string, Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : ""` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : ""` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`
orderBy: string, Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name desc,source_properties.a_property". Redundant space characters in the syntax are insignificant. "name desc,source_properties.a_property" and " name desc , source_properties.a_property " are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks
pageSize: integer, The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
pageToken: string, The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.
readTime: string, Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for listing findings.
"listFindingsResults": [ # Findings matching the list request.
{ # Result containing the Finding and its StateChange.
"finding": { # Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding. # Finding matching the search request.
"access": { # Represents an access event. # Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
"callerIp": "A String", # Caller's IP address, such as "1.1.1.1".
"callerIpGeo": { # Represents a geographical location for a given access. # The caller IP's geolocation, which identifies where the call came from.
"regionCode": "A String", # A CLDR.
},
"methodName": "A String", # The method that the service account called, e.g. "SetIamPolicy".
"principalEmail": "A String", # Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
"principalSubject": "A String", # A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
"serviceAccountDelegationInfo": [ # The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
{ # Identity delegation history of an authenticated service account.
"principalEmail": "A String", # The email address of a Google account.
"principalSubject": "A String", # A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
},
],
"serviceAccountKeyName": "A String", # The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
"serviceName": "A String", # This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
"userAgent": "A String", # The caller's user agent string associated with the finding.
"userAgentFamily": "A String", # Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
"userName": "A String", # A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
},
"affectedResources": { # Details about resources affected by this finding. # AffectedResources associated with the finding.
"count": "A String", # The count of resources affected by the finding.
},
"aiModel": { # Contains information about the AI model associated with the finding. # The AI model associated with the finding.
"deploymentPlatform": "A String", # The platform on which the model is deployed.
"displayName": "A String", # The user defined display name of model. Ex. baseline-classification-model
"domain": "A String", # The domain of the model, for example, “image-classification”.
"library": "A String", # The name of the model library, for example, “transformers”.
"location": "A String", # The region in which the model is used, for example, “us-central1”.
"name": "A String", # The name of the AI model, for example, "gemini:1.0.0".
"publisher": "A String", # The publisher of the model, for example, “google” or “nvidia”.
},
"application": { # Represents an application associated with a finding. # Represents an application associated with the finding.
"baseUri": "A String", # The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.
"fullUri": "A String", # The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.
},
"attackExposure": { # An attack exposure contains the results of an attack path simulation run. # The results of an attack path simulation relevant to this finding.
"attackExposureResult": "A String", # The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`
"exposedHighValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedLowValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedMediumValueResourcesCount": 42, # The number of medium value resources that are exposed as a result of this finding.
"latestCalculationTime": "A String", # The most recent time the attack exposure was updated on this finding.
"score": 3.14, # A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
"state": "A String", # What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
},
"backupDisasterRecovery": { # Information related to Google Cloud Backup and DR Service findings. # Fields related to Backup and DR findings.
"appliance": "A String", # The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.
"applications": [ # The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
"A String",
],
"backupCreateTime": "A String", # The timestamp at which the Backup and DR backup was created.
"backupTemplate": "A String", # The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.
"backupType": "A String", # The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
"host": "A String", # The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.
"policies": [ # The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.
"A String",
],
"policyOptions": [ # The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.
"A String",
],
"profile": "A String", # The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.
"storagePool": "A String", # The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.
},
"canonicalName": "A String", # The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.
"category": "A String", # The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
"chokepoint": { # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
"relatedFindings": [ # List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
"A String",
],
},
"cloudArmor": { # Fields related to Google Cloud Armor findings. # Fields related to Cloud Armor findings.
"adaptiveProtection": { # Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). # Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
"confidence": 3.14, # A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.
},
"attack": { # Information about DDoS attack volume and classification. # Information about DDoS attack volume and classification.
"classification": "A String", # Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
"volumeBps": 42, # Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
"volumeBpsLong": "A String", # Total BPS (bytes per second) volume of attack.
"volumePps": 42, # Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
"volumePpsLong": "A String", # Total PPS (packets per second) volume of attack.
},
"duration": "A String", # Duration of attack from the start until the current moment (updated every 5 minutes).
"requests": { # Information about the requests relevant to the finding. # Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).
"longTermAllowed": 42, # Allowed RPS (requests per second) over the long term.
"longTermDenied": 42, # Denied RPS (requests per second) over the long term.
"ratio": 3.14, # For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
"shortTermAllowed": 42, # Allowed RPS (requests per second) in the short term.
},
"securityPolicy": { # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding. # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
"name": "A String", # The name of the Google Cloud Armor security policy, for example, "my-security-policy".
"preview": True or False, # Whether or not the associated rule or policy is in preview mode.
"type": "A String", # The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.
},
"threatVector": "A String", # Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.
},
"cloudDlpDataProfile": { # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding. # Cloud DLP data profile that is associated with the finding.
"dataProfile": "A String", # Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
"parentType": "A String", # The resource hierarchy level at which the data profile was generated.
},
"cloudDlpInspection": { # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding. # Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
"fullScan": True or False, # Whether Cloud DLP scanned the complete resource or a sampled subset.
"infoType": "A String", # The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
"infoTypeCount": "A String", # The number of times Cloud DLP found this infoType within this job and resource.
"inspectJob": "A String", # Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
},
"complianceDetails": { # Compliance Details associated with the finding. # Details about the compliance implications of the finding.
"cloudControl": { # CloudControl associated with the finding. # CloudControl associated with the finding
"cloudControlName": "A String", # Name of the CloudControl associated with the finding.
"policyType": "A String", # Policy type of the CloudControl
"type": "A String", # Type of cloud control.
"version": 42, # Version of the Cloud Control
},
"cloudControlDeploymentNames": [ # Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier
"A String",
],
"frameworks": [ # Details of Frameworks associated with the finding
{ # Compliance framework associated with the finding.
"category": [ # Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads
"A String",
],
"controls": [ # The controls associated with the framework.
{ # Compliance control associated with the finding.
"controlName": "A String", # Name of the Control
"displayName": "A String", # Display name of the control. For example, AU-02.
},
],
"displayName": "A String", # Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework
"name": "A String", # Name of the framework associated with the finding
"type": "A String", # Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)
},
],
},
"compliances": [ # Contains compliance information for security standards associated to the finding.
{ # Contains compliance information about a security standard indicating unmet recommendations.
"ids": [ # Policies within the standard or benchmark, for example, A.12.4.1
"A String",
],
"standard": "A String", # Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
"version": "A String", # Version of the standard or benchmark, for example, 1.1
},
],
"connections": [ # Contains information about the IP connection associated with the finding.
{ # Contains information about the IP connection associated with the finding.
"destinationIp": "A String", # Destination IP address. Not present for sockets that are listening and not connected.
"destinationPort": 42, # Destination port. Not present for sockets that are listening and not connected.
"protocol": "A String", # IANA Internet Protocol Number such as TCP(6) and UDP(17).
"sourceIp": "A String", # Source IP address.
"sourcePort": 42, # Source port.
},
],
"contacts": { # Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { "security": { "contacts": [ { "email": "person1@company.com" }, { "email": "person2@company.com" } ] } }
"a_key": { # Details about specific contacts
"contacts": [ # A list of contacts
{ # The email address of a contact.
"email": "A String", # An email address. For example, "`person123@company.com`".
},
],
},
},
"containers": [ # Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"createTime": "A String", # The time at which the finding was created in Security Command Center.
"dataAccessEvents": [ # Data access events associated with the finding.
{ # Details about a data access attempt made by a principal not authorized under applicable data security policy.
"eventId": "A String", # Unique identifier for data access event.
"eventTime": "A String", # Timestamp of data access event.
"operation": "A String", # The operation performed by the principal to access the data.
"principalEmail": "A String", # The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
},
],
"dataFlowEvents": [ # Data flow events associated with the finding.
{ # Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.
"eventId": "A String", # Unique identifier for data flow event.
"eventTime": "A String", # Timestamp of data flow event.
"operation": "A String", # The operation performed by the principal for the data flow event.
"principalEmail": "A String", # The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.
"violatedLocation": "A String", # Non-compliant location of the principal or the data destination.
},
],
"dataRetentionDeletionEvents": [ # Data retention deletion events associated with the finding.
{ # Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.
"dataObjectCount": "A String", # Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
"eventDetectionTime": "A String", # Timestamp indicating when the event was detected.
"eventType": "A String", # Type of the DRD event.
"maxRetentionAllowed": "A String", # Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
},
],
"database": { # Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided. # Database associated with the finding.
"displayName": "A String", # The human-readable name of the database that the user connected to.
"grantees": [ # The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
"A String",
],
"name": "A String", # Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
"query": "A String", # The SQL statement that is associated with the database access.
"userName": "A String", # The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
"version": "A String", # The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
},
"description": "A String", # Contains more details about the finding.
"disk": { # Contains information about the disk associated with the finding. # Disk associated with the finding.
"name": "A String", # The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
},
"eventTime": "A String", # The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
"exfiltration": { # Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to. # Represents exfiltrations associated with the finding.
"sources": [ # If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"targets": [ # If there are multiple targets, each target would get a complete copy of the "joined" source data.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"totalExfiltratedBytes": "A String", # Total exfiltrated bytes processed for the entire job.
},
"externalSystems": { # Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
"a_key": { # Representation of third party SIEM/SOAR fields within SCC.
"assignees": [ # References primary/secondary etc assignees in the external system.
"A String",
],
"caseCloseTime": "A String", # The time when the case was closed, as reported by the external system.
"caseCreateTime": "A String", # The time when the case was created, as reported by the external system.
"casePriority": "A String", # The priority of the finding's corresponding case in the external system.
"caseSla": "A String", # The SLA of the finding's corresponding case in the external system.
"caseUri": "A String", # The link to the finding's corresponding case in the external system.
"externalSystemUpdateTime": "A String", # The time when the case was last updated, as reported by the external system.
"externalUid": "A String", # The identifier that's used to track the finding's corresponding case in the external system.
"name": "A String", # Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
"status": "A String", # The most recent status of the finding's corresponding case, as reported by the external system.
"ticketInfo": { # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
"assignee": "A String", # The assignee of the ticket in the ticket system.
"description": "A String", # The description of the ticket in the ticket system.
"id": "A String", # The identifier of the ticket in the ticket system.
"status": "A String", # The latest status of the ticket, as reported by the ticket system.
"updateTime": "A String", # The time when the ticket was last updated, as reported by the ticket system.
"uri": "A String", # The link to the ticket in the ticket system.
},
},
},
"externalUri": "A String", # The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
"files": [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"findingClass": "A String", # The class of the finding.
"groupMemberships": [ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.
{ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
"groupId": "A String", # ID of the group.
"groupType": "A String", # Type of group.
},
],
"iamBindings": [ # Represents IAM bindings associated with the finding.
{ # Represents a particular IAM binding, which captures a member's role addition, removal, or state.
"action": "A String", # The action that was performed on a Binding.
"member": "A String", # A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".
"role": "A String", # Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
},
],
"indicator": { # Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). # Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
"domains": [ # List of domains associated to the Finding.
"A String",
],
"ipAddresses": [ # The list of IP addresses that are associated with the finding.
"A String",
],
"signatures": [ # The list of matched signatures indicating that the given process is present in the environment.
{ # Indicates what signature matched this process.
"memoryHashSignature": { # A signature corresponding to memory page hashes. # Signature indicating that a binary family was matched.
"binaryFamily": "A String", # The binary family.
"detections": [ # The list of memory hash detections contributing to the binary family match.
{ # Memory hash detection contributing to the binary family match.
"binary": "A String", # The name of the binary associated with the memory hash signature detection.
"percentPagesMatched": 3.14, # The percentage of memory page hashes in the signature that were matched.
},
],
},
"signatureType": "A String", # Describes the type of resource associated with the signature.
"yaraRuleSignature": { # A signature corresponding to a YARA rule. # Signature indicating that a YARA rule was matched.
"yaraRule": "A String", # The name of the YARA rule.
},
},
],
"uris": [ # The list of URIs associated to the Findings.
"A String",
],
},
"ipRules": { # IP rules associated with the finding. # IP rules associated with the finding.
"allowed": { # Allowed IP rule. # Tuple with allowed rules.
"ipRules": [ # Optional. Optional list of allowed IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"denied": { # Denied IP rule. # Tuple with denied rules.
"ipRules": [ # Optional. Optional list of denied IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"destinationIpRanges": [ # If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
"direction": "A String", # The direction that the rule is applicable to, one of ingress or egress.
"exposedServices": [ # Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
"A String",
],
"sourceIpRanges": [ # If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
},
"job": { # Describes a job # Job associated with the finding.
"errorCode": 42, # Optional. If the job did not complete successfully, this field describes why.
"location": "A String", # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
"name": "A String", # The fully-qualified name for a job. e.g. `projects//jobs/`
"state": "A String", # Output only. State of the job, such as `RUNNING` or `PENDING`.
},
"kernelRootkit": { # Kernel mode rootkit signatures. # Signature of the kernel rootkit.
"name": "A String", # Rootkit name, when available.
"unexpectedCodeModification": True or False, # True if unexpected modifications of kernel code memory are present.
"unexpectedFtraceHandler": True or False, # True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedInterruptHandler": True or False, # True if interrupt handlers that are are not in the expected kernel or module code regions are present.
"unexpectedKernelCodePages": True or False, # True if kernel code pages that are not in the expected kernel or module code regions are present.
"unexpectedKprobeHandler": True or False, # True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedProcessesInRunqueue": True or False, # True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
"unexpectedReadOnlyDataModification": True or False, # True if unexpected modifications of kernel read-only data memory are present.
"unexpectedSystemCallHandler": True or False, # True if system call handlers that are are not in the expected kernel or module code regions are present.
},
"kubernetes": { # Kubernetes-related attributes. # Kubernetes resources associated with the finding.
"accessReviews": [ # Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
{ # Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.
"group": "A String", # The API group of the resource. "*" means all.
"name": "A String", # The name of the resource being requested. Empty means all.
"ns": "A String", # Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
"resource": "A String", # The optional resource type requested. "*" means all.
"subresource": "A String", # The optional subresource type.
"verb": "A String", # A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
"version": "A String", # The API version of the resource. "*" means all.
},
],
"bindings": [ # Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Represents a Kubernetes RoleBinding or ClusterRoleBinding.
"name": "A String", # Name for the binding.
"ns": "A String", # Namespace for the binding.
"role": { # Kubernetes Role or ClusterRole. # The Role or ClusterRole referenced by the binding.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
"subjects": [ # Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
{ # Represents a Kubernetes subject.
"kind": "A String", # Authentication type for the subject.
"name": "A String", # Name for the subject.
"ns": "A String", # Namespace for the subject.
},
],
},
],
"nodePools": [ # GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
{ # Provides GKE node pool information.
"name": "A String", # Kubernetes node pool name.
"nodes": [ # Nodes associated with the finding.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
},
],
"nodes": [ # Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
"objects": [ # Kubernetes objects related to the finding.
{ # Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"group": "A String", # Kubernetes object group, such as "policy.k8s.io/v1".
"kind": "A String", # Kubernetes object kind, such as "Namespace".
"name": "A String", # Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
"ns": "A String", # Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
},
],
"pods": [ # Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
{ # A Kubernetes Pod.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"labels": [ # Pod labels. For Kubernetes containers, these are applied to the container.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Kubernetes Pod name.
"ns": "A String", # Kubernetes Pod namespace.
},
],
"roles": [ # Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Kubernetes Role or ClusterRole.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
],
},
"loadBalancers": [ # The load balancers associated with the finding.
{ # Contains information related to the load balancer associated with the finding.
"name": "A String", # The name of the load balancer associated with the finding.
},
],
"logEntries": [ # Log entries that are relevant to the finding.
{ # An individual entry in a log.
"cloudLoggingEntry": { # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) # An individual entry in a log stored in Cloud Logging.
"insertId": "A String", # A unique identifier for the log entry.
"logId": "A String", # The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.
"resourceContainer": "A String", # The organization, folder, or project of the monitored resource that produced this log entry.
"timestamp": "A String", # The time the event described by the log entry occurred.
},
},
],
"mitreAttack": { # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
"additionalTactics": [ # Additional MITRE ATT&CK tactics related to this finding, if any.
"A String",
],
"additionalTechniques": [ # Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
"A String",
],
"primaryTactic": "A String", # The MITRE ATT&CK tactic most closely represented by this finding, if any.
"primaryTechniques": [ # The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
"A String",
],
"version": "A String", # The MITRE ATT&CK version referenced by the above fields. E.g. "8".
},
"moduleName": "A String", # Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
"mute": "A String", # Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
"muteInfo": { # Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules. # Output only. The mute information regarding this finding.
"dynamicMuteRecords": [ # The list of dynamic mute rules that currently match the finding.
{ # The record of a dynamic mute rule that matches the finding.
"matchTime": "A String", # When the dynamic mute rule first matched the finding.
"muteConfig": "A String", # The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
},
],
"staticMute": { # Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly. # If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
"applyTime": "A String", # When the static mute was applied.
"state": "A String", # The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
},
},
"muteInitiator": "A String", # Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
"muteUpdateTime": "A String", # Output only. The most recent time this finding was muted or unmuted.
"name": "A String", # The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
"networks": [ # Represents the VPC networks that the resource is attached to.
{ # Contains information about a VPC network associated with the finding.
"name": "A String", # The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
},
],
"nextSteps": "A String", # Steps to address the finding.
"notebook": { # Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding. # Notebook associated with the finding.
"lastAuthor": "A String", # The user ID of the latest author to modify the notebook.
"name": "A String", # The name of the notebook.
"notebookUpdateTime": "A String", # The most recent time the notebook was updated.
"service": "A String", # The source notebook service, for example, "Colab Enterprise".
},
"orgPolicies": [ # Contains information about the org policies associated with the finding.
{ # Contains information about the org policies associated with the finding.
"name": "A String", # The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}"
},
],
"parent": "A String", # The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
"parentDisplayName": "A String", # Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
"processes": [ # Represents operating system processes associated with the Finding.
{ # Represents an operating system process.
"args": [ # Process arguments as JSON encoded strings.
"A String",
],
"argumentsTruncated": True or False, # True if `args` is incomplete.
"binary": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # File information for the process executable.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"envVariables": [ # Process environment variables.
{ # A name-value pair representing an environment variable used in an operating system process.
"name": "A String", # Environment variable name as a JSON encoded string.
"val": "A String", # Environment variable value as a JSON encoded string.
},
],
"envVariablesTruncated": True or False, # True if `env_variables` is incomplete.
"libraries": [ # File information for libraries loaded by the process.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"name": "A String", # The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
"parentPid": "A String", # The parent process ID.
"pid": "A String", # The process ID.
"script": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"userId": "A String", # The ID of the user that executed the process. E.g. If this is the root user this will always be 0.
},
],
"resourceName": "A String", # For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
"securityMarks": { # User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization. # Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
"canonicalName": "A String", # The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
"marks": { # Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
"a_key": "A String",
},
"name": "A String", # The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
},
"securityPosture": { # Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud. # The security posture associated with the finding.
"changedPolicy": "A String", # The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.
"name": "A String", # Name of the posture, for example, `CIS-Posture`.
"policy": "A String", # The ID of the updated policy, for example, `compute-policy-1`.
"policyDriftDetails": [ # The details about a change in an updated policy that violates the deployed posture.
{ # The policy field that violates the deployed posture and its expected and detected values.
"detectedValue": "A String", # The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892"}`.
"expectedValue": "A String", # The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892"}`.
"field": "A String", # The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
},
],
"policySet": "A String", # The name of the updated policyset, for example, `cis-policyset`.
"postureDeployment": "A String", # The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.
"postureDeploymentResource": "A String", # The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.
"revisionId": "A String", # The version of the posture, for example, `c7cfa2a8`.
},
"severity": "A String", # The severity of the finding. This field is managed by the source that writes the finding.
"sourceProperties": { # Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
"a_key": "",
},
"state": "A String", # The state of the finding.
"toxicCombination": { # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.
"attackExposureScore": 3.14, # The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
"relatedFindings": [ # List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
"A String",
],
},
"vertexAi": { # Vertex AI-related information associated with the finding. # VertexAi associated with the finding.
"datasets": [ # Datasets associated with the finding.
{ # Vertex AI dataset associated with the finding.
"displayName": "A String", # The user defined display name of dataset, e.g. plants-dataset
"name": "A String", # Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856
"source": "A String", # Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod
},
],
"pipelines": [ # Pipelines associated with the finding.
{ # Vertex AI training pipeline associated with the finding.
"displayName": "A String", # The user defined display name of pipeline, e.g. plants-classification
"name": "A String", # Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496
},
],
},
"vulnerability": { # Refers to common vulnerability fields e.g. cve, cvss, cwe etc. # Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cve": { # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability. # CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cvssv3": { # Common Vulnerability Scoring System version 3. # Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
"attackComplexity": "A String", # This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
"attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.
"availabilityImpact": "A String", # This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
"baseScore": 3.14, # The base score is a function of the base metric scores.
"confidentialityImpact": "A String", # This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
"integrityImpact": "A String", # This metric measures the impact to integrity of a successfully exploited vulnerability.
"privilegesRequired": "A String", # This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
"scope": "A String", # The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
"userInteraction": "A String", # This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
},
"exploitReleaseDate": "A String", # Date the first publicly available exploit or PoC was released.
"exploitationActivity": "A String", # The exploitation activity of the vulnerability in the wild.
"firstExploitationDate": "A String", # Date of the earliest known exploitation.
"id": "A String", # The unique identifier for the vulnerability. e.g. CVE-2021-34527
"impact": "A String", # The potential impact of the vulnerability if it was to be exploited.
"observedInTheWild": True or False, # Whether or not the vulnerability has been observed in the wild.
"references": [ # Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
"upstreamFixAvailable": True or False, # Whether upstream fix is available for the CVE.
"zeroDay": True or False, # Whether or not the vulnerability was zero day when the finding was published.
},
"cwes": [ # Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
{ # CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
"id": "A String", # The CWE identifier, e.g. CWE-94
"references": [ # Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
},
],
"fixedPackage": { # Package is a generic definition of a package. # The fixed package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"offendingPackage": { # Package is a generic definition of a package. # The offending package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"providerRiskScore": "A String", # Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
"reachable": True or False, # Represents whether the vulnerability is reachable (detected via static analysis)
"securityBulletin": { # SecurityBulletin are notifications of vulnerabilities of Google products. # The security bulletin is relevant to this finding.
"bulletinId": "A String", # ID of the bulletin corresponding to the vulnerability.
"submissionTime": "A String", # Submission time of this Security Bulletin.
"suggestedUpgradeVersion": "A String", # This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0
},
},
},
"resource": { # Information related to the Google Cloud resource that is associated with this finding. # Output only. Resource that is associated with this finding.
"awsMetadata": { # AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services. # The AWS metadata associated with the finding.
"account": { # An AWS account that is a member of an organization. # The AWS account associated with the resource.
"id": "A String", # The unique identifier (ID) of the account, containing exactly 12 digits.
"name": "A String", # The friendly name of this account.
},
"organization": { # An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies. # The AWS organization associated with the resource.
"id": "A String", # The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.
},
"organizationalUnits": [ # A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.
{ # An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.
"id": "A String", # The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits. For example, "ou-ab12-cd34ef56".
"name": "A String", # The friendly name of the OU.
},
],
},
"azureMetadata": { # Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure. # The Azure metadata associated with the finding.
"managementGroups": [ # A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
{ # Represents an Azure management group.
"displayName": "A String", # The display name of the Azure management group.
"id": "A String", # The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.
},
],
"resourceGroup": { # Represents an Azure resource group. # The Azure resource group associated with the resource.
"id": "A String", # The ID of the Azure resource group.
"name": "A String", # The name of the Azure resource group. This is not a UUID.
},
"subscription": { # Represents an Azure subscription. # The Azure subscription associated with the resource.
"displayName": "A String", # The display name of the Azure subscription.
"id": "A String", # The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
},
"tenant": { # Represents a Microsoft Entra tenant. # The Azure Entra tenant associated with the resource.
"displayName": "A String", # The display name of the Azure tenant.
"id": "A String", # The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-1aaa11a".
},
},
"cloudProvider": "A String", # Indicates which cloud provider the finding is from.
"displayName": "A String", # The human readable name of the resource.
"folders": [ # Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
{ # Message that contains the resource name and display name of a folder resource.
"resourceFolder": "A String", # Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
"resourceFolderDisplayName": "A String", # The user defined display name for this folder.
},
],
"location": "A String", # The region or location of the service (if applicable).
"name": "A String", # The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
"organization": "A String", # Indicates which organization / tenant the finding is for.
"parentDisplayName": "A String", # The human readable name of resource's parent.
"parentName": "A String", # The full resource name of resource's parent.
"projectDisplayName": "A String", # The project ID that the resource belongs to.
"projectName": "A String", # The full resource name of project that the resource belongs to.
"resourcePath": { # Represents the path of resources leading up to the resource this finding is about. # Provides the path to the resource within the resource hierarchy.
"nodes": [ # The list of nodes that make the up resource path, ordered from lowest level to highest level.
{ # A node within the resource path. Each node represents a resource within the resource hierarchy.
"displayName": "A String", # The display name of the resource this node represents.
"id": "A String", # The ID of the resource this node represents.
"nodeType": "A String", # The type of resource this node represents.
},
],
},
"resourcePathString": "A String", # A string representation of the resource path. For Google Cloud, it has the format of `org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.
"service": "A String", # The service or resource provider associated with the resource.
"type": "A String", # The full resource type of the resource.
},
"stateChange": "A String", # State change of the finding between the points in time.
},
],
"nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results.
"readTime": "A String", # Time used for executing the list request.
"totalSize": 42, # The total number of findings matching the query.
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next()</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
Args:
name: string, The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", "projects/{project_id}/sources/{source_id}/findings/{finding_id}". (required)
body: object, The request body.
The object takes the form of:
{ # Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.
"access": { # Represents an access event. # Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
"callerIp": "A String", # Caller's IP address, such as "1.1.1.1".
"callerIpGeo": { # Represents a geographical location for a given access. # The caller IP's geolocation, which identifies where the call came from.
"regionCode": "A String", # A CLDR.
},
"methodName": "A String", # The method that the service account called, e.g. "SetIamPolicy".
"principalEmail": "A String", # Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
"principalSubject": "A String", # A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
"serviceAccountDelegationInfo": [ # The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
{ # Identity delegation history of an authenticated service account.
"principalEmail": "A String", # The email address of a Google account.
"principalSubject": "A String", # A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
},
],
"serviceAccountKeyName": "A String", # The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
"serviceName": "A String", # This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
"userAgent": "A String", # The caller's user agent string associated with the finding.
"userAgentFamily": "A String", # Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
"userName": "A String", # A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
},
"affectedResources": { # Details about resources affected by this finding. # AffectedResources associated with the finding.
"count": "A String", # The count of resources affected by the finding.
},
"aiModel": { # Contains information about the AI model associated with the finding. # The AI model associated with the finding.
"deploymentPlatform": "A String", # The platform on which the model is deployed.
"displayName": "A String", # The user defined display name of model. Ex. baseline-classification-model
"domain": "A String", # The domain of the model, for example, “image-classification”.
"library": "A String", # The name of the model library, for example, “transformers”.
"location": "A String", # The region in which the model is used, for example, “us-central1”.
"name": "A String", # The name of the AI model, for example, "gemini:1.0.0".
"publisher": "A String", # The publisher of the model, for example, “google” or “nvidia”.
},
"application": { # Represents an application associated with a finding. # Represents an application associated with the finding.
"baseUri": "A String", # The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.
"fullUri": "A String", # The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.
},
"attackExposure": { # An attack exposure contains the results of an attack path simulation run. # The results of an attack path simulation relevant to this finding.
"attackExposureResult": "A String", # The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`
"exposedHighValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedLowValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedMediumValueResourcesCount": 42, # The number of medium value resources that are exposed as a result of this finding.
"latestCalculationTime": "A String", # The most recent time the attack exposure was updated on this finding.
"score": 3.14, # A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
"state": "A String", # What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
},
"backupDisasterRecovery": { # Information related to Google Cloud Backup and DR Service findings. # Fields related to Backup and DR findings.
"appliance": "A String", # The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.
"applications": [ # The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
"A String",
],
"backupCreateTime": "A String", # The timestamp at which the Backup and DR backup was created.
"backupTemplate": "A String", # The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.
"backupType": "A String", # The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
"host": "A String", # The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.
"policies": [ # The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.
"A String",
],
"policyOptions": [ # The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.
"A String",
],
"profile": "A String", # The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.
"storagePool": "A String", # The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.
},
"canonicalName": "A String", # The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.
"category": "A String", # The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
"chokepoint": { # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
"relatedFindings": [ # List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
"A String",
],
},
"cloudArmor": { # Fields related to Google Cloud Armor findings. # Fields related to Cloud Armor findings.
"adaptiveProtection": { # Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). # Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
"confidence": 3.14, # A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.
},
"attack": { # Information about DDoS attack volume and classification. # Information about DDoS attack volume and classification.
"classification": "A String", # Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
"volumeBps": 42, # Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
"volumeBpsLong": "A String", # Total BPS (bytes per second) volume of attack.
"volumePps": 42, # Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
"volumePpsLong": "A String", # Total PPS (packets per second) volume of attack.
},
"duration": "A String", # Duration of attack from the start until the current moment (updated every 5 minutes).
"requests": { # Information about the requests relevant to the finding. # Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).
"longTermAllowed": 42, # Allowed RPS (requests per second) over the long term.
"longTermDenied": 42, # Denied RPS (requests per second) over the long term.
"ratio": 3.14, # For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
"shortTermAllowed": 42, # Allowed RPS (requests per second) in the short term.
},
"securityPolicy": { # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding. # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
"name": "A String", # The name of the Google Cloud Armor security policy, for example, "my-security-policy".
"preview": True or False, # Whether or not the associated rule or policy is in preview mode.
"type": "A String", # The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.
},
"threatVector": "A String", # Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.
},
"cloudDlpDataProfile": { # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding. # Cloud DLP data profile that is associated with the finding.
"dataProfile": "A String", # Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
"parentType": "A String", # The resource hierarchy level at which the data profile was generated.
},
"cloudDlpInspection": { # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding. # Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
"fullScan": True or False, # Whether Cloud DLP scanned the complete resource or a sampled subset.
"infoType": "A String", # The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
"infoTypeCount": "A String", # The number of times Cloud DLP found this infoType within this job and resource.
"inspectJob": "A String", # Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
},
"complianceDetails": { # Compliance Details associated with the finding. # Details about the compliance implications of the finding.
"cloudControl": { # CloudControl associated with the finding. # CloudControl associated with the finding
"cloudControlName": "A String", # Name of the CloudControl associated with the finding.
"policyType": "A String", # Policy type of the CloudControl
"type": "A String", # Type of cloud control.
"version": 42, # Version of the Cloud Control
},
"cloudControlDeploymentNames": [ # Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier
"A String",
],
"frameworks": [ # Details of Frameworks associated with the finding
{ # Compliance framework associated with the finding.
"category": [ # Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads
"A String",
],
"controls": [ # The controls associated with the framework.
{ # Compliance control associated with the finding.
"controlName": "A String", # Name of the Control
"displayName": "A String", # Display name of the control. For example, AU-02.
},
],
"displayName": "A String", # Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework
"name": "A String", # Name of the framework associated with the finding
"type": "A String", # Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)
},
],
},
"compliances": [ # Contains compliance information for security standards associated to the finding.
{ # Contains compliance information about a security standard indicating unmet recommendations.
"ids": [ # Policies within the standard or benchmark, for example, A.12.4.1
"A String",
],
"standard": "A String", # Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
"version": "A String", # Version of the standard or benchmark, for example, 1.1
},
],
"connections": [ # Contains information about the IP connection associated with the finding.
{ # Contains information about the IP connection associated with the finding.
"destinationIp": "A String", # Destination IP address. Not present for sockets that are listening and not connected.
"destinationPort": 42, # Destination port. Not present for sockets that are listening and not connected.
"protocol": "A String", # IANA Internet Protocol Number such as TCP(6) and UDP(17).
"sourceIp": "A String", # Source IP address.
"sourcePort": 42, # Source port.
},
],
"contacts": { # Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { "security": { "contacts": [ { "email": "person1@company.com" }, { "email": "person2@company.com" } ] } }
"a_key": { # Details about specific contacts
"contacts": [ # A list of contacts
{ # The email address of a contact.
"email": "A String", # An email address. For example, "`person123@company.com`".
},
],
},
},
"containers": [ # Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"createTime": "A String", # The time at which the finding was created in Security Command Center.
"dataAccessEvents": [ # Data access events associated with the finding.
{ # Details about a data access attempt made by a principal not authorized under applicable data security policy.
"eventId": "A String", # Unique identifier for data access event.
"eventTime": "A String", # Timestamp of data access event.
"operation": "A String", # The operation performed by the principal to access the data.
"principalEmail": "A String", # The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
},
],
"dataFlowEvents": [ # Data flow events associated with the finding.
{ # Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.
"eventId": "A String", # Unique identifier for data flow event.
"eventTime": "A String", # Timestamp of data flow event.
"operation": "A String", # The operation performed by the principal for the data flow event.
"principalEmail": "A String", # The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.
"violatedLocation": "A String", # Non-compliant location of the principal or the data destination.
},
],
"dataRetentionDeletionEvents": [ # Data retention deletion events associated with the finding.
{ # Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.
"dataObjectCount": "A String", # Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
"eventDetectionTime": "A String", # Timestamp indicating when the event was detected.
"eventType": "A String", # Type of the DRD event.
"maxRetentionAllowed": "A String", # Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
},
],
"database": { # Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided. # Database associated with the finding.
"displayName": "A String", # The human-readable name of the database that the user connected to.
"grantees": [ # The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
"A String",
],
"name": "A String", # Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
"query": "A String", # The SQL statement that is associated with the database access.
"userName": "A String", # The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
"version": "A String", # The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
},
"description": "A String", # Contains more details about the finding.
"disk": { # Contains information about the disk associated with the finding. # Disk associated with the finding.
"name": "A String", # The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
},
"eventTime": "A String", # The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
"exfiltration": { # Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to. # Represents exfiltrations associated with the finding.
"sources": [ # If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"targets": [ # If there are multiple targets, each target would get a complete copy of the "joined" source data.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"totalExfiltratedBytes": "A String", # Total exfiltrated bytes processed for the entire job.
},
"externalSystems": { # Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
"a_key": { # Representation of third party SIEM/SOAR fields within SCC.
"assignees": [ # References primary/secondary etc assignees in the external system.
"A String",
],
"caseCloseTime": "A String", # The time when the case was closed, as reported by the external system.
"caseCreateTime": "A String", # The time when the case was created, as reported by the external system.
"casePriority": "A String", # The priority of the finding's corresponding case in the external system.
"caseSla": "A String", # The SLA of the finding's corresponding case in the external system.
"caseUri": "A String", # The link to the finding's corresponding case in the external system.
"externalSystemUpdateTime": "A String", # The time when the case was last updated, as reported by the external system.
"externalUid": "A String", # The identifier that's used to track the finding's corresponding case in the external system.
"name": "A String", # Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
"status": "A String", # The most recent status of the finding's corresponding case, as reported by the external system.
"ticketInfo": { # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
"assignee": "A String", # The assignee of the ticket in the ticket system.
"description": "A String", # The description of the ticket in the ticket system.
"id": "A String", # The identifier of the ticket in the ticket system.
"status": "A String", # The latest status of the ticket, as reported by the ticket system.
"updateTime": "A String", # The time when the ticket was last updated, as reported by the ticket system.
"uri": "A String", # The link to the ticket in the ticket system.
},
},
},
"externalUri": "A String", # The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
"files": [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"findingClass": "A String", # The class of the finding.
"groupMemberships": [ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.
{ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
"groupId": "A String", # ID of the group.
"groupType": "A String", # Type of group.
},
],
"iamBindings": [ # Represents IAM bindings associated with the finding.
{ # Represents a particular IAM binding, which captures a member's role addition, removal, or state.
"action": "A String", # The action that was performed on a Binding.
"member": "A String", # A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".
"role": "A String", # Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
},
],
"indicator": { # Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). # Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
"domains": [ # List of domains associated to the Finding.
"A String",
],
"ipAddresses": [ # The list of IP addresses that are associated with the finding.
"A String",
],
"signatures": [ # The list of matched signatures indicating that the given process is present in the environment.
{ # Indicates what signature matched this process.
"memoryHashSignature": { # A signature corresponding to memory page hashes. # Signature indicating that a binary family was matched.
"binaryFamily": "A String", # The binary family.
"detections": [ # The list of memory hash detections contributing to the binary family match.
{ # Memory hash detection contributing to the binary family match.
"binary": "A String", # The name of the binary associated with the memory hash signature detection.
"percentPagesMatched": 3.14, # The percentage of memory page hashes in the signature that were matched.
},
],
},
"signatureType": "A String", # Describes the type of resource associated with the signature.
"yaraRuleSignature": { # A signature corresponding to a YARA rule. # Signature indicating that a YARA rule was matched.
"yaraRule": "A String", # The name of the YARA rule.
},
},
],
"uris": [ # The list of URIs associated to the Findings.
"A String",
],
},
"ipRules": { # IP rules associated with the finding. # IP rules associated with the finding.
"allowed": { # Allowed IP rule. # Tuple with allowed rules.
"ipRules": [ # Optional. Optional list of allowed IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"denied": { # Denied IP rule. # Tuple with denied rules.
"ipRules": [ # Optional. Optional list of denied IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"destinationIpRanges": [ # If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
"direction": "A String", # The direction that the rule is applicable to, one of ingress or egress.
"exposedServices": [ # Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
"A String",
],
"sourceIpRanges": [ # If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
},
"job": { # Describes a job # Job associated with the finding.
"errorCode": 42, # Optional. If the job did not complete successfully, this field describes why.
"location": "A String", # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
"name": "A String", # The fully-qualified name for a job. e.g. `projects//jobs/`
"state": "A String", # Output only. State of the job, such as `RUNNING` or `PENDING`.
},
"kernelRootkit": { # Kernel mode rootkit signatures. # Signature of the kernel rootkit.
"name": "A String", # Rootkit name, when available.
"unexpectedCodeModification": True or False, # True if unexpected modifications of kernel code memory are present.
"unexpectedFtraceHandler": True or False, # True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedInterruptHandler": True or False, # True if interrupt handlers that are are not in the expected kernel or module code regions are present.
"unexpectedKernelCodePages": True or False, # True if kernel code pages that are not in the expected kernel or module code regions are present.
"unexpectedKprobeHandler": True or False, # True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedProcessesInRunqueue": True or False, # True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
"unexpectedReadOnlyDataModification": True or False, # True if unexpected modifications of kernel read-only data memory are present.
"unexpectedSystemCallHandler": True or False, # True if system call handlers that are are not in the expected kernel or module code regions are present.
},
"kubernetes": { # Kubernetes-related attributes. # Kubernetes resources associated with the finding.
"accessReviews": [ # Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
{ # Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.
"group": "A String", # The API group of the resource. "*" means all.
"name": "A String", # The name of the resource being requested. Empty means all.
"ns": "A String", # Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
"resource": "A String", # The optional resource type requested. "*" means all.
"subresource": "A String", # The optional subresource type.
"verb": "A String", # A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
"version": "A String", # The API version of the resource. "*" means all.
},
],
"bindings": [ # Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Represents a Kubernetes RoleBinding or ClusterRoleBinding.
"name": "A String", # Name for the binding.
"ns": "A String", # Namespace for the binding.
"role": { # Kubernetes Role or ClusterRole. # The Role or ClusterRole referenced by the binding.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
"subjects": [ # Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
{ # Represents a Kubernetes subject.
"kind": "A String", # Authentication type for the subject.
"name": "A String", # Name for the subject.
"ns": "A String", # Namespace for the subject.
},
],
},
],
"nodePools": [ # GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
{ # Provides GKE node pool information.
"name": "A String", # Kubernetes node pool name.
"nodes": [ # Nodes associated with the finding.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
},
],
"nodes": [ # Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
"objects": [ # Kubernetes objects related to the finding.
{ # Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"group": "A String", # Kubernetes object group, such as "policy.k8s.io/v1".
"kind": "A String", # Kubernetes object kind, such as "Namespace".
"name": "A String", # Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
"ns": "A String", # Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
},
],
"pods": [ # Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
{ # A Kubernetes Pod.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"labels": [ # Pod labels. For Kubernetes containers, these are applied to the container.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Kubernetes Pod name.
"ns": "A String", # Kubernetes Pod namespace.
},
],
"roles": [ # Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Kubernetes Role or ClusterRole.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
],
},
"loadBalancers": [ # The load balancers associated with the finding.
{ # Contains information related to the load balancer associated with the finding.
"name": "A String", # The name of the load balancer associated with the finding.
},
],
"logEntries": [ # Log entries that are relevant to the finding.
{ # An individual entry in a log.
"cloudLoggingEntry": { # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) # An individual entry in a log stored in Cloud Logging.
"insertId": "A String", # A unique identifier for the log entry.
"logId": "A String", # The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.
"resourceContainer": "A String", # The organization, folder, or project of the monitored resource that produced this log entry.
"timestamp": "A String", # The time the event described by the log entry occurred.
},
},
],
"mitreAttack": { # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
"additionalTactics": [ # Additional MITRE ATT&CK tactics related to this finding, if any.
"A String",
],
"additionalTechniques": [ # Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
"A String",
],
"primaryTactic": "A String", # The MITRE ATT&CK tactic most closely represented by this finding, if any.
"primaryTechniques": [ # The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
"A String",
],
"version": "A String", # The MITRE ATT&CK version referenced by the above fields. E.g. "8".
},
"moduleName": "A String", # Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
"mute": "A String", # Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
"muteInfo": { # Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules. # Output only. The mute information regarding this finding.
"dynamicMuteRecords": [ # The list of dynamic mute rules that currently match the finding.
{ # The record of a dynamic mute rule that matches the finding.
"matchTime": "A String", # When the dynamic mute rule first matched the finding.
"muteConfig": "A String", # The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
},
],
"staticMute": { # Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly. # If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
"applyTime": "A String", # When the static mute was applied.
"state": "A String", # The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
},
},
"muteInitiator": "A String", # Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
"muteUpdateTime": "A String", # Output only. The most recent time this finding was muted or unmuted.
"name": "A String", # The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
"networks": [ # Represents the VPC networks that the resource is attached to.
{ # Contains information about a VPC network associated with the finding.
"name": "A String", # The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
},
],
"nextSteps": "A String", # Steps to address the finding.
"notebook": { # Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding. # Notebook associated with the finding.
"lastAuthor": "A String", # The user ID of the latest author to modify the notebook.
"name": "A String", # The name of the notebook.
"notebookUpdateTime": "A String", # The most recent time the notebook was updated.
"service": "A String", # The source notebook service, for example, "Colab Enterprise".
},
"orgPolicies": [ # Contains information about the org policies associated with the finding.
{ # Contains information about the org policies associated with the finding.
"name": "A String", # The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}"
},
],
"parent": "A String", # The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
"parentDisplayName": "A String", # Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
"processes": [ # Represents operating system processes associated with the Finding.
{ # Represents an operating system process.
"args": [ # Process arguments as JSON encoded strings.
"A String",
],
"argumentsTruncated": True or False, # True if `args` is incomplete.
"binary": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # File information for the process executable.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"envVariables": [ # Process environment variables.
{ # A name-value pair representing an environment variable used in an operating system process.
"name": "A String", # Environment variable name as a JSON encoded string.
"val": "A String", # Environment variable value as a JSON encoded string.
},
],
"envVariablesTruncated": True or False, # True if `env_variables` is incomplete.
"libraries": [ # File information for libraries loaded by the process.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"name": "A String", # The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
"parentPid": "A String", # The parent process ID.
"pid": "A String", # The process ID.
"script": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"userId": "A String", # The ID of the user that executed the process. E.g. If this is the root user this will always be 0.
},
],
"resourceName": "A String", # For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
"securityMarks": { # User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization. # Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
"canonicalName": "A String", # The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
"marks": { # Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
"a_key": "A String",
},
"name": "A String", # The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
},
"securityPosture": { # Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud. # The security posture associated with the finding.
"changedPolicy": "A String", # The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.
"name": "A String", # Name of the posture, for example, `CIS-Posture`.
"policy": "A String", # The ID of the updated policy, for example, `compute-policy-1`.
"policyDriftDetails": [ # The details about a change in an updated policy that violates the deployed posture.
{ # The policy field that violates the deployed posture and its expected and detected values.
"detectedValue": "A String", # The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892"}`.
"expectedValue": "A String", # The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892"}`.
"field": "A String", # The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
},
],
"policySet": "A String", # The name of the updated policyset, for example, `cis-policyset`.
"postureDeployment": "A String", # The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.
"postureDeploymentResource": "A String", # The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.
"revisionId": "A String", # The version of the posture, for example, `c7cfa2a8`.
},
"severity": "A String", # The severity of the finding. This field is managed by the source that writes the finding.
"sourceProperties": { # Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
"a_key": "",
},
"state": "A String", # The state of the finding.
"toxicCombination": { # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.
"attackExposureScore": 3.14, # The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
"relatedFindings": [ # List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
"A String",
],
},
"vertexAi": { # Vertex AI-related information associated with the finding. # VertexAi associated with the finding.
"datasets": [ # Datasets associated with the finding.
{ # Vertex AI dataset associated with the finding.
"displayName": "A String", # The user defined display name of dataset, e.g. plants-dataset
"name": "A String", # Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856
"source": "A String", # Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod
},
],
"pipelines": [ # Pipelines associated with the finding.
{ # Vertex AI training pipeline associated with the finding.
"displayName": "A String", # The user defined display name of pipeline, e.g. plants-classification
"name": "A String", # Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496
},
],
},
"vulnerability": { # Refers to common vulnerability fields e.g. cve, cvss, cwe etc. # Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cve": { # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability. # CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cvssv3": { # Common Vulnerability Scoring System version 3. # Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
"attackComplexity": "A String", # This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
"attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.
"availabilityImpact": "A String", # This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
"baseScore": 3.14, # The base score is a function of the base metric scores.
"confidentialityImpact": "A String", # This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
"integrityImpact": "A String", # This metric measures the impact to integrity of a successfully exploited vulnerability.
"privilegesRequired": "A String", # This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
"scope": "A String", # The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
"userInteraction": "A String", # This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
},
"exploitReleaseDate": "A String", # Date the first publicly available exploit or PoC was released.
"exploitationActivity": "A String", # The exploitation activity of the vulnerability in the wild.
"firstExploitationDate": "A String", # Date of the earliest known exploitation.
"id": "A String", # The unique identifier for the vulnerability. e.g. CVE-2021-34527
"impact": "A String", # The potential impact of the vulnerability if it was to be exploited.
"observedInTheWild": True or False, # Whether or not the vulnerability has been observed in the wild.
"references": [ # Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
"upstreamFixAvailable": True or False, # Whether upstream fix is available for the CVE.
"zeroDay": True or False, # Whether or not the vulnerability was zero day when the finding was published.
},
"cwes": [ # Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
{ # CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
"id": "A String", # The CWE identifier, e.g. CWE-94
"references": [ # Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
},
],
"fixedPackage": { # Package is a generic definition of a package. # The fixed package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"offendingPackage": { # Package is a generic definition of a package. # The offending package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"providerRiskScore": "A String", # Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
"reachable": True or False, # Represents whether the vulnerability is reachable (detected via static analysis)
"securityBulletin": { # SecurityBulletin are notifications of vulnerabilities of Google products. # The security bulletin is relevant to this finding.
"bulletinId": "A String", # ID of the bulletin corresponding to the vulnerability.
"submissionTime": "A String", # Submission time of this Security Bulletin.
"suggestedUpgradeVersion": "A String", # This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0
},
},
}
updateMask: string, The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using "source_properties." in the field mask.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.
"access": { # Represents an access event. # Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
"callerIp": "A String", # Caller's IP address, such as "1.1.1.1".
"callerIpGeo": { # Represents a geographical location for a given access. # The caller IP's geolocation, which identifies where the call came from.
"regionCode": "A String", # A CLDR.
},
"methodName": "A String", # The method that the service account called, e.g. "SetIamPolicy".
"principalEmail": "A String", # Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
"principalSubject": "A String", # A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
"serviceAccountDelegationInfo": [ # The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
{ # Identity delegation history of an authenticated service account.
"principalEmail": "A String", # The email address of a Google account.
"principalSubject": "A String", # A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
},
],
"serviceAccountKeyName": "A String", # The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
"serviceName": "A String", # This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
"userAgent": "A String", # The caller's user agent string associated with the finding.
"userAgentFamily": "A String", # Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
"userName": "A String", # A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
},
"affectedResources": { # Details about resources affected by this finding. # AffectedResources associated with the finding.
"count": "A String", # The count of resources affected by the finding.
},
"aiModel": { # Contains information about the AI model associated with the finding. # The AI model associated with the finding.
"deploymentPlatform": "A String", # The platform on which the model is deployed.
"displayName": "A String", # The user defined display name of model. Ex. baseline-classification-model
"domain": "A String", # The domain of the model, for example, “image-classification”.
"library": "A String", # The name of the model library, for example, “transformers”.
"location": "A String", # The region in which the model is used, for example, “us-central1”.
"name": "A String", # The name of the AI model, for example, "gemini:1.0.0".
"publisher": "A String", # The publisher of the model, for example, “google” or “nvidia”.
},
"application": { # Represents an application associated with a finding. # Represents an application associated with the finding.
"baseUri": "A String", # The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.
"fullUri": "A String", # The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.
},
"attackExposure": { # An attack exposure contains the results of an attack path simulation run. # The results of an attack path simulation relevant to this finding.
"attackExposureResult": "A String", # The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`
"exposedHighValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedLowValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedMediumValueResourcesCount": 42, # The number of medium value resources that are exposed as a result of this finding.
"latestCalculationTime": "A String", # The most recent time the attack exposure was updated on this finding.
"score": 3.14, # A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
"state": "A String", # What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
},
"backupDisasterRecovery": { # Information related to Google Cloud Backup and DR Service findings. # Fields related to Backup and DR findings.
"appliance": "A String", # The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.
"applications": [ # The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
"A String",
],
"backupCreateTime": "A String", # The timestamp at which the Backup and DR backup was created.
"backupTemplate": "A String", # The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.
"backupType": "A String", # The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
"host": "A String", # The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.
"policies": [ # The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.
"A String",
],
"policyOptions": [ # The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.
"A String",
],
"profile": "A String", # The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.
"storagePool": "A String", # The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.
},
"canonicalName": "A String", # The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.
"category": "A String", # The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
"chokepoint": { # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
"relatedFindings": [ # List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
"A String",
],
},
"cloudArmor": { # Fields related to Google Cloud Armor findings. # Fields related to Cloud Armor findings.
"adaptiveProtection": { # Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). # Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
"confidence": 3.14, # A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.
},
"attack": { # Information about DDoS attack volume and classification. # Information about DDoS attack volume and classification.
"classification": "A String", # Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
"volumeBps": 42, # Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
"volumeBpsLong": "A String", # Total BPS (bytes per second) volume of attack.
"volumePps": 42, # Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
"volumePpsLong": "A String", # Total PPS (packets per second) volume of attack.
},
"duration": "A String", # Duration of attack from the start until the current moment (updated every 5 minutes).
"requests": { # Information about the requests relevant to the finding. # Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).
"longTermAllowed": 42, # Allowed RPS (requests per second) over the long term.
"longTermDenied": 42, # Denied RPS (requests per second) over the long term.
"ratio": 3.14, # For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
"shortTermAllowed": 42, # Allowed RPS (requests per second) in the short term.
},
"securityPolicy": { # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding. # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
"name": "A String", # The name of the Google Cloud Armor security policy, for example, "my-security-policy".
"preview": True or False, # Whether or not the associated rule or policy is in preview mode.
"type": "A String", # The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.
},
"threatVector": "A String", # Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.
},
"cloudDlpDataProfile": { # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding. # Cloud DLP data profile that is associated with the finding.
"dataProfile": "A String", # Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
"parentType": "A String", # The resource hierarchy level at which the data profile was generated.
},
"cloudDlpInspection": { # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding. # Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
"fullScan": True or False, # Whether Cloud DLP scanned the complete resource or a sampled subset.
"infoType": "A String", # The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
"infoTypeCount": "A String", # The number of times Cloud DLP found this infoType within this job and resource.
"inspectJob": "A String", # Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
},
"complianceDetails": { # Compliance Details associated with the finding. # Details about the compliance implications of the finding.
"cloudControl": { # CloudControl associated with the finding. # CloudControl associated with the finding
"cloudControlName": "A String", # Name of the CloudControl associated with the finding.
"policyType": "A String", # Policy type of the CloudControl
"type": "A String", # Type of cloud control.
"version": 42, # Version of the Cloud Control
},
"cloudControlDeploymentNames": [ # Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier
"A String",
],
"frameworks": [ # Details of Frameworks associated with the finding
{ # Compliance framework associated with the finding.
"category": [ # Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads
"A String",
],
"controls": [ # The controls associated with the framework.
{ # Compliance control associated with the finding.
"controlName": "A String", # Name of the Control
"displayName": "A String", # Display name of the control. For example, AU-02.
},
],
"displayName": "A String", # Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework
"name": "A String", # Name of the framework associated with the finding
"type": "A String", # Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)
},
],
},
"compliances": [ # Contains compliance information for security standards associated to the finding.
{ # Contains compliance information about a security standard indicating unmet recommendations.
"ids": [ # Policies within the standard or benchmark, for example, A.12.4.1
"A String",
],
"standard": "A String", # Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
"version": "A String", # Version of the standard or benchmark, for example, 1.1
},
],
"connections": [ # Contains information about the IP connection associated with the finding.
{ # Contains information about the IP connection associated with the finding.
"destinationIp": "A String", # Destination IP address. Not present for sockets that are listening and not connected.
"destinationPort": 42, # Destination port. Not present for sockets that are listening and not connected.
"protocol": "A String", # IANA Internet Protocol Number such as TCP(6) and UDP(17).
"sourceIp": "A String", # Source IP address.
"sourcePort": 42, # Source port.
},
],
"contacts": { # Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { "security": { "contacts": [ { "email": "person1@company.com" }, { "email": "person2@company.com" } ] } }
"a_key": { # Details about specific contacts
"contacts": [ # A list of contacts
{ # The email address of a contact.
"email": "A String", # An email address. For example, "`person123@company.com`".
},
],
},
},
"containers": [ # Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"createTime": "A String", # The time at which the finding was created in Security Command Center.
"dataAccessEvents": [ # Data access events associated with the finding.
{ # Details about a data access attempt made by a principal not authorized under applicable data security policy.
"eventId": "A String", # Unique identifier for data access event.
"eventTime": "A String", # Timestamp of data access event.
"operation": "A String", # The operation performed by the principal to access the data.
"principalEmail": "A String", # The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
},
],
"dataFlowEvents": [ # Data flow events associated with the finding.
{ # Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.
"eventId": "A String", # Unique identifier for data flow event.
"eventTime": "A String", # Timestamp of data flow event.
"operation": "A String", # The operation performed by the principal for the data flow event.
"principalEmail": "A String", # The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.
"violatedLocation": "A String", # Non-compliant location of the principal or the data destination.
},
],
"dataRetentionDeletionEvents": [ # Data retention deletion events associated with the finding.
{ # Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.
"dataObjectCount": "A String", # Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
"eventDetectionTime": "A String", # Timestamp indicating when the event was detected.
"eventType": "A String", # Type of the DRD event.
"maxRetentionAllowed": "A String", # Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
},
],
"database": { # Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided. # Database associated with the finding.
"displayName": "A String", # The human-readable name of the database that the user connected to.
"grantees": [ # The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
"A String",
],
"name": "A String", # Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
"query": "A String", # The SQL statement that is associated with the database access.
"userName": "A String", # The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
"version": "A String", # The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
},
"description": "A String", # Contains more details about the finding.
"disk": { # Contains information about the disk associated with the finding. # Disk associated with the finding.
"name": "A String", # The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
},
"eventTime": "A String", # The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
"exfiltration": { # Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to. # Represents exfiltrations associated with the finding.
"sources": [ # If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"targets": [ # If there are multiple targets, each target would get a complete copy of the "joined" source data.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"totalExfiltratedBytes": "A String", # Total exfiltrated bytes processed for the entire job.
},
"externalSystems": { # Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
"a_key": { # Representation of third party SIEM/SOAR fields within SCC.
"assignees": [ # References primary/secondary etc assignees in the external system.
"A String",
],
"caseCloseTime": "A String", # The time when the case was closed, as reported by the external system.
"caseCreateTime": "A String", # The time when the case was created, as reported by the external system.
"casePriority": "A String", # The priority of the finding's corresponding case in the external system.
"caseSla": "A String", # The SLA of the finding's corresponding case in the external system.
"caseUri": "A String", # The link to the finding's corresponding case in the external system.
"externalSystemUpdateTime": "A String", # The time when the case was last updated, as reported by the external system.
"externalUid": "A String", # The identifier that's used to track the finding's corresponding case in the external system.
"name": "A String", # Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
"status": "A String", # The most recent status of the finding's corresponding case, as reported by the external system.
"ticketInfo": { # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
"assignee": "A String", # The assignee of the ticket in the ticket system.
"description": "A String", # The description of the ticket in the ticket system.
"id": "A String", # The identifier of the ticket in the ticket system.
"status": "A String", # The latest status of the ticket, as reported by the ticket system.
"updateTime": "A String", # The time when the ticket was last updated, as reported by the ticket system.
"uri": "A String", # The link to the ticket in the ticket system.
},
},
},
"externalUri": "A String", # The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
"files": [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"findingClass": "A String", # The class of the finding.
"groupMemberships": [ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.
{ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
"groupId": "A String", # ID of the group.
"groupType": "A String", # Type of group.
},
],
"iamBindings": [ # Represents IAM bindings associated with the finding.
{ # Represents a particular IAM binding, which captures a member's role addition, removal, or state.
"action": "A String", # The action that was performed on a Binding.
"member": "A String", # A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".
"role": "A String", # Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
},
],
"indicator": { # Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). # Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
"domains": [ # List of domains associated to the Finding.
"A String",
],
"ipAddresses": [ # The list of IP addresses that are associated with the finding.
"A String",
],
"signatures": [ # The list of matched signatures indicating that the given process is present in the environment.
{ # Indicates what signature matched this process.
"memoryHashSignature": { # A signature corresponding to memory page hashes. # Signature indicating that a binary family was matched.
"binaryFamily": "A String", # The binary family.
"detections": [ # The list of memory hash detections contributing to the binary family match.
{ # Memory hash detection contributing to the binary family match.
"binary": "A String", # The name of the binary associated with the memory hash signature detection.
"percentPagesMatched": 3.14, # The percentage of memory page hashes in the signature that were matched.
},
],
},
"signatureType": "A String", # Describes the type of resource associated with the signature.
"yaraRuleSignature": { # A signature corresponding to a YARA rule. # Signature indicating that a YARA rule was matched.
"yaraRule": "A String", # The name of the YARA rule.
},
},
],
"uris": [ # The list of URIs associated to the Findings.
"A String",
],
},
"ipRules": { # IP rules associated with the finding. # IP rules associated with the finding.
"allowed": { # Allowed IP rule. # Tuple with allowed rules.
"ipRules": [ # Optional. Optional list of allowed IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"denied": { # Denied IP rule. # Tuple with denied rules.
"ipRules": [ # Optional. Optional list of denied IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"destinationIpRanges": [ # If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
"direction": "A String", # The direction that the rule is applicable to, one of ingress or egress.
"exposedServices": [ # Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
"A String",
],
"sourceIpRanges": [ # If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
},
"job": { # Describes a job # Job associated with the finding.
"errorCode": 42, # Optional. If the job did not complete successfully, this field describes why.
"location": "A String", # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
"name": "A String", # The fully-qualified name for a job. e.g. `projects//jobs/`
"state": "A String", # Output only. State of the job, such as `RUNNING` or `PENDING`.
},
"kernelRootkit": { # Kernel mode rootkit signatures. # Signature of the kernel rootkit.
"name": "A String", # Rootkit name, when available.
"unexpectedCodeModification": True or False, # True if unexpected modifications of kernel code memory are present.
"unexpectedFtraceHandler": True or False, # True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedInterruptHandler": True or False, # True if interrupt handlers that are are not in the expected kernel or module code regions are present.
"unexpectedKernelCodePages": True or False, # True if kernel code pages that are not in the expected kernel or module code regions are present.
"unexpectedKprobeHandler": True or False, # True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedProcessesInRunqueue": True or False, # True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
"unexpectedReadOnlyDataModification": True or False, # True if unexpected modifications of kernel read-only data memory are present.
"unexpectedSystemCallHandler": True or False, # True if system call handlers that are are not in the expected kernel or module code regions are present.
},
"kubernetes": { # Kubernetes-related attributes. # Kubernetes resources associated with the finding.
"accessReviews": [ # Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
{ # Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.
"group": "A String", # The API group of the resource. "*" means all.
"name": "A String", # The name of the resource being requested. Empty means all.
"ns": "A String", # Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
"resource": "A String", # The optional resource type requested. "*" means all.
"subresource": "A String", # The optional subresource type.
"verb": "A String", # A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
"version": "A String", # The API version of the resource. "*" means all.
},
],
"bindings": [ # Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Represents a Kubernetes RoleBinding or ClusterRoleBinding.
"name": "A String", # Name for the binding.
"ns": "A String", # Namespace for the binding.
"role": { # Kubernetes Role or ClusterRole. # The Role or ClusterRole referenced by the binding.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
"subjects": [ # Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
{ # Represents a Kubernetes subject.
"kind": "A String", # Authentication type for the subject.
"name": "A String", # Name for the subject.
"ns": "A String", # Namespace for the subject.
},
],
},
],
"nodePools": [ # GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
{ # Provides GKE node pool information.
"name": "A String", # Kubernetes node pool name.
"nodes": [ # Nodes associated with the finding.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
},
],
"nodes": [ # Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
"objects": [ # Kubernetes objects related to the finding.
{ # Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"group": "A String", # Kubernetes object group, such as "policy.k8s.io/v1".
"kind": "A String", # Kubernetes object kind, such as "Namespace".
"name": "A String", # Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
"ns": "A String", # Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
},
],
"pods": [ # Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
{ # A Kubernetes Pod.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"labels": [ # Pod labels. For Kubernetes containers, these are applied to the container.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Kubernetes Pod name.
"ns": "A String", # Kubernetes Pod namespace.
},
],
"roles": [ # Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Kubernetes Role or ClusterRole.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
],
},
"loadBalancers": [ # The load balancers associated with the finding.
{ # Contains information related to the load balancer associated with the finding.
"name": "A String", # The name of the load balancer associated with the finding.
},
],
"logEntries": [ # Log entries that are relevant to the finding.
{ # An individual entry in a log.
"cloudLoggingEntry": { # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) # An individual entry in a log stored in Cloud Logging.
"insertId": "A String", # A unique identifier for the log entry.
"logId": "A String", # The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.
"resourceContainer": "A String", # The organization, folder, or project of the monitored resource that produced this log entry.
"timestamp": "A String", # The time the event described by the log entry occurred.
},
},
],
"mitreAttack": { # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
"additionalTactics": [ # Additional MITRE ATT&CK tactics related to this finding, if any.
"A String",
],
"additionalTechniques": [ # Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
"A String",
],
"primaryTactic": "A String", # The MITRE ATT&CK tactic most closely represented by this finding, if any.
"primaryTechniques": [ # The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
"A String",
],
"version": "A String", # The MITRE ATT&CK version referenced by the above fields. E.g. "8".
},
"moduleName": "A String", # Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
"mute": "A String", # Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
"muteInfo": { # Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules. # Output only. The mute information regarding this finding.
"dynamicMuteRecords": [ # The list of dynamic mute rules that currently match the finding.
{ # The record of a dynamic mute rule that matches the finding.
"matchTime": "A String", # When the dynamic mute rule first matched the finding.
"muteConfig": "A String", # The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
},
],
"staticMute": { # Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly. # If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
"applyTime": "A String", # When the static mute was applied.
"state": "A String", # The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
},
},
"muteInitiator": "A String", # Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
"muteUpdateTime": "A String", # Output only. The most recent time this finding was muted or unmuted.
"name": "A String", # The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
"networks": [ # Represents the VPC networks that the resource is attached to.
{ # Contains information about a VPC network associated with the finding.
"name": "A String", # The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
},
],
"nextSteps": "A String", # Steps to address the finding.
"notebook": { # Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding. # Notebook associated with the finding.
"lastAuthor": "A String", # The user ID of the latest author to modify the notebook.
"name": "A String", # The name of the notebook.
"notebookUpdateTime": "A String", # The most recent time the notebook was updated.
"service": "A String", # The source notebook service, for example, "Colab Enterprise".
},
"orgPolicies": [ # Contains information about the org policies associated with the finding.
{ # Contains information about the org policies associated with the finding.
"name": "A String", # The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}"
},
],
"parent": "A String", # The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
"parentDisplayName": "A String", # Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
"processes": [ # Represents operating system processes associated with the Finding.
{ # Represents an operating system process.
"args": [ # Process arguments as JSON encoded strings.
"A String",
],
"argumentsTruncated": True or False, # True if `args` is incomplete.
"binary": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # File information for the process executable.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"envVariables": [ # Process environment variables.
{ # A name-value pair representing an environment variable used in an operating system process.
"name": "A String", # Environment variable name as a JSON encoded string.
"val": "A String", # Environment variable value as a JSON encoded string.
},
],
"envVariablesTruncated": True or False, # True if `env_variables` is incomplete.
"libraries": [ # File information for libraries loaded by the process.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"name": "A String", # The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
"parentPid": "A String", # The parent process ID.
"pid": "A String", # The process ID.
"script": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"userId": "A String", # The ID of the user that executed the process. E.g. If this is the root user this will always be 0.
},
],
"resourceName": "A String", # For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
"securityMarks": { # User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization. # Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
"canonicalName": "A String", # The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
"marks": { # Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
"a_key": "A String",
},
"name": "A String", # The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
},
"securityPosture": { # Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud. # The security posture associated with the finding.
"changedPolicy": "A String", # The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.
"name": "A String", # Name of the posture, for example, `CIS-Posture`.
"policy": "A String", # The ID of the updated policy, for example, `compute-policy-1`.
"policyDriftDetails": [ # The details about a change in an updated policy that violates the deployed posture.
{ # The policy field that violates the deployed posture and its expected and detected values.
"detectedValue": "A String", # The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892"}`.
"expectedValue": "A String", # The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892"}`.
"field": "A String", # The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
},
],
"policySet": "A String", # The name of the updated policyset, for example, `cis-policyset`.
"postureDeployment": "A String", # The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.
"postureDeploymentResource": "A String", # The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.
"revisionId": "A String", # The version of the posture, for example, `c7cfa2a8`.
},
"severity": "A String", # The severity of the finding. This field is managed by the source that writes the finding.
"sourceProperties": { # Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
"a_key": "",
},
"state": "A String", # The state of the finding.
"toxicCombination": { # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.
"attackExposureScore": 3.14, # The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
"relatedFindings": [ # List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
"A String",
],
},
"vertexAi": { # Vertex AI-related information associated with the finding. # VertexAi associated with the finding.
"datasets": [ # Datasets associated with the finding.
{ # Vertex AI dataset associated with the finding.
"displayName": "A String", # The user defined display name of dataset, e.g. plants-dataset
"name": "A String", # Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856
"source": "A String", # Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod
},
],
"pipelines": [ # Pipelines associated with the finding.
{ # Vertex AI training pipeline associated with the finding.
"displayName": "A String", # The user defined display name of pipeline, e.g. plants-classification
"name": "A String", # Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496
},
],
},
"vulnerability": { # Refers to common vulnerability fields e.g. cve, cvss, cwe etc. # Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cve": { # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability. # CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cvssv3": { # Common Vulnerability Scoring System version 3. # Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
"attackComplexity": "A String", # This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
"attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.
"availabilityImpact": "A String", # This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
"baseScore": 3.14, # The base score is a function of the base metric scores.
"confidentialityImpact": "A String", # This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
"integrityImpact": "A String", # This metric measures the impact to integrity of a successfully exploited vulnerability.
"privilegesRequired": "A String", # This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
"scope": "A String", # The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
"userInteraction": "A String", # This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
},
"exploitReleaseDate": "A String", # Date the first publicly available exploit or PoC was released.
"exploitationActivity": "A String", # The exploitation activity of the vulnerability in the wild.
"firstExploitationDate": "A String", # Date of the earliest known exploitation.
"id": "A String", # The unique identifier for the vulnerability. e.g. CVE-2021-34527
"impact": "A String", # The potential impact of the vulnerability if it was to be exploited.
"observedInTheWild": True or False, # Whether or not the vulnerability has been observed in the wild.
"references": [ # Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
"upstreamFixAvailable": True or False, # Whether upstream fix is available for the CVE.
"zeroDay": True or False, # Whether or not the vulnerability was zero day when the finding was published.
},
"cwes": [ # Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
{ # CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
"id": "A String", # The CWE identifier, e.g. CWE-94
"references": [ # Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
},
],
"fixedPackage": { # Package is a generic definition of a package. # The fixed package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"offendingPackage": { # Package is a generic definition of a package. # The offending package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"providerRiskScore": "A String", # Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
"reachable": True or False, # Represents whether the vulnerability is reachable (detected via static analysis)
"securityBulletin": { # SecurityBulletin are notifications of vulnerabilities of Google products. # The security bulletin is relevant to this finding.
"bulletinId": "A String", # ID of the bulletin corresponding to the vulnerability.
"submissionTime": "A String", # Submission time of this Security Bulletin.
"suggestedUpgradeVersion": "A String", # This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0
},
},
}</pre>
</div>
<div class="method">
<code class="details" id="setMute">setMute(name, body=None, x__xgafv=None)</code>
<pre>Updates the mute state of a finding.
Args:
name: string, Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for updating a finding's mute status.
"mute": "A String", # Required. The desired state of the Mute.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.
"access": { # Represents an access event. # Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
"callerIp": "A String", # Caller's IP address, such as "1.1.1.1".
"callerIpGeo": { # Represents a geographical location for a given access. # The caller IP's geolocation, which identifies where the call came from.
"regionCode": "A String", # A CLDR.
},
"methodName": "A String", # The method that the service account called, e.g. "SetIamPolicy".
"principalEmail": "A String", # Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
"principalSubject": "A String", # A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
"serviceAccountDelegationInfo": [ # The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
{ # Identity delegation history of an authenticated service account.
"principalEmail": "A String", # The email address of a Google account.
"principalSubject": "A String", # A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
},
],
"serviceAccountKeyName": "A String", # The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
"serviceName": "A String", # This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
"userAgent": "A String", # The caller's user agent string associated with the finding.
"userAgentFamily": "A String", # Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
"userName": "A String", # A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
},
"affectedResources": { # Details about resources affected by this finding. # AffectedResources associated with the finding.
"count": "A String", # The count of resources affected by the finding.
},
"aiModel": { # Contains information about the AI model associated with the finding. # The AI model associated with the finding.
"deploymentPlatform": "A String", # The platform on which the model is deployed.
"displayName": "A String", # The user defined display name of model. Ex. baseline-classification-model
"domain": "A String", # The domain of the model, for example, “image-classification”.
"library": "A String", # The name of the model library, for example, “transformers”.
"location": "A String", # The region in which the model is used, for example, “us-central1”.
"name": "A String", # The name of the AI model, for example, "gemini:1.0.0".
"publisher": "A String", # The publisher of the model, for example, “google” or “nvidia”.
},
"application": { # Represents an application associated with a finding. # Represents an application associated with the finding.
"baseUri": "A String", # The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.
"fullUri": "A String", # The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.
},
"attackExposure": { # An attack exposure contains the results of an attack path simulation run. # The results of an attack path simulation relevant to this finding.
"attackExposureResult": "A String", # The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`
"exposedHighValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedLowValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedMediumValueResourcesCount": 42, # The number of medium value resources that are exposed as a result of this finding.
"latestCalculationTime": "A String", # The most recent time the attack exposure was updated on this finding.
"score": 3.14, # A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
"state": "A String", # What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
},
"backupDisasterRecovery": { # Information related to Google Cloud Backup and DR Service findings. # Fields related to Backup and DR findings.
"appliance": "A String", # The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.
"applications": [ # The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
"A String",
],
"backupCreateTime": "A String", # The timestamp at which the Backup and DR backup was created.
"backupTemplate": "A String", # The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.
"backupType": "A String", # The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
"host": "A String", # The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.
"policies": [ # The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.
"A String",
],
"policyOptions": [ # The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.
"A String",
],
"profile": "A String", # The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.
"storagePool": "A String", # The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.
},
"canonicalName": "A String", # The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.
"category": "A String", # The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
"chokepoint": { # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
"relatedFindings": [ # List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
"A String",
],
},
"cloudArmor": { # Fields related to Google Cloud Armor findings. # Fields related to Cloud Armor findings.
"adaptiveProtection": { # Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). # Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
"confidence": 3.14, # A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.
},
"attack": { # Information about DDoS attack volume and classification. # Information about DDoS attack volume and classification.
"classification": "A String", # Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
"volumeBps": 42, # Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
"volumeBpsLong": "A String", # Total BPS (bytes per second) volume of attack.
"volumePps": 42, # Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
"volumePpsLong": "A String", # Total PPS (packets per second) volume of attack.
},
"duration": "A String", # Duration of attack from the start until the current moment (updated every 5 minutes).
"requests": { # Information about the requests relevant to the finding. # Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).
"longTermAllowed": 42, # Allowed RPS (requests per second) over the long term.
"longTermDenied": 42, # Denied RPS (requests per second) over the long term.
"ratio": 3.14, # For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
"shortTermAllowed": 42, # Allowed RPS (requests per second) in the short term.
},
"securityPolicy": { # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding. # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
"name": "A String", # The name of the Google Cloud Armor security policy, for example, "my-security-policy".
"preview": True or False, # Whether or not the associated rule or policy is in preview mode.
"type": "A String", # The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.
},
"threatVector": "A String", # Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.
},
"cloudDlpDataProfile": { # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding. # Cloud DLP data profile that is associated with the finding.
"dataProfile": "A String", # Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
"parentType": "A String", # The resource hierarchy level at which the data profile was generated.
},
"cloudDlpInspection": { # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding. # Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
"fullScan": True or False, # Whether Cloud DLP scanned the complete resource or a sampled subset.
"infoType": "A String", # The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
"infoTypeCount": "A String", # The number of times Cloud DLP found this infoType within this job and resource.
"inspectJob": "A String", # Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
},
"complianceDetails": { # Compliance Details associated with the finding. # Details about the compliance implications of the finding.
"cloudControl": { # CloudControl associated with the finding. # CloudControl associated with the finding
"cloudControlName": "A String", # Name of the CloudControl associated with the finding.
"policyType": "A String", # Policy type of the CloudControl
"type": "A String", # Type of cloud control.
"version": 42, # Version of the Cloud Control
},
"cloudControlDeploymentNames": [ # Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier
"A String",
],
"frameworks": [ # Details of Frameworks associated with the finding
{ # Compliance framework associated with the finding.
"category": [ # Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads
"A String",
],
"controls": [ # The controls associated with the framework.
{ # Compliance control associated with the finding.
"controlName": "A String", # Name of the Control
"displayName": "A String", # Display name of the control. For example, AU-02.
},
],
"displayName": "A String", # Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework
"name": "A String", # Name of the framework associated with the finding
"type": "A String", # Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)
},
],
},
"compliances": [ # Contains compliance information for security standards associated to the finding.
{ # Contains compliance information about a security standard indicating unmet recommendations.
"ids": [ # Policies within the standard or benchmark, for example, A.12.4.1
"A String",
],
"standard": "A String", # Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
"version": "A String", # Version of the standard or benchmark, for example, 1.1
},
],
"connections": [ # Contains information about the IP connection associated with the finding.
{ # Contains information about the IP connection associated with the finding.
"destinationIp": "A String", # Destination IP address. Not present for sockets that are listening and not connected.
"destinationPort": 42, # Destination port. Not present for sockets that are listening and not connected.
"protocol": "A String", # IANA Internet Protocol Number such as TCP(6) and UDP(17).
"sourceIp": "A String", # Source IP address.
"sourcePort": 42, # Source port.
},
],
"contacts": { # Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { "security": { "contacts": [ { "email": "person1@company.com" }, { "email": "person2@company.com" } ] } }
"a_key": { # Details about specific contacts
"contacts": [ # A list of contacts
{ # The email address of a contact.
"email": "A String", # An email address. For example, "`person123@company.com`".
},
],
},
},
"containers": [ # Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"createTime": "A String", # The time at which the finding was created in Security Command Center.
"dataAccessEvents": [ # Data access events associated with the finding.
{ # Details about a data access attempt made by a principal not authorized under applicable data security policy.
"eventId": "A String", # Unique identifier for data access event.
"eventTime": "A String", # Timestamp of data access event.
"operation": "A String", # The operation performed by the principal to access the data.
"principalEmail": "A String", # The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
},
],
"dataFlowEvents": [ # Data flow events associated with the finding.
{ # Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.
"eventId": "A String", # Unique identifier for data flow event.
"eventTime": "A String", # Timestamp of data flow event.
"operation": "A String", # The operation performed by the principal for the data flow event.
"principalEmail": "A String", # The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.
"violatedLocation": "A String", # Non-compliant location of the principal or the data destination.
},
],
"dataRetentionDeletionEvents": [ # Data retention deletion events associated with the finding.
{ # Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.
"dataObjectCount": "A String", # Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
"eventDetectionTime": "A String", # Timestamp indicating when the event was detected.
"eventType": "A String", # Type of the DRD event.
"maxRetentionAllowed": "A String", # Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
},
],
"database": { # Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided. # Database associated with the finding.
"displayName": "A String", # The human-readable name of the database that the user connected to.
"grantees": [ # The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
"A String",
],
"name": "A String", # Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
"query": "A String", # The SQL statement that is associated with the database access.
"userName": "A String", # The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
"version": "A String", # The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
},
"description": "A String", # Contains more details about the finding.
"disk": { # Contains information about the disk associated with the finding. # Disk associated with the finding.
"name": "A String", # The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
},
"eventTime": "A String", # The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
"exfiltration": { # Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to. # Represents exfiltrations associated with the finding.
"sources": [ # If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"targets": [ # If there are multiple targets, each target would get a complete copy of the "joined" source data.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"totalExfiltratedBytes": "A String", # Total exfiltrated bytes processed for the entire job.
},
"externalSystems": { # Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
"a_key": { # Representation of third party SIEM/SOAR fields within SCC.
"assignees": [ # References primary/secondary etc assignees in the external system.
"A String",
],
"caseCloseTime": "A String", # The time when the case was closed, as reported by the external system.
"caseCreateTime": "A String", # The time when the case was created, as reported by the external system.
"casePriority": "A String", # The priority of the finding's corresponding case in the external system.
"caseSla": "A String", # The SLA of the finding's corresponding case in the external system.
"caseUri": "A String", # The link to the finding's corresponding case in the external system.
"externalSystemUpdateTime": "A String", # The time when the case was last updated, as reported by the external system.
"externalUid": "A String", # The identifier that's used to track the finding's corresponding case in the external system.
"name": "A String", # Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
"status": "A String", # The most recent status of the finding's corresponding case, as reported by the external system.
"ticketInfo": { # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
"assignee": "A String", # The assignee of the ticket in the ticket system.
"description": "A String", # The description of the ticket in the ticket system.
"id": "A String", # The identifier of the ticket in the ticket system.
"status": "A String", # The latest status of the ticket, as reported by the ticket system.
"updateTime": "A String", # The time when the ticket was last updated, as reported by the ticket system.
"uri": "A String", # The link to the ticket in the ticket system.
},
},
},
"externalUri": "A String", # The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
"files": [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"findingClass": "A String", # The class of the finding.
"groupMemberships": [ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.
{ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
"groupId": "A String", # ID of the group.
"groupType": "A String", # Type of group.
},
],
"iamBindings": [ # Represents IAM bindings associated with the finding.
{ # Represents a particular IAM binding, which captures a member's role addition, removal, or state.
"action": "A String", # The action that was performed on a Binding.
"member": "A String", # A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".
"role": "A String", # Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
},
],
"indicator": { # Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). # Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
"domains": [ # List of domains associated to the Finding.
"A String",
],
"ipAddresses": [ # The list of IP addresses that are associated with the finding.
"A String",
],
"signatures": [ # The list of matched signatures indicating that the given process is present in the environment.
{ # Indicates what signature matched this process.
"memoryHashSignature": { # A signature corresponding to memory page hashes. # Signature indicating that a binary family was matched.
"binaryFamily": "A String", # The binary family.
"detections": [ # The list of memory hash detections contributing to the binary family match.
{ # Memory hash detection contributing to the binary family match.
"binary": "A String", # The name of the binary associated with the memory hash signature detection.
"percentPagesMatched": 3.14, # The percentage of memory page hashes in the signature that were matched.
},
],
},
"signatureType": "A String", # Describes the type of resource associated with the signature.
"yaraRuleSignature": { # A signature corresponding to a YARA rule. # Signature indicating that a YARA rule was matched.
"yaraRule": "A String", # The name of the YARA rule.
},
},
],
"uris": [ # The list of URIs associated to the Findings.
"A String",
],
},
"ipRules": { # IP rules associated with the finding. # IP rules associated with the finding.
"allowed": { # Allowed IP rule. # Tuple with allowed rules.
"ipRules": [ # Optional. Optional list of allowed IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"denied": { # Denied IP rule. # Tuple with denied rules.
"ipRules": [ # Optional. Optional list of denied IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"destinationIpRanges": [ # If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
"direction": "A String", # The direction that the rule is applicable to, one of ingress or egress.
"exposedServices": [ # Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
"A String",
],
"sourceIpRanges": [ # If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
},
"job": { # Describes a job # Job associated with the finding.
"errorCode": 42, # Optional. If the job did not complete successfully, this field describes why.
"location": "A String", # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
"name": "A String", # The fully-qualified name for a job. e.g. `projects//jobs/`
"state": "A String", # Output only. State of the job, such as `RUNNING` or `PENDING`.
},
"kernelRootkit": { # Kernel mode rootkit signatures. # Signature of the kernel rootkit.
"name": "A String", # Rootkit name, when available.
"unexpectedCodeModification": True or False, # True if unexpected modifications of kernel code memory are present.
"unexpectedFtraceHandler": True or False, # True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedInterruptHandler": True or False, # True if interrupt handlers that are are not in the expected kernel or module code regions are present.
"unexpectedKernelCodePages": True or False, # True if kernel code pages that are not in the expected kernel or module code regions are present.
"unexpectedKprobeHandler": True or False, # True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedProcessesInRunqueue": True or False, # True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
"unexpectedReadOnlyDataModification": True or False, # True if unexpected modifications of kernel read-only data memory are present.
"unexpectedSystemCallHandler": True or False, # True if system call handlers that are are not in the expected kernel or module code regions are present.
},
"kubernetes": { # Kubernetes-related attributes. # Kubernetes resources associated with the finding.
"accessReviews": [ # Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
{ # Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.
"group": "A String", # The API group of the resource. "*" means all.
"name": "A String", # The name of the resource being requested. Empty means all.
"ns": "A String", # Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
"resource": "A String", # The optional resource type requested. "*" means all.
"subresource": "A String", # The optional subresource type.
"verb": "A String", # A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
"version": "A String", # The API version of the resource. "*" means all.
},
],
"bindings": [ # Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Represents a Kubernetes RoleBinding or ClusterRoleBinding.
"name": "A String", # Name for the binding.
"ns": "A String", # Namespace for the binding.
"role": { # Kubernetes Role or ClusterRole. # The Role or ClusterRole referenced by the binding.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
"subjects": [ # Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
{ # Represents a Kubernetes subject.
"kind": "A String", # Authentication type for the subject.
"name": "A String", # Name for the subject.
"ns": "A String", # Namespace for the subject.
},
],
},
],
"nodePools": [ # GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
{ # Provides GKE node pool information.
"name": "A String", # Kubernetes node pool name.
"nodes": [ # Nodes associated with the finding.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
},
],
"nodes": [ # Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
"objects": [ # Kubernetes objects related to the finding.
{ # Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"group": "A String", # Kubernetes object group, such as "policy.k8s.io/v1".
"kind": "A String", # Kubernetes object kind, such as "Namespace".
"name": "A String", # Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
"ns": "A String", # Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
},
],
"pods": [ # Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
{ # A Kubernetes Pod.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"labels": [ # Pod labels. For Kubernetes containers, these are applied to the container.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Kubernetes Pod name.
"ns": "A String", # Kubernetes Pod namespace.
},
],
"roles": [ # Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Kubernetes Role or ClusterRole.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
],
},
"loadBalancers": [ # The load balancers associated with the finding.
{ # Contains information related to the load balancer associated with the finding.
"name": "A String", # The name of the load balancer associated with the finding.
},
],
"logEntries": [ # Log entries that are relevant to the finding.
{ # An individual entry in a log.
"cloudLoggingEntry": { # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) # An individual entry in a log stored in Cloud Logging.
"insertId": "A String", # A unique identifier for the log entry.
"logId": "A String", # The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.
"resourceContainer": "A String", # The organization, folder, or project of the monitored resource that produced this log entry.
"timestamp": "A String", # The time the event described by the log entry occurred.
},
},
],
"mitreAttack": { # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
"additionalTactics": [ # Additional MITRE ATT&CK tactics related to this finding, if any.
"A String",
],
"additionalTechniques": [ # Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
"A String",
],
"primaryTactic": "A String", # The MITRE ATT&CK tactic most closely represented by this finding, if any.
"primaryTechniques": [ # The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
"A String",
],
"version": "A String", # The MITRE ATT&CK version referenced by the above fields. E.g. "8".
},
"moduleName": "A String", # Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
"mute": "A String", # Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
"muteInfo": { # Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules. # Output only. The mute information regarding this finding.
"dynamicMuteRecords": [ # The list of dynamic mute rules that currently match the finding.
{ # The record of a dynamic mute rule that matches the finding.
"matchTime": "A String", # When the dynamic mute rule first matched the finding.
"muteConfig": "A String", # The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
},
],
"staticMute": { # Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly. # If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
"applyTime": "A String", # When the static mute was applied.
"state": "A String", # The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
},
},
"muteInitiator": "A String", # Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
"muteUpdateTime": "A String", # Output only. The most recent time this finding was muted or unmuted.
"name": "A String", # The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
"networks": [ # Represents the VPC networks that the resource is attached to.
{ # Contains information about a VPC network associated with the finding.
"name": "A String", # The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
},
],
"nextSteps": "A String", # Steps to address the finding.
"notebook": { # Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding. # Notebook associated with the finding.
"lastAuthor": "A String", # The user ID of the latest author to modify the notebook.
"name": "A String", # The name of the notebook.
"notebookUpdateTime": "A String", # The most recent time the notebook was updated.
"service": "A String", # The source notebook service, for example, "Colab Enterprise".
},
"orgPolicies": [ # Contains information about the org policies associated with the finding.
{ # Contains information about the org policies associated with the finding.
"name": "A String", # The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}"
},
],
"parent": "A String", # The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
"parentDisplayName": "A String", # Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
"processes": [ # Represents operating system processes associated with the Finding.
{ # Represents an operating system process.
"args": [ # Process arguments as JSON encoded strings.
"A String",
],
"argumentsTruncated": True or False, # True if `args` is incomplete.
"binary": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # File information for the process executable.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"envVariables": [ # Process environment variables.
{ # A name-value pair representing an environment variable used in an operating system process.
"name": "A String", # Environment variable name as a JSON encoded string.
"val": "A String", # Environment variable value as a JSON encoded string.
},
],
"envVariablesTruncated": True or False, # True if `env_variables` is incomplete.
"libraries": [ # File information for libraries loaded by the process.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"name": "A String", # The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
"parentPid": "A String", # The parent process ID.
"pid": "A String", # The process ID.
"script": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"userId": "A String", # The ID of the user that executed the process. E.g. If this is the root user this will always be 0.
},
],
"resourceName": "A String", # For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
"securityMarks": { # User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization. # Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
"canonicalName": "A String", # The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
"marks": { # Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
"a_key": "A String",
},
"name": "A String", # The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
},
"securityPosture": { # Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud. # The security posture associated with the finding.
"changedPolicy": "A String", # The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.
"name": "A String", # Name of the posture, for example, `CIS-Posture`.
"policy": "A String", # The ID of the updated policy, for example, `compute-policy-1`.
"policyDriftDetails": [ # The details about a change in an updated policy that violates the deployed posture.
{ # The policy field that violates the deployed posture and its expected and detected values.
"detectedValue": "A String", # The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892"}`.
"expectedValue": "A String", # The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892"}`.
"field": "A String", # The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
},
],
"policySet": "A String", # The name of the updated policyset, for example, `cis-policyset`.
"postureDeployment": "A String", # The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.
"postureDeploymentResource": "A String", # The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.
"revisionId": "A String", # The version of the posture, for example, `c7cfa2a8`.
},
"severity": "A String", # The severity of the finding. This field is managed by the source that writes the finding.
"sourceProperties": { # Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
"a_key": "",
},
"state": "A String", # The state of the finding.
"toxicCombination": { # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.
"attackExposureScore": 3.14, # The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
"relatedFindings": [ # List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
"A String",
],
},
"vertexAi": { # Vertex AI-related information associated with the finding. # VertexAi associated with the finding.
"datasets": [ # Datasets associated with the finding.
{ # Vertex AI dataset associated with the finding.
"displayName": "A String", # The user defined display name of dataset, e.g. plants-dataset
"name": "A String", # Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856
"source": "A String", # Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod
},
],
"pipelines": [ # Pipelines associated with the finding.
{ # Vertex AI training pipeline associated with the finding.
"displayName": "A String", # The user defined display name of pipeline, e.g. plants-classification
"name": "A String", # Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496
},
],
},
"vulnerability": { # Refers to common vulnerability fields e.g. cve, cvss, cwe etc. # Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cve": { # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability. # CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cvssv3": { # Common Vulnerability Scoring System version 3. # Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
"attackComplexity": "A String", # This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
"attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.
"availabilityImpact": "A String", # This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
"baseScore": 3.14, # The base score is a function of the base metric scores.
"confidentialityImpact": "A String", # This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
"integrityImpact": "A String", # This metric measures the impact to integrity of a successfully exploited vulnerability.
"privilegesRequired": "A String", # This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
"scope": "A String", # The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
"userInteraction": "A String", # This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
},
"exploitReleaseDate": "A String", # Date the first publicly available exploit or PoC was released.
"exploitationActivity": "A String", # The exploitation activity of the vulnerability in the wild.
"firstExploitationDate": "A String", # Date of the earliest known exploitation.
"id": "A String", # The unique identifier for the vulnerability. e.g. CVE-2021-34527
"impact": "A String", # The potential impact of the vulnerability if it was to be exploited.
"observedInTheWild": True or False, # Whether or not the vulnerability has been observed in the wild.
"references": [ # Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
"upstreamFixAvailable": True or False, # Whether upstream fix is available for the CVE.
"zeroDay": True or False, # Whether or not the vulnerability was zero day when the finding was published.
},
"cwes": [ # Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
{ # CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
"id": "A String", # The CWE identifier, e.g. CWE-94
"references": [ # Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
},
],
"fixedPackage": { # Package is a generic definition of a package. # The fixed package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"offendingPackage": { # Package is a generic definition of a package. # The offending package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"providerRiskScore": "A String", # Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
"reachable": True or False, # Represents whether the vulnerability is reachable (detected via static analysis)
"securityBulletin": { # SecurityBulletin are notifications of vulnerabilities of Google products. # The security bulletin is relevant to this finding.
"bulletinId": "A String", # ID of the bulletin corresponding to the vulnerability.
"submissionTime": "A String", # Submission time of this Security Bulletin.
"suggestedUpgradeVersion": "A String", # This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0
},
},
}</pre>
</div>
<div class="method">
<code class="details" id="setState">setState(name, body=None, x__xgafv=None)</code>
<pre>Updates the state of a finding.
Args:
name: string, Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for updating a finding's state.
"startTime": "A String", # Optional. The time at which the updated state takes effect. If unset, defaults to the request time.
"state": "A String", # Required. The desired State of the finding.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.
"access": { # Represents an access event. # Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
"callerIp": "A String", # Caller's IP address, such as "1.1.1.1".
"callerIpGeo": { # Represents a geographical location for a given access. # The caller IP's geolocation, which identifies where the call came from.
"regionCode": "A String", # A CLDR.
},
"methodName": "A String", # The method that the service account called, e.g. "SetIamPolicy".
"principalEmail": "A String", # Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
"principalSubject": "A String", # A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
"serviceAccountDelegationInfo": [ # The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
{ # Identity delegation history of an authenticated service account.
"principalEmail": "A String", # The email address of a Google account.
"principalSubject": "A String", # A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
},
],
"serviceAccountKeyName": "A String", # The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
"serviceName": "A String", # This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
"userAgent": "A String", # The caller's user agent string associated with the finding.
"userAgentFamily": "A String", # Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
"userName": "A String", # A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
},
"affectedResources": { # Details about resources affected by this finding. # AffectedResources associated with the finding.
"count": "A String", # The count of resources affected by the finding.
},
"aiModel": { # Contains information about the AI model associated with the finding. # The AI model associated with the finding.
"deploymentPlatform": "A String", # The platform on which the model is deployed.
"displayName": "A String", # The user defined display name of model. Ex. baseline-classification-model
"domain": "A String", # The domain of the model, for example, “image-classification”.
"library": "A String", # The name of the model library, for example, “transformers”.
"location": "A String", # The region in which the model is used, for example, “us-central1”.
"name": "A String", # The name of the AI model, for example, "gemini:1.0.0".
"publisher": "A String", # The publisher of the model, for example, “google” or “nvidia”.
},
"application": { # Represents an application associated with a finding. # Represents an application associated with the finding.
"baseUri": "A String", # The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.
"fullUri": "A String", # The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.
},
"attackExposure": { # An attack exposure contains the results of an attack path simulation run. # The results of an attack path simulation relevant to this finding.
"attackExposureResult": "A String", # The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`
"exposedHighValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedLowValueResourcesCount": 42, # The number of high value resources that are exposed as a result of this finding.
"exposedMediumValueResourcesCount": 42, # The number of medium value resources that are exposed as a result of this finding.
"latestCalculationTime": "A String", # The most recent time the attack exposure was updated on this finding.
"score": 3.14, # A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
"state": "A String", # What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
},
"backupDisasterRecovery": { # Information related to Google Cloud Backup and DR Service findings. # Fields related to Backup and DR findings.
"appliance": "A String", # The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.
"applications": [ # The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
"A String",
],
"backupCreateTime": "A String", # The timestamp at which the Backup and DR backup was created.
"backupTemplate": "A String", # The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.
"backupType": "A String", # The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
"host": "A String", # The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.
"policies": [ # The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.
"A String",
],
"policyOptions": [ # The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.
"A String",
],
"profile": "A String", # The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.
"storagePool": "A String", # The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.
},
"canonicalName": "A String", # The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.
"category": "A String", # The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
"chokepoint": { # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). # Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests.
"relatedFindings": [ # List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.
"A String",
],
},
"cloudArmor": { # Fields related to Google Cloud Armor findings. # Fields related to Cloud Armor findings.
"adaptiveProtection": { # Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). # Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
"confidence": 3.14, # A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.
},
"attack": { # Information about DDoS attack volume and classification. # Information about DDoS attack volume and classification.
"classification": "A String", # Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
"volumeBps": 42, # Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
"volumeBpsLong": "A String", # Total BPS (bytes per second) volume of attack.
"volumePps": 42, # Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
"volumePpsLong": "A String", # Total PPS (packets per second) volume of attack.
},
"duration": "A String", # Duration of attack from the start until the current moment (updated every 5 minutes).
"requests": { # Information about the requests relevant to the finding. # Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).
"longTermAllowed": 42, # Allowed RPS (requests per second) over the long term.
"longTermDenied": 42, # Denied RPS (requests per second) over the long term.
"ratio": 3.14, # For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
"shortTermAllowed": 42, # Allowed RPS (requests per second) in the short term.
},
"securityPolicy": { # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding. # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
"name": "A String", # The name of the Google Cloud Armor security policy, for example, "my-security-policy".
"preview": True or False, # Whether or not the associated rule or policy is in preview mode.
"type": "A String", # The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.
},
"threatVector": "A String", # Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.
},
"cloudDlpDataProfile": { # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding. # Cloud DLP data profile that is associated with the finding.
"dataProfile": "A String", # Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
"parentType": "A String", # The resource hierarchy level at which the data profile was generated.
},
"cloudDlpInspection": { # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding. # Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
"fullScan": True or False, # Whether Cloud DLP scanned the complete resource or a sampled subset.
"infoType": "A String", # The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
"infoTypeCount": "A String", # The number of times Cloud DLP found this infoType within this job and resource.
"inspectJob": "A String", # Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
},
"complianceDetails": { # Compliance Details associated with the finding. # Details about the compliance implications of the finding.
"cloudControl": { # CloudControl associated with the finding. # CloudControl associated with the finding
"cloudControlName": "A String", # Name of the CloudControl associated with the finding.
"policyType": "A String", # Policy type of the CloudControl
"type": "A String", # Type of cloud control.
"version": 42, # Version of the Cloud Control
},
"cloudControlDeploymentNames": [ # Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier
"A String",
],
"frameworks": [ # Details of Frameworks associated with the finding
{ # Compliance framework associated with the finding.
"category": [ # Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads
"A String",
],
"controls": [ # The controls associated with the framework.
{ # Compliance control associated with the finding.
"controlName": "A String", # Name of the Control
"displayName": "A String", # Display name of the control. For example, AU-02.
},
],
"displayName": "A String", # Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework
"name": "A String", # Name of the framework associated with the finding
"type": "A String", # Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)
},
],
},
"compliances": [ # Contains compliance information for security standards associated to the finding.
{ # Contains compliance information about a security standard indicating unmet recommendations.
"ids": [ # Policies within the standard or benchmark, for example, A.12.4.1
"A String",
],
"standard": "A String", # Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
"version": "A String", # Version of the standard or benchmark, for example, 1.1
},
],
"connections": [ # Contains information about the IP connection associated with the finding.
{ # Contains information about the IP connection associated with the finding.
"destinationIp": "A String", # Destination IP address. Not present for sockets that are listening and not connected.
"destinationPort": 42, # Destination port. Not present for sockets that are listening and not connected.
"protocol": "A String", # IANA Internet Protocol Number such as TCP(6) and UDP(17).
"sourceIp": "A String", # Source IP address.
"sourcePort": 42, # Source port.
},
],
"contacts": { # Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { "security": { "contacts": [ { "email": "person1@company.com" }, { "email": "person2@company.com" } ] } }
"a_key": { # Details about specific contacts
"contacts": [ # A list of contacts
{ # The email address of a contact.
"email": "A String", # An email address. For example, "`person123@company.com`".
},
],
},
},
"containers": [ # Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"createTime": "A String", # The time at which the finding was created in Security Command Center.
"dataAccessEvents": [ # Data access events associated with the finding.
{ # Details about a data access attempt made by a principal not authorized under applicable data security policy.
"eventId": "A String", # Unique identifier for data access event.
"eventTime": "A String", # Timestamp of data access event.
"operation": "A String", # The operation performed by the principal to access the data.
"principalEmail": "A String", # The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.
},
],
"dataFlowEvents": [ # Data flow events associated with the finding.
{ # Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.
"eventId": "A String", # Unique identifier for data flow event.
"eventTime": "A String", # Timestamp of data flow event.
"operation": "A String", # The operation performed by the principal for the data flow event.
"principalEmail": "A String", # The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.
"violatedLocation": "A String", # Non-compliant location of the principal or the data destination.
},
],
"dataRetentionDeletionEvents": [ # Data retention deletion events associated with the finding.
{ # Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.
"dataObjectCount": "A String", # Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
"eventDetectionTime": "A String", # Timestamp indicating when the event was detected.
"eventType": "A String", # Type of the DRD event.
"maxRetentionAllowed": "A String", # Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
},
],
"database": { # Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided. # Database associated with the finding.
"displayName": "A String", # The human-readable name of the database that the user connected to.
"grantees": [ # The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
"A String",
],
"name": "A String", # Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
"query": "A String", # The SQL statement that is associated with the database access.
"userName": "A String", # The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
"version": "A String", # The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
},
"description": "A String", # Contains more details about the finding.
"disk": { # Contains information about the disk associated with the finding. # Disk associated with the finding.
"name": "A String", # The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
},
"eventTime": "A String", # The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
"exfiltration": { # Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to. # Represents exfiltrations associated with the finding.
"sources": [ # If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"targets": [ # If there are multiple targets, each target would get a complete copy of the "joined" source data.
{ # Resource where data was exfiltrated from or exfiltrated to.
"components": [ # Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
"A String",
],
"name": "A String", # The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
},
],
"totalExfiltratedBytes": "A String", # Total exfiltrated bytes processed for the entire job.
},
"externalSystems": { # Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
"a_key": { # Representation of third party SIEM/SOAR fields within SCC.
"assignees": [ # References primary/secondary etc assignees in the external system.
"A String",
],
"caseCloseTime": "A String", # The time when the case was closed, as reported by the external system.
"caseCreateTime": "A String", # The time when the case was created, as reported by the external system.
"casePriority": "A String", # The priority of the finding's corresponding case in the external system.
"caseSla": "A String", # The SLA of the finding's corresponding case in the external system.
"caseUri": "A String", # The link to the finding's corresponding case in the external system.
"externalSystemUpdateTime": "A String", # The time when the case was last updated, as reported by the external system.
"externalUid": "A String", # The identifier that's used to track the finding's corresponding case in the external system.
"name": "A String", # Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
"status": "A String", # The most recent status of the finding's corresponding case, as reported by the external system.
"ticketInfo": { # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. # Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
"assignee": "A String", # The assignee of the ticket in the ticket system.
"description": "A String", # The description of the ticket in the ticket system.
"id": "A String", # The identifier of the ticket in the ticket system.
"status": "A String", # The latest status of the ticket, as reported by the ticket system.
"updateTime": "A String", # The time when the ticket was last updated, as reported by the ticket system.
"uri": "A String", # The link to the ticket in the ticket system.
},
},
},
"externalUri": "A String", # The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
"files": [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"findingClass": "A String", # The class of the finding.
"groupMemberships": [ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.
{ # Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.
"groupId": "A String", # ID of the group.
"groupType": "A String", # Type of group.
},
],
"iamBindings": [ # Represents IAM bindings associated with the finding.
{ # Represents a particular IAM binding, which captures a member's role addition, removal, or state.
"action": "A String", # The action that was performed on a Binding.
"member": "A String", # A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".
"role": "A String", # Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
},
],
"indicator": { # Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). # Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
"domains": [ # List of domains associated to the Finding.
"A String",
],
"ipAddresses": [ # The list of IP addresses that are associated with the finding.
"A String",
],
"signatures": [ # The list of matched signatures indicating that the given process is present in the environment.
{ # Indicates what signature matched this process.
"memoryHashSignature": { # A signature corresponding to memory page hashes. # Signature indicating that a binary family was matched.
"binaryFamily": "A String", # The binary family.
"detections": [ # The list of memory hash detections contributing to the binary family match.
{ # Memory hash detection contributing to the binary family match.
"binary": "A String", # The name of the binary associated with the memory hash signature detection.
"percentPagesMatched": 3.14, # The percentage of memory page hashes in the signature that were matched.
},
],
},
"signatureType": "A String", # Describes the type of resource associated with the signature.
"yaraRuleSignature": { # A signature corresponding to a YARA rule. # Signature indicating that a YARA rule was matched.
"yaraRule": "A String", # The name of the YARA rule.
},
},
],
"uris": [ # The list of URIs associated to the Findings.
"A String",
],
},
"ipRules": { # IP rules associated with the finding. # IP rules associated with the finding.
"allowed": { # Allowed IP rule. # Tuple with allowed rules.
"ipRules": [ # Optional. Optional list of allowed IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"denied": { # Denied IP rule. # Tuple with denied rules.
"ipRules": [ # Optional. Optional list of denied IP rules.
{ # IP rule information.
"portRanges": [ # Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
{ # A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
"max": "A String", # Maximum port value.
"min": "A String", # Minimum port value.
},
],
"protocol": "A String", # The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.
},
],
},
"destinationIpRanges": [ # If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
"direction": "A String", # The direction that the rule is applicable to, one of ingress or egress.
"exposedServices": [ # Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
"A String",
],
"sourceIpRanges": [ # If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
"A String",
],
},
"job": { # Describes a job # Job associated with the finding.
"errorCode": 42, # Optional. If the job did not complete successfully, this field describes why.
"location": "A String", # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
"name": "A String", # The fully-qualified name for a job. e.g. `projects//jobs/`
"state": "A String", # Output only. State of the job, such as `RUNNING` or `PENDING`.
},
"kernelRootkit": { # Kernel mode rootkit signatures. # Signature of the kernel rootkit.
"name": "A String", # Rootkit name, when available.
"unexpectedCodeModification": True or False, # True if unexpected modifications of kernel code memory are present.
"unexpectedFtraceHandler": True or False, # True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedInterruptHandler": True or False, # True if interrupt handlers that are are not in the expected kernel or module code regions are present.
"unexpectedKernelCodePages": True or False, # True if kernel code pages that are not in the expected kernel or module code regions are present.
"unexpectedKprobeHandler": True or False, # True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
"unexpectedProcessesInRunqueue": True or False, # True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
"unexpectedReadOnlyDataModification": True or False, # True if unexpected modifications of kernel read-only data memory are present.
"unexpectedSystemCallHandler": True or False, # True if system call handlers that are are not in the expected kernel or module code regions are present.
},
"kubernetes": { # Kubernetes-related attributes. # Kubernetes resources associated with the finding.
"accessReviews": [ # Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
{ # Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.
"group": "A String", # The API group of the resource. "*" means all.
"name": "A String", # The name of the resource being requested. Empty means all.
"ns": "A String", # Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
"resource": "A String", # The optional resource type requested. "*" means all.
"subresource": "A String", # The optional subresource type.
"verb": "A String", # A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
"version": "A String", # The API version of the resource. "*" means all.
},
],
"bindings": [ # Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Represents a Kubernetes RoleBinding or ClusterRoleBinding.
"name": "A String", # Name for the binding.
"ns": "A String", # Namespace for the binding.
"role": { # Kubernetes Role or ClusterRole. # The Role or ClusterRole referenced by the binding.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
"subjects": [ # Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
{ # Represents a Kubernetes subject.
"kind": "A String", # Authentication type for the subject.
"name": "A String", # Name for the subject.
"ns": "A String", # Namespace for the subject.
},
],
},
],
"nodePools": [ # GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
{ # Provides GKE node pool information.
"name": "A String", # Kubernetes node pool name.
"nodes": [ # Nodes associated with the finding.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
},
],
"nodes": [ # Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
{ # Kubernetes nodes associated with the finding.
"name": "A String", # [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
},
],
"objects": [ # Kubernetes objects related to the finding.
{ # Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"group": "A String", # Kubernetes object group, such as "policy.k8s.io/v1".
"kind": "A String", # Kubernetes object kind, such as "Namespace".
"name": "A String", # Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
"ns": "A String", # Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
},
],
"pods": [ # Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
{ # A Kubernetes Pod.
"containers": [ # Pod containers associated with this finding, if any.
{ # Container associated with the finding.
"createTime": "A String", # The time that the container was created.
"imageId": "A String", # Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
"labels": [ # Container labels, as provided by the container runtime.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Name of the container.
"uri": "A String", # Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
},
],
"labels": [ # Pod labels. For Kubernetes containers, these are applied to the container.
{ # Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
"name": "A String", # Name of the label.
"value": "A String", # Value that corresponds to the label's name.
},
],
"name": "A String", # Kubernetes Pod name.
"ns": "A String", # Kubernetes Pod namespace.
},
],
"roles": [ # Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
{ # Kubernetes Role or ClusterRole.
"kind": "A String", # Role type.
"name": "A String", # Role name.
"ns": "A String", # Role namespace.
},
],
},
"loadBalancers": [ # The load balancers associated with the finding.
{ # Contains information related to the load balancer associated with the finding.
"name": "A String", # The name of the load balancer associated with the finding.
},
],
"logEntries": [ # Log entries that are relevant to the finding.
{ # An individual entry in a log.
"cloudLoggingEntry": { # Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) # An individual entry in a log stored in Cloud Logging.
"insertId": "A String", # A unique identifier for the log entry.
"logId": "A String", # The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.
"resourceContainer": "A String", # The organization, folder, or project of the monitored resource that produced this log entry.
"timestamp": "A String", # The time the event described by the log entry occurred.
},
},
],
"mitreAttack": { # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org # MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
"additionalTactics": [ # Additional MITRE ATT&CK tactics related to this finding, if any.
"A String",
],
"additionalTechniques": [ # Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
"A String",
],
"primaryTactic": "A String", # The MITRE ATT&CK tactic most closely represented by this finding, if any.
"primaryTechniques": [ # The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
"A String",
],
"version": "A String", # The MITRE ATT&CK version referenced by the above fields. E.g. "8".
},
"moduleName": "A String", # Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
"mute": "A String", # Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
"muteInfo": { # Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules. # Output only. The mute information regarding this finding.
"dynamicMuteRecords": [ # The list of dynamic mute rules that currently match the finding.
{ # The record of a dynamic mute rule that matches the finding.
"matchTime": "A String", # When the dynamic mute rule first matched the finding.
"muteConfig": "A String", # The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
},
],
"staticMute": { # Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly. # If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.
"applyTime": "A String", # When the static mute was applied.
"state": "A String", # The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.
},
},
"muteInitiator": "A String", # Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
"muteUpdateTime": "A String", # Output only. The most recent time this finding was muted or unmuted.
"name": "A String", # The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
"networks": [ # Represents the VPC networks that the resource is attached to.
{ # Contains information about a VPC network associated with the finding.
"name": "A String", # The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
},
],
"nextSteps": "A String", # Steps to address the finding.
"notebook": { # Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding. # Notebook associated with the finding.
"lastAuthor": "A String", # The user ID of the latest author to modify the notebook.
"name": "A String", # The name of the notebook.
"notebookUpdateTime": "A String", # The most recent time the notebook was updated.
"service": "A String", # The source notebook service, for example, "Colab Enterprise".
},
"orgPolicies": [ # Contains information about the org policies associated with the finding.
{ # Contains information about the org policies associated with the finding.
"name": "A String", # The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}"
},
],
"parent": "A String", # The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
"parentDisplayName": "A String", # Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
"processes": [ # Represents operating system processes associated with the Finding.
{ # Represents an operating system process.
"args": [ # Process arguments as JSON encoded strings.
"A String",
],
"argumentsTruncated": True or False, # True if `args` is incomplete.
"binary": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # File information for the process executable.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"envVariables": [ # Process environment variables.
{ # A name-value pair representing an environment variable used in an operating system process.
"name": "A String", # Environment variable name as a JSON encoded string.
"val": "A String", # Environment variable value as a JSON encoded string.
},
],
"envVariablesTruncated": True or False, # True if `env_variables` is incomplete.
"libraries": [ # File information for libraries loaded by the process.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
],
"name": "A String", # The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
"parentPid": "A String", # The parent process ID.
"pid": "A String", # The process ID.
"script": { # File information about the related binary/library used by an executable, or the script used by a script interpreter # When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.
"contents": "A String", # Prefix of the file contents as a JSON-encoded string.
"diskPath": { # Path of the file in terms of underlying disk/partition identifiers. # Path of the file in terms of underlying disk/partition identifiers.
"partitionUuid": "A String", # UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
"relativePath": "A String", # Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
},
"hashedSize": "A String", # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
"operations": [ # Operation(s) performed on a file.
{ # Operation(s) performed on a file.
"type": "A String", # The type of the operation
},
],
"partiallyHashed": True or False, # True when the hash covers only a prefix of the file.
"path": "A String", # Absolute path of the file as a JSON encoded string.
"sha256": "A String", # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
"size": "A String", # Size of the file in bytes.
},
"userId": "A String", # The ID of the user that executed the process. E.g. If this is the root user this will always be 0.
},
],
"resourceName": "A String", # For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
"securityMarks": { # User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization. # Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
"canonicalName": "A String", # The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
"marks": { # Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
"a_key": "A String",
},
"name": "A String", # The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
},
"securityPosture": { # Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud. # The security posture associated with the finding.
"changedPolicy": "A String", # The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.
"name": "A String", # Name of the posture, for example, `CIS-Posture`.
"policy": "A String", # The ID of the updated policy, for example, `compute-policy-1`.
"policyDriftDetails": [ # The details about a change in an updated policy that violates the deployed posture.
{ # The policy field that violates the deployed posture and its expected and detected values.
"detectedValue": "A String", # The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892"}`.
"expectedValue": "A String", # The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892"}`.
"field": "A String", # The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
},
],
"policySet": "A String", # The name of the updated policyset, for example, `cis-policyset`.
"postureDeployment": "A String", # The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.
"postureDeploymentResource": "A String", # The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.
"revisionId": "A String", # The version of the posture, for example, `c7cfa2a8`.
},
"severity": "A String", # The severity of the finding. This field is managed by the source that writes the finding.
"sourceProperties": { # Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
"a_key": "",
},
"state": "A String", # The state of the finding.
"toxicCombination": { # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. # Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.
"attackExposureScore": 3.14, # The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
"relatedFindings": [ # List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.
"A String",
],
},
"vertexAi": { # Vertex AI-related information associated with the finding. # VertexAi associated with the finding.
"datasets": [ # Datasets associated with the finding.
{ # Vertex AI dataset associated with the finding.
"displayName": "A String", # The user defined display name of dataset, e.g. plants-dataset
"name": "A String", # Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856
"source": "A String", # Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod
},
],
"pipelines": [ # Pipelines associated with the finding.
{ # Vertex AI training pipeline associated with the finding.
"displayName": "A String", # The user defined display name of pipeline, e.g. plants-classification
"name": "A String", # Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496
},
],
},
"vulnerability": { # Refers to common vulnerability fields e.g. cve, cvss, cwe etc. # Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cve": { # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability. # CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
"cvssv3": { # Common Vulnerability Scoring System version 3. # Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
"attackComplexity": "A String", # This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
"attackVector": "A String", # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.
"availabilityImpact": "A String", # This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
"baseScore": 3.14, # The base score is a function of the base metric scores.
"confidentialityImpact": "A String", # This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
"integrityImpact": "A String", # This metric measures the impact to integrity of a successfully exploited vulnerability.
"privilegesRequired": "A String", # This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
"scope": "A String", # The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
"userInteraction": "A String", # This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
},
"exploitReleaseDate": "A String", # Date the first publicly available exploit or PoC was released.
"exploitationActivity": "A String", # The exploitation activity of the vulnerability in the wild.
"firstExploitationDate": "A String", # Date of the earliest known exploitation.
"id": "A String", # The unique identifier for the vulnerability. e.g. CVE-2021-34527
"impact": "A String", # The potential impact of the vulnerability if it was to be exploited.
"observedInTheWild": True or False, # Whether or not the vulnerability has been observed in the wild.
"references": [ # Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
"upstreamFixAvailable": True or False, # Whether upstream fix is available for the CVE.
"zeroDay": True or False, # Whether or not the vulnerability was zero day when the finding was published.
},
"cwes": [ # Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.
{ # CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).
"id": "A String", # The CWE identifier, e.g. CWE-94
"references": [ # Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
{ # Additional Links
"source": "A String", # Source of the reference e.g. NVD
"uri": "A String", # Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
},
],
},
],
"fixedPackage": { # Package is a generic definition of a package. # The fixed package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"offendingPackage": { # Package is a generic definition of a package. # The offending package is relevant to the finding.
"cpeUri": "A String", # The CPE URI where the vulnerability was detected.
"packageName": "A String", # The name of the package where the vulnerability was detected.
"packageType": "A String", # Type of package, for example, os, maven, or go.
"packageVersion": "A String", # The version of the package.
},
"providerRiskScore": "A String", # Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.
"reachable": True or False, # Represents whether the vulnerability is reachable (detected via static analysis)
"securityBulletin": { # SecurityBulletin are notifications of vulnerabilities of Google products. # The security bulletin is relevant to this finding.
"bulletinId": "A String", # ID of the bulletin corresponding to the vulnerability.
"submissionTime": "A String", # Submission time of this Security Bulletin.
"suggestedUpgradeVersion": "A String", # This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0
},
},
}</pre>
</div>
<div class="method">
<code class="details" id="updateSecurityMarks">updateSecurityMarks(name, body=None, startTime=None, updateMask=None, x__xgafv=None)</code>
<pre>Updates security marks.
Args:
name: string, The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". (required)
body: object, The request body.
The object takes the form of:
{ # User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.
"canonicalName": "A String", # The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
"marks": { # Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
"a_key": "A String",
},
"name": "A String", # The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
}
startTime: string, The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.
updateMask: string, The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated using "marks.".
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.
"canonicalName": "A String", # The canonical name of the marks. Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "folders/{folder_id}/assets/{asset_id}/securityMarks" "projects/{project_number}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks" "projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks"
"marks": { # Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
"a_key": "A String",
},
"name": "A String", # The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
}</pre>
</div>
</body></html>
|