From b422a972bffebd75ff23c8544cb1687638c4ad23 Mon Sep 17 00:00:00 2001 From: Shati Patel <42641846+shati-patel@users.noreply.github.com> Date: Mon, 22 Mar 2021 10:00:18 +0000 Subject: [PATCH 1/6] Update conf.py --- docs/codeql/support/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/codeql/support/conf.py b/docs/codeql/support/conf.py index 45a8456ce9a..3d2f5d6cf81 100644 --- a/docs/codeql/support/conf.py +++ b/docs/codeql/support/conf.py @@ -16,7 +16,7 @@ ############################################################################## # -# Modified 22052019. +# Modified 22032021. # The configuration values below are specific to the supported languages and frameworks project # To amend html_theme_options, update version/release number, or add more sphinx extensions, @@ -41,9 +41,9 @@ project = u'Supported languages and frameworks for LGTM Enterprise' # The version info for this project, if different from version and release in main conf.py file. # The short X.Y version. -version = u'1.26' +version = u'1.27' # The full version, including alpha/beta/rc tags. -release = u'1.26' +release = u'1.27' # -- Project-specifc options for HTML output ---------------------------------------------- @@ -95,4 +95,4 @@ html_favicon = '../images/site/favicon.ico' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['read-me-project.rst', 'reusables/*'] \ No newline at end of file +exclude_patterns = ['read-me-project.rst', 'reusables/*'] From 9e84b756f783439a84da4e10ccf1dac171ce3363 Mon Sep 17 00:00:00 2001 From: Shati Patel <42641846+shati-patel@users.noreply.github.com> Date: Mon, 22 Mar 2021 10:40:17 +0000 Subject: [PATCH 2/6] Update supported frameworks --- docs/codeql/support/framework-support.rst | 2 -- docs/codeql/support/reusables/frameworks.rst | 24 +++++++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/codeql/support/framework-support.rst b/docs/codeql/support/framework-support.rst index 37d54829475..d04293adfe5 100644 --- a/docs/codeql/support/framework-support.rst +++ b/docs/codeql/support/framework-support.rst @@ -10,6 +10,4 @@ The libraries and queries in version |version| have been explicitly checked agai If you're interested in other libraries or frameworks, you can extend the analysis to cover them. For example, by extending the data flow libraries to include data sources and sinks for additional libraries or frameworks. -.. There is currently no built-in support for libraries or frameworks for C/C++. - .. include:: reusables/frameworks.rst diff --git a/docs/codeql/support/reusables/frameworks.rst b/docs/codeql/support/reusables/frameworks.rst index 4dd155e2302..6e3cf5e7664 100644 --- a/docs/codeql/support/reusables/frameworks.rst +++ b/docs/codeql/support/reusables/frameworks.rst @@ -1,4 +1,15 @@ -.. There is currently no built-in support for libraries or frameworks for C/C++. +C and C++ built-in support +================================ + +.. csv-table:: + :header-rows: 1 + :class: fullWidthTable + :widths: auto + + Name, Category + `Bloomberg Standard Library `__, xxx + `Berkeley socket API library `__, API library + string.h, xxx C# built-in support ================================ @@ -78,6 +89,8 @@ Java built-in support :widths: auto Name, Category + Apache Commons, Language library (?) + Guava, xxx Hibernate, Database iBatis / MyBatis, Database Java Persistence API (JPA), Database @@ -102,21 +115,28 @@ JavaScript and TypeScript built-in support Name, Category angular (modern version), HTML framework angular.js (legacy version), HTML framework + apollo-link-http, xxx axios, Network communicator browser, Runtime environment electron, Runtime environment express, Server + Formik hapi, Server + Immutable.js, xxx jquery, Utility library koa, Server lodash, Utility library + marked, xxx mongodb, Database mssql, Database + Multer, xxx mysql, Database node, Runtime environment postgres, Database + pug, xxx ramda, Utility library react, HTML framework + react-helmet, xxx request, Network communicator sequelize, Database socket.io, Network communicator @@ -124,6 +144,8 @@ JavaScript and TypeScript built-in support superagent, Network communicator underscore, Utility library vue, HTML framework + vue-router, xxx + xml2js, xxx From 343f4e442f88211e4a76971ecb4ff3d6d3f58028 Mon Sep 17 00:00:00 2001 From: Shati Patel <42641846+shati-patel@users.noreply.github.com> Date: Mon, 22 Mar 2021 10:46:29 +0000 Subject: [PATCH 3/6] Add "TODO"s --- docs/codeql/support/reusables/frameworks.rst | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/codeql/support/reusables/frameworks.rst b/docs/codeql/support/reusables/frameworks.rst index 6e3cf5e7664..ee948496334 100644 --- a/docs/codeql/support/reusables/frameworks.rst +++ b/docs/codeql/support/reusables/frameworks.rst @@ -7,9 +7,9 @@ C and C++ built-in support :widths: auto Name, Category - `Bloomberg Standard Library `__, xxx + `Bloomberg Standard Library `__, TODO `Berkeley socket API library `__, API library - string.h, xxx + string.h, TODO C# built-in support ================================ @@ -90,7 +90,7 @@ Java built-in support Name, Category Apache Commons, Language library (?) - Guava, xxx + Guava, TODO Hibernate, Database iBatis / MyBatis, Database Java Persistence API (JPA), Database @@ -115,28 +115,28 @@ JavaScript and TypeScript built-in support Name, Category angular (modern version), HTML framework angular.js (legacy version), HTML framework - apollo-link-http, xxx + apollo-link-http, TODO axios, Network communicator browser, Runtime environment electron, Runtime environment express, Server - Formik + Formik, TODO hapi, Server - Immutable.js, xxx + Immutable.js, TODO jquery, Utility library koa, Server lodash, Utility library - marked, xxx + marked, TODO mongodb, Database mssql, Database - Multer, xxx + Multer, TODO mysql, Database node, Runtime environment postgres, Database - pug, xxx + pug, TODO ramda, Utility library react, HTML framework - react-helmet, xxx + react-helmet, TODO request, Network communicator sequelize, Database socket.io, Network communicator @@ -144,8 +144,8 @@ JavaScript and TypeScript built-in support superagent, Network communicator underscore, Utility library vue, HTML framework - vue-router, xxx - xml2js, xxx + vue-router, TODO + xml2js, TODO From c5ef57c4085e21334ab5cf997f6b14ef968be451 Mon Sep 17 00:00:00 2001 From: Shati Patel <42641846+shati-patel@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:40:13 +0000 Subject: [PATCH 4/6] Update docs/codeql/support/reusables/frameworks.rst Co-authored-by: Chris Smowton --- docs/codeql/support/reusables/frameworks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/codeql/support/reusables/frameworks.rst b/docs/codeql/support/reusables/frameworks.rst index ee948496334..6df22e5b01a 100644 --- a/docs/codeql/support/reusables/frameworks.rst +++ b/docs/codeql/support/reusables/frameworks.rst @@ -89,8 +89,8 @@ Java built-in support :widths: auto Name, Category - Apache Commons, Language library (?) - Guava, TODO + Apache Commons Lang, utility library + Guava, utility and collections library Hibernate, Database iBatis / MyBatis, Database Java Persistence API (JPA), Database From 0f8372276799fe4d0edb5df5570f003c69dbc0b8 Mon Sep 17 00:00:00 2001 From: Shati Patel <42641846+shati-patel@users.noreply.github.com> Date: Mon, 22 Mar 2021 12:01:08 +0000 Subject: [PATCH 5/6] Revert JS changes and add another Java entry --- docs/codeql/support/reusables/frameworks.rst | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/docs/codeql/support/reusables/frameworks.rst b/docs/codeql/support/reusables/frameworks.rst index 6df22e5b01a..4f553daba78 100644 --- a/docs/codeql/support/reusables/frameworks.rst +++ b/docs/codeql/support/reusables/frameworks.rst @@ -89,8 +89,9 @@ Java built-in support :widths: auto Name, Category - Apache Commons Lang, utility library - Guava, utility and collections library + Apache Commons Lang, Utility library + Apache HTTP components, Network communicator + Guava, Utility and collections library Hibernate, Database iBatis / MyBatis, Database Java Persistence API (JPA), Database @@ -115,28 +116,21 @@ JavaScript and TypeScript built-in support Name, Category angular (modern version), HTML framework angular.js (legacy version), HTML framework - apollo-link-http, TODO axios, Network communicator browser, Runtime environment electron, Runtime environment express, Server - Formik, TODO hapi, Server - Immutable.js, TODO jquery, Utility library koa, Server lodash, Utility library - marked, TODO mongodb, Database mssql, Database - Multer, TODO mysql, Database node, Runtime environment postgres, Database - pug, TODO ramda, Utility library react, HTML framework - react-helmet, TODO request, Network communicator sequelize, Database socket.io, Network communicator @@ -144,9 +138,6 @@ JavaScript and TypeScript built-in support superagent, Network communicator underscore, Utility library vue, HTML framework - vue-router, TODO - xml2js, TODO - Python built-in support From 257fc7459d1f924d4b8177ccc337717e22717f54 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Mon, 22 Mar 2021 13:28:48 +0100 Subject: [PATCH 6/6] Update categories for new the C++ libraries. --- docs/codeql/support/reusables/frameworks.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/codeql/support/reusables/frameworks.rst b/docs/codeql/support/reusables/frameworks.rst index 4f553daba78..5a8099b1c85 100644 --- a/docs/codeql/support/reusables/frameworks.rst +++ b/docs/codeql/support/reusables/frameworks.rst @@ -7,9 +7,9 @@ C and C++ built-in support :widths: auto Name, Category - `Bloomberg Standard Library `__, TODO - `Berkeley socket API library `__, API library - string.h, TODO + `Bloomberg Standard Library `__, Utility library + `Berkeley socket API library `__, Network communicator + string.h, String library C# built-in support ================================