File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,18 @@ public function rescan(Request $request)
4949 if ($ this ->auth_group_id != 5 && !in_array ($ this ->userId , config ('app.ADMINISTRATOR ' ))) {
5050 $ map [] = ['user_id ' , '= ' , $ this ->userId ];
5151 }
52+
53+ $ array = [
54+ 'scan_time ' => '2000-01-01 00:00:00 ' ,
55+ 'sonar_scan_time ' => '2000-01-01 00:00:00 ' ,
56+ 'kunlun_scan_time ' => '2000-01-01 00:00:00 ' ,
57+ 'semgrep_scan_time ' => '2000-01-01 00:00:00 ' ,
58+ 'composer_scan_time ' => '2000-01-01 00:00:00 ' ,
59+ 'java_scan_time ' => '2000-01-01 00:00:00 ' ,
60+ 'python_scan_time ' => '2000-01-01 00:00:00 ' ,
61+ 'webshell_scan_time ' => '2000-01-01 00:00:00 ' ,
62+ ];
63+ Db::table ('app ' )->where (['id ' => $ id ])->save ($ array );
5264 Db::table ('fortify ' )->where (['code_id ' => $ id ])->delete ();
5365 Db::table ('semgrep ' )->where (['code_id ' => $ id ])->delete ();
5466 Db::table ('code_webshell ' )->where (['code_id ' => $ id ])->delete ();
You can’t perform that action at this time.
0 commit comments