PATH:
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
imav
/
migrations
/
__pycache__
� E�i� � �. � d Z ddlZddlmZ dd�Zdd�ZdS )u This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. Copyright © 2019 Cloud Linux Software Inc. This software is also available under ImunifyAV commercial license, see <https://www.imunify360.com/legal/eula> � N)� FilenameFieldFc � �� | j d � G �fd�dt j � � }| � |� � d S )N� malware_scansc � �� e Zd ZdZ G d� d� � Z ej � � Z ej � ddd�� � Z ej d�� � Z ej d�� � Z e d�� � Z ej d�� � Z ej d �� � Z ej d �� � Z ej d �� � Z ej d �� � Z ej d �� � ZdS ) �!migrate.<locals>.VulnerabilityHitzRepresents a vulnerable file.c � � e Zd ZdZdS )�&migrate.<locals>.VulnerabilityHit.Meta�vulnerability_hitsN)�__name__� __module__�__qualname__�db_table� � �d/opt/imunify360/venv/lib/python3.11/site-packages/imav/migrations/016_add_vulnerability_hit_table.py�Metar ! s � � � � � �+�H�H�Hr r F�vulnerabilities�CASCADE)�null�related_name� on_delete)r T� vulnerable)�defaultN)r r r �__doc__r �pw�PrimaryKeyField�id�ForeignKeyField�scanid� CharField�owner�userr � orig_file�type�hash�size� FloatField� timestamp�status� patched_at)�MalwareScans �r �VulnerabilityHitr s* �� � � � � �+�+� ,� ,� ,� ,� ,� ,� ,� ,� �R� � !� !��#��#���*�� � � �� ���%�(�(�(���r�|��'�'�'��!�M�u�-�-�-� ��r�|��'�'�'���r�|��&�&�&���r�|��&�&�&��!�B�M�t�,�,�,� � ���l�3�3�3��"�R�]��-�-�-� � � r r, )�ormr �Model�create_model)�migrator�database�fake�kwargsr, r+ s @r �migrater4 sc �� ��,��/�K�!.� !.� !.� !.� !.� !.� !.�2�8� !.� !.� !.�F ���*�+�+�+�+�+r c �J � | j d }| � |� � d S )Nr )r- �remove_model)r0 r1 r2 r3 r, s r �rollbackr7 D s+ � ��|�$8�9�����*�+�+�+�+�+r )F)r �peeweer �$defence360agent.model.simplificationr r4 r7 r r r �<module>r: sb ��� �* � � � � >� >� >� >� >� >�&,� &,� &,� &,�R,� ,� ,� ,� ,� ,r
[+]
..
[-] 011_add_malwarehistory_index.cpython-311.opt-1.pyc
[edit]
[-] 002_convert_serialized_scans.cpython-311.pyc
[edit]
[-] 005_plesk_cleanup_storage.cpython-311.opt-1.pyc
[edit]
[-] 001_fix_scan_unserialization.cpython-311.pyc
[edit]
[-] 004_add_malwarehit_owner.cpython-311.opt-1.pyc
[edit]
[-] 008_subscription_permissions.cpython-311.pyc
[edit]
[-] __init__.cpython-311.pyc
[edit]
[-] 021_remove_cron_scan_file.cpython-311.opt-1.pyc
[edit]
[-] 008_populate_malwarehistory_foleuser.cpython-311.opt-1.pyc
[edit]
[-] 000_noop_migration.cpython-311.pyc
[edit]
[-] 000_noop_migration.cpython-311.opt-1.pyc
[edit]
[-] 015_manually_deleted_at_field_added.cpython-311.opt-1.pyc
[edit]
[-] 004_patchman_client.cpython-311.opt-1.pyc
[edit]
[-] 004_add_malwarehit_owner.cpython-311.pyc
[edit]
[-] 003_whmapi1_set_importance_imav.cpython-311.opt-1.pyc
[edit]
[-] 001_fix_scan_unserialization.cpython-311.opt-1.pyc
[edit]
[-] 005_populate_malwarehit_owner.cpython-311.opt-1.pyc
[edit]
[-] 004_plesk_configs.cpython-311.opt-1.pyc
[edit]
[-] 017_add_version_field.cpython-311.pyc
[edit]
[-] 020_add_default_plesk_settings_av.cpython-311.pyc
[edit]
[-] 014_add_imunify_security.cpython-311.opt-1.pyc
[edit]
[-] 004_plesk_configs.cpython-311.pyc
[edit]
[-] 007_add_malwarehistory_fileuser.cpython-311.pyc
[edit]
[-] 004_plesk_eula.cpython-311.pyc
[edit]
[-] 010_add_malwarehistory_scan_id.cpython-311.opt-1.pyc
[edit]
[-] 012_add_rescan_outdated_scan_type.cpython-311.pyc
[edit]
[-] 021_remove_cron_scan_file.cpython-311.pyc
[edit]
[-] 006_add_malwarehit_snippet.cpython-311.pyc
[edit]
[-] 003_add_new_fields_to_malware_history.cpython-311.opt-1.pyc
[edit]
[-] 019_add_malware_history_signature_id_field.cpython-311.opt-1.pyc
[edit]
[-] 016_add_vulnerability_hit_table.cpython-311.opt-1.pyc
[edit]
[-] 002_convert_serialized_scans.cpython-311.opt-1.pyc
[edit]
[-] 007_add_malwarehistory_fileuser.cpython-311.opt-1.pyc
[edit]
[-] 016_add_vulnerability_hit_table.cpython-311.pyc
[edit]
[-] 019_add_malware_history_signature_id_field.cpython-311.pyc
[edit]
[-] 014_add_imunify_security.cpython-311.pyc
[edit]
[-] 018_delete_suspicious_hits.cpython-311.pyc
[edit]
[-] 011_add_malwarehistory_index.cpython-311.pyc
[edit]
[-] 003_add_new_fields_to_malware_history.cpython-311.pyc
[edit]
[-] 004_plesk_eula.cpython-311.opt-1.pyc
[edit]
[-] 015_manually_deleted_at_field_added.cpython-311.pyc
[edit]
[-] __init__.cpython-311.opt-1.pyc
[edit]
[-] 020_add_default_plesk_settings_av.cpython-311.opt-1.pyc
[edit]
[-] 018_delete_suspicious_hits.cpython-311.opt-1.pyc
[edit]
[-] 007_revisium_ignore_list.cpython-311.pyc
[edit]
[-] 006_add_malwarehit_snippet.cpython-311.opt-1.pyc
[edit]
[-] 012_add_rescan_outdated_scan_type.cpython-311.opt-1.pyc
[edit]
[-] 009_revisium_scan_history.cpython-311.opt-1.pyc
[edit]
[-] 005_plesk_cleanup_storage.cpython-311.pyc
[edit]
[-] 017_add_version_field.cpython-311.opt-1.pyc
[edit]
[-] 009_revisium_scan_history.cpython-311.pyc
[edit]
[-] 008_subscription_permissions.cpython-311.opt-1.pyc
[edit]
[-] 003_whmapi1_set_importance_imav.cpython-311.pyc
[edit]
[-] 013_add_malware_ctime.cpython-311.pyc
[edit]
[-] 013_add_malware_ctime.cpython-311.opt-1.pyc
[edit]
[-] 005_populate_malwarehit_owner.cpython-311.pyc
[edit]
[-] 017_add_imunify_patch_subscriptions_table.cpython-311.opt-1.pyc
[edit]
[-] 004_patchman_client.cpython-311.pyc
[edit]
[-] 008_populate_malwarehistory_foleuser.cpython-311.pyc
[edit]
[-] 010_add_malwarehistory_scan_id.cpython-311.pyc
[edit]
[-] 007_revisium_ignore_list.cpython-311.opt-1.pyc
[edit]
[-] 017_add_imunify_patch_subscriptions_table.cpython-311.pyc
[edit]