- 类别:
系统函数 (系统信息)
SYSTEM$CLIENT_VULNERABILITY_INFO¶
Returns details about common vulnerabilities and exposures (CVE) fixes and related vulnerabilities for Snowflake clients and drivers.
语法¶
实参¶
无
返回¶
返回一个包含对象 JSON 数组的字符串。每个对象都包含有关特定客户端和驱动程序的信息,例如 SnowSQL、JDBC 驱动程序等。
Each JSON object contains the following structure:
其中:
clientId客户端或驱动程序的内部 ID。可能的值包括:
DOTNETDriverGOJDBCJSDriver(Node.js)ODBCPHP_PDOPythonConnectorSnowSQLSQLAPI
vulnerabilitiesArray of vulnerabilities affecting the client or driver. Each vulnerability is represented as an object with the following name/value pairs:
cveis the CVE identifier for the vulnerability.severityis the severity level of the vulnerability. Possible values include:none,low,medium,high, andcritical.minAffectedis the minimum version of the client or driver that contains this vulnerability. This field is optional, as some vulnerabilities might occur in the first version of a client or driver.maxAffectedis the maximum version that contains this vulnerability.
使用说明¶
无
示例¶
The following example calls the SYSTEM$CLIENT_VERSION_INFO and SYSTEM$CLIENT_VULNERABIITY_INFO system functions. The example parses the JSON strings returned by these functions and presents the data in tabular form.