Слияние кода завершено, страница обновится автоматически
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Summary: config for Open Source Vulnerabilitis Scanner.
# See https://google.github.io/osv-scanner/configuration/ for more info.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# OSV prior to version 2.0 is unable to parse pip version specs correctly:
# https://github.com/google/osv-scanner/issues/1483#issuecomment-2585999293
# The suggested workaround is to configure osv-scanner to ignore the particular
# cases it complains about. The following are all about NumPy, because
# osv-scanner can't understand the version spec "numpy>=1.24,<2.0" and
# therefore raises errors about all versions of NumPy, including very old ones.
# Ignoring these specific dependencies is okay because we will never use the
# old versions of NumPy and it doesn't block detection of future new
# vulnerabilities.
[[IgnoredVulns]]
id = "PYSEC-2018-34"
reason = "false positive due to osv-scanner's buggy pip requirements parser"
[[IgnoredVulns]]
id = "PYSEC-2021-855"
reason = "false positive due to osv-scanner's buggy pip requirements parser"
[[IgnoredVulns]]
id = "PYSEC-2021-856"
reason = "false positive due to osv-scanner's buggy pip requirements parser"
[[IgnoredVulns]]
id = "PYSEC-2019-108"
reason = "false positive due to osv-scanner's buggy pip requirements parser"
[[IgnoredVulns]]
id = "PYSEC-2018-33"
reason = "false positive due to osv-scanner's buggy pip requirements parser"
[[IgnoredVulns]]
id = "PYSEC-2021-857"
reason = "false positive due to osv-scanner's buggy pip requirements parser"
[[IgnoredVulns]]
id = "PYSEC-2017-1"
reason = "false positive due to osv-scanner's buggy pip requirements parser"
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )