# Severity inventory: emitted level(s) per finding tag and the vendored
# [Scoring] / [SeverityOverrides] tables, derived mechanically from the
# tree by the severity_inventory test
# (crates/rpmcrab-core/tests/severity_inventory.rs).
#
# A deliberate level or scoring change updates this file in the same diff:
#     UPDATE_SEVERITY_INVENTORY=1 cargo test -p rpmcrab-core --test severity_inventory
# An unintentional change fails the test instead of drifting silently.
#
# Emission sites whose tag or level is computed at runtime and cannot
# be resolved statically are listed under [unresolved-sites] below,
# never dropped silently.

[emitted-levels]
%autopatch-not-in-prep = W
%autosetup-not-in-prep = W
alternative-generic-name-missing = E
alternative-generic-name-not-symlink = E
alternative-link-missing = E
alternative-link-not-ghost = E
alts-requirement-missed = E
ar-failed = E
arch-dependent-file-in-usr-share = E
arch-independent-package-contains-binary-or-object = E
backup-file-in-package = E
bad-manual-page-folder = E
beam-compile-info-missed = W
beam-compiled-without-debuginfo = E
beam-was-not-recompiled = W
bidi-control-character = W
bin-sh-syntax-error = W
binary-entry-value-not-found = W
binary-in-etc = E
binary-or-shlib-calls-des = W
binary-or-shlib-calls-gethostbyname = E,W
binary-or-shlib-calls-legacy-network = W
binary-or-shlib-calls-md5 = W
binary-or-shlib-calls-rc4 = W
binary-or-shlib-calls-shell = W
binary-or-shlib-calls-unbounded-copy = W
binary-or-shlib-calls-weak-prng = W
binary-or-shlib-defines-rpath = E
binary-or-shlib-defines-rpath-and-runpath = E
binary-or-shlib-without-debuginfo = W
branding-conflicts-missing = E
branding-excessive-enhances = W
branding-excessive-recommends = W
branding-excessive-suggests = W
branding-provides-missing = E
branding-provides-unversioned = E
branding-requires-specific-flavor = E
branding-requires-unversioned = W
branding-supplements-missing = E
buildarch-instead-of-exclusivearch-tag = E
buildprereq-use = E
bundled-library-without-provides = W
call-to-gets = E
call-to-mktemp = E
call-to-tmpnam = E
changelog-not-in-sequence = E
changelog-time-in-future = E
changelog-time-overflow = W
cmake-dangling-imported-location = W
comment-in-continued-command = W
comparison-operator-in-deptoken = W
compressed-symlink-with-wrong-ext = E
corrupt-class-file = W
dangling-relative-symlink = I
dangling-symlink = W
dbus-parsing-exception = E
debug-files-in-non-debug-package = W
debuginfo-without-sources = E
deprecated-boot-script = E
deprecated-grep = W
deprecated-init-script = E
deprecated-rc-symlink = W
deprecated-xinetd-config = E
depscript-without-disabling-depgen = W
description-line-too-long = W
description-shorter-than-summary = W
desktopfile-duplicate-option = E
desktopfile-duplicate-section = E
desktopfile-icon-not-found = W
desktopfile-icon-not-readable = W
desktopfile-missing-header = E
desktopfile-without-binary = W
devel-dependency = E
devel-file-in-non-devel-package = W
doc-file-dependency = W
double-entries = E
duplicate-executable = W
empty-debuginfo-package = E
empty-libalternatives-directory = E
env-script-interpreter = E
epoch-tag = E
executable-crontab-file = E
executable-docs = E
executable-menu-file = E
executable-sourced-script = E
executable-stack = E
explicit-lib-dependency = E
file-contains-buildroot = E
file-contains-current-date = W
file-contains-date-and-time = W
file-in-meta-package = W
filelist-forbidden-fhs23 = E
filelist-forbidden-opt = E,W
filename-not-utf8 = E
files-duplicate = W
files-duplicated-waste = W
fillup-template-without-fillup-call = E,W
forbidden-controlchar-found = E,W
forbidden-optflags = E
ghost-file-with-buildroot-content = W
ghost-files-without-postin = W
ghost-outside-snapshot = W
go-toolchain-outdated = W
gzip-mtime-after-source-date-epoch = W
gzipped-svg-icon = W
hardcoded-packager-tag = W
hardcoded-path-in-menu-icon = W
hardlink-across-config-files = E
hardlink-across-partition = E
hidden-file-or-dir = W
incoherent-logrotate-file = E
incoherent-package-value-in-menu = W
incorrect-fsf-address = I
info-dir-file = E
infopage-not-compressed = W
install-file-in-docs = I
invalid-PT_GNU_STACK-flags = E
invalid-appdata-file = E
invalid-changelog-author = W
invalid-dependency = E
invalid-desktopfile = E
invalid-la-file = E
invalid-license = E
invalid-license-exception = W
invalid-license-spellcheck = I
invalid-menu-icon-type = W
invalid-menu-section = E
invalid-note-GNU-stack-flags = E
invalid-signature = E
invalid-spec-name = E
invalid-suse-version-check = E
invalid-title = E
invalid-url = W
kernel-modules-not-in-kernel-packages = E
kmp-excessive-enhances = E
kmp-excessive-supplements = W
kmp-missing-enhances = E
kmp-missing-requires = E
kmp-missing-supplements = E
libalternatives-directory-not-exists = E
libdir-macro-in-noarch-package = W
library-without-ldconfig-postin = E
library-without-ldconfig-postun = E
libtool-wrapper-in-package = E
license-file-as-doc = W
license-grant-not-in-license-tag = W
linked-against-opt-library = E
linked-against-usr-library = W
logrotate-duplicate = E
logrotate-exception = E
logrotate-log-dir-not-packaged = E
logrotate-user-writable-log-dir = E
lto-bytecode = E
lto-no-text-in-archive = E
macro-in-%changelog = W
macro-in-comment = E
make-check-outside-check-section = W
makefile-junk = W
man-entry-value-not-found = W
manifest-in-perl-module = W
manpage-dangling-so-ref = W
manpage-empty-after-decompression = W
manpage-gzip-magic-mismatch = W
manpage-not-compressed = W
manual-page-in-subfolder = E
menu-command-not-in-package = W
menu-in-wrong-dir = E
menu-longtitle-not-capitalized = W
menu-title-not-capitalized = W
menu-without-postin = E
menu-without-postun = E
mimeinfo-cache-packaged = E
missing-PT_GNU_STACK-section = E
missing-call-to-setgroups-before-setuid = W
missing-cf-protection = W
missing-dependency-on = W
missing-dependency-to-crontabs = E
missing-dependency-to-logrotate = E
missing-fortify = W
missing-gnu-hash-section = W
missing-hash-section = E
missing-menu-command = W
missing-relro = W
missing-stack-protector = W
missing-sysusers-provider = W
more-than-one-%changelog-section = W
multiple-entries = E
name-repeated-in-summary = W
no-%changelog-section = E
no-binary = W
no-buildhost-tag = E
no-changelogname-tag = E
no-copyright-comment = W
no-dependency-on = E,W
no-description-tag = E
no-epoch-in-dependency = W
no-epoch-tag = E
no-icon-in-menu = W
no-ldconfig-symlink = E
no-library-dependency-for = W
no-library-dependency-on = E
no-license = E
no-license-file-in-spec = E
no-longtitle-in-menu = E
no-manual-page-for-binary = I
no-name-tag = E
no-pkg-config-provides = E
no-release-tag = E
no-soname = W
no-spec-file = E
no-summary-tag = E
no-title-in-menu = E
no-url-tag = W
no-version-dependency-on = W
no-version-tag = E
noarch-python-in-64bit-path = E
noarch-with-lib64 = E
non-break-space = W
non-coherent-menu-filename = W
non-conffile-in-etc = W
non-devel-file-in-devel-package = E
non-executable-in-bin = W
non-executable-script = E
non-file-in-menu-dir = E
non-ghost-file = E
non-ghost-in-run = E
non-owner-writeable-only-crontab-file = E
non-position-independent-executable = E
non-readable-menu-file = E
non-standard-gid = E
non-standard-uid = E
non-transparent-xpm = W
non-utf8-desktopfile = E
non-utf8-spec-file = E
non-xdg-migrated-menu = E
not-listed-as-documentation = E
objdump-failed = E
obsolete-insserv-requirement = E
obsolete-mime-format-dir = W
obsolete-not-provided = W
obsolete-suse-version-check = E
obsolete-tag = W
obsolete-tmpfiles-macro = I
obsolete-xinetd-requirement = E
old-menu-entry = E
optflags-not-applied = W
package-supports-libalternatives = I
package-supports-update-alternatives = I
package-with-huge-docs = W
parse-time-cpu-count = W
partial-relro = W
patch-fuzz-is-changed = W
patch-macro-old-format = E
patch-not-applied = W
patch-not-defined = W
patchable-function-entry-in-archive = E
pem-certificate = W
pem-private-key = E
permissions-dir-without-slash = W
permissions-file-as-dir = W
permissions-fscaps = E
permissions-missing-postin = E
permissions-missing-requires = E
permissions-missing-verifyscript = W
permissions-parse-error = E
permissions-symlink = W
pkgconfig-dangling-library = W
pkgconfig-exception = E
polkit-ghost-file = E
polkit-xml-exception = E
position-independent-executable-suggested = W
postin-without-ldconfig = E
postin-without-update-menus = E
postun-without-ldconfig = E
postun-without-update-menus = E
potential-bashisms = I
pre-with-tmpfile-creation = W
prebuilt-binary-in-sources = W
prebuilt-binary-shipped = W
prereq-use = W
program-not-linked-against-libc = W
pybeam-failed = E
python-bytecode-inconsistent-mtime = E
python-bytecode-without-source = W
python-dist-info-version-mismatch = W
python-doc-in-package = W
python-egg-info-distutils-style = W
python-leftover-require = W
python-missing-require = W
python-module-def = W
python-pyc-multiple-versions = W
python-require-floor-below-metadata = W
python-require-unversioned-despite-metadata-floor = W
python-require-upper-bound-contradicts-metadata = I
python-rust-extension-without-auditable-data = W
python-setup-install = W
python-setup-test = W
python-sitelib-glob-in-files = W
python-sphinx-doctrees-leftover = W
python-unflavoured-require = W
read-error = W
readelf-failed = E
rpath-in-buildconfig = E
rpm-buildroot-usage = E
rpmlintrc-uses-setbadness = W
script-without-shebang = E
scriptlet-service-restart = W
scriptlet-writes-outside-snapshot = W
self-obsoletion = W
selinux-incorrect-if-file-location = E
setup-not-in-prep = W
shared-dir-glob-in-files = W
shared-library-without-dependency-information = E
shlib-devel-unversioned-requires = W
shlib-fixed-dependency = W
shlib-policy-etc-payload = W
shlib-policy-excessive-dependency = E
shlib-policy-missing-lib = E
shlib-policy-name-error = E
shlib-policy-obsoletes-sibling = E
shlib-policy-truncated-soname-path = W
shlib-policy-wrong-library-version = E
shlib-unversioned-lib = W
shlib-with-non-pic-code = E
siteperl-in-perl-module = W
source-archive-contains-bidi-control = W
source-archive-contains-lfs-pointer = W
source-archive-contains-vcs-metadata = W
sourced-script-with-shebang = E
spdx-license-not-in-license-tag = W
spec-tag-as-shell-variable = W
specfile-error = W
specfile-warning = W
spelling-error = W
spurious-executable-perm = W
standard-dir-owned-by-package = E
static-library-without-debuginfo = E
static-library-without-symtab = E
statically-linked-binary = E
strange-needs = I
strings-failed = E
subdir-in-bin = E
subpackage-without-files = W
summary-ended-with-dot = W
summary-has-leading-spaces = E
summary-not-capitalized = W
summary-on-multiple-lines = E
summary-too-long = E
summary-with-trademark-symbol = W
superfluous-%clean-section = E
suse-update-desktop-file-deprecated = W
symlink-contains-up-and-down-segments = E
symlink-has-too-many-up-segments = E
symlink-loop = E
symlink-should-be-relative = W
symlink-to-binary-with-shebang = W
sysconfig-fillup-usage = W
systemd-preset-enabled-without-service_add_pre = W
systemd-preset-packaged = W
systemd-service-without-service_add_post = W
systemd-service-without-service_add_pre = W
systemd-service-without-service_del_postun = W
systemd-service-without-service_del_preun = W
systemd-shadowed-initscript = E
systemd-tmpfile-entry-unauthorized = E
systemd-tmpfile-ghost = E
systemd-tmpfile-parse-error = E
systemd-tmpfile-symlink = E
systemd-unit-in-etc = W
tag-in-description = W
tcl-extension-file = E
tmpfile-not-in-filelist = W
tmpfile-not-regular-file = W
tmpfiles-conf-in-etc = W
translated-description = W
udev-rule-in-etc = W
udev-rule-world-writable-mode = W
udev-rule-world-writable-node-creator = W
unable-to-parse-menu-entry = I
unable-to-parse-menu-needs = I
unable-to-parse-menu-section = I
undefined-non-weak-symbol = W
unexpanded-macro = W
unexpanded-macro-in-desktop-file = W
unknown-key = E
unreasonable-epoch = W
unstripped-binary-or-object = W
unused-rpmlintrc-filter = W
update-alternatives-post-call-missing = E
update-alternatives-postun-call-missing = E
update-alternatives-requirement-missing = E
use-of-launcher-in-menu-but-no-requires-on = E
useless-provides = E,W
usr-etc-file-marked-as-conffile = W
version-control-internal-file = E
version-in-menu-longtitle = W
version-in-menu-title = W
world-writable = E
wrong-entry-format = E
wrong-file-end-of-line-encoding = W
wrong-icon-size = E
wrong-or-missed-binary-entry = W
wrong-script-end-of-line-encoding = E
wrong-script-interpreter = E
wrong-tag-found = W
zero-perms = W
zero-perms-ghost = W

[unresolved-sites]
# count = 48
alternatives.rs: add_info( out, level, pkg, "li
atomic_update.rs: add_info( out, level, pkg, "dir-or-file-outsid
binaries.rs: add_info( out, info_type, pkg, "unused-direct-
binaries.rs: add_info(make_finding( &package.pkg_name, &package.pkg
binaries.rs: add_info(out, Level::Warning, pkg, r_name, &[&pkgfile.name, f_name])
binaries.rs: make_finding( &package.pkg_name, &package.pkg_arch,
check.rs: add_info(Finding { level: *level, check: (*check).to_string(),
check.rs: add_info(make_finding( &pkg.name, "", level, check, details.iter().map
check.rs: add_info(make_finding( &pkg.name, &pkg.arch, level, check, details.ite
check.rs: add_info_at(out, level, pkg, None, check, details)
check.rs: make_finding( &pkg.name, "", level, check, details.iter().map(|d| (*d)
check.rs: make_finding( &pkg.name, &pkg.arch, level, check, details.iter().map(|
config_files.rs: add_info(out, level, pkg, finding, &[filename])
dbus_policy.rs: add_info(out, level, pkg, finding, &[&detail, fname])
dbus_policy.rs: add_info(out, level, pkg, finding, &[fname])
device_files.rs: add_info(out, level, pkg, check, &refs)
fhs.rs: add_info(out, Level::Warning, pkg, &check, &[&subdir])
file_digest.rs: add_info( out, Level::Error, pkg,
file_digest.rs: add_info( out, Level::Error, pkg, &format!("{c
filelist.rs: add_info(out, Level::Error, pkg, &rule.message, &[f])
filelist.rs: add_info(out, Level::Warning, pkg, &rule.message, &[f])
files.rs: add_info( out, level, pkg, "ex
files.rs: add_info( out, level, pkg, "no
files.rs: add_info(finding)
files.rs: add_info(out, Level::Error, pkg, &tag, &[fname])
files.rs: add_info(out, level, pkg, "htaccess-file", &[fname])
files.rs: add_info(out, level, pkg, "python-bytecode-wrong-magic-value", &refs)
i18n.rs: add_info(out, level, pkg, &check, &detail_refs)
menu.rs: add_info( out, Level::Error,
mixed_ownership.rs: add_info( out, level, pkg, "file-parent-owners
pam_modules.rs: add_info(out, Level::Error, pkg, finding, &[&detail])
pkg_config.rs: add_info(out, Level::Error, pkg, check, &[&file.name, l])
pkg_config.rs: add_info(out, Level::Error, pkg, check, &[&file.name])
polkit.rs: add_info(out, level, pkg, &finding, &[&detail])
post.rs: add_info(out, level, pkg, finding, details)
python.rs: add_info(out, Level::Error, pkg, finding, &[filename])
source.rs: add_info(out, level, pkg, check, &refs)
spec.rs: .info( out, pkg, Level::Warning,
spec.rs: .info( out, pkg, WITH_MACRO_LEVEL, "with-macro
spec.rs: .info(out, pkg, hit.level, tag, &[&hit.detail])
spec.rs: .info(out, pkg, level, &check, &[])
spec.rs: spec_add_info(out, level, pkg, pkg.current_linenum.get(), check, details)
suid_permissions.rs: add_info( out, Level::Error, pkg, diag, &[&format!
suid_permissions.rs: add_info( out, level, pkg, "permissions-incorr
tags.rs: add_info( out, Level::Warning, pkg,
world_writable.rs: add_info(out, level, pkg, check, &refs)
zip.rs: add_info(out, level, pkg, check, &detail_refs)
zypp_syntax.rs: add_info(out, Level::Error, pkg, finding, &[&keyword])
