-
I enabled GitHub Advisories temporarily but after disabling it I continue to see Github vulnerability issues. Is it possible to not have them displayed? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Just had this case with another user yesterday. If you're using PostgreSQL, I have a simple solution for you that will remove all GHSA vulnerabilities from your instance:
docker exec -i <POSTGRES_CONTAINER_NAME> psql -U<POSTGRES_USER> < ghsa-cleanup.sql The output will be something along the lines of:
Finally, start the API server container again. The script only works for PostgreSQL, but you can adapt it to MSSQL or MySQL. That being said, v4.6.0 of DT will ship with a better solution for this: #1642 |
Beta Was this translation helpful? Give feedback.
-
I was tempted to shut these off as well as they can create a lot of duplicates but in general I prefer the overlap to the missing data. Personally I used python and the API to fix things like this like when my fuzzy match testing assigned vulns to all our internal components. Easy enough to delete. |
Beta Was this translation helpful? Give feedback.
-
Hi @nscuro is there an updated version of this script for v4.7.0? |
Beta Was this translation helpful? Give feedback.
-
Hi @nscuro, is the script still valid for v4.11? |
Beta Was this translation helpful? Give feedback.
Just had this case with another user yesterday. If you're using PostgreSQL, I have a simple solution for you that will remove all GHSA vulnerabilities from your instance:
The output will be something along the lines of:
Finally, start the API server container again.
The script only works for PostgreSQL, but you can adapt it…