security-checker

PHP frontend for security.symfony.com

  • 所有者: sensiolabs/security-checker
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

SensioLabs Security Checker

The SensioLabs Security Checker is a command line tool that checks if your
application uses dependencies with known security vulnerabilities. It uses the
Security Check Web service and the Security Advisories Database.

TIP: As an alternative, you can use the Symfony CLI tool that has the
following advantages: it does not depend on PHP, all checks are done locally (no
calls to the security.symfony.com API):

$ symfony security:check

Usage

Download the security-checker.phar file:

$ php security-checker.phar security:check /path/to/composer.lock

Use the code from the repository directly:

$ composer install
$ php security-checker security:check /path/to/composer.lock

Integration

The checker uses the Symfony Console component; so, you can easily integrate
the checker into your own project:

  • by using the SecurityCheckerCommand class into your Symfony Console
    application;

  • by using the SecurityChecker class directly into your own code:

     use SensioLabs\Security\SecurityChecker;
    
     $checker = new SecurityChecker();
     $result = $checker->check('/path/to/composer.lock', 'json');
     $alerts = json_decode((string) $result, true);
    

主要指標

概覽
名稱與所有者sensiolabs/security-checker
主編程語言PHP
編程語言PHP (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2013-02-01 10:45:33
推送於2021-01-15 07:12:15
最后一次提交2021-01-15 08:12:09
發布數46
最新版本名稱v6.0.3 (發布於 2019-11-01 14:20:38)
第一版名稱v1.0 (發布於 2013-02-19 16:31:44)
用户参与
星數2k
關注者數58
派生數116
提交數162
已啟用問題?
問題數0
打開的問題數0
拉請求數48
打開的拉請求數0
關閉的拉請求數31
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?