Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
sarif_v_2_1_0_v.ml
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 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151
(* Auto-generated from "sarif_v_2_1_0.atd" *) [@@@ocaml.warning "-27-32-33-35-39"] (** The MIME type (RFC 2045) of the artifact. *) type artifact_mimetype = Sarif_v_2_1_0_t.artifact_mimetype [@@deriving show,eq] (** ArtifactRolesItem *) type artifact_roles_item = Sarif_v_2_1_0_t.artifact_roles_item [@@deriving show,eq] (** A stable, unique identifier for this external properties object, in the form of a GUID. *) type external_properties_guid = Sarif_v_2_1_0_t.external_properties_guid [@@deriving show,eq] (** A stable, unique identifier for the run associated with this external properties object, in the form of a GUID. *) type external_properties_run_guid = Sarif_v_2_1_0_t.external_properties_run_guid [@@deriving show,eq] type external_properties_version = Sarif_v_2_1_0_t.external_properties_version [@@deriving show,eq] type hm_str_str = Sarif_v_2_1_0_t.hm_str_str [@@deriving show,eq] type int64 = Sarif_v_2_1_0_t.int64 [@@deriving show,eq] (** A value specifying the severity level of the notification. *) type notification_level = Sarif_v_2_1_0_t.notification_level [@@deriving show,eq] (** Key/value pairs that provide additional information about the object. *) type property_bag = Sarif_v_2_1_0_t.property_bag [@@deriving show,eq] (** A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file). *) type address = Sarif_v_2_1_0_t.address = { absolute_address: int64 (** The address expressed as a byte offset from the start of the addressable region. *); fully_qualified_name: string option (** A human-readable fully qualified name that is associated with the address. *); index: int64 (** The index within run.addresses of the cached object for this address. *); kind: string option (** An open-ended string that identifies the address kind. 'data', 'function', 'header','instruction', 'module', 'page', 'section', 'segment', 'stack', 'stackFrame', 'table' are well-known values. *); length: int64 option (** The number of bytes in this range of addresses. *); name: string option (** A name that is associated with the address, e.g., '.text'. *); offset_from_parent: int64 option (** The byte offset of this address from the absolute or relative address of the parent object. *); parent_index: int64 (** The index within run.addresses of the parent object. *); properties: property_bag option (** Key/value pairs that provide additional information about the address. *); relative_address: int64 option (** The address expressed as a byte offset from the absolute address of the top-most parent object. *) } [@@deriving show,eq] (** A logical location of a construct that produced a result. *) type logical_location = Sarif_v_2_1_0_t.logical_location = { decorated_name: string option (** The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name. *); fully_qualified_name: string option (** The human-readable fully qualified name of the logical location. *); index: int64 (** The index within the logical locations array. *); kind: string option (** The type of construct this logical location component refers to. Should be one of 'function', 'member', 'module', 'namespace', 'parameter', 'resource', 'returnType', 'type', 'variable', 'object', 'array', 'property', 'value', 'element', 'text', 'attribute', 'comment', 'declaration', 'dtd' or 'processingInstruction', if any of those accurately describe the construct. *); name: string option (** Identifies the construct in which the result occurred. For example, this property might contain the name of a class or a method. *); parent_index: int64 (** Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type. *); properties: property_bag option (** Key/value pairs that provide additional information about the logical location. *) } [@@deriving show,eq] (** Encapsulates a message intended to be read by the end user. *) type message = Sarif_v_2_1_0_t.message = { arguments: string list option (** An array of strings to substitute into the message string. *); id: string option (** The identifier for this message. *); markdown: string option (** A Markdown message string. *); properties: property_bag option (** Key/value pairs that provide additional information about the message. *); text: string option (** A plain text message string. *) } [@@deriving show,eq] (** Specifies the location of an artifact. *) type artifact_location = Sarif_v_2_1_0_t.artifact_location = { description: message option (** A short description of the artifact location. *); index: int64 (** The index within the run artifacts array of the artifact object associated with the artifact location. *); properties: property_bag option (** Key/value pairs that provide additional information about the artifact location. *); uri: string option (** A string containing a valid relative or absolute URI. *); uri_base_id: string option (** A string which indirectly specifies the absolute URI with respect to which a relative URI in the "uri" property is interpreted. *) } [@@deriving show,eq] (** Represents a directed edge in a graph. *) type edge = Sarif_v_2_1_0_t.edge = { id: string (** A string that uniquely identifies the edge within its graph. *); label: message option (** A short description of the edge. *); properties: property_bag option (** Key/value pairs that provide additional information about the edge. *); source_node_id: string (** Identifies the source node (the node at which the edge starts). *); target_node_id: string (** Identifies the target node (the node at which the edge ends). *) } [@@deriving show,eq] (** Information about the relation of one location to another. *) type location_relationship = Sarif_v_2_1_0_t.location_relationship = { description: message option (** A description of the location relationship. *); kinds: string list option (** A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'. *); properties: property_bag option (** Key/value pairs that provide additional information about the location relationship. *); target: int64 (** A reference to the related location. *) } [@@deriving show,eq] (** A message string or message format string rendered in multiple formats. *) type multiformat_message_string = Sarif_v_2_1_0_t.multiformat_message_string = { markdown: string option (** A Markdown message string or format string. *); properties: property_bag option (** Key/value pairs that provide additional information about the message. *); text: string (** A plain text message string or format string. *) } [@@deriving show,eq] (** Represents the contents of an artifact. *) type artifact_content = Sarif_v_2_1_0_t.artifact_content = { binary: string option (** MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding. *); properties: property_bag option (** Key/value pairs that provide additional information about the artifact content. *); rendered: multiformat_message_string option (** An alternate rendered representation of the artifact (e.g., a decompiled representation of a binary region). *); text: string option (** UTF-8-encoded content from a text artifact. *) } [@@deriving show,eq] type hm_str_mms = Sarif_v_2_1_0_t.hm_str_mms [@@deriving show,eq] (** Represents the traversal of a single edge during a graph traversal. *) type edge_traversal = Sarif_v_2_1_0_t.edge_traversal = { edge_id: string (** Identifies the edge being traversed. *); final_state: hm_str_mms option (** The values of relevant expressions after the edge has been traversed. *); message: message option (** A message to display to the user as the edge is traversed. *); properties: property_bag option (** Key/value pairs that provide additional information about the edge traversal. *); step_over_edge_count: int64 option (** The number of edge traversals necessary to return from a nested graph. *) } [@@deriving show,eq] type graph_traversal_variant0 = Sarif_v_2_1_0_t.graph_traversal_variant0 = { description: message option (** A description of this graph traversal. *); edge_traversals: edge_traversal list option (** The sequences of edges traversed by this graph traversal. *); immutable_state: hm_str_mms option (** Values of relevant expressions at the start of the graph traversal that remain constant for the graph traversal. *); initial_state: hm_str_mms option (** Values of relevant expressions at the start of the graph traversal that may change during graph traversal. *); properties: property_bag option (** Key/value pairs that provide additional information about the graph traversal. *); result_graph_index: int64 (** The index within the result.graphs to be associated with the result. *); run_graph_index: int64 (** The index within the run.graphs to be associated with the result. *) } [@@deriving show,eq] type graph_traversal_variant1 = Sarif_v_2_1_0_t.graph_traversal_variant1 = { description: message option (** A description of this graph traversal. *); edge_traversals: edge_traversal list option (** The sequences of edges traversed by this graph traversal. *); immutable_state: hm_str_mms option (** Values of relevant expressions at the start of the graph traversal that remain constant for the graph traversal. *); initial_state: hm_str_mms option (** Values of relevant expressions at the start of the graph traversal that may change during graph traversal. *); properties: property_bag option (** Key/value pairs that provide additional information about the graph traversal. *); result_graph_index: int64 (** The index within the result.graphs to be associated with the result. *); run_graph_index: int64 (** The index within the run.graphs to be associated with the result. *) } [@@deriving show,eq] (** Represents a path through a graph. *) type graph_traversal = Sarif_v_2_1_0_t.graph_traversal [@@deriving show,eq] (** An area within an image. *) type rectangle = Sarif_v_2_1_0_t.rectangle = { bottom: float option; left: float option; message: message option (** A message relevant to the rectangle. *); properties: property_bag option (** Key/value pairs that provide additional information about the rectangle. *); right: float option; top: float option } [@@deriving show,eq] (** A region within an artifact where a result was detected. *) type region = Sarif_v_2_1_0_t.region = { byte_length: int64 option (** The length of the region in bytes. *); byte_offset: int64 (** The zero-based offset from the beginning of the artifact of the first byte in the region. *); char_length: int64 option (** The length of the region in characters. *); char_offset: int64 (** The zero-based offset from the beginning of the artifact of the first character in the region. *); end_column: int64 option (** The column number of the character following the end of the region. *); end_line: int64 option (** The line number of the last character in the region. *); message: message option (** A message relevant to the region. *); properties: property_bag option (** Key/value pairs that provide additional information about the region. *); snippet: artifact_content option (** The portion of the artifact contents within the specified region. *); source_language: string option (** Specifies the source language, if any, of the portion of the artifact specified by the region object. *); start_column: int64 option (** The column number of the first character in the region. *); start_line: int64 option (** The line number of the first character in the region. *) } [@@deriving show,eq] (** An artifact relevant to a result. *) type attachment = Sarif_v_2_1_0_t.attachment = { artifact_location: artifact_location (** The location of the attachment. *); description: message option (** A message describing the role played by the attachment. *); properties: property_bag option (** Key/value pairs that provide additional information about the attachment. *); rectangles: rectangle list option (** An array of rectangles specifying areas of interest within the image. *); regions: region list option (** An array of regions of interest within the attachment. *) } [@@deriving show,eq] (** A physical location relevant to a result. Specifies a reference to a programming artifact together with a range of bytes or characters within that artifact. *) type physical_location = Sarif_v_2_1_0_t.physical_location = { address: address option (** The address of the location. *); artifact_location: artifact_location option (** The location of the artifact. *); context_region: region option (** Specifies a portion of the artifact that encloses the region. Allows a viewer to display additional context around the region. *); properties: property_bag option (** Key/value pairs that provide additional information about the physical location. *); region: region option (** Specifies a portion of the artifact. *) } [@@deriving show,eq] (** A location within a programming artifact. *) type location = Sarif_v_2_1_0_t.location = { annotations: region list option (** A set of regions relevant to the location. *); id: int64 (** Value that distinguishes this location from all other locations within a single result object. *); logical_locations: logical_location list option (** The logical locations associated with the result. *); message: message option (** A message relevant to the location. *); physical_location: physical_location option (** Identifies the artifact and region. *); properties: property_bag option (** Key/value pairs that provide additional information about the location. *); relationships: location_relationship list option (** An array of objects that describe relationships between this location and others. *) } [@@deriving show,eq] (** The replacement of a single region of an artifact. *) type replacement = Sarif_v_2_1_0_t.replacement = { deleted_region: region (** The region of the artifact to delete. *); inserted_content: artifact_content option (** The content to insert at the location specified by the 'deletedRegion' property. *); properties: property_bag option (** Key/value pairs that provide additional information about the replacement. *) } [@@deriving show,eq] (** A change to a single artifact. *) type artifact_change = Sarif_v_2_1_0_t.artifact_change = { artifact_location: artifact_location (** The location of the artifact to change. *); properties: property_bag option (** Key/value pairs that provide additional information about the change. *); replacements: replacement list (** An array of replacement objects, each of which represents the replacement of a single region in a single artifact specified by 'artifactLocation'. *) } [@@deriving show,eq] (** A proposed fix for the problem represented by a result object. A fix specifies a set of artifacts to modify. For each artifact, it specifies a set of bytes to remove, and provides a set of new bytes to replace them. *) type fix = Sarif_v_2_1_0_t.fix = { artifact_changes: artifact_change list (** One or more artifact changes that comprise a fix for a result. *); description: message option (** A message that describes the proposed fix, enabling viewers to present the proposed change to an end user. *); properties: property_bag option (** Key/value pairs that provide additional information about the fix. *) } [@@deriving show,eq] (** Specifies the failure level for the report. *) type reporting_configuration_level = Sarif_v_2_1_0_t.reporting_configuration_level [@@deriving show,eq] (** Information about a rule or notification that can be configured at runtime. *) type reporting_configuration = Sarif_v_2_1_0_t.reporting_configuration = { enabled: bool (** Specifies whether the report may be produced during the scan. *); level: reporting_configuration_level option (** Specifies the failure level for the report. *); parameters: property_bag option (** Contains configuration information specific to a report. *); properties: property_bag option (** Key/value pairs that provide additional information about the reporting configuration. *); rank: int64 } [@@deriving show,eq] (** ReportingDescriptorDeprecatedGuidsItem *) type reporting_descriptor_deprecated_guids_item = Sarif_v_2_1_0_t.reporting_descriptor_deprecated_guids_item [@@deriving show,eq] (** A unique identifier for the reporting descriptor in the form of a GUID. *) type reporting_descriptor_guid = Sarif_v_2_1_0_t.reporting_descriptor_guid [@@deriving show,eq] (** A guid that uniquely identifies the descriptor. *) type reporting_descriptor_reference_guid = Sarif_v_2_1_0_t.reporting_descriptor_reference_guid [@@deriving show,eq] (** The state of a result relative to a baseline of a previous run. *) type result_baseline_state = Sarif_v_2_1_0_t.result_baseline_state [@@deriving show,eq] (** A stable, unique identifier for the equivalence class of logically identical results to which this result belongs, in the form of a GUID. *) type result_correlation_guid = Sarif_v_2_1_0_t.result_correlation_guid [@@deriving show,eq] (** A stable, unique identifier for the result in the form of a GUID. *) type result_guid = Sarif_v_2_1_0_t.result_guid [@@deriving show,eq] (** A value that categorizes results by evaluation state. *) type result_kind = Sarif_v_2_1_0_t.result_kind [@@deriving show,eq] (** A value specifying the severity level of the result. *) type result_level = Sarif_v_2_1_0_t.result_level [@@deriving show,eq] (** A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected. *) type result_provenance_first_detection_run_guid = Sarif_v_2_1_0_t.result_provenance_first_detection_run_guid [@@deriving show,eq] (** A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected. *) type result_provenance_last_detection_run_guid = Sarif_v_2_1_0_t.result_provenance_last_detection_run_guid [@@deriving show,eq] (** Contains information about how and when a result was detected. *) type result_provenance = Sarif_v_2_1_0_t.result_provenance = { conversion_sources: physical_location list option (** An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result. *); first_detection_run_guid: result_provenance_first_detection_run_guid option (** A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected. *); first_detection_time_utc: string option (** The Coordinated Universal Time (UTC) date and time at which the result was first detected. See "Date/time properties" in the SARIF spec for the required format. *); invocation_index: int64 (** The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result. *); last_detection_run_guid: result_provenance_last_detection_run_guid option (** A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected. *); last_detection_time_utc: string option (** The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See "Date/time properties" in the SARIF spec for the required format. *); properties: property_bag option (** Key/value pairs that provide additional information about the result. *) } [@@deriving show,eq] (** A function call within a stack trace. *) type stack_frame = Sarif_v_2_1_0_t.stack_frame = { location: location option (** The location to which this stack frame refers. *); module_: string option (** The name of the module that contains the code of this stack frame. *); parameters: string list option (** The parameters of the call that is executing. *); properties: property_bag option (** Key/value pairs that provide additional information about the stack frame. *); thread_id: int64 option (** The thread identifier of the stack frame. *) } [@@deriving show,eq] (** A call stack that is relevant to a result. *) type stack = Sarif_v_2_1_0_t.stack = { frames: stack_frame list (** An array of stack frames that represents a sequence of calls, rendered in reverse chronological order, that comprise the call stack. *); message: message option (** A message relevant to this call stack. *); properties: property_bag option (** Key/value pairs that provide additional information about the stack. *) } [@@deriving show,eq] (** A stable, unique identifier for the suprression in the form of a GUID. *) type suppression_guid = Sarif_v_2_1_0_t.suppression_guid [@@deriving show,eq] (** A string that indicates where the suppression is persisted. *) type suppression_kind = Sarif_v_2_1_0_t.suppression_kind [@@deriving show,eq] (** A string that indicates the review status of the suppression. *) type suppression_status = Sarif_v_2_1_0_t.suppression_status [@@deriving show,eq] (** A suppression that is relevant to a result. *) type suppression = Sarif_v_2_1_0_t.suppression = { guid: suppression_guid option (** A stable, unique identifier for the suprression in the form of a GUID. *); justification: string option (** A string representing the justification for the suppression. *); kind: suppression_kind (** A string that indicates where the suppression is persisted. *); location: location option (** Identifies the location associated with the suppression. *); properties: property_bag option (** Key/value pairs that provide additional information about the suppression. *); status: suppression_status option (** A string that indicates the review status of the suppression. *) } [@@deriving show,eq] (** Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is "essential", "important", "unimportant". Default: "important". *) type thread_flow_location_importance = Sarif_v_2_1_0_t.thread_flow_location_importance [@@deriving show,eq] (** ToolComponentContentsItem *) type tool_component_contents_item = Sarif_v_2_1_0_t.tool_component_contents_item [@@deriving show,eq] (** The binary version of the tool component's primary executable file expressed as four non-negative integers separated by a period (for operating systems that express file versions in this way). *) type tool_component_dotted_quad_file_version = Sarif_v_2_1_0_t.tool_component_dotted_quad_file_version [@@deriving show,eq] (** A unique identifier for the tool component in the form of a GUID. *) type tool_component_guid = Sarif_v_2_1_0_t.tool_component_guid [@@deriving show,eq] (** The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase language code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646). *) type tool_component_language = Sarif_v_2_1_0_t.tool_component_language [@@deriving show,eq] (** The 'guid' property of the referenced toolComponent. *) type tool_component_reference_guid = Sarif_v_2_1_0_t.tool_component_reference_guid [@@deriving show,eq] (** Identifies a particular toolComponent object, either the driver or an extension. *) type tool_component_reference = Sarif_v_2_1_0_t.tool_component_reference = { guid: tool_component_reference_guid option (** The 'guid' property of the referenced toolComponent. *); index: int64 (** An index into the referenced toolComponent in tool.extensions. *); name: string option (** The 'name' property of the referenced toolComponent. *); properties: property_bag option (** Key/value pairs that provide additional information about the toolComponentReference. *) } [@@deriving show,eq] (** Information about how to locate a relevant reporting descriptor. *) type reporting_descriptor_reference = Sarif_v_2_1_0_t.reporting_descriptor_reference = { guid: reporting_descriptor_reference_guid option (** A guid that uniquely identifies the descriptor. *); id: string option (** The id of the descriptor. *); index: int64 (** The index into an array of descriptors in toolComponent.ruleDescriptors, toolComponent.notificationDescriptors, or toolComponent.taxonomyDescriptors, depending on context. *); properties: property_bag option (** Key/value pairs that provide additional information about the reporting descriptor reference. *); tool_component: tool_component_reference option (** A reference used to locate the toolComponent associated with the descriptor. *) } [@@deriving show,eq] (** Information about how a specific rule or notification was reconfigured at runtime. *) type configuration_override = Sarif_v_2_1_0_t.configuration_override = { configuration: reporting_configuration (** Specifies how the rule or notification was configured during the scan. *); descriptor: reporting_descriptor_reference (** A reference used to locate the descriptor whose configuration was overridden. *); properties: property_bag option (** Key/value pairs that provide additional information about the configuration override. *) } [@@deriving show,eq] (** Information about the relation of one reporting descriptor to another. *) type reporting_descriptor_relationship = Sarif_v_2_1_0_t.reporting_descriptor_relationship = { description: message option (** A description of the reporting descriptor relationship. *); kinds: string list option (** A set of distinct strings that categorize the relationship. Well-known kinds include 'canPrecede', 'canFollow', 'willPrecede', 'willFollow', 'superset', 'subset', 'equal', 'disjoint', 'relevant', and 'incomparable'. *); properties: property_bag option (** Key/value pairs that provide additional information about the reporting descriptor reference. *); target: reporting_descriptor_reference (** A reference to the related reporting descriptor. *) } [@@deriving show,eq] (** Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting. *) type reporting_descriptor = Sarif_v_2_1_0_t.reporting_descriptor = { default_configuration: reporting_configuration option (** Default reporting configuration information. *); deprecated_guids: reporting_descriptor_deprecated_guids_item list option (** An array of unique identifies in the form of a GUID by which this report was known in some previous version of the analysis tool. *); deprecated_ids: string list option (** An array of stable, opaque identifiers by which this report was known in some previous version of the analysis tool. *); deprecated_names: string list option (** An array of readable identifiers by which this report was known in some previous version of the analysis tool. *); full_description: multiformat_message_string option (** A description of the report. Should, as far as possible, provide details sufficient to enable resolution of any problem indicated by the result. *); guid: reporting_descriptor_guid option (** A unique identifier for the reporting descriptor in the form of a GUID. *); help: multiformat_message_string option (** Provides the primary documentation for the report, useful when there is no online documentation. *); help_uri: string option (** A URI where the primary documentation for the report can be found. *); id: string (** A stable, opaque identifier for the report. *); message_strings: hm_str_mms option (** A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments. *); name: string option (** A report identifier that is understandable to an end user. *); properties: property_bag option (** Key/value pairs that provide additional information about the report. *); relationships: reporting_descriptor_relationship list option (** An array of objects that describe relationships between this reporting descriptor and others. *); short_description: multiformat_message_string option (** A concise description of the report. Should be a single sentence that is understandable when visible space is limited to a single line of text. *) } [@@deriving show,eq] (** Provides additional metadata related to translation. *) type translation_metadata = Sarif_v_2_1_0_t.translation_metadata = { download_uri: string option (** The absolute URI from which the translation metadata can be downloaded. *); full_description: multiformat_message_string option (** A comprehensive description of the translation metadata. *); full_name: string option (** The full name associated with the translation metadata. *); information_uri: string option (** The absolute URI from which information related to the translation metadata can be downloaded. *); name: string (** The name associated with the translation metadata. *); properties: property_bag option (** Key/value pairs that provide additional information about the translation metadata. *); short_description: multiformat_message_string option (** A brief description of the translation metadata. *) } [@@deriving show,eq] (** A component, such as a plug-in or the driver, of the analysis tool that was run. *) type tool_component = Sarif_v_2_1_0_t.tool_component = { associated_component: tool_component_reference option (** The component which is strongly associated with this component. For a translation, this refers to the component which has been translated. For an extension, this is the driver that provides the extension's plugin model. *); contents: tool_component_contents_item list option (** The kinds of data contained in this object. *); dotted_quad_file_version: tool_component_dotted_quad_file_version option (** The binary version of the tool component's primary executable file expressed as four non-negative integers separated by a period (for operating systems that express file versions in this way). *); download_uri: string option (** The absolute URI from which the tool component can be downloaded. *); full_description: multiformat_message_string option (** A comprehensive description of the tool component. *); full_name: string option (** The name of the tool component along with its version and any other useful identifying information, such as its locale. *); global_message_strings: hm_str_mms option (** A dictionary, each of whose keys is a resource identifier and each of whose values is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments. *); guid: tool_component_guid option (** A unique identifier for the tool component in the form of a GUID. *); information_uri: string option (** The absolute URI at which information about this version of the tool component can be found. *); is_comprehensive: bool (** Specifies whether this object contains a complete definition of the localizable and/or non-localizable data for this component, as opposed to including only data that is relevant to the results persisted to this log file. *); language: tool_component_language option (** The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase language code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646). *); localized_data_semantic_version: string option (** The semantic version of the localized strings defined in this component; maintained by components that provide translations. *); locations: artifact_location list option (** An array of the artifactLocation objects associated with the tool component. *); minimum_required_localized_data_semantic_version: string option (** The minimum value of localizedDataSemanticVersion required in translations consumed by this component; used by components that consume translations. *); name: string (** The name of the tool component. *); notifications: reporting_descriptor list option (** An array of reportingDescriptor objects relevant to the notifications related to the configuration and runtime execution of the tool component. *); organization: string option (** The organization or company that produced the tool component. *); product: string option (** A product suite to which the tool component belongs. *); product_suite: string option (** A localizable string containing the name of the suite of products to which the tool component belongs. *); properties: property_bag option (** Key/value pairs that provide additional information about the tool component. *); release_date_utc: string option (** A string specifying the UTC date (and optionally, the time) of the component's release. *); rules: reporting_descriptor list option (** An array of reportingDescriptor objects relevant to the analysis performed by the tool component. *); semantic_version: string option (** The tool component version in the format specified by Semantic Versioning 2.0. *); short_description: multiformat_message_string option (** A brief description of the tool component. *); supported_taxonomies: tool_component_reference list option (** An array of toolComponentReference objects to declare the taxonomies supported by the tool component. *); taxa: reporting_descriptor list option (** An array of reportingDescriptor objects relevant to the definitions of both standalone and tool-defined taxonomies. *); translation_metadata: translation_metadata option (** Translation metadata, required for a translation, not populated by other component types. *); version: string option (** The tool component version, in whatever format the component natively provides. *) } [@@deriving show,eq] (** The analysis tool that was run. *) type tool = Sarif_v_2_1_0_t.tool = { driver: tool_component (** The analysis tool that was run. *); extensions: tool_component list option (** Tool extensions that contributed to or reconfigured the analysis tool that was run. *); properties: property_bag option (** Key/value pairs that provide additional information about the tool. *) } [@@deriving show,eq] (** Describes an HTTP request. *) type web_request = Sarif_v_2_1_0_t.web_request = { body: artifact_content option (** The body of the request. *); headers: hm_str_str option (** The request headers. *); index: int64 (** The index within the run.webRequests array of the request object associated with this result. *); method_: string option (** The HTTP method. Well-known values are 'GET', 'PUT', 'POST', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'. *); parameters: hm_str_str option (** The request parameters. *); properties: property_bag option (** Key/value pairs that provide additional information about the request. *); protocol: string option (** The request protocol. Example: 'http'. *); target: string option (** The target of the request. *); version: string option (** The request version. Example: '1.1'. *) } [@@deriving show,eq] (** Describes the response to an HTTP request. *) type web_response = Sarif_v_2_1_0_t.web_response = { body: artifact_content option (** The body of the request. *); headers: hm_str_str option (** The request headers. *); index: int64 (** The index within the run.webRequests array of the request object associated with this result. *); no_response_received: bool (** Specifies whether a response was received from the server. *); properties: property_bag option (** Key/value pairs that provide additional information about the request. *); protocol: string option (** The request protocol. Example: 'http'. *); reason_phrase: string option (** The response reason. Example: 'Not found'. *); status_code: string option (** The response status code. Example: 451. *); version: string option (** The request version. Example: '1.1'. *) } [@@deriving show,eq] (** A location visited by an analysis tool while simulating or monitoring the execution of a program. *) type thread_flow_location = Sarif_v_2_1_0_t.thread_flow_location = { execution_order: int64 (** An integer representing the temporal order in which execution reached this location. *); execution_time_utc: string option (** The Coordinated Universal Time (UTC) date and time at which this location was executed. *); importance: thread_flow_location_importance option (** Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is "essential", "important", "unimportant". Default: "important". *); index: int64 (** he index within the run threadFlowLocations array. *); kinds: string list option (** A set of distinct strings that categorize the thread flow location. Well-known kinds include 'acquire', 'release', 'enter', 'exit', 'call', 'return', 'branch', 'implicit', 'false', 'true', 'caution', 'danger', 'unknown', 'unreachable', 'taint', 'function', 'handler', 'lock', 'memory', 'resource', 'scope' and 'value'. *); location: location option (** The code location. *); module_: string option (** The name of the module that contains the code that is executing. *); nesting_level: int64 option (** An integer representing a containment hierarchy within the thread flow. *); properties: property_bag option (** Key/value pairs that provide additional information about the threadflow location. *); stack: stack option (** The call stack leading to this location. *); state: hm_str_mms option (** A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value. For an annotation of kind 'continuation', for example, this dictionary might hold the current assumed values of a set of global variables. *); taxa: reporting_descriptor_reference list option (** An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location. *); web_request: web_request option (** A web request associated with this thread flow location. *); web_response: web_response option (** A web response associated with this thread flow location. *) } [@@deriving show,eq] (** Describes a sequence of code locations that specify a path through a single thread of execution such as an operating system or fiber. *) type thread_flow = Sarif_v_2_1_0_t.thread_flow = { id: string option (** An string that uniquely identifies the threadFlow within the codeFlow in which it occurs. *); immutable_state: hm_str_mms option (** Values of relevant expressions at the start of the thread flow that remain constant. *); initial_state: hm_str_mms option (** Values of relevant expressions at the start of the thread flow that may change during thread flow execution. *); locations: thread_flow_location list (** A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result. *); message: message option (** A message relevant to the thread flow. *); properties: property_bag option (** Key/value pairs that provide additional information about the thread flow. *) } [@@deriving show,eq] (** A set of threadFlows which together describe a pattern of code execution relevant to detecting a result. *) type code_flow = Sarif_v_2_1_0_t.code_flow = { message: message option (** A message relevant to the code flow. *); properties: property_bag option (** Key/value pairs that provide additional information about the code flow. *); thread_flows: thread_flow list (** An array of one or more unique threadFlow objects, each of which describes the progress of a program through a thread of execution. *) } [@@deriving show,eq] (** Represents a node in a graph. *) type node = Sarif_v_2_1_0_t.node = { children: node list option (** Array of child nodes. *); id: string (** A string that uniquely identifies the node within its graph. *); label: message option (** A short description of the node. *); location: location option (** A code location associated with the node. *); properties: property_bag option (** Key/value pairs that provide additional information about the node. *) } [@@deriving show,eq] (** Describes a runtime exception encountered during the execution of an analysis tool. *) type exception_ = Sarif_v_2_1_0_t.exception_ = { inner_exceptions: exception_ list option (** An array of exception objects each of which is considered a cause of this exception. *); kind: string option (** A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal. *); message: string option (** A message that describes the exception. *); properties: property_bag option (** Key/value pairs that provide additional information about the exception. *); stack: stack option (** The sequence of function calls leading to the exception. *) } [@@deriving show,eq] (** A network of nodes and directed edges that describes some aspect of the structure of the code (for example, a call graph). *) type graph = Sarif_v_2_1_0_t.graph = { description: message option (** A description of the graph. *); edges: edge list option (** An array of edge objects representing the edges of the graph. *); nodes: node list option (** An array of node objects representing the nodes of the graph. *); properties: property_bag option (** Key/value pairs that provide additional information about the graph. *) } [@@deriving show,eq] (** A result produced by an analysis tool. *) type result = Sarif_v_2_1_0_t.result = { analysis_target: artifact_location option (** Identifies the artifact that the analysis tool was instructed to scan. This need not be the same as the artifact where the result actually occurred. *); attachments: attachment list option (** A set of artifacts relevant to the result. *); baseline_state: result_baseline_state option (** The state of a result relative to a baseline of a previous run. *); code_flows: code_flow list option (** An array of 'codeFlow' objects relevant to the result. *); correlation_guid: result_correlation_guid option (** A stable, unique identifier for the equivalence class of logically identical results to which this result belongs, in the form of a GUID. *); fingerprints: hm_str_str option (** A set of strings each of which individually defines a stable, unique identity for the result. *); fixes: fix list option (** An array of 'fix' objects, each of which represents a proposed fix to the problem indicated by the result. *); graph_traversals: graph_traversal list option (** An array of one or more unique 'graphTraversal' objects. *); graphs: graph list option (** An array of zero or more unique graph objects associated with the result. *); guid: result_guid option (** A stable, unique identifier for the result in the form of a GUID. *); hosted_viewer_uri: string option (** An absolute URI at which the result can be viewed. *); kind: result_kind option (** A value that categorizes results by evaluation state. *); level: result_level option (** A value specifying the severity level of the result. *); locations: location list option (** The set of locations where the result was detected. Specify only one location unless the problem indicated by the result can only be corrected by making a change at every specified location. *); message: message (** A message that describes the result. The first sentence of the message only will be displayed when visible space is limited. *); occurrence_count: int64 option (** A positive integer specifying the number of times this logically unique result was observed in this run. *); partial_fingerprints: hm_str_str option (** A set of strings that contribute to the stable, unique identity of the result. *); properties: property_bag option (** Key/value pairs that provide additional information about the result. *); provenance: result_provenance option (** Information about how and when the result was detected. *); rank: int64; related_locations: location list option (** A set of locations relevant to this result. *); rule: reporting_descriptor_reference option (** A reference used to locate the rule descriptor relevant to this result. *); rule_id: string option (** The stable, unique identifier of the rule, if any, to which this result is relevant. *); rule_index: int64 (** The index within the tool component rules array of the rule object associated with this result. *); stacks: stack list option (** An array of 'stack' objects relevant to the result. *); suppressions: suppression list option (** A set of suppressions relevant to this result. *); taxa: reporting_descriptor_reference list option (** An array of references to taxonomy reporting descriptors that are applicable to the result. *); web_request: web_request option (** A web request associated with this result. *); web_response: web_response option (** A web response associated with this result. *); work_item_uris: string list option (** The URIs of the work items associated with this result. *) } [@@deriving show,eq] (** Describes a condition relevant to the tool itself, as opposed to being relevant to a target being analyzed by the tool. *) type notification = Sarif_v_2_1_0_t.notification = { associated_rule: reporting_descriptor_reference option (** A reference used to locate the rule descriptor associated with this notification. *); descriptor: reporting_descriptor_reference option (** A reference used to locate the descriptor relevant to this notification. *); exception_: exception_ option (** The runtime exception, if any, relevant to this notification. *); level: notification_level option (** A value specifying the severity level of the notification. *); locations: location list option (** The locations relevant to this notification. *); message: message (** A message that describes the condition that was encountered. *); properties: property_bag option (** Key/value pairs that provide additional information about the notification. *); thread_id: int64 option (** The thread identifier of the code that generated the notification. *); time_utc: string option (** The Coordinated Universal Time (UTC) date and time at which the analysis tool generated the notification. *) } [@@deriving show,eq] (** The runtime environment of the analysis tool run. *) type invocation = Sarif_v_2_1_0_t.invocation = { account: string option (** The account under which the invocation occurred. *); arguments: string option (** An array of strings, containing in order the command line arguments passed to the tool from the operating system. *); command_line: string option (** The command line used to invoke the tool. *); end_time_utc: string option (** The Coordinated Universal Time (UTC) date and time at which the invocation ended. See "Date/time properties" in the SARIF spec for the required format. *); environment_variables: hm_str_str option (** The environment variables associated with the analysis tool process, expressed as key/value pairs. *); executable_location: artifact_location option (** An absolute URI specifying the location of the executable that was invoked. *); execution_successful: bool (** Specifies whether the tool's execution completed successfully. *); exit_code: int64 option (** The process exit code. *); exit_code_description: string option (** The reason for the process exit. *); exit_signal_name: string option (** The name of the signal that caused the process to exit. *); exit_signal_number: int64 option (** The numeric value of the signal that caused the process to exit. *); notification_configuration_overrides: configuration_override list option (** An array of configurationOverride objects that describe notifications related runtime overrides. *); process_id: int64 option (** The id of the process in which the invocation occurred. *); process_start_failure_message: string option (** The reason given by the operating system that the process failed to start. *); properties: property_bag option (** Key/value pairs that provide additional information about the invocation. *); response_files: artifact_location list option (** The locations of any response files specified on the tool's command line. *); rule_configuration_overrides: configuration_override list option (** An array of configurationOverride objects that describe rules related runtime overrides. *); start_time_utc: string option (** The Coordinated Universal Time (UTC) date and time at which the invocation started. See "Date/time properties" in the SARIF spec for the required format. *); stderr: artifact_location option (** A file containing the standard error stream from the process that was invoked. *); stdin: artifact_location option (** A file containing the standard input stream to the process that was invoked. *); stdout: artifact_location option (** A file containing the standard output stream from the process that was invoked. *); stdout_stderr: artifact_location option (** A file containing the interleaved standard output and standard error stream from the process that was invoked. *); tool_configuration_notifications: notification list option (** A list of conditions detected by the tool that are relevant to the tool's configuration. *); tool_execution_notifications: notification list option (** A list of runtime conditions detected by the tool during the analysis. *); working_directory: artifact_location option (** The working directory for the invocation. *) } [@@deriving show,eq] (** Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format. *) type conversion = Sarif_v_2_1_0_t.conversion = { analysis_tool_log_files: artifact_location list option (** The locations of the analysis tool's per-run log files. *); invocation: invocation option (** An invocation object that describes the invocation of the converter. *); properties: property_bag option (** Key/value pairs that provide additional information about the conversion. *); tool: tool (** A tool object that describes the converter. *) } [@@deriving show,eq] (** A single artifact. In some cases, this artifact might be nested within another artifact. *) type artifact = Sarif_v_2_1_0_t.artifact = { contents: artifact_content option (** The contents of the artifact. *); description: message option (** A short description of the artifact. *); encoding: string option (** Specifies the encoding for an artifact object that refers to a text file. *); hashes: hm_str_str option (** A dictionary, each of whose keys is the name of a hash function and each of whose values is the hashed value of the artifact produced by the specified hash function. *); last_modified_time_utc: string option (** The Coordinated Universal Time (UTC) date and time at which the artifact was most recently modified. See "Date/time properties" in the SARIF spec for the required format. *); length: int64 (** The length of the artifact in bytes. *); location: artifact_location option (** The location of the artifact. *); mime_type: artifact_mimetype option (** The MIME type (RFC 2045) of the artifact. *); offset: int64 option (** The offset in bytes of the artifact within its containing artifact. *); parent_index: int64 (** Identifies the index of the immediate parent of the artifact, if this artifact is nested. *); properties: external_properties option (** Key/value pairs that provide additional information about the artifact. *); roles: artifact_roles_item list option (** The role or roles played by the artifact in the analysis. *); source_language: string option (** Specifies the source language for any artifact object that refers to a text file that contains source code. *) } [@@deriving show,eq] (** The top-level element of an external property file. *) and external_properties = Sarif_v_2_1_0_t.external_properties = { addresses: address list option (** Addresses that will be merged with a separate run. *); artifacts: artifact list option (** An array of artifact objects that will be merged with a separate run. *); conversion: conversion option (** A conversion object that will be merged with a separate run. *); driver: tool_component option (** The analysis tool object that will be merged with a separate run. *); extensions: tool_component list option (** Tool extensions that will be merged with a separate run. *); externalized_properties: property_bag option (** Key/value pairs that provide additional information that will be merged with a separate run. *); graph: graph list option (** An array of graph objects that will be merged with a separate run. *); guid: external_properties_guid option (** A stable, unique identifier for this external properties object, in the form of a GUID. *); invocations: invocation option (** Describes the invocation of the analysis tool that will be merged with a separate run. *); logical_locations: logical_location list option (** An array of logical locations such as namespaces, types or functions that will be merged with a separate run. *); policies: tool_component list option (** Tool policies that will be merged with a separate run. *); properties: property_bag option (** Key/value pairs that provide additional information about the external properties. *); results: result option (** An array of result objects that will be merged with a separate run. *); run_guid: external_properties_run_guid option (** A stable, unique identifier for the run associated with this external properties object, in the form of a GUID. *); schema: string option (** The URI of the JSON schema corresponding to the version of the external property file format. *); taxonomies: tool_component list option (** Tool taxonomies that will be merged with a separate run. *); thread_flow_locations: thread_flow_location list option (** An array of threadFlowLocation objects that will be merged with a separate run. *); translations: tool_component list option (** Tool translations that will be merged with a separate run. *); version: external_properties_version option (** The SARIF format version of this external properties object. *); web_requests: web_request list option (** Requests that will be merged with a separate run. *); web_responses: web_response list option (** Responses that will be merged with a separate run. *) } [@@deriving show,eq] (** Specifies the information necessary to retrieve a desired revision from a version control system. *) type version_control_details = Sarif_v_2_1_0_t.version_control_details = { as_of_time_utc: string option (** A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time. *); branch: string option (** The name of a branch containing the revision. *); mapped_to: artifact_location option (** The location in the local file system to which the root of the repository was mapped at the time of the analysis. *); properties: property_bag option (** Key/value pairs that provide additional information about the version control details. *); repository_uri: string (** The absolute URI of the repository. *); revision_id: string option (** A string that uniquely and permanently identifies the revision within the repository. *); revision_tag: string option (** A tag that has been applied to the revision. *) } [@@deriving show,eq] (** Defines locations of special significance to SARIF consumers. *) type special_locations = Sarif_v_2_1_0_t.special_locations = { display_base: artifact_location option (** Provides a suggestion to SARIF consumers to display file paths relative to the specified location. *); properties: property_bag option (** Key/value pairs that provide additional information about the special locations. *) } [@@deriving show,eq] type sarif_version = Sarif_v_2_1_0_t.sarif_version [@@deriving show,eq] (** The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646). *) type run_language = Sarif_v_2_1_0_t.run_language [@@deriving show,eq] (** Specifies the unit in which the tool measures columns. *) type run_column_kind = Sarif_v_2_1_0_t.run_column_kind [@@deriving show,eq] (** The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run. *) type run_baseline_guid = Sarif_v_2_1_0_t.run_baseline_guid [@@deriving show,eq] (** A stable, unique identifier for this object's containing run object in the form of a GUID. *) type run_automation_details_guid = Sarif_v_2_1_0_t.run_automation_details_guid [@@deriving show,eq] (** A stable, unique identifier for the equivalence class of runs to which this object's containing run object belongs in the form of a GUID. *) type run_automation_details_correlation_guid = Sarif_v_2_1_0_t.run_automation_details_correlation_guid [@@deriving show,eq] (** Information that describes a run's identity and role within an engineering system process. *) type run_automation_details = Sarif_v_2_1_0_t.run_automation_details = { correlation_guid: run_automation_details_correlation_guid option (** A stable, unique identifier for the equivalence class of runs to which this object's containing run object belongs in the form of a GUID. *); description: message option (** A description of the identity and role played within the engineering system by this object's containing run object. *); guid: run_automation_details_guid option (** A stable, unique identifier for this object's containing run object in the form of a GUID. *); id: string option (** A hierarchical string that uniquely identifies this object's containing run object. *); properties: property_bag option (** Key/value pairs that provide additional information about the run automation details. *) } [@@deriving show,eq] type hm_str_al = Sarif_v_2_1_0_t.hm_str_al [@@deriving show,eq] (** A stable, unique identifier for the external property file in the form of a GUID. *) type external_property_file_reference_guid = Sarif_v_2_1_0_t.external_property_file_reference_guid [@@deriving show,eq] (** Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run. *) type external_property_file_reference = Sarif_v_2_1_0_t.external_property_file_reference = { guid: external_property_file_reference_guid option (** A stable, unique identifier for the external property file in the form of a GUID. *); item_count: int64 (** A non-negative integer specifying the number of items contained in the external property file. *); location: artifact_location option (** The location of the external property file. *); properties: property_bag option (** Key/value pairs that provide additional information about the external property file. *) } [@@deriving show,eq] (** References to external property files that should be inlined with the content of a root log file. *) type external_property_file_references = Sarif_v_2_1_0_t.external_property_file_references = { addresses: external_property_file_reference list option (** An array of external property files containing run.addresses arrays to be merged with the root log file. *); artifacts: external_property_file_reference list option (** An array of external property files containing run.artifacts arrays to be merged with the root log file. *); conversion: external_property_file_reference option (** An external property file containing a run.conversion object to be merged with the root log file. *); driver: external_property_file_reference option (** An external property file containing a run.driver object to be merged with the root log file. *); extensions: external_property_file_reference list option (** An array of external property files containing run.extensions arrays to be merged with the root log file. *); externalized_properties: external_property_file_reference option (** An external property file containing a run.properties object to be merged with the root log file. *); graphs: external_property_file_reference list option (** An array of external property files containing a run.graphs object to be merged with the root log file. *); invocations: external_property_file_reference list option (** An array of external property files containing run.invocations arrays to be merged with the root log file. *); logical_locations: external_property_file_reference list option (** An array of external property files containing run.logicalLocations arrays to be merged with the root log file. *); policies: external_property_file_reference list option (** An array of external property files containing run.policies arrays to be merged with the root log file. *); properties: property_bag option (** Key/value pairs that provide additional information about the external property files. *); results: external_property_file_reference list option (** An array of external property files containing run.results arrays to be merged with the root log file. *); taxonomies: external_property_file_reference list option (** An array of external property files containing run.taxonomies arrays to be merged with the root log file. *); thread_flow_locations: external_property_file_reference list option (** An array of external property files containing run.threadFlowLocations arrays to be merged with the root log file. *); translations: external_property_file_reference list option (** An array of external property files containing run.translations arrays to be merged with the root log file. *); web_requests: external_property_file_reference list option (** An array of external property files containing run.requests arrays to be merged with the root log file. *); web_responses: external_property_file_reference list option (** An array of external property files containing run.responses arrays to be merged with the root log file. *) } [@@deriving show,eq] (** Describes a single run of an analysis tool, and contains the reported output of that run. *) type run = Sarif_v_2_1_0_t.run = { addresses: address list option (** Addresses associated with this run instance, if any. *); artifacts: artifact list option (** An array of artifact objects relevant to the run. *); automation_details: run_automation_details option (** Automation details that describe this run. *); baseline_guid: run_baseline_guid option (** The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run. *); column_kind: run_column_kind option (** Specifies the unit in which the tool measures columns. *); conversion: conversion option (** A conversion object that describes how a converter transformed an analysis tool's native reporting format into the SARIF format. *); default_encoding: string option (** Specifies the default encoding for any artifact object that refers to a text file. *); default_source_language: string option (** Specifies the default source language for any artifact object that refers to a text file that contains source code. *); external_property_file_references: external_property_file_references option (** References to external property files that should be inlined with the content of a root log file. *); graphs: graph list option (** An array of zero or more unique graph objects associated with the run. *); invocations: invocation list option (** Describes the invocation of the analysis tool. *); language: run_language option (** The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646). *); logical_locations: logical_location list option (** An array of logical locations such as namespaces, types or functions. *); newline_sequences: string list (** An ordered list of character sequences that were treated as line breaks when computing region information for the run. *); original_uri_base_ids: hm_str_al option (** The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran. *); policies: tool_component list option (** Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool's default severities) and invocation.configurationOverrides (severities established at run-time from the command line). *); properties: property_bag option (** Key/value pairs that provide additional information about the run. *); redaction_tokens: string list option (** An array of strings used to replace sensitive information in a redaction-aware property. *); results: result list option (** The set of results contained in an SARIF log. The results array can be omitted when a run is solely exporting rules metadata. It must be present (but may be empty) if a log file represents an actual scan. *); run_aggregates: run_automation_details list option (** Automation details that describe the aggregate of runs to which this run belongs. *); special_locations: special_locations option (** A specialLocations object that defines locations of special significance to SARIF consumers. *); taxonomies: tool_component list option (** An array of toolComponent objects relevant to a taxonomy in which results are categorized. *); thread_flow_locations: thread_flow_location list option (** An array of threadFlowLocation objects cached at run level. *); tool: tool (** Information about the tool or tool pipeline that generated the results in this run. A run can only contain results produced by a single tool or tool pipeline. A run can aggregate results from multiple log files, as long as context around the tool run (tool command-line arguments and the like) is identical for all aggregated files. *); translations: tool_component list option (** Specifies the revision in version control of the artifacts that were scanned. *); version_control_provenance: version_control_details list option (** Specifies the revision in version control of the artifacts that were scanned. *); web_requests: web_request list option (** An array of request objects cached at run level. *); web_responses: web_response list option (** An array of response objects cached at run level. *) } [@@deriving show,eq] (** Core type: Static Analysis Results Format (SARIF) Version 2.1.0 JSON Schema: a standard format for the output of static analysis tools. *) type sarif_json_schema = Sarif_v_2_1_0_t.sarif_json_schema = { version: sarif_version (** The SARIF format version of this log file. *); inline_external_properties: external_properties list option (** References to external property files that share data between runs. *); properties: property_bag option (** Key/value pairs that provide additional information about the log file. *); runs: run list (** The set of runs contained in this log file. *); schema: string option (** The URI of the JSON schema corresponding to the version. *) } [@@deriving show,eq] let validate__float_option = ( fun _ _ -> None ) let validate__string_list = ( fun _ _ -> None ) let validate__string_list_option = ( fun _ _ -> None ) let validate__string_option = ( fun _ _ -> None ) let validate__x_c3c9756 = ( fun _ _ -> None ) let validate__x_d561347 = ( (fun path x -> (match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_property_bag" in if (Sarif_v_2_1_0_util.validate_property_bag) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> ( Atdgen_runtime.Ov_run.validate_list ( fun path x -> (let _, x = x in ( (fun _ _ -> None) ) (`Index 1 :: path) x ) ) ) path x ) ) ) let validate_artifact_mimetype = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_artifact_mimetype" in if (Sarif_v_2_1_0_util.validate_artifact_mimetype) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__artifact_mimetype_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_artifact_mimetype ) ) let validate_artifact_roles_item = ( fun _ _ -> None ) let validate__artifact_roles_item_list = ( fun _ _ -> None ) let validate__artifact_roles_item_list_option = ( fun _ _ -> None ) let validate_external_properties_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_external_properties_guid" in if (Sarif_v_2_1_0_util.validate_external_properties_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__external_properties_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_external_properties_guid ) ) let validate_external_properties_run_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_external_properties_run_guid" in if (Sarif_v_2_1_0_util.validate_external_properties_run_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__external_properties_run_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_external_properties_run_guid ) ) let validate_external_properties_version = ( fun _ _ -> None ) let validate__external_properties_version_option = ( fun _ _ -> None ) let validate_hm_str_str = ( validate__x_c3c9756 ) let validate__hm_str_str_option = ( fun _ _ -> None ) let validate_int64 = ( (fun _ _ -> None) ) let validate__int64_option = ( fun _ _ -> None ) let validate_notification_level = ( fun _ _ -> None ) let validate__notification_level_option = ( fun _ _ -> None ) let validate_property_bag = ( validate__x_d561347 ) let validate__property_bag_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_property_bag ) ) let validate_address : _ -> address -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_address" in if (Sarif_v_2_1_0_util.validate_address) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__address_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_address ) ) let validate__address_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__address_list ) ) let validate__address_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_address ) ) let validate_logical_location : _ -> logical_location -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_logical_location" in if (Sarif_v_2_1_0_util.validate_logical_location) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__logical_location_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_logical_location ) ) let validate__logical_location_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__logical_location_list ) ) let validate_message : _ -> message -> _ = ( fun path x -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__message_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_message ) ) let validate_artifact_location : _ -> artifact_location -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_artifact_location" in if (Sarif_v_2_1_0_util.validate_artifact_location) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__artifact_location_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_artifact_location ) ) let validate__artifact_location_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__artifact_location_list ) ) let validate__artifact_location_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_artifact_location ) ) let validate_edge : _ -> edge -> _ = ( fun path x -> match ( validate__message_option ) (`Field "label" :: path) x.label with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__edge_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_edge ) ) let validate__edge_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__edge_list ) ) let validate_location_relationship : _ -> location_relationship -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_location_relationship" in if (Sarif_v_2_1_0_util.validate_location_relationship) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__location_relationship_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_location_relationship ) ) let validate__location_relationship_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__location_relationship_list ) ) let validate_multiformat_message_string : _ -> multiformat_message_string -> _ = ( fun path x -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__multiformat_message_string_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_multiformat_message_string ) ) let validate__x_a05fe6a = ( Atdgen_runtime.Ov_run.validate_list ( fun path x -> (let _, x = x in ( validate_multiformat_message_string ) (`Index 1 :: path) x ) ) ) let validate_artifact_content : _ -> artifact_content -> _ = ( fun path x -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__multiformat_message_string_option ) (`Field "rendered" :: path) x.rendered ) let validate__artifact_content_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_artifact_content ) ) let validate_hm_str_mms = ( validate__x_a05fe6a ) let validate__hm_str_mms_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_hm_str_mms ) ) let validate_edge_traversal : _ -> edge_traversal -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_edge_traversal" in if (Sarif_v_2_1_0_util.validate_edge_traversal) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "final_state" :: path) x.final_state with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__edge_traversal_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_edge_traversal ) ) let validate__edge_traversal_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__edge_traversal_list ) ) let validate_graph_traversal_variant0 : _ -> graph_traversal_variant0 -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_graph_traversal_variant0" in if (Sarif_v_2_1_0_util.validate_graph_traversal_variant0) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> match ( validate__edge_traversal_list_option ) (`Field "edge_traversals" :: path) x.edge_traversals with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "immutable_state" :: path) x.immutable_state with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "initial_state" :: path) x.initial_state with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate_graph_traversal_variant1 : _ -> graph_traversal_variant1 -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_graph_traversal_variant1" in if (Sarif_v_2_1_0_util.validate_graph_traversal_variant1) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> match ( validate__edge_traversal_list_option ) (`Field "edge_traversals" :: path) x.edge_traversals with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "immutable_state" :: path) x.immutable_state with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "initial_state" :: path) x.initial_state with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate_graph_traversal = ( fun path x -> match x with | `Variant0 x -> ( validate_graph_traversal_variant0 ) path x | `Variant1 x -> ( validate_graph_traversal_variant1 ) path x ) let validate__graph_traversal_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_graph_traversal ) ) let validate__graph_traversal_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__graph_traversal_list ) ) let validate_rectangle : _ -> rectangle -> _ = ( fun path x -> match ( validate__message_option ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__rectangle_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_rectangle ) ) let validate__rectangle_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__rectangle_list ) ) let validate_region : _ -> region -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_region" in if (Sarif_v_2_1_0_util.validate_region) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__artifact_content_option ) (`Field "snippet" :: path) x.snippet ) let validate__region_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_region ) ) let validate__region_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__region_list ) ) let validate__region_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_region ) ) let validate_attachment : _ -> attachment -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_attachment" in if (Sarif_v_2_1_0_util.validate_attachment) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate_artifact_location ) (`Field "artifact_location" :: path) x.artifact_location with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__rectangle_list_option ) (`Field "rectangles" :: path) x.rectangles with | Some _ as err -> err | None -> ( validate__region_list_option ) (`Field "regions" :: path) x.regions ) let validate__attachment_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_attachment ) ) let validate__attachment_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__attachment_list ) ) let validate_physical_location : _ -> physical_location -> _ = ( fun path x -> match ( validate__address_option ) (`Field "address" :: path) x.address with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "artifact_location" :: path) x.artifact_location with | Some _ as err -> err | None -> match ( validate__region_option ) (`Field "context_region" :: path) x.context_region with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__region_option ) (`Field "region" :: path) x.region ) let validate__physical_location_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_physical_location ) ) let validate__physical_location_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__physical_location_list ) ) let validate__physical_location_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_physical_location ) ) let validate_location : _ -> location -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_location" in if (Sarif_v_2_1_0_util.validate_location) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__region_list_option ) (`Field "annotations" :: path) x.annotations with | Some _ as err -> err | None -> match ( validate__logical_location_list_option ) (`Field "logical_locations" :: path) x.logical_locations with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> match ( validate__physical_location_option ) (`Field "physical_location" :: path) x.physical_location with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__location_relationship_list_option ) (`Field "relationships" :: path) x.relationships ) let validate__location_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_location ) ) let validate__location_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__location_list ) ) let validate__location_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_location ) ) let validate_replacement : _ -> replacement -> _ = ( fun path x -> match ( validate_region ) (`Field "deleted_region" :: path) x.deleted_region with | Some _ as err -> err | None -> match ( validate__artifact_content_option ) (`Field "inserted_content" :: path) x.inserted_content with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__replacement_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_replacement ) ) let validate_artifact_change : _ -> artifact_change -> _ = ( fun path x -> match ( validate_artifact_location ) (`Field "artifact_location" :: path) x.artifact_location with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__replacement_list ) (`Field "replacements" :: path) x.replacements ) let validate__artifact_change_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_artifact_change ) ) let validate_fix : _ -> fix -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_fix" in if (Sarif_v_2_1_0_util.validate_fix) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_change_list ) (`Field "artifact_changes" :: path) x.artifact_changes with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__fix_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_fix ) ) let validate__fix_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__fix_list ) ) let validate_reporting_configuration_level = ( fun _ _ -> None ) let validate__reporting_configuration_level_option = ( fun _ _ -> None ) let validate_reporting_configuration : _ -> reporting_configuration -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_reporting_configuration" in if (Sarif_v_2_1_0_util.validate_reporting_configuration) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "parameters" :: path) x.parameters with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__reporting_configuration_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_reporting_configuration ) ) let validate_reporting_descriptor_deprecated_guids_item = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_reporting_descriptor_deprecated_guids_item" in if (Sarif_v_2_1_0_util.validate_reporting_descriptor_deprecated_guids_item) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__list_2041d89 = ( Atdgen_runtime.Ov_run.validate_list ( validate_reporting_descriptor_deprecated_guids_item ) ) let validate__option_aa202c3 = ( Atdgen_runtime.Ov_run.validate_option ( validate__list_2041d89 ) ) let validate_reporting_descriptor_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_reporting_descriptor_guid" in if (Sarif_v_2_1_0_util.validate_reporting_descriptor_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__reporting_descriptor_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_reporting_descriptor_guid ) ) let validate_reporting_descriptor_reference_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_reporting_descriptor_reference_guid" in if (Sarif_v_2_1_0_util.validate_reporting_descriptor_reference_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__reporting_descriptor_reference_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_reporting_descriptor_reference_guid ) ) let validate_result_baseline_state = ( fun _ _ -> None ) let validate__result_baseline_state_option = ( fun _ _ -> None ) let validate_result_correlation_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_result_correlation_guid" in if (Sarif_v_2_1_0_util.validate_result_correlation_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__result_correlation_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_result_correlation_guid ) ) let validate_result_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_result_guid" in if (Sarif_v_2_1_0_util.validate_result_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__result_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_result_guid ) ) let validate_result_kind = ( fun _ _ -> None ) let validate__result_kind_option = ( fun _ _ -> None ) let validate_result_level = ( fun _ _ -> None ) let validate__result_level_option = ( fun _ _ -> None ) let validate_result_provenance_first_detection_run_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_result_provenance_first_detection_run_guid" in if (Sarif_v_2_1_0_util.validate_result_provenance_first_detection_run_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__option_60f83e5 = ( Atdgen_runtime.Ov_run.validate_option ( validate_result_provenance_first_detection_run_guid ) ) let validate_result_provenance_last_detection_run_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_result_provenance_last_detection_run_guid" in if (Sarif_v_2_1_0_util.validate_result_provenance_last_detection_run_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__option_0fcda76 = ( Atdgen_runtime.Ov_run.validate_option ( validate_result_provenance_last_detection_run_guid ) ) let validate_result_provenance : _ -> result_provenance -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_result_provenance" in if (Sarif_v_2_1_0_util.validate_result_provenance) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__physical_location_list_option ) (`Field "conversion_sources" :: path) x.conversion_sources with | Some _ as err -> err | None -> match ( validate__option_60f83e5 ) (`Field "first_detection_run_guid" :: path) x.first_detection_run_guid with | Some _ as err -> err | None -> match ( validate__option_0fcda76 ) (`Field "last_detection_run_guid" :: path) x.last_detection_run_guid with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__result_provenance_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_result_provenance ) ) let validate_stack_frame : _ -> stack_frame -> _ = ( fun path x -> match ( validate__location_option ) (`Field "location" :: path) x.location with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__stack_frame_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_stack_frame ) ) let validate_stack : _ -> stack -> _ = ( fun path x -> match ( validate__stack_frame_list ) (`Field "frames" :: path) x.frames with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__stack_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_stack ) ) let validate__stack_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__stack_list ) ) let validate__stack_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_stack ) ) let validate_suppression_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_suppression_guid" in if (Sarif_v_2_1_0_util.validate_suppression_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__suppression_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_suppression_guid ) ) let validate_suppression_kind = ( fun _ _ -> None ) let validate_suppression_status = ( fun _ _ -> None ) let validate__suppression_status_option = ( fun _ _ -> None ) let validate_suppression : _ -> suppression -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_suppression" in if (Sarif_v_2_1_0_util.validate_suppression) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__suppression_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> match ( validate__location_option ) (`Field "location" :: path) x.location with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__suppression_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_suppression ) ) let validate__suppression_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__suppression_list ) ) let validate_thread_flow_location_importance = ( fun _ _ -> None ) let validate__thread_flow_location_importance_option = ( fun _ _ -> None ) let validate_tool_component_contents_item = ( fun _ _ -> None ) let validate__tool_component_contents_item_list = ( fun _ _ -> None ) let validate__option_0ba29ed = ( fun _ _ -> None ) let validate_tool_component_dotted_quad_file_version = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_tool_component_dotted_quad_file_version" in if (Sarif_v_2_1_0_util.validate_tool_component_dotted_quad_file_version) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__option_d07cfb1 = ( Atdgen_runtime.Ov_run.validate_option ( validate_tool_component_dotted_quad_file_version ) ) let validate_tool_component_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_tool_component_guid" in if (Sarif_v_2_1_0_util.validate_tool_component_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__tool_component_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_tool_component_guid ) ) let validate_tool_component_language = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_tool_component_language" in if (Sarif_v_2_1_0_util.validate_tool_component_language) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__tool_component_language_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_tool_component_language ) ) let validate_tool_component_reference_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_tool_component_reference_guid" in if (Sarif_v_2_1_0_util.validate_tool_component_reference_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__tool_component_reference_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_tool_component_reference_guid ) ) let validate_tool_component_reference : _ -> tool_component_reference -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_tool_component_reference" in if (Sarif_v_2_1_0_util.validate_tool_component_reference) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__tool_component_reference_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__tool_component_reference_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_tool_component_reference ) ) let validate__tool_component_reference_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__tool_component_reference_list ) ) let validate__tool_component_reference_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_tool_component_reference ) ) let validate_reporting_descriptor_reference : _ -> reporting_descriptor_reference -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_reporting_descriptor_reference" in if (Sarif_v_2_1_0_util.validate_reporting_descriptor_reference) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_reference_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__tool_component_reference_option ) (`Field "tool_component" :: path) x.tool_component ) let validate__reporting_descriptor_reference_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_reporting_descriptor_reference ) ) let validate__reporting_descriptor_reference_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__reporting_descriptor_reference_list ) ) let validate__reporting_descriptor_reference_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_reporting_descriptor_reference ) ) let validate_configuration_override : _ -> configuration_override -> _ = ( fun path x -> match ( validate_reporting_configuration ) (`Field "configuration" :: path) x.configuration with | Some _ as err -> err | None -> match ( validate_reporting_descriptor_reference ) (`Field "descriptor" :: path) x.descriptor with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__configuration_override_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_configuration_override ) ) let validate__configuration_override_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__configuration_override_list ) ) let validate_reporting_descriptor_relationship : _ -> reporting_descriptor_relationship -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_reporting_descriptor_relationship" in if (Sarif_v_2_1_0_util.validate_reporting_descriptor_relationship) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate_reporting_descriptor_reference ) (`Field "target" :: path) x.target ) let validate__reporting_descriptor_relationship_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_reporting_descriptor_relationship ) ) let validate__reporting_descriptor_relationship_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__reporting_descriptor_relationship_list ) ) let validate_reporting_descriptor : _ -> reporting_descriptor -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_reporting_descriptor" in if (Sarif_v_2_1_0_util.validate_reporting_descriptor) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__reporting_configuration_option ) (`Field "default_configuration" :: path) x.default_configuration with | Some _ as err -> err | None -> match ( validate__option_aa202c3 ) (`Field "deprecated_guids" :: path) x.deprecated_guids with | Some _ as err -> err | None -> match ( validate__multiformat_message_string_option ) (`Field "full_description" :: path) x.full_description with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> match ( validate__multiformat_message_string_option ) (`Field "help" :: path) x.help with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "message_strings" :: path) x.message_strings with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_relationship_list_option ) (`Field "relationships" :: path) x.relationships with | Some _ as err -> err | None -> ( validate__multiformat_message_string_option ) (`Field "short_description" :: path) x.short_description ) let validate__reporting_descriptor_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_reporting_descriptor ) ) let validate__reporting_descriptor_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__reporting_descriptor_list ) ) let validate_translation_metadata : _ -> translation_metadata -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_translation_metadata" in if (Sarif_v_2_1_0_util.validate_translation_metadata) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__multiformat_message_string_option ) (`Field "full_description" :: path) x.full_description with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__multiformat_message_string_option ) (`Field "short_description" :: path) x.short_description ) let validate__translation_metadata_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_translation_metadata ) ) let validate_tool_component : _ -> tool_component -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_tool_component" in if (Sarif_v_2_1_0_util.validate_tool_component) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__tool_component_reference_option ) (`Field "associated_component" :: path) x.associated_component with | Some _ as err -> err | None -> match ( validate__option_d07cfb1 ) (`Field "dotted_quad_file_version" :: path) x.dotted_quad_file_version with | Some _ as err -> err | None -> match ( validate__multiformat_message_string_option ) (`Field "full_description" :: path) x.full_description with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "global_message_strings" :: path) x.global_message_strings with | Some _ as err -> err | None -> match ( validate__tool_component_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> match ( validate__tool_component_language_option ) (`Field "language" :: path) x.language with | Some _ as err -> err | None -> match ( validate__artifact_location_list_option ) (`Field "locations" :: path) x.locations with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_list_option ) (`Field "notifications" :: path) x.notifications with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_list_option ) (`Field "rules" :: path) x.rules with | Some _ as err -> err | None -> match ( validate__multiformat_message_string_option ) (`Field "short_description" :: path) x.short_description with | Some _ as err -> err | None -> match ( validate__tool_component_reference_list_option ) (`Field "supported_taxonomies" :: path) x.supported_taxonomies with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_list_option ) (`Field "taxa" :: path) x.taxa with | Some _ as err -> err | None -> ( validate__translation_metadata_option ) (`Field "translation_metadata" :: path) x.translation_metadata ) let validate__tool_component_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_tool_component ) ) let validate__tool_component_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__tool_component_list ) ) let validate__tool_component_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_tool_component ) ) let validate_tool : _ -> tool -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_tool" in if (Sarif_v_2_1_0_util.validate_tool) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate_tool_component ) (`Field "driver" :: path) x.driver with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "extensions" :: path) x.extensions with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate_web_request : _ -> web_request -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_web_request" in if (Sarif_v_2_1_0_util.validate_web_request) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_content_option ) (`Field "body" :: path) x.body with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__web_request_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_web_request ) ) let validate__web_request_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__web_request_list ) ) let validate__web_request_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_web_request ) ) let validate_web_response : _ -> web_response -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_web_response" in if (Sarif_v_2_1_0_util.validate_web_response) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_content_option ) (`Field "body" :: path) x.body with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__web_response_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_web_response ) ) let validate__web_response_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__web_response_list ) ) let validate__web_response_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_web_response ) ) let validate_thread_flow_location : _ -> thread_flow_location -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_thread_flow_location" in if (Sarif_v_2_1_0_util.validate_thread_flow_location) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__location_option ) (`Field "location" :: path) x.location with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__stack_option ) (`Field "stack" :: path) x.stack with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "state" :: path) x.state with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_reference_list_option ) (`Field "taxa" :: path) x.taxa with | Some _ as err -> err | None -> match ( validate__web_request_option ) (`Field "web_request" :: path) x.web_request with | Some _ as err -> err | None -> ( validate__web_response_option ) (`Field "web_response" :: path) x.web_response ) let validate__thread_flow_location_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_thread_flow_location ) ) let validate__thread_flow_location_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__thread_flow_location_list ) ) let validate_thread_flow : _ -> thread_flow -> _ = ( fun path x -> match ( validate__hm_str_mms_option ) (`Field "immutable_state" :: path) x.immutable_state with | Some _ as err -> err | None -> match ( validate__hm_str_mms_option ) (`Field "initial_state" :: path) x.initial_state with | Some _ as err -> err | None -> match ( validate__thread_flow_location_list ) (`Field "locations" :: path) x.locations with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__thread_flow_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_thread_flow ) ) let validate_code_flow : _ -> code_flow -> _ = ( fun path x -> match ( validate__message_option ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__thread_flow_list ) (`Field "thread_flows" :: path) x.thread_flows ) let validate__code_flow_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_code_flow ) ) let validate__code_flow_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__code_flow_list ) ) let rec validate__node_list path x = ( Atdgen_runtime.Ov_run.validate_list ( validate_node ) ) path x and validate__node_list_option path x = ( Atdgen_runtime.Ov_run.validate_option ( validate__node_list ) ) path x and validate_node : _ -> node -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_node" in if (Sarif_v_2_1_0_util.validate_node) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__node_list_option ) (`Field "children" :: path) x.children with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "label" :: path) x.label with | Some _ as err -> err | None -> match ( validate__location_option ) (`Field "location" :: path) x.location with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let rec validate__exception_list path x = ( Atdgen_runtime.Ov_run.validate_list ( validate_exception_ ) ) path x and validate__exception_list_option path x = ( Atdgen_runtime.Ov_run.validate_option ( validate__exception_list ) ) path x and validate_exception_ : _ -> exception_ -> _ = ( fun path x -> match ( validate__exception_list_option ) (`Field "inner_exceptions" :: path) x.inner_exceptions with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__stack_option ) (`Field "stack" :: path) x.stack ) let validate_graph : _ -> graph -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_graph" in if (Sarif_v_2_1_0_util.validate_graph) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> match ( validate__edge_list_option ) (`Field "edges" :: path) x.edges with | Some _ as err -> err | None -> match ( validate__node_list_option ) (`Field "nodes" :: path) x.nodes with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__graph_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_graph ) ) let validate__graph_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__graph_list ) ) let validate_result : _ -> result -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_result" in if (Sarif_v_2_1_0_util.validate_result) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "analysis_target" :: path) x.analysis_target with | Some _ as err -> err | None -> match ( validate__attachment_list_option ) (`Field "attachments" :: path) x.attachments with | Some _ as err -> err | None -> match ( validate__code_flow_list_option ) (`Field "code_flows" :: path) x.code_flows with | Some _ as err -> err | None -> match ( validate__result_correlation_guid_option ) (`Field "correlation_guid" :: path) x.correlation_guid with | Some _ as err -> err | None -> match ( validate__fix_list_option ) (`Field "fixes" :: path) x.fixes with | Some _ as err -> err | None -> match ( validate__graph_traversal_list_option ) (`Field "graph_traversals" :: path) x.graph_traversals with | Some _ as err -> err | None -> match ( validate__graph_list_option ) (`Field "graphs" :: path) x.graphs with | Some _ as err -> err | None -> match ( validate__result_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> match ( validate__location_list_option ) (`Field "locations" :: path) x.locations with | Some _ as err -> err | None -> match ( validate_message ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__result_provenance_option ) (`Field "provenance" :: path) x.provenance with | Some _ as err -> err | None -> match ( validate__location_list_option ) (`Field "related_locations" :: path) x.related_locations with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_reference_option ) (`Field "rule" :: path) x.rule with | Some _ as err -> err | None -> match ( validate__stack_list_option ) (`Field "stacks" :: path) x.stacks with | Some _ as err -> err | None -> match ( validate__suppression_list_option ) (`Field "suppressions" :: path) x.suppressions with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_reference_list_option ) (`Field "taxa" :: path) x.taxa with | Some _ as err -> err | None -> match ( validate__web_request_option ) (`Field "web_request" :: path) x.web_request with | Some _ as err -> err | None -> ( validate__web_response_option ) (`Field "web_response" :: path) x.web_response ) let validate__exception_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_exception_ ) ) let validate_notification : _ -> notification -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_notification" in if (Sarif_v_2_1_0_util.validate_notification) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_reference_option ) (`Field "associated_rule" :: path) x.associated_rule with | Some _ as err -> err | None -> match ( validate__reporting_descriptor_reference_option ) (`Field "descriptor" :: path) x.descriptor with | Some _ as err -> err | None -> match ( validate__exception_option ) (`Field "exception_" :: path) x.exception_ with | Some _ as err -> err | None -> match ( validate__location_list_option ) (`Field "locations" :: path) x.locations with | Some _ as err -> err | None -> match ( validate_message ) (`Field "message" :: path) x.message with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__notification_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_notification ) ) let validate__notification_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__notification_list ) ) let validate_invocation : _ -> invocation -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_invocation" in if (Sarif_v_2_1_0_util.validate_invocation) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "executable_location" :: path) x.executable_location with | Some _ as err -> err | None -> match ( validate__configuration_override_list_option ) (`Field "notification_configuration_overrides" :: path) x.notification_configuration_overrides with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__artifact_location_list_option ) (`Field "response_files" :: path) x.response_files with | Some _ as err -> err | None -> match ( validate__configuration_override_list_option ) (`Field "rule_configuration_overrides" :: path) x.rule_configuration_overrides with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "stderr" :: path) x.stderr with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "stdin" :: path) x.stdin with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "stdout" :: path) x.stdout with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "stdout_stderr" :: path) x.stdout_stderr with | Some _ as err -> err | None -> match ( validate__notification_list_option ) (`Field "tool_configuration_notifications" :: path) x.tool_configuration_notifications with | Some _ as err -> err | None -> match ( validate__notification_list_option ) (`Field "tool_execution_notifications" :: path) x.tool_execution_notifications with | Some _ as err -> err | None -> ( validate__artifact_location_option ) (`Field "working_directory" :: path) x.working_directory ) let validate__invocation_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_invocation ) ) let validate_conversion : _ -> conversion -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_conversion" in if (Sarif_v_2_1_0_util.validate_conversion) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_location_list_option ) (`Field "analysis_tool_log_files" :: path) x.analysis_tool_log_files with | Some _ as err -> err | None -> match ( validate__invocation_option ) (`Field "invocation" :: path) x.invocation with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate_tool ) (`Field "tool" :: path) x.tool ) let validate__result_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_result ) ) let validate__conversion_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_conversion ) ) let rec validate__artifact_list path x = ( Atdgen_runtime.Ov_run.validate_list ( validate_artifact ) ) path x and validate__artifact_list_option path x = ( Atdgen_runtime.Ov_run.validate_option ( validate__artifact_list ) ) path x and validate__external_properties_option path x = ( Atdgen_runtime.Ov_run.validate_option ( validate_external_properties ) ) path x and validate_artifact : _ -> artifact -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_artifact" in if (Sarif_v_2_1_0_util.validate_artifact) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_content_option ) (`Field "contents" :: path) x.contents with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "location" :: path) x.location with | Some _ as err -> err | None -> match ( validate__artifact_mimetype_option ) (`Field "mime_type" :: path) x.mime_type with | Some _ as err -> err | None -> ( validate__external_properties_option ) (`Field "properties" :: path) x.properties ) and validate_external_properties : _ -> external_properties -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_external_properties" in if (Sarif_v_2_1_0_util.validate_external_properties) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__address_list_option ) (`Field "addresses" :: path) x.addresses with | Some _ as err -> err | None -> match ( validate__artifact_list_option ) (`Field "artifacts" :: path) x.artifacts with | Some _ as err -> err | None -> match ( validate__conversion_option ) (`Field "conversion" :: path) x.conversion with | Some _ as err -> err | None -> match ( validate__tool_component_option ) (`Field "driver" :: path) x.driver with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "extensions" :: path) x.extensions with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "externalized_properties" :: path) x.externalized_properties with | Some _ as err -> err | None -> match ( validate__graph_list_option ) (`Field "graph" :: path) x.graph with | Some _ as err -> err | None -> match ( validate__external_properties_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> match ( validate__invocation_option ) (`Field "invocations" :: path) x.invocations with | Some _ as err -> err | None -> match ( validate__logical_location_list_option ) (`Field "logical_locations" :: path) x.logical_locations with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "policies" :: path) x.policies with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__result_option ) (`Field "results" :: path) x.results with | Some _ as err -> err | None -> match ( validate__external_properties_run_guid_option ) (`Field "run_guid" :: path) x.run_guid with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "taxonomies" :: path) x.taxonomies with | Some _ as err -> err | None -> match ( validate__thread_flow_location_list_option ) (`Field "thread_flow_locations" :: path) x.thread_flow_locations with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "translations" :: path) x.translations with | Some _ as err -> err | None -> match ( validate__web_request_list_option ) (`Field "web_requests" :: path) x.web_requests with | Some _ as err -> err | None -> ( validate__web_response_list_option ) (`Field "web_responses" :: path) x.web_responses ) let validate_version_control_details : _ -> version_control_details -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_version_control_details" in if (Sarif_v_2_1_0_util.validate_version_control_details) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "mapped_to" :: path) x.mapped_to with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate_special_locations : _ -> special_locations -> _ = ( fun path x -> match ( validate__artifact_location_option ) (`Field "display_base" :: path) x.display_base with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate_sarif_version = ( fun _ _ -> None ) let validate_run_language = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_run_language" in if (Sarif_v_2_1_0_util.validate_run_language) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate_run_column_kind = ( fun _ _ -> None ) let validate_run_baseline_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_run_baseline_guid" in if (Sarif_v_2_1_0_util.validate_run_baseline_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate_run_automation_details_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_run_automation_details_guid" in if (Sarif_v_2_1_0_util.validate_run_automation_details_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate_run_automation_details_correlation_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_run_automation_details_correlation_guid" in if (Sarif_v_2_1_0_util.validate_run_automation_details_correlation_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__run_automation_details_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_run_automation_details_guid ) ) let validate__option_46715fb = ( Atdgen_runtime.Ov_run.validate_option ( validate_run_automation_details_correlation_guid ) ) let validate_run_automation_details : _ -> run_automation_details -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_run_automation_details" in if (Sarif_v_2_1_0_util.validate_run_automation_details) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__option_46715fb ) (`Field "correlation_guid" :: path) x.correlation_guid with | Some _ as err -> err | None -> match ( validate__message_option ) (`Field "description" :: path) x.description with | Some _ as err -> err | None -> match ( validate__run_automation_details_guid_option ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__x_9eb6bac = ( Atdgen_runtime.Ov_run.validate_list ( fun path x -> (let _, x = x in ( validate_artifact_location ) (`Index 1 :: path) x ) ) ) let validate_hm_str_al = ( validate__x_9eb6bac ) let validate_external_property_file_reference_guid = ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_external_property_file_reference_guid" in if (Sarif_v_2_1_0_util.validate_external_property_file_reference_guid) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) let validate__option_9c938c9 = ( Atdgen_runtime.Ov_run.validate_option ( validate_external_property_file_reference_guid ) ) let validate_external_property_file_reference : _ -> external_property_file_reference -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_external_property_file_reference" in if (Sarif_v_2_1_0_util.validate_external_property_file_reference) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__option_9c938c9 ) (`Field "guid" :: path) x.guid with | Some _ as err -> err | None -> match ( validate__artifact_location_option ) (`Field "location" :: path) x.location with | Some _ as err -> err | None -> ( validate__property_bag_option ) (`Field "properties" :: path) x.properties ) let validate__external_property_file_reference_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_external_property_file_reference ) ) let validate__option_927609b = ( Atdgen_runtime.Ov_run.validate_option ( validate__external_property_file_reference_list ) ) let validate__external_property_file_reference_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_external_property_file_reference ) ) let validate_external_property_file_references : _ -> external_property_file_references -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_external_property_file_references" in if (Sarif_v_2_1_0_util.validate_external_property_file_references) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "addresses" :: path) x.addresses with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "artifacts" :: path) x.artifacts with | Some _ as err -> err | None -> match ( validate__external_property_file_reference_option ) (`Field "conversion" :: path) x.conversion with | Some _ as err -> err | None -> match ( validate__external_property_file_reference_option ) (`Field "driver" :: path) x.driver with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "extensions" :: path) x.extensions with | Some _ as err -> err | None -> match ( validate__external_property_file_reference_option ) (`Field "externalized_properties" :: path) x.externalized_properties with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "graphs" :: path) x.graphs with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "invocations" :: path) x.invocations with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "logical_locations" :: path) x.logical_locations with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "policies" :: path) x.policies with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "results" :: path) x.results with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "taxonomies" :: path) x.taxonomies with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "thread_flow_locations" :: path) x.thread_flow_locations with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "translations" :: path) x.translations with | Some _ as err -> err | None -> match ( validate__option_927609b ) (`Field "web_requests" :: path) x.web_requests with | Some _ as err -> err | None -> ( validate__option_927609b ) (`Field "web_responses" :: path) x.web_responses ) let validate__version_control_details_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_version_control_details ) ) let validate__version_control_details_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__version_control_details_list ) ) let validate__special_locations_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_special_locations ) ) let validate__run_language_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_run_language ) ) let validate__run_column_kind_option = ( fun _ _ -> None ) let validate__run_baseline_guid_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_run_baseline_guid ) ) let validate__run_automation_details_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_run_automation_details ) ) let validate__run_automation_details_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_run_automation_details ) ) let validate__run_automation_details_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__run_automation_details_list ) ) let validate__result_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_result ) ) let validate__result_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__result_list ) ) let validate__invocation_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_invocation ) ) let validate__invocation_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__invocation_list ) ) let validate__hm_str_al_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_hm_str_al ) ) let validate__external_property_file_references_option = ( Atdgen_runtime.Ov_run.validate_option ( validate_external_property_file_references ) ) let validate_run : _ -> run -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_run" in if (Sarif_v_2_1_0_util.validate_run) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__address_list_option ) (`Field "addresses" :: path) x.addresses with | Some _ as err -> err | None -> match ( validate__artifact_list_option ) (`Field "artifacts" :: path) x.artifacts with | Some _ as err -> err | None -> match ( validate__run_automation_details_option ) (`Field "automation_details" :: path) x.automation_details with | Some _ as err -> err | None -> match ( validate__run_baseline_guid_option ) (`Field "baseline_guid" :: path) x.baseline_guid with | Some _ as err -> err | None -> match ( validate__conversion_option ) (`Field "conversion" :: path) x.conversion with | Some _ as err -> err | None -> match ( validate__external_property_file_references_option ) (`Field "external_property_file_references" :: path) x.external_property_file_references with | Some _ as err -> err | None -> match ( validate__graph_list_option ) (`Field "graphs" :: path) x.graphs with | Some _ as err -> err | None -> match ( validate__invocation_list_option ) (`Field "invocations" :: path) x.invocations with | Some _ as err -> err | None -> match ( validate__run_language_option ) (`Field "language" :: path) x.language with | Some _ as err -> err | None -> match ( validate__logical_location_list_option ) (`Field "logical_locations" :: path) x.logical_locations with | Some _ as err -> err | None -> match ( validate__hm_str_al_option ) (`Field "original_uri_base_ids" :: path) x.original_uri_base_ids with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "policies" :: path) x.policies with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> match ( validate__result_list_option ) (`Field "results" :: path) x.results with | Some _ as err -> err | None -> match ( validate__run_automation_details_list_option ) (`Field "run_aggregates" :: path) x.run_aggregates with | Some _ as err -> err | None -> match ( validate__special_locations_option ) (`Field "special_locations" :: path) x.special_locations with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "taxonomies" :: path) x.taxonomies with | Some _ as err -> err | None -> match ( validate__thread_flow_location_list_option ) (`Field "thread_flow_locations" :: path) x.thread_flow_locations with | Some _ as err -> err | None -> match ( validate_tool ) (`Field "tool" :: path) x.tool with | Some _ as err -> err | None -> match ( validate__tool_component_list_option ) (`Field "translations" :: path) x.translations with | Some _ as err -> err | None -> match ( validate__version_control_details_list_option ) (`Field "version_control_provenance" :: path) x.version_control_provenance with | Some _ as err -> err | None -> match ( validate__web_request_list_option ) (`Field "web_requests" :: path) x.web_requests with | Some _ as err -> err | None -> ( validate__web_response_list_option ) (`Field "web_responses" :: path) x.web_responses ) let validate__run_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_run ) ) let validate__external_properties_list = ( Atdgen_runtime.Ov_run.validate_list ( validate_external_properties ) ) let validate__external_properties_list_option = ( Atdgen_runtime.Ov_run.validate_option ( validate__external_properties_list ) ) let validate_sarif_json_schema : _ -> sarif_json_schema -> _ = ( fun path x -> match ( fun path x -> let msg = "Failed check by Sarif_v_2_1_0_util.validate_sarif_json_schema" in if (Sarif_v_2_1_0_util.validate_sarif_json_schema) x then None else Some (Atdgen_runtime.Util.Validation.error ~msg path) ) path x with | Some _ as err -> err | None -> match ( validate__external_properties_list_option ) (`Field "inline_external_properties" :: path) x.inline_external_properties with | Some _ as err -> err | None -> match ( validate__property_bag_option ) (`Field "properties" :: path) x.properties with | Some _ as err -> err | None -> ( validate__run_list ) (`Field "runs" :: path) x.runs ) let create_address ?(absolute_address = -1L) ?fully_qualified_name ?(index = -1L) ?kind ?length ?name ?offset_from_parent ?(parent_index = -1L) ?properties ?relative_address () : address = { absolute_address = absolute_address; fully_qualified_name = fully_qualified_name; index = index; kind = kind; length = length; name = name; offset_from_parent = offset_from_parent; parent_index = parent_index; properties = properties; relative_address = relative_address; } let create_logical_location ?decorated_name ?fully_qualified_name ?(index = -1L) ?kind ?name ?(parent_index = -1L) ?properties () : logical_location = { decorated_name = decorated_name; fully_qualified_name = fully_qualified_name; index = index; kind = kind; name = name; parent_index = parent_index; properties = properties; } let create_message ?arguments ?id ?markdown ?properties ?text () : message = { arguments = arguments; id = id; markdown = markdown; properties = properties; text = text; } let create_artifact_location ?description ?(index = -1L) ?properties ?uri ?uri_base_id () : artifact_location = { description = description; index = index; properties = properties; uri = uri; uri_base_id = uri_base_id; } let create_edge ~id ?label ?properties ~source_node_id ~target_node_id () : edge = { id = id; label = label; properties = properties; source_node_id = source_node_id; target_node_id = target_node_id; } let create_location_relationship ?description ?kinds ?properties ~target () : location_relationship = { description = description; kinds = kinds; properties = properties; target = target; } let create_multiformat_message_string ?markdown ?properties ~text () : multiformat_message_string = { markdown = markdown; properties = properties; text = text; } let create_artifact_content ?binary ?properties ?rendered ?text () : artifact_content = { binary = binary; properties = properties; rendered = rendered; text = text; } let create_edge_traversal ~edge_id ?final_state ?message ?properties ?step_over_edge_count () : edge_traversal = { edge_id = edge_id; final_state = final_state; message = message; properties = properties; step_over_edge_count = step_over_edge_count; } let create_graph_traversal_variant0 ?description ?edge_traversals ?immutable_state ?initial_state ?properties ?(result_graph_index = -1L) ?(run_graph_index = -1L) () : graph_traversal_variant0 = { description = description; edge_traversals = edge_traversals; immutable_state = immutable_state; initial_state = initial_state; properties = properties; result_graph_index = result_graph_index; run_graph_index = run_graph_index; } let create_graph_traversal_variant1 ?description ?edge_traversals ?immutable_state ?initial_state ?properties ?(result_graph_index = -1L) ?(run_graph_index = -1L) () : graph_traversal_variant1 = { description = description; edge_traversals = edge_traversals; immutable_state = immutable_state; initial_state = initial_state; properties = properties; result_graph_index = result_graph_index; run_graph_index = run_graph_index; } let create_rectangle ?bottom ?left ?message ?properties ?right ?top () : rectangle = { bottom = bottom; left = left; message = message; properties = properties; right = right; top = top; } let create_region ?byte_length ?(byte_offset = -1L) ?char_length ?(char_offset = -1L) ?end_column ?end_line ?message ?properties ?snippet ?source_language ?start_column ?start_line () : region = { byte_length = byte_length; byte_offset = byte_offset; char_length = char_length; char_offset = char_offset; end_column = end_column; end_line = end_line; message = message; properties = properties; snippet = snippet; source_language = source_language; start_column = start_column; start_line = start_line; } let create_attachment ~artifact_location ?description ?properties ?rectangles ?regions () : attachment = { artifact_location = artifact_location; description = description; properties = properties; rectangles = rectangles; regions = regions; } let create_physical_location ?address ?artifact_location ?context_region ?properties ?region () : physical_location = { address = address; artifact_location = artifact_location; context_region = context_region; properties = properties; region = region; } let create_location ?annotations ?(id = -1L) ?logical_locations ?message ?physical_location ?properties ?relationships () : location = { annotations = annotations; id = id; logical_locations = logical_locations; message = message; physical_location = physical_location; properties = properties; relationships = relationships; } let create_replacement ~deleted_region ?inserted_content ?properties () : replacement = { deleted_region = deleted_region; inserted_content = inserted_content; properties = properties; } let create_artifact_change ~artifact_location ?properties ~replacements () : artifact_change = { artifact_location = artifact_location; properties = properties; replacements = replacements; } let create_fix ~artifact_changes ?description ?properties () : fix = { artifact_changes = artifact_changes; description = description; properties = properties; } let create_reporting_configuration ?(enabled = true) ?level ?parameters ?properties ?(rank = -1L) () : reporting_configuration = { enabled = enabled; level = level; parameters = parameters; properties = properties; rank = rank; } let create_result_provenance ?conversion_sources ?first_detection_run_guid ?first_detection_time_utc ?(invocation_index = -1L) ?last_detection_run_guid ?last_detection_time_utc ?properties () : result_provenance = { conversion_sources = conversion_sources; first_detection_run_guid = first_detection_run_guid; first_detection_time_utc = first_detection_time_utc; invocation_index = invocation_index; last_detection_run_guid = last_detection_run_guid; last_detection_time_utc = last_detection_time_utc; properties = properties; } let create_stack_frame ?location ?module_ ?parameters ?properties ?thread_id () : stack_frame = { location = location; module_ = module_; parameters = parameters; properties = properties; thread_id = thread_id; } let create_stack ~frames ?message ?properties () : stack = { frames = frames; message = message; properties = properties; } let create_suppression ?guid ?justification ~kind ?location ?properties ?status () : suppression = { guid = guid; justification = justification; kind = kind; location = location; properties = properties; status = status; } let create_tool_component_reference ?guid ?(index = -1L) ?name ?properties () : tool_component_reference = { guid = guid; index = index; name = name; properties = properties; } let create_reporting_descriptor_reference ?guid ?id ?(index = -1L) ?properties ?tool_component () : reporting_descriptor_reference = { guid = guid; id = id; index = index; properties = properties; tool_component = tool_component; } let create_configuration_override ~configuration ~descriptor ?properties () : configuration_override = { configuration = configuration; descriptor = descriptor; properties = properties; } let create_reporting_descriptor_relationship ?description ?kinds ?properties ~target () : reporting_descriptor_relationship = { description = description; kinds = kinds; properties = properties; target = target; } let create_reporting_descriptor ?default_configuration ?deprecated_guids ?deprecated_ids ?deprecated_names ?full_description ?guid ?help ?help_uri ~id ?message_strings ?name ?properties ?relationships ?short_description () : reporting_descriptor = { default_configuration = default_configuration; deprecated_guids = deprecated_guids; deprecated_ids = deprecated_ids; deprecated_names = deprecated_names; full_description = full_description; guid = guid; help = help; help_uri = help_uri; id = id; message_strings = message_strings; name = name; properties = properties; relationships = relationships; short_description = short_description; } let create_translation_metadata ?download_uri ?full_description ?full_name ?information_uri ~name ?properties ?short_description () : translation_metadata = { download_uri = download_uri; full_description = full_description; full_name = full_name; information_uri = information_uri; name = name; properties = properties; short_description = short_description; } let create_tool_component ?associated_component ?contents ?dotted_quad_file_version ?download_uri ?full_description ?full_name ?global_message_strings ?guid ?information_uri ?(is_comprehensive = false) ?language ?localized_data_semantic_version ?locations ?minimum_required_localized_data_semantic_version ~name ?notifications ?organization ?product ?product_suite ?properties ?release_date_utc ?rules ?semantic_version ?short_description ?supported_taxonomies ?taxa ?translation_metadata ?version () : tool_component = { associated_component = associated_component; contents = contents; dotted_quad_file_version = dotted_quad_file_version; download_uri = download_uri; full_description = full_description; full_name = full_name; global_message_strings = global_message_strings; guid = guid; information_uri = information_uri; is_comprehensive = is_comprehensive; language = language; localized_data_semantic_version = localized_data_semantic_version; locations = locations; minimum_required_localized_data_semantic_version = minimum_required_localized_data_semantic_version; name = name; notifications = notifications; organization = organization; product = product; product_suite = product_suite; properties = properties; release_date_utc = release_date_utc; rules = rules; semantic_version = semantic_version; short_description = short_description; supported_taxonomies = supported_taxonomies; taxa = taxa; translation_metadata = translation_metadata; version = version; } let create_tool ~driver ?extensions ?properties () : tool = { driver = driver; extensions = extensions; properties = properties; } let create_web_request ?body ?headers ?(index = -1L) ?method_ ?parameters ?properties ?protocol ?target ?version () : web_request = { body = body; headers = headers; index = index; method_ = method_; parameters = parameters; properties = properties; protocol = protocol; target = target; version = version; } let create_web_response ?body ?headers ?(index = -1L) ?(no_response_received = false) ?properties ?protocol ?reason_phrase ?status_code ?version () : web_response = { body = body; headers = headers; index = index; no_response_received = no_response_received; properties = properties; protocol = protocol; reason_phrase = reason_phrase; status_code = status_code; version = version; } let create_thread_flow_location ?(execution_order = -1L) ?execution_time_utc ?importance ?(index = -1L) ?kinds ?location ?module_ ?nesting_level ?properties ?stack ?state ?taxa ?web_request ?web_response () : thread_flow_location = { execution_order = execution_order; execution_time_utc = execution_time_utc; importance = importance; index = index; kinds = kinds; location = location; module_ = module_; nesting_level = nesting_level; properties = properties; stack = stack; state = state; taxa = taxa; web_request = web_request; web_response = web_response; } let create_thread_flow ?id ?immutable_state ?initial_state ~locations ?message ?properties () : thread_flow = { id = id; immutable_state = immutable_state; initial_state = initial_state; locations = locations; message = message; properties = properties; } let create_code_flow ?message ?properties ~thread_flows () : code_flow = { message = message; properties = properties; thread_flows = thread_flows; } let create_node ?children ~id ?label ?location ?properties () : node = { children = children; id = id; label = label; location = location; properties = properties; } let create_exception_ ?inner_exceptions ?kind ?message ?properties ?stack () : exception_ = { inner_exceptions = inner_exceptions; kind = kind; message = message; properties = properties; stack = stack; } let create_graph ?description ?edges ?nodes ?properties () : graph = { description = description; edges = edges; nodes = nodes; properties = properties; } let create_result ?analysis_target ?attachments ?baseline_state ?code_flows ?correlation_guid ?fingerprints ?fixes ?graph_traversals ?graphs ?guid ?hosted_viewer_uri ?kind ?level ?locations ~message ?occurrence_count ?partial_fingerprints ?properties ?provenance ?(rank = -1L) ? ?rule ?rule_id ?(rule_index = -1L) ?stacks ?suppressions ?taxa ?web_request ?web_response ?work_item_uris () : result = { analysis_target = analysis_target; attachments = attachments; baseline_state = baseline_state; code_flows = code_flows; correlation_guid = correlation_guid; fingerprints = fingerprints; fixes = fixes; graph_traversals = graph_traversals; graphs = graphs; guid = guid; hosted_viewer_uri = hosted_viewer_uri; kind = kind; level = level; locations = locations; message = message; occurrence_count = occurrence_count; partial_fingerprints = partial_fingerprints; properties = properties; provenance = provenance; rank = rank; related_locations = related_locations; rule = rule; rule_id = rule_id; rule_index = rule_index; stacks = stacks; suppressions = suppressions; taxa = taxa; web_request = web_request; web_response = web_response; work_item_uris = work_item_uris; } let create_notification ?associated_rule ?descriptor ?exception_ ?level ?locations ~message ?properties ?thread_id ?time_utc () : notification = { associated_rule = associated_rule; descriptor = descriptor; exception_ = exception_; level = level; locations = locations; message = message; properties = properties; thread_id = thread_id; time_utc = time_utc; } let create_invocation ?account ?arguments ?command_line ?end_time_utc ?environment_variables ?executable_location ~execution_successful ?exit_code ?exit_code_description ?exit_signal_name ?exit_signal_number ?notification_configuration_overrides ?process_id ?process_start_failure_message ?properties ?response_files ?rule_configuration_overrides ?start_time_utc ?stderr ?stdin ?stdout ?stdout_stderr ?tool_configuration_notifications ?tool_execution_notifications ?working_directory () : invocation = { account = account; arguments = arguments; command_line = command_line; end_time_utc = end_time_utc; environment_variables = environment_variables; executable_location = executable_location; execution_successful = execution_successful; exit_code = exit_code; exit_code_description = exit_code_description; exit_signal_name = exit_signal_name; exit_signal_number = exit_signal_number; notification_configuration_overrides = notification_configuration_overrides; process_id = process_id; process_start_failure_message = process_start_failure_message; properties = properties; response_files = response_files; rule_configuration_overrides = rule_configuration_overrides; start_time_utc = start_time_utc; stderr = stderr; stdin = stdin; stdout = stdout; stdout_stderr = stdout_stderr; tool_configuration_notifications = tool_configuration_notifications; tool_execution_notifications = tool_execution_notifications; working_directory = working_directory; } let create_conversion ?analysis_tool_log_files ?invocation ?properties ~tool () : conversion = { analysis_tool_log_files = analysis_tool_log_files; invocation = invocation; properties = properties; tool = tool; } let create_artifact ?contents ?description ?encoding ?hashes ?last_modified_time_utc ?(length = -1L) ?location ?mime_type ?offset ?(parent_index = -1L) ?properties ?roles ?source_language () : artifact = { contents = contents; description = description; encoding = encoding; hashes = hashes; last_modified_time_utc = last_modified_time_utc; length = length; location = location; mime_type = mime_type; offset = offset; parent_index = parent_index; properties = properties; roles = roles; source_language = source_language; } let create_external_properties ?addresses ?artifacts ?conversion ?driver ?extensions ?externalized_properties ?graph ?guid ?invocations ?logical_locations ?policies ?properties ?results ?run_guid ?schema ?taxonomies ?thread_flow_locations ?translations ?version ?web_requests ?web_responses () : external_properties = { addresses = addresses; artifacts = artifacts; conversion = conversion; driver = driver; extensions = extensions; externalized_properties = externalized_properties; graph = graph; guid = guid; invocations = invocations; logical_locations = logical_locations; policies = policies; properties = properties; results = results; run_guid = run_guid; schema = schema; taxonomies = taxonomies; thread_flow_locations = thread_flow_locations; translations = translations; version = version; web_requests = web_requests; web_responses = web_responses; } let create_version_control_details ?as_of_time_utc ?branch ?mapped_to ?properties ~repository_uri ?revision_id ?revision_tag () : version_control_details = { as_of_time_utc = as_of_time_utc; branch = branch; mapped_to = mapped_to; properties = properties; repository_uri = repository_uri; revision_id = revision_id; revision_tag = revision_tag; } let create_special_locations ?display_base ?properties () : special_locations = { display_base = display_base; properties = properties; } let create_run_automation_details ?correlation_guid ?description ?guid ?id ?properties () : run_automation_details = { correlation_guid = correlation_guid; description = description; guid = guid; id = id; properties = properties; } let create_external_property_file_reference ?guid ?(item_count = -1L) ?location ?properties () : external_property_file_reference = { guid = guid; item_count = item_count; location = location; properties = properties; } let create_external_property_file_references ?addresses ?artifacts ?conversion ?driver ?extensions ?externalized_properties ?graphs ?invocations ?logical_locations ?policies ?properties ?results ?taxonomies ?thread_flow_locations ?translations ?web_requests ?web_responses () : external_property_file_references = { addresses = addresses; artifacts = artifacts; conversion = conversion; driver = driver; extensions = extensions; externalized_properties = externalized_properties; graphs = graphs; invocations = invocations; logical_locations = logical_locations; policies = policies; properties = properties; results = results; taxonomies = taxonomies; thread_flow_locations = thread_flow_locations; translations = translations; web_requests = web_requests; web_responses = web_responses; } let create_run ?addresses ?artifacts ?automation_details ?baseline_guid ?column_kind ?conversion ?default_encoding ?default_source_language ?external_property_file_references ?graphs ?invocations ?language ?logical_locations ?(newline_sequences = ["\r\n"; "\n"]) ?original_uri_base_ids ?policies ?properties ?redaction_tokens ?results ?run_aggregates ?special_locations ?taxonomies ?thread_flow_locations ~tool ?translations ?version_control_provenance ?web_requests ?web_responses () : run = { addresses = addresses; artifacts = artifacts; automation_details = automation_details; baseline_guid = baseline_guid; column_kind = column_kind; conversion = conversion; default_encoding = default_encoding; default_source_language = default_source_language; external_property_file_references = external_property_file_references; graphs = graphs; invocations = invocations; language = language; logical_locations = logical_locations; newline_sequences = newline_sequences; original_uri_base_ids = original_uri_base_ids; policies = policies; properties = properties; redaction_tokens = redaction_tokens; results = results; run_aggregates = run_aggregates; special_locations = special_locations; taxonomies = taxonomies; thread_flow_locations = thread_flow_locations; tool = tool; translations = translations; version_control_provenance = version_control_provenance; web_requests = web_requests; web_responses = web_responses; } let create_sarif_json_schema ~version ?inline_external_properties ?properties ~runs ?schema () : sarif_json_schema = { version = version; inline_external_properties = inline_external_properties; properties = properties; runs = runs; schema = schema; }