Remove repository sources from software inventory (#1387)

This commit is contained in:
Tomas Touceda 2021-07-15 10:23:27 -03:00 committed by GitHub
parent 74fecf0d5b
commit 804136127e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 14 deletions

View File

@ -0,0 +1 @@
* Remove YUM and APT sources from software inventory. Fixes issue 966.

View File

@ -643,13 +643,6 @@ FROM homebrew_packages;
},
"software_linux": {
Query: `
SELECT
name AS name,
version AS version,
'Package (APT)' AS type,
'apt_sources' AS source
FROM apt_sources
UNION
SELECT
name AS name,
version AS version,
@ -671,13 +664,6 @@ SELECT
'rpm_packages' AS source
FROM rpm_packages
UNION
SELECT
name AS name,
'' AS version,
'Package (YUM)' AS type,
'yum_sources' AS source
FROM yum_sources
UNION
SELECT
name AS name,
version AS version,