patchman 4.0.22__py3-none-any.whl → 4.0.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of patchman might be problematic. Click here for more details.

Files changed (1153) hide show
  1. etc/patchman/local_settings.py +32 -0
  2. patchman/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  3. patchman/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  4. patchman/__pycache__/celery.cpython-315.opt-1.pyc +0 -0
  5. patchman/__pycache__/receivers.cpython-315.opt-1.pyc +0 -0
  6. patchman/__pycache__/settings.cpython-315.opt-1.pyc +0 -0
  7. patchman/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  8. patchman/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  9. patchman/__pycache__/wsgi.cpython-315.opt-1.pyc +0 -0
  10. patchman/apps.py +7 -0
  11. patchman/arch/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  12. patchman/arch/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  13. patchman/arch/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  14. patchman/arch/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  15. patchman/arch/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  16. patchman/arch/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  17. patchman/arch/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  18. patchman/arch/admin.py +23 -0
  19. patchman/arch/apps.py +22 -0
  20. patchman/arch/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  21. patchman/arch/migrations/__pycache__/0002_alter_machinearchitecture_options_and_more.cpython-315.opt-1.pyc +0 -0
  22. patchman/arch/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  23. patchman/arch/serializers.py +31 -0
  24. patchman/arch/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  25. patchman/arch/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  26. patchman/arch/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  27. patchman/arch/tests/test_api.py +121 -0
  28. patchman/arch/tests/test_models.py +83 -0
  29. patchman/arch/utils.py +52 -0
  30. patchman/arch/views.py +40 -0
  31. patchman/compliance/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  32. patchman/compliance/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  33. patchman/compliance/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  34. patchman/compliance/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  35. patchman/compliance/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  36. patchman/compliance/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  37. patchman/compliance/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  38. patchman/compliance/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  39. patchman/compliance/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  40. patchman/compliance/admin.py +53 -0
  41. patchman/compliance/apps.py +22 -0
  42. patchman/compliance/migrations/0001_initial.py +82 -0
  43. patchman/compliance/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  44. patchman/compliance/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  45. patchman/compliance/models.py +119 -0
  46. patchman/compliance/serializers.py +58 -0
  47. patchman/compliance/tables.py +111 -0
  48. patchman/compliance/templates/compliance/compliance_host.html +76 -0
  49. patchman/compliance/templates/compliance/compliance_rule.html +58 -0
  50. patchman/compliance/templates/compliance/compliance_summary.html +58 -0
  51. patchman/compliance/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  52. patchman/compliance/tests/__pycache__/test_compliance.cpython-315.opt-1.pyc +0 -0
  53. patchman/compliance/tests/test_compliance.py +494 -0
  54. patchman/compliance/urls.py +27 -0
  55. patchman/compliance/utils.py +98 -0
  56. patchman/compliance/views.py +190 -0
  57. patchman/domains/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  58. patchman/domains/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  59. patchman/domains/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  60. patchman/domains/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  61. patchman/domains/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  62. patchman/domains/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  63. patchman/domains/admin.py +22 -0
  64. patchman/domains/apps.py +22 -0
  65. patchman/domains/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  66. patchman/domains/migrations/__pycache__/0002_alter_domain_options.cpython-315.opt-1.pyc +0 -0
  67. patchman/domains/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  68. patchman/domains/serializers.py +25 -0
  69. patchman/domains/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  70. patchman/domains/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  71. patchman/domains/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  72. patchman/domains/tests/test_api.py +83 -0
  73. patchman/domains/tests/test_models.py +52 -0
  74. patchman/domains/views.py +29 -0
  75. patchman/errata/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  76. patchman/errata/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  77. patchman/errata/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  78. patchman/errata/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  79. patchman/errata/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  80. patchman/errata/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  81. patchman/errata/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  82. patchman/errata/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  83. patchman/errata/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  84. patchman/errata/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  85. patchman/errata/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  86. patchman/errata/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  87. patchman/errata/admin.py +26 -0
  88. patchman/errata/apps.py +38 -0
  89. patchman/errata/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  90. patchman/errata/migrations/__pycache__/0002_alter_erratumreference_unique_together.cpython-315.opt-1.pyc +0 -0
  91. patchman/errata/migrations/__pycache__/0003_delete_erratumreference_alter_erratum_references.cpython-315.opt-1.pyc +0 -0
  92. patchman/errata/migrations/__pycache__/0004_rename_packages_erratum_fixed_packages.cpython-315.opt-1.pyc +0 -0
  93. patchman/errata/migrations/__pycache__/0005_erratum_affected_packages_and_more.cpython-315.opt-1.pyc +0 -0
  94. patchman/errata/migrations/__pycache__/0006_alter_erratum_options.cpython-315.opt-1.pyc +0 -0
  95. patchman/errata/migrations/__pycache__/0007_alter_erratum_fixed_packages.cpython-315.opt-1.pyc +0 -0
  96. patchman/errata/migrations/__pycache__/0008_add_cached_count_fields.cpython-315.opt-1.pyc +0 -0
  97. patchman/errata/migrations/__pycache__/0009_backfill_cached_counts.cpython-315.opt-1.pyc +0 -0
  98. patchman/errata/migrations/__pycache__/0010_synopsis_textfield.cpython-315.opt-1.pyc +0 -0
  99. patchman/errata/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  100. patchman/errata/models.py +171 -0
  101. patchman/errata/serializers.py +25 -0
  102. patchman/errata/signals.py +60 -0
  103. patchman/errata/sources/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  104. patchman/errata/sources/distros/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  105. patchman/errata/sources/distros/__pycache__/alma.cpython-315.opt-1.pyc +0 -0
  106. patchman/errata/sources/distros/__pycache__/arch.cpython-315.opt-1.pyc +0 -0
  107. patchman/errata/sources/distros/__pycache__/centos.cpython-315.opt-1.pyc +0 -0
  108. patchman/errata/sources/distros/__pycache__/debian.cpython-315.opt-1.pyc +0 -0
  109. patchman/errata/sources/distros/__pycache__/rocky.cpython-315.opt-1.pyc +0 -0
  110. patchman/errata/sources/distros/__pycache__/ubuntu.cpython-315.opt-1.pyc +0 -0
  111. patchman/errata/sources/distros/alma.py +166 -0
  112. patchman/errata/sources/distros/arch.py +224 -0
  113. patchman/errata/sources/distros/centos.py +168 -0
  114. patchman/errata/sources/distros/debian.py +376 -0
  115. patchman/errata/sources/distros/rocky.py +265 -0
  116. patchman/errata/sources/distros/ubuntu.py +244 -0
  117. patchman/errata/sources/repos/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  118. patchman/errata/sources/repos/__pycache__/yum.cpython-315.opt-1.pyc +0 -0
  119. patchman/errata/sources/repos/yum.py +249 -0
  120. patchman/errata/tables.py +111 -0
  121. patchman/errata/tasks.py +104 -0
  122. patchman/errata/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  123. patchman/errata/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  124. patchman/errata/tests/__pycache__/test_integration.cpython-315.opt-1.pyc +0 -0
  125. patchman/errata/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  126. patchman/errata/tests/test_api.py +166 -0
  127. patchman/errata/tests/test_integration.py +75 -0
  128. patchman/errata/tests/test_models.py +260 -0
  129. patchman/errata/urls.py +26 -0
  130. patchman/errata/utils.py +127 -0
  131. patchman/errata/views.py +94 -0
  132. patchman/hosts/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  133. patchman/hosts/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  134. patchman/hosts/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  135. patchman/hosts/__pycache__/forms.cpython-315.opt-1.pyc +0 -0
  136. patchman/hosts/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  137. patchman/hosts/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  138. patchman/hosts/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  139. patchman/hosts/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  140. patchman/hosts/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  141. patchman/hosts/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  142. patchman/hosts/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  143. patchman/hosts/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  144. patchman/hosts/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  145. patchman/hosts/admin.py +28 -0
  146. patchman/hosts/apps.py +25 -0
  147. patchman/hosts/forms.py +42 -0
  148. patchman/hosts/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  149. patchman/hosts/migrations/__pycache__/0002_initial.cpython-315.opt-1.pyc +0 -0
  150. patchman/hosts/migrations/__pycache__/0003_host_modules.cpython-315.opt-1.pyc +0 -0
  151. patchman/hosts/migrations/__pycache__/0004_remove_host_tags_host_tags.cpython-315.opt-1.pyc +0 -0
  152. patchman/hosts/migrations/__pycache__/0005_rename_os_host_osvariant.cpython-315.opt-1.pyc +0 -0
  153. patchman/hosts/migrations/__pycache__/0006_migrate_to_tz_aware.cpython-315.opt-1.pyc +0 -0
  154. patchman/hosts/migrations/__pycache__/0007_alter_host_tags.cpython-315.opt-1.pyc +0 -0
  155. patchman/hosts/migrations/__pycache__/0008_alter_host_options.cpython-315.opt-1.pyc +0 -0
  156. patchman/hosts/migrations/__pycache__/0009_host_errata.cpython-315.opt-1.pyc +0 -0
  157. patchman/hosts/migrations/__pycache__/0010_alter_hostrepo_options.cpython-315.opt-1.pyc +0 -0
  158. patchman/hosts/migrations/__pycache__/0011_host_bug_updates_count_host_errata_count_and_more.cpython-315.opt-1.pyc +0 -0
  159. patchman/hosts/migrations/__pycache__/0012_backfill_cached_counts.cpython-315.opt-1.pyc +0 -0
  160. patchman/hosts/migrations/__pycache__/0013_alter_hostrepo_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  161. patchman/hosts/migrations/__pycache__/0014_drop_legacy_tagging.cpython-315.opt-1.pyc +0 -0
  162. patchman/hosts/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  163. patchman/hosts/models.py +666 -0
  164. patchman/hosts/serializers.py +45 -0
  165. patchman/hosts/signals.py +45 -0
  166. patchman/hosts/tables.py +122 -0
  167. patchman/hosts/tasks.py +43 -0
  168. patchman/hosts/templatetags/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  169. patchman/hosts/templatetags/__pycache__/report_alert.cpython-315.opt-1.pyc +0 -0
  170. patchman/hosts/templatetags/report_alert.py +38 -0
  171. patchman/hosts/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  172. patchman/hosts/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  173. patchman/hosts/tests/__pycache__/test_find_updates.cpython-315.opt-1.pyc +0 -0
  174. patchman/hosts/tests/__pycache__/test_managers.cpython-315.opt-1.pyc +0 -0
  175. patchman/hosts/tests/__pycache__/test_migrations.cpython-315.opt-1.pyc +0 -0
  176. patchman/hosts/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  177. patchman/hosts/tests/__pycache__/test_utils.cpython-315.opt-1.pyc +0 -0
  178. patchman/hosts/tests/test_api.py +383 -0
  179. patchman/hosts/tests/test_find_updates.py +364 -0
  180. patchman/hosts/tests/test_managers.py +205 -0
  181. patchman/hosts/tests/test_migrations.py +99 -0
  182. patchman/hosts/tests/test_models.py +1025 -0
  183. patchman/hosts/tests/test_utils.py +91 -0
  184. patchman/hosts/urls.py +31 -0
  185. patchman/hosts/utils.py +174 -0
  186. patchman/hosts/views.py +394 -0
  187. patchman/management/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  188. patchman/management/__pycache__/helpers.cpython-315.opt-1.pyc +0 -0
  189. patchman/management/commands/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  190. patchman/management/commands/__pycache__/clean_reports.cpython-315.opt-1.pyc +0 -0
  191. patchman/management/commands/__pycache__/create_api_key.cpython-315.opt-1.pyc +0 -0
  192. patchman/management/commands/__pycache__/create_enrollment_token.cpython-315.opt-1.pyc +0 -0
  193. patchman/management/commands/__pycache__/dbcheck.cpython-315.opt-1.pyc +0 -0
  194. patchman/management/commands/__pycache__/delete_hosts.cpython-315.opt-1.pyc +0 -0
  195. patchman/management/commands/__pycache__/diff_hosts.cpython-315.opt-1.pyc +0 -0
  196. patchman/management/commands/__pycache__/dns_checks.cpython-315.opt-1.pyc +0 -0
  197. patchman/management/commands/__pycache__/find_updates.cpython-315.opt-1.pyc +0 -0
  198. patchman/management/commands/__pycache__/list_api_keys.cpython-315.opt-1.pyc +0 -0
  199. patchman/management/commands/__pycache__/list_certificates.cpython-315.opt-1.pyc +0 -0
  200. patchman/management/commands/__pycache__/list_enrollment_tokens.cpython-315.opt-1.pyc +0 -0
  201. patchman/management/commands/__pycache__/list_hosts.cpython-315.opt-1.pyc +0 -0
  202. patchman/management/commands/__pycache__/list_repos.cpython-315.opt-1.pyc +0 -0
  203. patchman/management/commands/__pycache__/process_reports.cpython-315.opt-1.pyc +0 -0
  204. patchman/management/commands/__pycache__/refresh_repos.cpython-315.opt-1.pyc +0 -0
  205. patchman/management/commands/__pycache__/revoke_api_key.cpython-315.opt-1.pyc +0 -0
  206. patchman/management/commands/__pycache__/revoke_certificate.cpython-315.opt-1.pyc +0 -0
  207. patchman/management/commands/__pycache__/toggle_check_dns.cpython-315.opt-1.pyc +0 -0
  208. patchman/management/commands/__pycache__/toggle_host_repos_only.cpython-315.opt-1.pyc +0 -0
  209. patchman/management/commands/__pycache__/update_cves.cpython-315.opt-1.pyc +0 -0
  210. patchman/management/commands/__pycache__/update_errata.cpython-315.opt-1.pyc +0 -0
  211. patchman/management/commands/clean_reports.py +42 -0
  212. patchman/management/commands/create_enrollment_token.py +93 -0
  213. patchman/management/commands/dbcheck.py +49 -0
  214. patchman/management/commands/delete_hosts.py +41 -0
  215. patchman/management/commands/diff_hosts.py +101 -0
  216. patchman/management/commands/dns_checks.py +37 -0
  217. patchman/management/commands/find_updates.py +48 -0
  218. patchman/management/commands/list_certificates.py +91 -0
  219. patchman/management/commands/list_enrollment_tokens.py +82 -0
  220. patchman/management/commands/list_hosts.py +37 -0
  221. patchman/management/commands/list_repos.py +37 -0
  222. patchman/management/commands/process_reports.py +60 -0
  223. patchman/management/commands/refresh_repos.py +44 -0
  224. patchman/management/commands/revoke_certificate.py +89 -0
  225. patchman/management/commands/toggle_check_dns.py +49 -0
  226. patchman/management/commands/toggle_host_repos_only.py +49 -0
  227. patchman/management/commands/update_cves.py +43 -0
  228. patchman/management/commands/update_errata.py +66 -0
  229. patchman/management/helpers.py +83 -0
  230. patchman/modules/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  231. patchman/modules/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  232. patchman/modules/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  233. patchman/modules/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  234. patchman/modules/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  235. patchman/modules/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  236. patchman/modules/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  237. patchman/modules/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  238. patchman/modules/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  239. patchman/modules/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  240. patchman/modules/admin.py +21 -0
  241. patchman/modules/apps.py +22 -0
  242. patchman/modules/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  243. patchman/modules/migrations/__pycache__/0002_auto_20240204_2214.cpython-315.opt-1.pyc +0 -0
  244. patchman/modules/migrations/__pycache__/0003_alter_module_options.cpython-315.opt-1.pyc +0 -0
  245. patchman/modules/migrations/__pycache__/0004_alter_module_options.cpython-315.opt-1.pyc +0 -0
  246. patchman/modules/migrations/__pycache__/0005_alter_module_unique_together.cpython-315.opt-1.pyc +0 -0
  247. patchman/modules/migrations/__pycache__/0006_alter_module_context_alter_module_name_and_more.cpython-315.opt-1.pyc +0 -0
  248. patchman/modules/migrations/__pycache__/0007_alter_module_unique_together_module_unique_module.cpython-315.opt-1.pyc +0 -0
  249. patchman/modules/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  250. patchman/modules/models.py +50 -0
  251. patchman/modules/serializers.py +25 -0
  252. patchman/modules/tables.py +72 -0
  253. patchman/modules/urls.py +26 -0
  254. patchman/modules/utils.py +78 -0
  255. patchman/modules/views.py +67 -0
  256. patchman/operatingsystems/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  257. patchman/operatingsystems/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  258. patchman/operatingsystems/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  259. patchman/operatingsystems/__pycache__/forms.cpython-315.opt-1.pyc +0 -0
  260. patchman/operatingsystems/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  261. patchman/operatingsystems/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  262. patchman/operatingsystems/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  263. patchman/operatingsystems/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  264. patchman/operatingsystems/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  265. patchman/operatingsystems/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  266. patchman/operatingsystems/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  267. patchman/operatingsystems/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  268. patchman/operatingsystems/admin.py +28 -0
  269. patchman/operatingsystems/apps.py +25 -0
  270. patchman/operatingsystems/forms.py +61 -0
  271. patchman/operatingsystems/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  272. patchman/operatingsystems/migrations/__pycache__/0002_initial.cpython-315.opt-1.pyc +0 -0
  273. patchman/operatingsystems/migrations/__pycache__/0003_os_arch.cpython-315.opt-1.pyc +0 -0
  274. patchman/operatingsystems/migrations/__pycache__/0003_osgroup_codename.cpython-315.opt-1.pyc +0 -0
  275. patchman/operatingsystems/migrations/__pycache__/0004_alter_osgroup_unique_together.cpython-315.opt-1.pyc +0 -0
  276. patchman/operatingsystems/migrations/__pycache__/0005_rename_osgroup_osrelease_rename_os_osvariant_and_more.cpython-315.opt-1.pyc +0 -0
  277. patchman/operatingsystems/migrations/__pycache__/0006_osrelease_cpe_name_osvariant_codename.cpython-315.opt-1.pyc +0 -0
  278. patchman/operatingsystems/migrations/__pycache__/0007_alter_osrelease_unique_together.cpython-315.opt-1.pyc +0 -0
  279. patchman/operatingsystems/migrations/__pycache__/0008_alter_osrelease_options_alter_osvariant_options.cpython-315.opt-1.pyc +0 -0
  280. patchman/operatingsystems/migrations/__pycache__/0009_osvariant_hosts_count.cpython-315.opt-1.pyc +0 -0
  281. patchman/operatingsystems/migrations/__pycache__/0010_backfill_osvariant_counts.cpython-315.opt-1.pyc +0 -0
  282. patchman/operatingsystems/migrations/__pycache__/0011_alter_osrelease_codename_alter_osrelease_cpe_name_and_more.cpython-315.opt-1.pyc +0 -0
  283. patchman/operatingsystems/migrations/__pycache__/0012_alter_osrelease_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  284. patchman/operatingsystems/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  285. patchman/operatingsystems/models.py +78 -0
  286. patchman/operatingsystems/serializers.py +31 -0
  287. patchman/operatingsystems/signals.py +56 -0
  288. patchman/operatingsystems/tables.py +168 -0
  289. patchman/operatingsystems/templates/operatingsystems/osrelease_list.html +36 -0
  290. patchman/operatingsystems/templates/operatingsystems/osvariant_list.html +42 -0
  291. patchman/operatingsystems/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  292. patchman/operatingsystems/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  293. patchman/operatingsystems/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  294. patchman/operatingsystems/tests/test_api.py +232 -0
  295. patchman/operatingsystems/tests/test_models.py +241 -0
  296. patchman/operatingsystems/urls.py +35 -0
  297. patchman/operatingsystems/utils.py +117 -0
  298. patchman/operatingsystems/views.py +412 -0
  299. patchman/packages/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  300. patchman/packages/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  301. patchman/packages/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  302. patchman/packages/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  303. patchman/packages/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  304. patchman/packages/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  305. patchman/packages/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  306. patchman/packages/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  307. patchman/packages/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  308. patchman/packages/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  309. patchman/packages/admin.py +33 -0
  310. patchman/packages/apps.py +22 -0
  311. patchman/packages/migrations/0009_fix_null_version_fields.py +22 -0
  312. patchman/packages/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  313. patchman/packages/migrations/__pycache__/0002_auto_20250207_1319.cpython-315.opt-1.pyc +0 -0
  314. patchman/packages/migrations/__pycache__/0002_delete_erratum_delete_erratumreference.cpython-315.opt-1.pyc +0 -0
  315. patchman/packages/migrations/__pycache__/0003_auto_20250207_1746.cpython-315.opt-1.pyc +0 -0
  316. patchman/packages/migrations/__pycache__/0004_alter_package_options_alter_packagecategory_options_and_more.cpython-315.opt-1.pyc +0 -0
  317. patchman/packages/migrations/__pycache__/0005_alter_package_packagetype.cpython-315.opt-1.pyc +0 -0
  318. patchman/packages/migrations/__pycache__/0006_alter_packageupdate_options.cpython-315.opt-1.pyc +0 -0
  319. patchman/packages/migrations/__pycache__/0007_alter_package_epoch_alter_package_release_and_more.cpython-315.opt-1.pyc +0 -0
  320. patchman/packages/migrations/__pycache__/0008_alter_package_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  321. patchman/packages/migrations/__pycache__/0009_fix_null_version_fields.cpython-315.opt-1.pyc +0 -0
  322. patchman/packages/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  323. patchman/packages/models.py +247 -0
  324. patchman/packages/serializers.py +37 -0
  325. patchman/packages/tables.py +217 -0
  326. patchman/packages/templates/packages/package_list.html +37 -0
  327. patchman/packages/templates/packages/package_update_list.html +37 -0
  328. patchman/packages/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  329. patchman/packages/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  330. patchman/packages/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  331. patchman/packages/tests/__pycache__/test_version_compare.cpython-315.opt-1.pyc +0 -0
  332. patchman/packages/tests/__pycache__/test_views.cpython-315.opt-1.pyc +0 -0
  333. patchman/packages/tests/test_api.py +304 -0
  334. patchman/packages/tests/test_models.py +202 -0
  335. patchman/packages/tests/test_version_compare.py +316 -0
  336. patchman/packages/tests/test_views.py +72 -0
  337. patchman/packages/urls.py +33 -0
  338. patchman/packages/utils.py +374 -0
  339. patchman/packages/views.py +434 -0
  340. patchman/receivers.py +1 -1
  341. patchman/reports/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  342. patchman/reports/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  343. patchman/reports/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  344. patchman/reports/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  345. patchman/reports/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  346. patchman/reports/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  347. patchman/reports/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  348. patchman/reports/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  349. patchman/reports/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  350. patchman/reports/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  351. patchman/reports/admin.py +27 -0
  352. patchman/reports/apps.py +22 -0
  353. patchman/reports/migrations/0007_report_compliance.py +16 -0
  354. patchman/reports/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  355. patchman/reports/migrations/__pycache__/0002_report_modules.cpython-315.opt-1.pyc +0 -0
  356. patchman/reports/migrations/__pycache__/0003_remove_report_accessed.cpython-315.opt-1.pyc +0 -0
  357. patchman/reports/migrations/__pycache__/0004_migrate_to_tz_aware.cpython-315.opt-1.pyc +0 -0
  358. patchman/reports/migrations/__pycache__/0005_alter_report_options.cpython-315.opt-1.pyc +0 -0
  359. patchman/reports/migrations/__pycache__/0006_alter_report_options.cpython-315.opt-1.pyc +0 -0
  360. patchman/reports/migrations/__pycache__/0007_report_compliance.cpython-315.opt-1.pyc +0 -0
  361. patchman/reports/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  362. patchman/reports/models.py +270 -0
  363. patchman/reports/serializers.py +103 -0
  364. patchman/reports/tables.py +114 -0
  365. patchman/reports/tasks.py +88 -0
  366. patchman/reports/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  367. patchman/reports/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  368. patchman/reports/tests/__pycache__/test_edge_cases.cpython-315.opt-1.pyc +0 -0
  369. patchman/reports/tests/__pycache__/test_integration.cpython-315.opt-1.pyc +0 -0
  370. patchman/reports/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  371. patchman/reports/tests/__pycache__/test_parsing.cpython-315.opt-1.pyc +0 -0
  372. patchman/reports/tests/__pycache__/test_serializers.cpython-315.opt-1.pyc +0 -0
  373. patchman/reports/tests/__pycache__/test_tasks.cpython-315.opt-1.pyc +0 -0
  374. patchman/reports/tests/__pycache__/test_utils.cpython-315.opt-1.pyc +0 -0
  375. patchman/reports/tests/test_api.py +325 -0
  376. patchman/reports/tests/test_edge_cases.py +302 -0
  377. patchman/reports/tests/test_integration.py +274 -0
  378. patchman/reports/tests/test_models.py +476 -0
  379. patchman/reports/tests/test_parsing.py +239 -0
  380. patchman/reports/tests/test_serializers.py +290 -0
  381. patchman/reports/tests/test_tasks.py +271 -0
  382. patchman/reports/tests/test_utils.py +732 -0
  383. patchman/reports/urls.py +31 -0
  384. patchman/reports/utils.py +661 -0
  385. patchman/reports/views.py +358 -0
  386. patchman/repos/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  387. patchman/repos/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  388. patchman/repos/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  389. patchman/repos/__pycache__/forms.cpython-315.opt-1.pyc +0 -0
  390. patchman/repos/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  391. patchman/repos/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  392. patchman/repos/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  393. patchman/repos/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  394. patchman/repos/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  395. patchman/repos/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  396. patchman/repos/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  397. patchman/repos/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  398. patchman/repos/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  399. patchman/repos/admin.py +33 -0
  400. patchman/repos/apps.py +25 -0
  401. patchman/repos/forms.py +105 -0
  402. patchman/repos/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  403. patchman/repos/migrations/__pycache__/0002_alter_repository_repotype.cpython-315.opt-1.pyc +0 -0
  404. patchman/repos/migrations/__pycache__/0003_migrate_to_tz_aware.cpython-315.opt-1.pyc +0 -0
  405. patchman/repos/migrations/__pycache__/0004_rename_file_checksum_mirror_package_checksum.cpython-315.opt-1.pyc +0 -0
  406. patchman/repos/migrations/__pycache__/0005_rename_package_checksum_mirror_packages_checksum.cpython-315.opt-1.pyc +0 -0
  407. patchman/repos/migrations/__pycache__/0006_mirror_errata_checksum_mirror_modules_checksum.cpython-315.opt-1.pyc +0 -0
  408. patchman/repos/migrations/__pycache__/0007_alter_mirror_options_alter_mirrorpackage_options_and_more.cpython-315.opt-1.pyc +0 -0
  409. patchman/repos/migrations/__pycache__/0008_mirror_packages_count.cpython-315.opt-1.pyc +0 -0
  410. patchman/repos/migrations/__pycache__/0009_backfill_mirror_counts.cpython-315.opt-1.pyc +0 -0
  411. patchman/repos/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  412. patchman/repos/models.py +204 -0
  413. patchman/repos/repo_types/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  414. patchman/repos/repo_types/__pycache__/arch.cpython-315.opt-1.pyc +0 -0
  415. patchman/repos/repo_types/__pycache__/deb.cpython-315.opt-1.pyc +0 -0
  416. patchman/repos/repo_types/__pycache__/gentoo.cpython-315.opt-1.pyc +0 -0
  417. patchman/repos/repo_types/__pycache__/rpm.cpython-315.opt-1.pyc +0 -0
  418. patchman/repos/repo_types/__pycache__/yast.cpython-315.opt-1.pyc +0 -0
  419. patchman/repos/repo_types/__pycache__/yum.cpython-315.opt-1.pyc +0 -0
  420. patchman/repos/repo_types/arch.py +119 -0
  421. patchman/repos/repo_types/deb.py +116 -0
  422. patchman/repos/repo_types/gentoo.py +306 -0
  423. patchman/repos/repo_types/rpm.py +104 -0
  424. patchman/repos/repo_types/yast.py +76 -0
  425. patchman/repos/repo_types/yum.py +256 -0
  426. patchman/repos/serializers.py +38 -0
  427. patchman/repos/signals.py +28 -0
  428. patchman/repos/tables.py +165 -0
  429. patchman/repos/tasks.py +58 -0
  430. patchman/repos/templatetags/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  431. patchman/repos/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  432. patchman/repos/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  433. patchman/repos/tests/__pycache__/test_managers.cpython-315.opt-1.pyc +0 -0
  434. patchman/repos/tests/__pycache__/test_mirror_sync.cpython-315.opt-1.pyc +0 -0
  435. patchman/repos/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  436. patchman/repos/tests/__pycache__/test_views.cpython-315.opt-1.pyc +0 -0
  437. patchman/repos/tests/test_api.py +295 -0
  438. patchman/repos/tests/test_managers.py +170 -0
  439. patchman/repos/tests/test_mirror_sync.py +141 -0
  440. patchman/repos/tests/test_models.py +193 -0
  441. patchman/repos/tests/test_views.py +114 -0
  442. patchman/repos/urls.py +38 -0
  443. patchman/repos/utils.py +334 -0
  444. patchman/repos/views.py +692 -0
  445. patchman/security/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  446. patchman/security/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  447. patchman/security/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  448. patchman/security/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  449. patchman/security/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  450. patchman/security/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  451. patchman/security/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  452. patchman/security/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  453. patchman/security/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  454. patchman/security/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  455. patchman/security/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  456. patchman/security/admin.py +24 -0
  457. patchman/security/apps.py +22 -0
  458. patchman/security/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  459. patchman/security/migrations/__pycache__/0002_alter_cve_options.cpython-315.opt-1.pyc +0 -0
  460. patchman/security/migrations/__pycache__/0003_alter_cve_description_alter_cwe_description.cpython-315.opt-1.pyc +0 -0
  461. patchman/security/migrations/__pycache__/0004_alter_cve_options.cpython-315.opt-1.pyc +0 -0
  462. patchman/security/migrations/__pycache__/0005_reference_cve_references.cpython-315.opt-1.pyc +0 -0
  463. patchman/security/migrations/__pycache__/0006_alter_cve_options_alter_cvss_unique_together.cpython-315.opt-1.pyc +0 -0
  464. patchman/security/migrations/__pycache__/0007_remove_cve_title.cpython-315.opt-1.pyc +0 -0
  465. patchman/security/migrations/__pycache__/0008_alter_cwe_options_alter_reference_options.cpython-315.opt-1.pyc +0 -0
  466. patchman/security/migrations/__pycache__/0009_alter_cvss_severity_alter_cvss_vector_string_and_more.cpython-315.opt-1.pyc +0 -0
  467. patchman/security/migrations/__pycache__/0010_fix_cvss_vector_string_length.cpython-315.opt-1.pyc +0 -0
  468. patchman/security/migrations/__pycache__/0011_alter_cvss_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  469. patchman/security/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  470. patchman/security/models.py +283 -0
  471. patchman/security/serializers.py +38 -0
  472. patchman/security/tables.py +177 -0
  473. patchman/security/tasks.py +95 -0
  474. patchman/security/tests/__init__.py +0 -0
  475. patchman/security/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  476. patchman/security/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  477. patchman/security/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  478. patchman/security/tests/test_api.py +216 -0
  479. patchman/security/tests/test_models.py +178 -0
  480. patchman/security/urls.py +30 -0
  481. patchman/security/utils.py +170 -0
  482. patchman/security/views.py +176 -0
  483. patchman/settings.py +26 -13
  484. patchman/sqlite3/__pycache__/base.cpython-315.opt-1.pyc +0 -0
  485. patchman/urls.py +28 -18
  486. patchman/util/__init__.py +380 -0
  487. patchman/util/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  488. patchman/util/__pycache__/api.cpython-315.opt-1.pyc +0 -0
  489. patchman/util/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  490. patchman/util/__pycache__/context_processors.cpython-315.opt-1.pyc +0 -0
  491. patchman/util/__pycache__/filterspecs.cpython-315.opt-1.pyc +0 -0
  492. patchman/util/__pycache__/logging.cpython-315.opt-1.pyc +0 -0
  493. patchman/util/__pycache__/middleware.cpython-315.opt-1.pyc +0 -0
  494. patchman/util/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  495. patchman/util/__pycache__/pki.cpython-315.opt-1.pyc +0 -0
  496. patchman/util/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  497. patchman/util/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  498. patchman/util/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  499. patchman/util/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  500. patchman/util/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  501. patchman/util/api.py +240 -0
  502. patchman/util/apps.py +22 -0
  503. patchman/util/context_processors.py +173 -0
  504. patchman/util/middleware.py +63 -0
  505. patchman/util/migrations/0001_initial.py +51 -0
  506. patchman/util/migrations/__init__.py +1 -0
  507. patchman/util/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  508. patchman/util/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  509. patchman/util/models.py +120 -0
  510. patchman/util/pki.py +282 -0
  511. patchman/util/serializers.py +78 -0
  512. patchman/util/tasks.py +39 -0
  513. patchman/util/templates/dashboard.html +295 -0
  514. patchman/util/templates/issues.html +148 -0
  515. patchman/util/templates/navbar.html +59 -0
  516. patchman/util/templatetags/__init__.py +0 -0
  517. patchman/util/templatetags/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  518. patchman/util/templatetags/__pycache__/common.cpython-315.opt-1.pyc +0 -0
  519. patchman/util/templatetags/common.py +143 -0
  520. patchman/util/tests/__init__.py +0 -0
  521. patchman/util/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  522. patchman/util/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  523. patchman/util/tests/__pycache__/test_commands.cpython-315.opt-1.pyc +0 -0
  524. patchman/util/tests/__pycache__/test_mtls.cpython-315.opt-1.pyc +0 -0
  525. patchman/util/tests/__pycache__/test_utils.cpython-315.opt-1.pyc +0 -0
  526. patchman/util/tests/test_api.py +327 -0
  527. patchman/util/tests/test_mtls.py +402 -0
  528. patchman/util/tests/test_utils.py +281 -0
  529. patchman/util/urls.py +35 -0
  530. patchman/util/views.py +352 -0
  531. patchman-4.0.23.data/scripts/patchman +521 -0
  532. patchman-4.0.23.dist-info/METADATA +231 -0
  533. patchman-4.0.23.dist-info/RECORD +738 -0
  534. patchman-4.0.23.dist-info/top_level.txt +1 -0
  535. arch/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  536. arch/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  537. arch/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  538. arch/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  539. arch/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  540. arch/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  541. arch/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  542. arch/admin.py +0 -23
  543. arch/apps.py +0 -21
  544. arch/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  545. arch/migrations/__pycache__/0002_alter_machinearchitecture_options_and_more.cpython-315.opt-1.pyc +0 -0
  546. arch/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  547. arch/serializers.py +0 -31
  548. arch/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  549. arch/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  550. arch/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  551. arch/tests/test_api.py +0 -121
  552. arch/tests/test_models.py +0 -83
  553. arch/utils.py +0 -52
  554. arch/views.py +0 -40
  555. domains/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  556. domains/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  557. domains/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  558. domains/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  559. domains/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  560. domains/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  561. domains/admin.py +0 -22
  562. domains/apps.py +0 -21
  563. domains/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  564. domains/migrations/__pycache__/0002_alter_domain_options.cpython-315.opt-1.pyc +0 -0
  565. domains/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  566. domains/serializers.py +0 -25
  567. domains/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  568. domains/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  569. domains/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  570. domains/tests/test_api.py +0 -83
  571. domains/tests/test_models.py +0 -52
  572. domains/views.py +0 -29
  573. errata/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  574. errata/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  575. errata/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  576. errata/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  577. errata/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  578. errata/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  579. errata/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  580. errata/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  581. errata/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  582. errata/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  583. errata/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  584. errata/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  585. errata/admin.py +0 -26
  586. errata/apps.py +0 -37
  587. errata/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  588. errata/migrations/__pycache__/0002_alter_erratumreference_unique_together.cpython-315.opt-1.pyc +0 -0
  589. errata/migrations/__pycache__/0003_delete_erratumreference_alter_erratum_references.cpython-315.opt-1.pyc +0 -0
  590. errata/migrations/__pycache__/0004_rename_packages_erratum_fixed_packages.cpython-315.opt-1.pyc +0 -0
  591. errata/migrations/__pycache__/0005_erratum_affected_packages_and_more.cpython-315.opt-1.pyc +0 -0
  592. errata/migrations/__pycache__/0006_alter_erratum_options.cpython-315.opt-1.pyc +0 -0
  593. errata/migrations/__pycache__/0007_alter_erratum_fixed_packages.cpython-315.opt-1.pyc +0 -0
  594. errata/migrations/__pycache__/0008_add_cached_count_fields.cpython-315.opt-1.pyc +0 -0
  595. errata/migrations/__pycache__/0009_backfill_cached_counts.cpython-315.opt-1.pyc +0 -0
  596. errata/migrations/__pycache__/0010_synopsis_textfield.cpython-315.opt-1.pyc +0 -0
  597. errata/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  598. errata/models.py +0 -171
  599. errata/serializers.py +0 -25
  600. errata/signals.py +0 -60
  601. errata/sources/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  602. errata/sources/distros/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  603. errata/sources/distros/__pycache__/alma.cpython-315.opt-1.pyc +0 -0
  604. errata/sources/distros/__pycache__/arch.cpython-315.opt-1.pyc +0 -0
  605. errata/sources/distros/__pycache__/centos.cpython-315.opt-1.pyc +0 -0
  606. errata/sources/distros/__pycache__/debian.cpython-315.opt-1.pyc +0 -0
  607. errata/sources/distros/__pycache__/rocky.cpython-315.opt-1.pyc +0 -0
  608. errata/sources/distros/__pycache__/ubuntu.cpython-315.opt-1.pyc +0 -0
  609. errata/sources/distros/alma.py +0 -166
  610. errata/sources/distros/arch.py +0 -224
  611. errata/sources/distros/centos.py +0 -164
  612. errata/sources/distros/debian.py +0 -373
  613. errata/sources/distros/rocky.py +0 -265
  614. errata/sources/distros/ubuntu.py +0 -243
  615. errata/sources/repos/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  616. errata/sources/repos/__pycache__/yum.cpython-315.opt-1.pyc +0 -0
  617. errata/sources/repos/yum.py +0 -250
  618. errata/tables.py +0 -111
  619. errata/tasks.py +0 -104
  620. errata/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  621. errata/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  622. errata/tests/__pycache__/test_integration.cpython-315.opt-1.pyc +0 -0
  623. errata/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  624. errata/tests/test_api.py +0 -166
  625. errata/tests/test_integration.py +0 -75
  626. errata/tests/test_models.py +0 -260
  627. errata/urls.py +0 -26
  628. errata/utils.py +0 -127
  629. errata/views.py +0 -94
  630. hosts/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  631. hosts/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  632. hosts/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  633. hosts/__pycache__/forms.cpython-315.opt-1.pyc +0 -0
  634. hosts/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  635. hosts/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  636. hosts/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  637. hosts/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  638. hosts/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  639. hosts/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  640. hosts/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  641. hosts/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  642. hosts/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  643. hosts/admin.py +0 -28
  644. hosts/apps.py +0 -24
  645. hosts/forms.py +0 -42
  646. hosts/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  647. hosts/migrations/__pycache__/0002_initial.cpython-315.opt-1.pyc +0 -0
  648. hosts/migrations/__pycache__/0003_host_modules.cpython-315.opt-1.pyc +0 -0
  649. hosts/migrations/__pycache__/0004_remove_host_tags_host_tags.cpython-315.opt-1.pyc +0 -0
  650. hosts/migrations/__pycache__/0005_rename_os_host_osvariant.cpython-315.opt-1.pyc +0 -0
  651. hosts/migrations/__pycache__/0006_migrate_to_tz_aware.cpython-315.opt-1.pyc +0 -0
  652. hosts/migrations/__pycache__/0007_alter_host_tags.cpython-315.opt-1.pyc +0 -0
  653. hosts/migrations/__pycache__/0008_alter_host_options.cpython-315.opt-1.pyc +0 -0
  654. hosts/migrations/__pycache__/0009_host_errata.cpython-315.opt-1.pyc +0 -0
  655. hosts/migrations/__pycache__/0010_alter_hostrepo_options.cpython-315.opt-1.pyc +0 -0
  656. hosts/migrations/__pycache__/0011_host_bug_updates_count_host_errata_count_and_more.cpython-315.opt-1.pyc +0 -0
  657. hosts/migrations/__pycache__/0012_backfill_cached_counts.cpython-315.opt-1.pyc +0 -0
  658. hosts/migrations/__pycache__/0013_alter_hostrepo_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  659. hosts/migrations/__pycache__/0014_drop_legacy_tagging.cpython-315.opt-1.pyc +0 -0
  660. hosts/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  661. hosts/models.py +0 -666
  662. hosts/serializers.py +0 -45
  663. hosts/signals.py +0 -45
  664. hosts/tables.py +0 -122
  665. hosts/tasks.py +0 -43
  666. hosts/templatetags/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  667. hosts/templatetags/__pycache__/report_alert.cpython-315.opt-1.pyc +0 -0
  668. hosts/templatetags/report_alert.py +0 -38
  669. hosts/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  670. hosts/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  671. hosts/tests/__pycache__/test_find_updates.cpython-315.opt-1.pyc +0 -0
  672. hosts/tests/__pycache__/test_managers.cpython-315.opt-1.pyc +0 -0
  673. hosts/tests/__pycache__/test_migrations.cpython-315.opt-1.pyc +0 -0
  674. hosts/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  675. hosts/tests/__pycache__/test_utils.cpython-315.opt-1.pyc +0 -0
  676. hosts/tests/test_api.py +0 -383
  677. hosts/tests/test_find_updates.py +0 -364
  678. hosts/tests/test_managers.py +0 -205
  679. hosts/tests/test_migrations.py +0 -99
  680. hosts/tests/test_models.py +0 -1025
  681. hosts/tests/test_utils.py +0 -91
  682. hosts/urls.py +0 -31
  683. hosts/utils.py +0 -174
  684. hosts/views.py +0 -310
  685. modules/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  686. modules/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  687. modules/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  688. modules/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  689. modules/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  690. modules/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  691. modules/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  692. modules/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  693. modules/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  694. modules/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  695. modules/admin.py +0 -21
  696. modules/apps.py +0 -21
  697. modules/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  698. modules/migrations/__pycache__/0002_auto_20240204_2214.cpython-315.opt-1.pyc +0 -0
  699. modules/migrations/__pycache__/0003_alter_module_options.cpython-315.opt-1.pyc +0 -0
  700. modules/migrations/__pycache__/0004_alter_module_options.cpython-315.opt-1.pyc +0 -0
  701. modules/migrations/__pycache__/0005_alter_module_unique_together.cpython-315.opt-1.pyc +0 -0
  702. modules/migrations/__pycache__/0006_alter_module_context_alter_module_name_and_more.cpython-315.opt-1.pyc +0 -0
  703. modules/migrations/__pycache__/0007_alter_module_unique_together_module_unique_module.cpython-315.opt-1.pyc +0 -0
  704. modules/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  705. modules/models.py +0 -50
  706. modules/serializers.py +0 -25
  707. modules/tables.py +0 -72
  708. modules/urls.py +0 -26
  709. modules/utils.py +0 -78
  710. modules/views.py +0 -67
  711. operatingsystems/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  712. operatingsystems/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  713. operatingsystems/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  714. operatingsystems/__pycache__/forms.cpython-315.opt-1.pyc +0 -0
  715. operatingsystems/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  716. operatingsystems/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  717. operatingsystems/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  718. operatingsystems/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  719. operatingsystems/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  720. operatingsystems/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  721. operatingsystems/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  722. operatingsystems/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  723. operatingsystems/admin.py +0 -28
  724. operatingsystems/apps.py +0 -24
  725. operatingsystems/forms.py +0 -61
  726. operatingsystems/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  727. operatingsystems/migrations/__pycache__/0002_initial.cpython-315.opt-1.pyc +0 -0
  728. operatingsystems/migrations/__pycache__/0003_os_arch.cpython-315.opt-1.pyc +0 -0
  729. operatingsystems/migrations/__pycache__/0003_osgroup_codename.cpython-315.opt-1.pyc +0 -0
  730. operatingsystems/migrations/__pycache__/0004_alter_osgroup_unique_together.cpython-315.opt-1.pyc +0 -0
  731. operatingsystems/migrations/__pycache__/0005_rename_osgroup_osrelease_rename_os_osvariant_and_more.cpython-315.opt-1.pyc +0 -0
  732. operatingsystems/migrations/__pycache__/0006_osrelease_cpe_name_osvariant_codename.cpython-315.opt-1.pyc +0 -0
  733. operatingsystems/migrations/__pycache__/0007_alter_osrelease_unique_together.cpython-315.opt-1.pyc +0 -0
  734. operatingsystems/migrations/__pycache__/0008_alter_osrelease_options_alter_osvariant_options.cpython-315.opt-1.pyc +0 -0
  735. operatingsystems/migrations/__pycache__/0009_osvariant_hosts_count.cpython-315.opt-1.pyc +0 -0
  736. operatingsystems/migrations/__pycache__/0010_backfill_osvariant_counts.cpython-315.opt-1.pyc +0 -0
  737. operatingsystems/migrations/__pycache__/0011_alter_osrelease_codename_alter_osrelease_cpe_name_and_more.cpython-315.opt-1.pyc +0 -0
  738. operatingsystems/migrations/__pycache__/0012_alter_osrelease_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  739. operatingsystems/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  740. operatingsystems/models.py +0 -78
  741. operatingsystems/serializers.py +0 -31
  742. operatingsystems/signals.py +0 -56
  743. operatingsystems/tables.py +0 -168
  744. operatingsystems/templates/operatingsystems/osrelease_list.html +0 -26
  745. operatingsystems/templates/operatingsystems/osvariant_list.html +0 -32
  746. operatingsystems/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  747. operatingsystems/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  748. operatingsystems/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  749. operatingsystems/tests/test_api.py +0 -232
  750. operatingsystems/tests/test_models.py +0 -241
  751. operatingsystems/urls.py +0 -35
  752. operatingsystems/utils.py +0 -117
  753. operatingsystems/views.py +0 -361
  754. packages/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  755. packages/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  756. packages/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  757. packages/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  758. packages/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  759. packages/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  760. packages/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  761. packages/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  762. packages/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  763. packages/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  764. packages/admin.py +0 -33
  765. packages/apps.py +0 -21
  766. packages/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  767. packages/migrations/__pycache__/0002_auto_20250207_1319.cpython-315.opt-1.pyc +0 -0
  768. packages/migrations/__pycache__/0002_delete_erratum_delete_erratumreference.cpython-315.opt-1.pyc +0 -0
  769. packages/migrations/__pycache__/0003_auto_20250207_1746.cpython-315.opt-1.pyc +0 -0
  770. packages/migrations/__pycache__/0004_alter_package_options_alter_packagecategory_options_and_more.cpython-315.opt-1.pyc +0 -0
  771. packages/migrations/__pycache__/0005_alter_package_packagetype.cpython-315.opt-1.pyc +0 -0
  772. packages/migrations/__pycache__/0006_alter_packageupdate_options.cpython-315.opt-1.pyc +0 -0
  773. packages/migrations/__pycache__/0007_alter_package_epoch_alter_package_release_and_more.cpython-315.opt-1.pyc +0 -0
  774. packages/migrations/__pycache__/0008_alter_package_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  775. packages/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  776. packages/models.py +0 -247
  777. packages/serializers.py +0 -37
  778. packages/tables.py +0 -203
  779. packages/templates/packages/package_list.html +0 -7
  780. packages/templates/packages/package_update_list.html +0 -7
  781. packages/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  782. packages/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  783. packages/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  784. packages/tests/__pycache__/test_version_compare.cpython-315.opt-1.pyc +0 -0
  785. packages/tests/__pycache__/test_views.cpython-315.opt-1.pyc +0 -0
  786. packages/tests/test_api.py +0 -304
  787. packages/tests/test_models.py +0 -202
  788. packages/tests/test_version_compare.py +0 -316
  789. packages/tests/test_views.py +0 -72
  790. packages/urls.py +0 -31
  791. packages/utils.py +0 -372
  792. packages/views.py +0 -266
  793. patchman-4.0.22.data/scripts/patchman +0 -521
  794. patchman-4.0.22.dist-info/METADATA +0 -231
  795. patchman-4.0.22.dist-info/RECORD +0 -646
  796. patchman-4.0.22.dist-info/top_level.txt +0 -12
  797. reports/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  798. reports/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  799. reports/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  800. reports/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  801. reports/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  802. reports/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  803. reports/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  804. reports/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  805. reports/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  806. reports/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  807. reports/admin.py +0 -27
  808. reports/apps.py +0 -21
  809. reports/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  810. reports/migrations/__pycache__/0002_report_modules.cpython-315.opt-1.pyc +0 -0
  811. reports/migrations/__pycache__/0003_remove_report_accessed.cpython-315.opt-1.pyc +0 -0
  812. reports/migrations/__pycache__/0004_migrate_to_tz_aware.cpython-315.opt-1.pyc +0 -0
  813. reports/migrations/__pycache__/0005_alter_report_options.cpython-315.opt-1.pyc +0 -0
  814. reports/migrations/__pycache__/0006_alter_report_options.cpython-315.opt-1.pyc +0 -0
  815. reports/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  816. reports/models.py +0 -246
  817. reports/serializers.py +0 -103
  818. reports/tables.py +0 -114
  819. reports/tasks.py +0 -87
  820. reports/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  821. reports/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  822. reports/tests/__pycache__/test_edge_cases.cpython-315.opt-1.pyc +0 -0
  823. reports/tests/__pycache__/test_integration.cpython-315.opt-1.pyc +0 -0
  824. reports/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  825. reports/tests/__pycache__/test_parsing.cpython-315.opt-1.pyc +0 -0
  826. reports/tests/__pycache__/test_serializers.cpython-315.opt-1.pyc +0 -0
  827. reports/tests/__pycache__/test_tasks.cpython-315.opt-1.pyc +0 -0
  828. reports/tests/__pycache__/test_utils.cpython-315.opt-1.pyc +0 -0
  829. reports/tests/test_api.py +0 -325
  830. reports/tests/test_edge_cases.py +0 -302
  831. reports/tests/test_integration.py +0 -274
  832. reports/tests/test_models.py +0 -476
  833. reports/tests/test_parsing.py +0 -239
  834. reports/tests/test_serializers.py +0 -290
  835. reports/tests/test_tasks.py +0 -271
  836. reports/tests/test_utils.py +0 -732
  837. reports/urls.py +0 -31
  838. reports/utils.py +0 -661
  839. reports/views.py +0 -358
  840. repos/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  841. repos/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  842. repos/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  843. repos/__pycache__/forms.cpython-315.opt-1.pyc +0 -0
  844. repos/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  845. repos/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  846. repos/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  847. repos/__pycache__/signals.cpython-315.opt-1.pyc +0 -0
  848. repos/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  849. repos/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  850. repos/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  851. repos/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  852. repos/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  853. repos/admin.py +0 -33
  854. repos/apps.py +0 -24
  855. repos/forms.py +0 -105
  856. repos/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  857. repos/migrations/__pycache__/0002_alter_repository_repotype.cpython-315.opt-1.pyc +0 -0
  858. repos/migrations/__pycache__/0003_migrate_to_tz_aware.cpython-315.opt-1.pyc +0 -0
  859. repos/migrations/__pycache__/0004_rename_file_checksum_mirror_package_checksum.cpython-315.opt-1.pyc +0 -0
  860. repos/migrations/__pycache__/0005_rename_package_checksum_mirror_packages_checksum.cpython-315.opt-1.pyc +0 -0
  861. repos/migrations/__pycache__/0006_mirror_errata_checksum_mirror_modules_checksum.cpython-315.opt-1.pyc +0 -0
  862. repos/migrations/__pycache__/0007_alter_mirror_options_alter_mirrorpackage_options_and_more.cpython-315.opt-1.pyc +0 -0
  863. repos/migrations/__pycache__/0008_mirror_packages_count.cpython-315.opt-1.pyc +0 -0
  864. repos/migrations/__pycache__/0009_backfill_mirror_counts.cpython-315.opt-1.pyc +0 -0
  865. repos/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  866. repos/models.py +0 -204
  867. repos/repo_types/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  868. repos/repo_types/__pycache__/arch.cpython-315.opt-1.pyc +0 -0
  869. repos/repo_types/__pycache__/deb.cpython-315.opt-1.pyc +0 -0
  870. repos/repo_types/__pycache__/gentoo.cpython-315.opt-1.pyc +0 -0
  871. repos/repo_types/__pycache__/rpm.cpython-315.opt-1.pyc +0 -0
  872. repos/repo_types/__pycache__/yast.cpython-315.opt-1.pyc +0 -0
  873. repos/repo_types/__pycache__/yum.cpython-315.opt-1.pyc +0 -0
  874. repos/repo_types/arch.py +0 -119
  875. repos/repo_types/deb.py +0 -118
  876. repos/repo_types/gentoo.py +0 -307
  877. repos/repo_types/rpm.py +0 -104
  878. repos/repo_types/yast.py +0 -70
  879. repos/repo_types/yum.py +0 -257
  880. repos/serializers.py +0 -38
  881. repos/signals.py +0 -28
  882. repos/tables.py +0 -165
  883. repos/tasks.py +0 -58
  884. repos/templatetags/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  885. repos/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  886. repos/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  887. repos/tests/__pycache__/test_managers.cpython-315.opt-1.pyc +0 -0
  888. repos/tests/__pycache__/test_mirror_sync.cpython-315.opt-1.pyc +0 -0
  889. repos/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  890. repos/tests/__pycache__/test_views.cpython-315.opt-1.pyc +0 -0
  891. repos/tests/test_api.py +0 -295
  892. repos/tests/test_managers.py +0 -170
  893. repos/tests/test_mirror_sync.py +0 -141
  894. repos/tests/test_models.py +0 -193
  895. repos/tests/test_views.py +0 -114
  896. repos/urls.py +0 -38
  897. repos/utils.py +0 -334
  898. repos/views.py +0 -608
  899. security/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  900. security/__pycache__/admin.cpython-315.opt-1.pyc +0 -0
  901. security/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  902. security/__pycache__/managers.cpython-315.opt-1.pyc +0 -0
  903. security/__pycache__/models.cpython-315.opt-1.pyc +0 -0
  904. security/__pycache__/serializers.cpython-315.opt-1.pyc +0 -0
  905. security/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  906. security/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  907. security/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  908. security/__pycache__/utils.cpython-315.opt-1.pyc +0 -0
  909. security/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  910. security/admin.py +0 -24
  911. security/apps.py +0 -21
  912. security/migrations/__pycache__/0001_initial.cpython-315.opt-1.pyc +0 -0
  913. security/migrations/__pycache__/0002_alter_cve_options.cpython-315.opt-1.pyc +0 -0
  914. security/migrations/__pycache__/0003_alter_cve_description_alter_cwe_description.cpython-315.opt-1.pyc +0 -0
  915. security/migrations/__pycache__/0004_alter_cve_options.cpython-315.opt-1.pyc +0 -0
  916. security/migrations/__pycache__/0005_reference_cve_references.cpython-315.opt-1.pyc +0 -0
  917. security/migrations/__pycache__/0006_alter_cve_options_alter_cvss_unique_together.cpython-315.opt-1.pyc +0 -0
  918. security/migrations/__pycache__/0007_remove_cve_title.cpython-315.opt-1.pyc +0 -0
  919. security/migrations/__pycache__/0008_alter_cwe_options_alter_reference_options.cpython-315.opt-1.pyc +0 -0
  920. security/migrations/__pycache__/0009_alter_cvss_severity_alter_cvss_vector_string_and_more.cpython-315.opt-1.pyc +0 -0
  921. security/migrations/__pycache__/0010_fix_cvss_vector_string_length.cpython-315.opt-1.pyc +0 -0
  922. security/migrations/__pycache__/0011_alter_cvss_unique_together_and_more.cpython-315.opt-1.pyc +0 -0
  923. security/migrations/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  924. security/models.py +0 -283
  925. security/serializers.py +0 -38
  926. security/tables.py +0 -177
  927. security/tasks.py +0 -95
  928. security/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  929. security/tests/__pycache__/test_api.cpython-315.opt-1.pyc +0 -0
  930. security/tests/__pycache__/test_models.cpython-315.opt-1.pyc +0 -0
  931. security/tests/test_api.py +0 -216
  932. security/tests/test_models.py +0 -178
  933. security/urls.py +0 -30
  934. security/utils.py +0 -170
  935. security/views.py +0 -176
  936. util/__init__.py +0 -355
  937. util/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  938. util/__pycache__/apps.cpython-315.opt-1.pyc +0 -0
  939. util/__pycache__/context_processors.cpython-315.opt-1.pyc +0 -0
  940. util/__pycache__/filterspecs.cpython-315.opt-1.pyc +0 -0
  941. util/__pycache__/logging.cpython-315.opt-1.pyc +0 -0
  942. util/__pycache__/tables.cpython-315.opt-1.pyc +0 -0
  943. util/__pycache__/tasks.cpython-315.opt-1.pyc +0 -0
  944. util/__pycache__/urls.cpython-315.opt-1.pyc +0 -0
  945. util/__pycache__/views.cpython-315.opt-1.pyc +0 -0
  946. util/apps.py +0 -21
  947. util/context_processors.py +0 -163
  948. util/management/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  949. util/management/commands/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  950. util/management/commands/__pycache__/create_api_key.cpython-315.opt-1.pyc +0 -0
  951. util/management/commands/__pycache__/list_api_keys.cpython-315.opt-1.pyc +0 -0
  952. util/management/commands/__pycache__/revoke_api_key.cpython-315.opt-1.pyc +0 -0
  953. util/tasks.py +0 -39
  954. util/templates/dashboard.html +0 -251
  955. util/templates/navbar.html +0 -57
  956. util/templatetags/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  957. util/templatetags/__pycache__/common.cpython-315.opt-1.pyc +0 -0
  958. util/templatetags/common.py +0 -141
  959. util/tests/__pycache__/__init__.cpython-315.opt-1.pyc +0 -0
  960. util/tests/__pycache__/test_commands.cpython-315.opt-1.pyc +0 -0
  961. util/tests/__pycache__/test_utils.cpython-315.opt-1.pyc +0 -0
  962. util/tests/test_utils.py +0 -281
  963. util/urls.py +0 -28
  964. util/views.py +0 -158
  965. {arch → patchman/arch}/__init__.py +0 -0
  966. {arch → patchman/arch}/migrations/0001_initial.py +0 -0
  967. {arch → patchman/arch}/migrations/0002_alter_machinearchitecture_options_and_more.py +0 -0
  968. {arch → patchman/arch}/migrations/__init__.py +0 -0
  969. {arch → patchman/arch}/models.py +0 -0
  970. {arch → patchman/arch}/tests/__init__.py +0 -0
  971. {domains → patchman/compliance}/__init__.py +0 -0
  972. {domains → patchman/compliance}/migrations/__init__.py +0 -0
  973. {domains → patchman/compliance}/tests/__init__.py +0 -0
  974. {errata → patchman/domains}/__init__.py +0 -0
  975. {domains → patchman/domains}/migrations/0001_initial.py +0 -0
  976. {domains → patchman/domains}/migrations/0002_alter_domain_options.py +0 -0
  977. {errata → patchman/domains}/migrations/__init__.py +0 -0
  978. {domains → patchman/domains}/models.py +0 -0
  979. {errata/sources → patchman/domains/tests}/__init__.py +0 -0
  980. {errata/sources/distros → patchman/errata}/__init__.py +0 -0
  981. {errata → patchman/errata}/managers.py +0 -0
  982. {errata → patchman/errata}/migrations/0001_initial.py +0 -0
  983. {errata → patchman/errata}/migrations/0002_alter_erratumreference_unique_together.py +0 -0
  984. {errata → patchman/errata}/migrations/0003_delete_erratumreference_alter_erratum_references.py +0 -0
  985. {errata → patchman/errata}/migrations/0004_rename_packages_erratum_fixed_packages.py +0 -0
  986. {errata → patchman/errata}/migrations/0005_erratum_affected_packages_and_more.py +0 -0
  987. {errata → patchman/errata}/migrations/0006_alter_erratum_options.py +0 -0
  988. {errata → patchman/errata}/migrations/0007_alter_erratum_fixed_packages.py +0 -0
  989. {errata → patchman/errata}/migrations/0008_add_cached_count_fields.py +0 -0
  990. {errata → patchman/errata}/migrations/0009_backfill_cached_counts.py +0 -0
  991. {errata → patchman/errata}/migrations/0010_synopsis_textfield.py +0 -0
  992. {errata/sources/repos → patchman/errata/migrations}/__init__.py +0 -0
  993. {hosts → patchman/errata/sources}/__init__.py +0 -0
  994. {hosts/migrations → patchman/errata/sources/distros}/__init__.py +0 -0
  995. {hosts/templatetags → patchman/errata/sources/repos}/__init__.py +0 -0
  996. {errata → patchman/errata}/templates/errata/erratum_detail.html +0 -0
  997. {errata → patchman/errata}/templates/errata/erratum_list.html +0 -0
  998. {errata → patchman/errata}/tests/__init__.py +0 -0
  999. {hosts/tests → patchman/hosts}/__init__.py +0 -0
  1000. {hosts → patchman/hosts}/managers.py +0 -0
  1001. {hosts → patchman/hosts}/migrations/0001_initial.py +0 -0
  1002. {hosts → patchman/hosts}/migrations/0002_initial.py +0 -0
  1003. {hosts → patchman/hosts}/migrations/0003_host_modules.py +0 -0
  1004. {hosts → patchman/hosts}/migrations/0004_remove_host_tags_host_tags.py +0 -0
  1005. {hosts → patchman/hosts}/migrations/0005_rename_os_host_osvariant.py +0 -0
  1006. {hosts → patchman/hosts}/migrations/0006_migrate_to_tz_aware.py +0 -0
  1007. {hosts → patchman/hosts}/migrations/0007_alter_host_tags.py +0 -0
  1008. {hosts → patchman/hosts}/migrations/0008_alter_host_options.py +0 -0
  1009. {hosts → patchman/hosts}/migrations/0009_host_errata.py +0 -0
  1010. {hosts → patchman/hosts}/migrations/0010_alter_hostrepo_options.py +0 -0
  1011. {hosts → patchman/hosts}/migrations/0011_host_bug_updates_count_host_errata_count_and_more.py +0 -0
  1012. {hosts → patchman/hosts}/migrations/0012_backfill_cached_counts.py +0 -0
  1013. {hosts → patchman/hosts}/migrations/0013_alter_hostrepo_unique_together_and_more.py +0 -0
  1014. {hosts → patchman/hosts}/migrations/0014_drop_legacy_tagging.py +0 -0
  1015. {modules → patchman/hosts/migrations}/__init__.py +0 -0
  1016. {hosts → patchman/hosts}/templates/hosts/host_delete.html +0 -0
  1017. {hosts → patchman/hosts}/templates/hosts/host_detail.html +0 -0
  1018. {hosts → patchman/hosts}/templates/hosts/host_edit.html +0 -0
  1019. {hosts → patchman/hosts}/templates/hosts/host_list.html +0 -0
  1020. {modules/migrations → patchman/hosts/templatetags}/__init__.py +0 -0
  1021. {operatingsystems → patchman/hosts/tests}/__init__.py +0 -0
  1022. {operatingsystems/migrations → patchman/management}/__init__.py +0 -0
  1023. {packages → patchman/management/commands}/__init__.py +0 -0
  1024. {util → patchman}/management/commands/create_api_key.py +0 -0
  1025. {util → patchman}/management/commands/list_api_keys.py +0 -0
  1026. {util → patchman}/management/commands/revoke_api_key.py +0 -0
  1027. {packages/migrations → patchman/modules}/__init__.py +0 -0
  1028. {modules → patchman/modules}/managers.py +0 -0
  1029. {modules → patchman/modules}/migrations/0001_initial.py +0 -0
  1030. {modules → patchman/modules}/migrations/0002_auto_20240204_2214.py +0 -0
  1031. {modules → patchman/modules}/migrations/0003_alter_module_options.py +0 -0
  1032. {modules → patchman/modules}/migrations/0004_alter_module_options.py +0 -0
  1033. {modules → patchman/modules}/migrations/0005_alter_module_unique_together.py +0 -0
  1034. {modules → patchman/modules}/migrations/0006_alter_module_context_alter_module_name_and_more.py +0 -0
  1035. {modules → patchman/modules}/migrations/0007_alter_module_unique_together_module_unique_module.py +0 -0
  1036. {packages/tests → patchman/modules/migrations}/__init__.py +0 -0
  1037. {modules → patchman/modules}/templates/modules/module_detail.html +0 -0
  1038. {modules → patchman/modules}/templates/modules/module_list.html +0 -0
  1039. {reports → patchman/operatingsystems}/__init__.py +0 -0
  1040. {operatingsystems → patchman/operatingsystems}/fixtures/os.json +0 -0
  1041. {operatingsystems → patchman/operatingsystems}/fixtures/osgroup.json +0 -0
  1042. {operatingsystems → patchman/operatingsystems}/managers.py +0 -0
  1043. {operatingsystems → patchman/operatingsystems}/migrations/0001_initial.py +0 -0
  1044. {operatingsystems → patchman/operatingsystems}/migrations/0002_initial.py +0 -0
  1045. {operatingsystems → patchman/operatingsystems}/migrations/0003_os_arch.py +0 -0
  1046. {operatingsystems → patchman/operatingsystems}/migrations/0003_osgroup_codename.py +0 -0
  1047. {operatingsystems → patchman/operatingsystems}/migrations/0004_alter_osgroup_unique_together.py +0 -0
  1048. {operatingsystems → patchman/operatingsystems}/migrations/0005_rename_osgroup_osrelease_rename_os_osvariant_and_more.py +0 -0
  1049. {operatingsystems → patchman/operatingsystems}/migrations/0006_osrelease_cpe_name_osvariant_codename.py +0 -0
  1050. {operatingsystems → patchman/operatingsystems}/migrations/0007_alter_osrelease_unique_together.py +0 -0
  1051. {operatingsystems → patchman/operatingsystems}/migrations/0008_alter_osrelease_options_alter_osvariant_options.py +0 -0
  1052. {operatingsystems → patchman/operatingsystems}/migrations/0009_osvariant_hosts_count.py +0 -0
  1053. {operatingsystems → patchman/operatingsystems}/migrations/0010_backfill_osvariant_counts.py +0 -0
  1054. {operatingsystems → patchman/operatingsystems}/migrations/0011_alter_osrelease_codename_alter_osrelease_cpe_name_and_more.py +0 -0
  1055. {operatingsystems → patchman/operatingsystems}/migrations/0012_alter_osrelease_unique_together_and_more.py +0 -0
  1056. {reports → patchman/operatingsystems}/migrations/__init__.py +0 -0
  1057. {operatingsystems → patchman/operatingsystems}/templates/operatingsystems/os_landing.html +0 -0
  1058. {operatingsystems → patchman/operatingsystems}/templates/operatingsystems/osrelease_delete.html +0 -0
  1059. {operatingsystems → patchman/operatingsystems}/templates/operatingsystems/osrelease_detail.html +0 -0
  1060. {operatingsystems → patchman/operatingsystems}/templates/operatingsystems/osvariant_delete.html +0 -0
  1061. {operatingsystems → patchman/operatingsystems}/templates/operatingsystems/osvariant_delete_multiple.html +0 -0
  1062. {operatingsystems → patchman/operatingsystems}/templates/operatingsystems/osvariant_detail.html +0 -0
  1063. {operatingsystems → patchman/operatingsystems}/tests/__init__.py +0 -0
  1064. {reports/tests → patchman/packages}/__init__.py +0 -0
  1065. {packages → patchman/packages}/managers.py +0 -0
  1066. {packages → patchman/packages}/migrations/0001_initial.py +0 -0
  1067. {packages → patchman/packages}/migrations/0002_auto_20250207_1319.py +0 -0
  1068. {packages → patchman/packages}/migrations/0002_delete_erratum_delete_erratumreference.py +0 -0
  1069. {packages → patchman/packages}/migrations/0003_auto_20250207_1746.py +0 -0
  1070. {packages → patchman/packages}/migrations/0004_alter_package_options_alter_packagecategory_options_and_more.py +0 -0
  1071. {packages → patchman/packages}/migrations/0005_alter_package_packagetype.py +0 -0
  1072. {packages → patchman/packages}/migrations/0006_alter_packageupdate_options.py +0 -0
  1073. {packages → patchman/packages}/migrations/0007_alter_package_epoch_alter_package_release_and_more.py +0 -0
  1074. {packages → patchman/packages}/migrations/0008_alter_package_unique_together_and_more.py +0 -0
  1075. {repos → patchman/packages/migrations}/__init__.py +0 -0
  1076. {packages → patchman/packages}/templates/packages/package_detail.html +0 -0
  1077. {packages → patchman/packages}/templates/packages/package_name_detail.html +0 -0
  1078. {packages → patchman/packages}/templates/packages/package_name_list.html +0 -0
  1079. {repos/migrations → patchman/packages/tests}/__init__.py +0 -0
  1080. {repos/repo_types → patchman/reports}/__init__.py +0 -0
  1081. {reports → patchman/reports}/migrations/0001_initial.py +0 -0
  1082. {reports → patchman/reports}/migrations/0002_report_modules.py +0 -0
  1083. {reports → patchman/reports}/migrations/0003_remove_report_accessed.py +0 -0
  1084. {reports → patchman/reports}/migrations/0004_migrate_to_tz_aware.py +0 -0
  1085. {reports → patchman/reports}/migrations/0005_alter_report_options.py +0 -0
  1086. {reports → patchman/reports}/migrations/0006_alter_report_options.py +0 -0
  1087. {repos/templatetags → patchman/reports/migrations}/__init__.py +0 -0
  1088. {reports → patchman/reports}/templates/reports/report.txt +0 -0
  1089. {reports → patchman/reports}/templates/reports/report_delete.html +0 -0
  1090. {reports → patchman/reports}/templates/reports/report_detail.html +0 -0
  1091. {reports → patchman/reports}/templates/reports/report_list.html +0 -0
  1092. {repos → patchman/reports}/tests/__init__.py +0 -0
  1093. {security → patchman/repos}/__init__.py +0 -0
  1094. {repos → patchman/repos}/managers.py +0 -0
  1095. {repos → patchman/repos}/migrations/0001_initial.py +0 -0
  1096. {repos → patchman/repos}/migrations/0002_alter_repository_repotype.py +0 -0
  1097. {repos → patchman/repos}/migrations/0003_migrate_to_tz_aware.py +0 -0
  1098. {repos → patchman/repos}/migrations/0004_rename_file_checksum_mirror_package_checksum.py +0 -0
  1099. {repos → patchman/repos}/migrations/0005_rename_package_checksum_mirror_packages_checksum.py +0 -0
  1100. {repos → patchman/repos}/migrations/0006_mirror_errata_checksum_mirror_modules_checksum.py +0 -0
  1101. {repos → patchman/repos}/migrations/0007_alter_mirror_options_alter_mirrorpackage_options_and_more.py +0 -0
  1102. {repos → patchman/repos}/migrations/0008_mirror_packages_count.py +0 -0
  1103. {repos → patchman/repos}/migrations/0009_backfill_mirror_counts.py +0 -0
  1104. {security → patchman/repos}/migrations/__init__.py +0 -0
  1105. {security/tests → patchman/repos/repo_types}/__init__.py +0 -0
  1106. {repos → patchman/repos}/templates/repos/mirror_delete.html +0 -0
  1107. {repos → patchman/repos}/templates/repos/mirror_detail.html +0 -0
  1108. {repos → patchman/repos}/templates/repos/mirror_edit.html +0 -0
  1109. {repos → patchman/repos}/templates/repos/mirror_list.html +0 -0
  1110. {repos → patchman/repos}/templates/repos/mirror_with_repo_list.html +0 -0
  1111. {repos → patchman/repos}/templates/repos/repo_delete.html +0 -0
  1112. {repos → patchman/repos}/templates/repos/repo_detail.html +0 -0
  1113. {repos → patchman/repos}/templates/repos/repo_edit.html +0 -0
  1114. {repos → patchman/repos}/templates/repos/repo_list.html +0 -0
  1115. {util/management → patchman/repos/templatetags}/__init__.py +0 -0
  1116. {util/management/commands → patchman/repos/tests}/__init__.py +0 -0
  1117. {util/templatetags → patchman/security}/__init__.py +0 -0
  1118. {security → patchman/security}/managers.py +0 -0
  1119. {security → patchman/security}/migrations/0001_initial.py +0 -0
  1120. {security → patchman/security}/migrations/0002_alter_cve_options.py +0 -0
  1121. {security → patchman/security}/migrations/0003_alter_cve_description_alter_cwe_description.py +0 -0
  1122. {security → patchman/security}/migrations/0004_alter_cve_options.py +0 -0
  1123. {security → patchman/security}/migrations/0005_reference_cve_references.py +0 -0
  1124. {security → patchman/security}/migrations/0006_alter_cve_options_alter_cvss_unique_together.py +0 -0
  1125. {security → patchman/security}/migrations/0007_remove_cve_title.py +0 -0
  1126. {security → patchman/security}/migrations/0008_alter_cwe_options_alter_reference_options.py +0 -0
  1127. {security → patchman/security}/migrations/0009_alter_cvss_severity_alter_cvss_vector_string_and_more.py +0 -0
  1128. {security → patchman/security}/migrations/0010_fix_cvss_vector_string_length.py +0 -0
  1129. {security → patchman/security}/migrations/0011_alter_cvss_unique_together_and_more.py +0 -0
  1130. {util/tests → patchman/security/migrations}/__init__.py +0 -0
  1131. {security → patchman/security}/templates/security/cve_detail.html +0 -0
  1132. {security → patchman/security}/templates/security/cve_list.html +0 -0
  1133. {security → patchman/security}/templates/security/cwe_detail.html +0 -0
  1134. {security → patchman/security}/templates/security/cwe_list.html +0 -0
  1135. {security → patchman/security}/templates/security/reference_list.html +0 -0
  1136. {security → patchman/security}/templates/security/security_landing.html +0 -0
  1137. {util → patchman/util}/filterspecs.py +0 -0
  1138. {util → patchman/util}/logging.py +0 -0
  1139. {util → patchman/util}/tables.py +0 -0
  1140. {util → patchman/util}/templates/404.html +0 -0
  1141. {util → patchman/util}/templates/500.html +0 -0
  1142. {util → patchman/util}/templates/base.html +0 -0
  1143. {util → patchman/util}/templates/bulk_actions.html +0 -0
  1144. {util → patchman/util}/templates/objectlist.html +0 -0
  1145. {util → patchman/util}/templates/registration/login.html +0 -0
  1146. {util → patchman/util}/templates/searchbar.html +0 -0
  1147. {util → patchman/util}/templates/table.html +0 -0
  1148. {util → patchman/util}/tests/test_commands.py +0 -0
  1149. {patchman-4.0.22.data → patchman-4.0.23.data}/scripts/patchman-manage +0 -0
  1150. {patchman-4.0.22.data → patchman-4.0.23.data}/scripts/patchman-set-secret-key +0 -0
  1151. {patchman-4.0.22.dist-info → patchman-4.0.23.dist-info}/WHEEL +0 -0
  1152. {patchman-4.0.22.dist-info → patchman-4.0.23.dist-info}/licenses/AUTHORS +0 -0
  1153. {patchman-4.0.22.dist-info → patchman-4.0.23.dist-info}/licenses/COPYING +0 -0
@@ -115,3 +115,35 @@ LOGGING = {
115
115
  'celery': {'level': 'WARNING', 'handlers': ['console'], 'propagate': False},
116
116
  }
117
117
  }
118
+
119
+ # =============================================================================
120
+ # Client Certificate Authentication (mTLS) - Optional
121
+ # =============================================================================
122
+ # See INSTALL.md for full setup instructions
123
+
124
+ # Enable mTLS requirement for report endpoints
125
+ # REQUIRE_CLIENT_CERT = True
126
+
127
+ # Require client cert CN to match report hostname
128
+ # CLIENT_CERT_STRICT_HOSTNAME = True
129
+
130
+ # =============================================================================
131
+ # PKI Provider Configuration (for certificate enrollment)
132
+ # =============================================================================
133
+ # Configure step-ca for certificate enrollment:
134
+ # PKI_PROVIDER = 'util.pki.StepCAProvider'
135
+ # PKI_PROVIDER_CONFIG = {
136
+ # 'ca_url': 'https://ca.example.com:9000',
137
+ # 'provisioner': 'patchman',
138
+ # 'provisioner_password_file': '/etc/patchman/step-ca-password',
139
+ # 'root_cert': '/etc/patchman/ca.crt',
140
+ # }
141
+
142
+ # Or configure Vault PKI:
143
+ # PKI_PROVIDER = 'util.pki.VaultProvider'
144
+ # PKI_PROVIDER_CONFIG = {
145
+ # 'vault_addr': 'https://vault.example.com:8200',
146
+ # 'vault_token_file': '/etc/patchman/vault-token',
147
+ # 'pki_path': 'pki',
148
+ # 'pki_role': 'patchman-client',
149
+ # }
patchman/apps.py ADDED
@@ -0,0 +1,7 @@
1
+ from django.apps import AppConfig
2
+
3
+
4
+ class PatchmanConfig(AppConfig):
5
+ name = 'patchman'
6
+ label = 'patchman'
7
+ verbose_name = 'Patchman'
patchman/arch/admin.py ADDED
@@ -0,0 +1,23 @@
1
+ # Copyright 2012 VPAC, http://www.vpac.org
2
+ # Copyright 2013-2021 Marcus Furlong <furlongm@gmail.com>
3
+ #
4
+ # This file is part of Patchman.
5
+ #
6
+ # Patchman is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by
8
+ # the Free Software Foundation, version 3 only.
9
+ #
10
+ # Patchman is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU General Public License
16
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
17
+
18
+ from django.contrib import admin
19
+
20
+ from patchman.arch.models import MachineArchitecture, PackageArchitecture
21
+
22
+ admin.site.register(PackageArchitecture)
23
+ admin.site.register(MachineArchitecture)
patchman/arch/apps.py ADDED
@@ -0,0 +1,22 @@
1
+ # Copyright 2019-2021 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from django.apps import AppConfig
18
+
19
+
20
+ class ArchConfig(AppConfig):
21
+ name = 'patchman.arch'
22
+ label = 'arch'
@@ -0,0 +1,31 @@
1
+ # Copyright 2016-2021 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from rest_framework import serializers
18
+
19
+ from patchman.arch.models import MachineArchitecture, PackageArchitecture
20
+
21
+
22
+ class PackageArchitectureSerializer(serializers.HyperlinkedModelSerializer):
23
+ class Meta:
24
+ model = PackageArchitecture
25
+ fields = ('id', 'name')
26
+
27
+
28
+ class MachineArchitectureSerializer(serializers.HyperlinkedModelSerializer):
29
+ class Meta:
30
+ model = MachineArchitecture
31
+ fields = ('id', 'name')
@@ -0,0 +1,121 @@
1
+ # Copyright 2025 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from django.contrib.auth.models import User
18
+ from django.test import TestCase, override_settings
19
+ from rest_framework import status
20
+ from rest_framework.test import APITestCase
21
+
22
+ from patchman.arch.models import MachineArchitecture, PackageArchitecture
23
+
24
+
25
+ @override_settings(
26
+ CELERY_TASK_ALWAYS_EAGER=True,
27
+ CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
28
+ )
29
+ class ArchitectureAPITests(APITestCase):
30
+ """Tests for the Architecture API endpoints."""
31
+
32
+ def setUp(self):
33
+ """Set up test data."""
34
+ self.user = User.objects.create_user(
35
+ username='testuser', password='testpass'
36
+ )
37
+ self.client.force_authenticate(user=self.user)
38
+
39
+ self.machine_arch = MachineArchitecture.objects.create(name='x86_64')
40
+ self.pkg_arch = PackageArchitecture.objects.create(name='amd64')
41
+
42
+ def test_list_machine_architectures(self):
43
+ """Test listing machine architectures."""
44
+ response = self.client.get('/api/machine-architecture/')
45
+ self.assertEqual(response.status_code, status.HTTP_200_OK)
46
+ self.assertEqual(len(response.data['results']), 1)
47
+
48
+ def test_retrieve_machine_architecture(self):
49
+ """Test retrieving a machine architecture."""
50
+ response = self.client.get(f'/api/machine-architecture/{self.machine_arch.id}/')
51
+ self.assertEqual(response.status_code, status.HTTP_200_OK)
52
+ self.assertEqual(response.data['name'], 'x86_64')
53
+
54
+ def test_list_package_architectures(self):
55
+ """Test listing package architectures."""
56
+ response = self.client.get('/api/package-architecture/')
57
+ self.assertEqual(response.status_code, status.HTTP_200_OK)
58
+ self.assertEqual(len(response.data['results']), 1)
59
+
60
+ def test_retrieve_package_architecture(self):
61
+ """Test retrieving a package architecture."""
62
+ response = self.client.get(f'/api/package-architecture/{self.pkg_arch.id}/')
63
+ self.assertEqual(response.status_code, status.HTTP_200_OK)
64
+ self.assertEqual(response.data['name'], 'amd64')
65
+
66
+
67
+ @override_settings(
68
+ CELERY_TASK_ALWAYS_EAGER=True,
69
+ CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
70
+ )
71
+ class MachineArchitectureModelTests(TestCase):
72
+ """Tests for the MachineArchitecture model."""
73
+
74
+ def test_machine_architecture_creation(self):
75
+ """Test creating a machine architecture."""
76
+ arch = MachineArchitecture.objects.create(name='aarch64')
77
+ self.assertEqual(arch.name, 'aarch64')
78
+
79
+ def test_machine_architecture_string_representation(self):
80
+ """Test MachineArchitecture __str__ method."""
81
+ arch = MachineArchitecture.objects.create(name='i686')
82
+ self.assertEqual(str(arch), 'i686')
83
+
84
+ def test_machine_architecture_unique_name(self):
85
+ """Test that machine architecture names must be unique."""
86
+ MachineArchitecture.objects.create(name='unique-arch')
87
+ from django.db import IntegrityError
88
+ with self.assertRaises(IntegrityError):
89
+ MachineArchitecture.objects.create(name='unique-arch')
90
+
91
+
92
+ @override_settings(
93
+ CELERY_TASK_ALWAYS_EAGER=True,
94
+ CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
95
+ )
96
+ class PackageArchitectureModelTests(TestCase):
97
+ """Tests for the PackageArchitecture model."""
98
+
99
+ def test_package_architecture_creation(self):
100
+ """Test creating a package architecture."""
101
+ arch = PackageArchitecture.objects.create(name='arm64')
102
+ self.assertEqual(arch.name, 'arm64')
103
+
104
+ def test_package_architecture_string_representation(self):
105
+ """Test PackageArchitecture __str__ method."""
106
+ arch = PackageArchitecture.objects.create(name='noarch')
107
+ self.assertEqual(str(arch), 'noarch')
108
+
109
+ def test_package_architecture_unique_name(self):
110
+ """Test that package architecture names must be unique."""
111
+ PackageArchitecture.objects.create(name='all')
112
+ from django.db import IntegrityError
113
+ with self.assertRaises(IntegrityError):
114
+ PackageArchitecture.objects.create(name='all')
115
+
116
+ def test_common_architectures(self):
117
+ """Test creating common architecture types."""
118
+ archs = ['x86_64', 'amd64', 'i386', 'i686', 'noarch', 'all', 'arm64', 'aarch64']
119
+ for arch_name in archs:
120
+ arch = PackageArchitecture.objects.create(name=arch_name)
121
+ self.assertEqual(str(arch), arch_name)
@@ -0,0 +1,83 @@
1
+ # Copyright 2025 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from django.test import TestCase, override_settings
18
+
19
+ from patchman.arch.models import MachineArchitecture, PackageArchitecture
20
+
21
+
22
+ @override_settings(
23
+ CELERY_TASK_ALWAYS_EAGER=True,
24
+ CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
25
+ )
26
+ class MachineArchitectureMethodTests(TestCase):
27
+ """Tests for MachineArchitecture model methods."""
28
+
29
+ def test_machine_arch_creation(self):
30
+ """Test creating a MachineArchitecture."""
31
+ arch = MachineArchitecture.objects.create(name='x86_64')
32
+ self.assertEqual(arch.name, 'x86_64')
33
+
34
+ def test_machine_arch_str(self):
35
+ """Test MachineArchitecture __str__ method."""
36
+ arch = MachineArchitecture.objects.create(name='x86_64')
37
+ self.assertEqual(str(arch), 'x86_64')
38
+
39
+ def test_machine_arch_unique_name(self):
40
+ """Test MachineArchitecture name is unique."""
41
+ MachineArchitecture.objects.create(name='x86_64')
42
+ from django.db import IntegrityError
43
+ with self.assertRaises(IntegrityError):
44
+ MachineArchitecture.objects.create(name='x86_64')
45
+
46
+ def test_common_machine_architectures(self):
47
+ """Test common machine architecture values."""
48
+ archs = ['x86_64', 'aarch64', 'i686', 'armv7l', 'ppc64le']
49
+ for name in archs:
50
+ arch = MachineArchitecture.objects.create(name=name)
51
+ self.assertEqual(str(arch), name)
52
+
53
+
54
+ @override_settings(
55
+ CELERY_TASK_ALWAYS_EAGER=True,
56
+ CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
57
+ )
58
+ class PackageArchitectureMethodTests(TestCase):
59
+ """Tests for PackageArchitecture model methods."""
60
+
61
+ def test_package_arch_creation(self):
62
+ """Test creating a PackageArchitecture."""
63
+ arch = PackageArchitecture.objects.create(name='amd64')
64
+ self.assertEqual(arch.name, 'amd64')
65
+
66
+ def test_package_arch_str(self):
67
+ """Test PackageArchitecture __str__ method."""
68
+ arch = PackageArchitecture.objects.create(name='amd64')
69
+ self.assertEqual(str(arch), 'amd64')
70
+
71
+ def test_package_arch_unique_name(self):
72
+ """Test PackageArchitecture name is unique."""
73
+ PackageArchitecture.objects.create(name='amd64')
74
+ from django.db import IntegrityError
75
+ with self.assertRaises(IntegrityError):
76
+ PackageArchitecture.objects.create(name='amd64')
77
+
78
+ def test_common_package_architectures(self):
79
+ """Test common package architecture values."""
80
+ archs = ['amd64', 'i386', 'all', 'noarch', 'x86_64', 'arm64']
81
+ for name in archs:
82
+ arch = PackageArchitecture.objects.create(name=name)
83
+ self.assertEqual(str(arch), name)
patchman/arch/utils.py ADDED
@@ -0,0 +1,52 @@
1
+ # Copyright 2025 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from patchman.arch.models import MachineArchitecture, PackageArchitecture
18
+ from patchman.util.logging import info_message
19
+
20
+
21
+ def clean_package_architectures():
22
+ """ Remove package architectures that are no longer in use
23
+ """
24
+ parches = PackageArchitecture.objects.filter(package__isnull=True)
25
+ plen = parches.count()
26
+ if plen == 0:
27
+ info_message(text='No orphaned PackageArchitectures found.')
28
+ else:
29
+ info_message(text=f'Removing {plen} orphaned PackageArchitectures')
30
+ parches.delete()
31
+
32
+
33
+ def clean_machine_architectures():
34
+ """ Remove machine architectures that are no longer in use
35
+ """
36
+ marches = MachineArchitecture.objects.filter(
37
+ host__isnull=True,
38
+ repository__isnull=True,
39
+ )
40
+ mlen = marches.count()
41
+ if mlen == 0:
42
+ info_message(text='No orphaned MachineArchitectures found.')
43
+ else:
44
+ info_message(text=f'Removing {mlen} orphaned MachineArchitectures')
45
+ marches.delete()
46
+
47
+
48
+ def clean_architectures():
49
+ """ Remove architectures that are no longer in use
50
+ """
51
+ clean_package_architectures()
52
+ clean_machine_architectures()
patchman/arch/views.py ADDED
@@ -0,0 +1,40 @@
1
+ # Copyright 2016-2021 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from rest_framework import viewsets
18
+
19
+ from patchman.arch.models import MachineArchitecture, PackageArchitecture
20
+ from patchman.arch.serializers import (
21
+ MachineArchitectureSerializer, PackageArchitectureSerializer,
22
+ )
23
+
24
+
25
+ class PackageArchitectureViewSet(viewsets.ModelViewSet):
26
+ """
27
+ API endpoint that allows package architectures to be viewed or edited.
28
+ """
29
+ queryset = PackageArchitecture.objects.all()
30
+ serializer_class = PackageArchitectureSerializer
31
+ filterset_fields = ['name']
32
+
33
+
34
+ class MachineArchitectureViewSet(viewsets.ModelViewSet):
35
+ """
36
+ API endpoint that allows machine architectures to be viewed or edited.
37
+ """
38
+ queryset = MachineArchitecture.objects.all()
39
+ serializer_class = MachineArchitectureSerializer
40
+ filterset_fields = ['name']
@@ -0,0 +1,53 @@
1
+ # Copyright 2025 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from django.contrib import admin
18
+
19
+ from patchman.compliance.models import (
20
+ ComplianceProfile, ComplianceResult, ComplianceRule, ComplianceScan,
21
+ )
22
+
23
+
24
+ @admin.register(ComplianceProfile)
25
+ class ComplianceProfileAdmin(admin.ModelAdmin):
26
+ list_display = ('profile_id', 'title')
27
+ search_fields = ('profile_id', 'title', 'description')
28
+
29
+
30
+ @admin.register(ComplianceRule)
31
+ class ComplianceRuleAdmin(admin.ModelAdmin):
32
+ list_display = ('rule_id', 'title', 'severity')
33
+ list_filter = ('severity',)
34
+ search_fields = ('rule_id', 'title', 'description')
35
+
36
+
37
+ @admin.register(ComplianceScan)
38
+ class ComplianceScanAdmin(admin.ModelAdmin):
39
+ list_display = (
40
+ 'host', 'profile', 'score', 'pass_count',
41
+ 'fail_count', 'error_count', 'scanned_at',
42
+ )
43
+ list_filter = ('profile', 'scanned_at')
44
+ search_fields = ('host__hostname', 'profile__profile_id')
45
+ raw_id_fields = ('host', 'profile')
46
+
47
+
48
+ @admin.register(ComplianceResult)
49
+ class ComplianceResultAdmin(admin.ModelAdmin):
50
+ list_display = ('scan', 'rule', 'result')
51
+ list_filter = ('result',)
52
+ search_fields = ('rule__rule_id', 'scan__host__hostname')
53
+ raw_id_fields = ('scan', 'rule')
@@ -0,0 +1,22 @@
1
+ # Copyright 2025 Marcus Furlong <furlongm@gmail.com>
2
+ #
3
+ # This file is part of Patchman.
4
+ #
5
+ # Patchman is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 only.
8
+ #
9
+ # Patchman is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with Patchman. If not, see <http://www.gnu.org/licenses/>
16
+
17
+ from django.apps import AppConfig
18
+
19
+
20
+ class ComplianceConfig(AppConfig):
21
+ name = 'patchman.compliance'
22
+ label = 'compliance'
@@ -0,0 +1,82 @@
1
+ # Generated by Django 4.2.28 on 2026-05-12 21:30
2
+
3
+ from django.db import migrations, models
4
+ import django.db.models.deletion
5
+
6
+
7
+ class Migration(migrations.Migration):
8
+
9
+ initial = True
10
+
11
+ dependencies = [
12
+ ('hosts', '0013_alter_hostrepo_unique_together_and_more'),
13
+ ]
14
+
15
+ operations = [
16
+ migrations.CreateModel(
17
+ name='ComplianceProfile',
18
+ fields=[
19
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20
+ ('profile_id', models.CharField(max_length=255, unique=True)),
21
+ ('title', models.CharField(blank=True, default='', max_length=512)),
22
+ ('description', models.TextField(blank=True, default='')),
23
+ ],
24
+ options={
25
+ 'ordering': ['profile_id'],
26
+ },
27
+ ),
28
+ migrations.CreateModel(
29
+ name='ComplianceRule',
30
+ fields=[
31
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
32
+ ('rule_id', models.CharField(max_length=255, unique=True)),
33
+ ('title', models.CharField(blank=True, default='', max_length=512)),
34
+ ('severity', models.CharField(blank=True, default='', max_length=32)),
35
+ ('description', models.TextField(blank=True, default='')),
36
+ ],
37
+ options={
38
+ 'ordering': ['rule_id'],
39
+ },
40
+ ),
41
+ migrations.CreateModel(
42
+ name='ComplianceScan',
43
+ fields=[
44
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
45
+ ('datastream', models.CharField(blank=True, default='', max_length=255)),
46
+ ('score', models.FloatField(default=0.0)),
47
+ ('score_maximum', models.FloatField(default=100.0)),
48
+ ('pass_count', models.IntegerField(default=0)),
49
+ ('fail_count', models.IntegerField(default=0)),
50
+ ('error_count', models.IntegerField(default=0)),
51
+ ('notapplicable_count', models.IntegerField(default=0)),
52
+ ('scanned_at', models.DateTimeField()),
53
+ ('created', models.DateTimeField(auto_now_add=True)),
54
+ ('host', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='compliance_scans', to='hosts.host')),
55
+ ('profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='scans', to='compliance.complianceprofile')),
56
+ ],
57
+ options={
58
+ 'ordering': ['-scanned_at'],
59
+ },
60
+ ),
61
+ migrations.CreateModel(
62
+ name='ComplianceResult',
63
+ fields=[
64
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
65
+ ('result', models.CharField(choices=[('pass', 'Pass'), ('fail', 'Fail'), ('error', 'Error'), ('notapplicable', 'Not Applicable'), ('notchecked', 'Not Checked'), ('notselected', 'Not Selected'), ('informational', 'Informational'), ('fixed', 'Fixed')], max_length=32)),
66
+ ('rule', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='results', to='compliance.compliancerule')),
67
+ ('scan', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='results', to='compliance.compliancescan')),
68
+ ],
69
+ ),
70
+ migrations.AddConstraint(
71
+ model_name='compliancescan',
72
+ constraint=models.UniqueConstraint(fields=('host', 'profile', 'scanned_at'), name='unique_compliance_scan'),
73
+ ),
74
+ migrations.AddIndex(
75
+ model_name='complianceresult',
76
+ index=models.Index(fields=['rule', 'result'], name='compliance__rule_id_3f1e07_idx'),
77
+ ),
78
+ migrations.AddConstraint(
79
+ model_name='complianceresult',
80
+ constraint=models.UniqueConstraint(fields=('scan', 'rule'), name='unique_compliance_result'),
81
+ ),
82
+ ]