id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32,300 | start_all.py | infobyte_faraday/faraday/start_all.py | import os
import sys
import sh
def start_systemctl_all():
# TODO: Check if units are installed
if os.name == 'posix':
if sys.platform != 'darwin':
from sh import systemctl # pylint: disable=import-outside-toplevel
try:
systemctl.start('faraday-server')
... | 884 | Python | .py | 23 | 28 | 79 | 0.582944 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,301 | __init__.py | infobyte_faraday/faraday/__init__.py | """
Faraday Penetration Test IDE
Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/)
See the file 'doc/LICENSE' for the license information
"""
__version__ = '5.8.0'
__license_version__ = __version__
| 208 | Python | .py | 7 | 28.571429 | 58 | 0.715 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,302 | start_server.py | infobyte_faraday/faraday/start_server.py | # Faraday Penetration Test IDE
# Copyright (C) 2016 Infobyte LLC (http://www.infobytesec.com/)
# See the file 'doc/LICENSE' for the license information
from gevent import monkey
monkey.patch_all()
from psycogreen.gevent import patch_psycopg
patch_psycopg()
import os
import sys
import socket
import argparse
import lo... | 8,170 | Python | .py | 171 | 37.953216 | 118 | 0.644481 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,303 | manage.py | infobyte_faraday/faraday/manage.py | #!/usr/bin/env python
"""
Faraday Penetration Test IDE
Copyright (C) 2013 Infobyte LLC (http://www.infobytesec.com/)
See the file 'doc/LICENSE' for the license information
"""
import os
import re
import sys
import platform
import logging
import click
import requests
import alembic.command
from flask_security.utils i... | 14,872 | Python | .py | 314 | 40.700637 | 121 | 0.690074 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,304 | script.py.mako | infobyte_faraday/faraday/migrations/script.py.mako | """${message}
Revision ID: ${up_revision}
Revises: ${down_revision | comma,n}
Create Date: ${create_date}
"""
from alembic import op
import sqlalchemy as sa
${imports if imports else ""}
# revision identifiers, used by Alembic.
revision = ${repr(up_revision)}
down_revision = ${repr(down_revision)}
branch_labels = ${... | 494 | Python | .py | 17 | 27.176471 | 43 | 0.725532 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,305 | env.py | infobyte_faraday/faraday/migrations/env.py | import logging
from logging.config import fileConfig
from alembic import context
from faraday.server.app import get_app
import faraday.server.config
from faraday.server.models import db
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config
# I... | 2,555 | Python | .py | 68 | 32.294118 | 100 | 0.716606 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,306 | fa73865dc11c_add_cvss3_scope_field.py | infobyte_faraday/faraday/migrations/versions/fa73865dc11c_add_cvss3_scope_field.py | """add cvss3 scope field
Revision ID: fa73865dc11c
Revises: 1145efa88414
Create Date: 2023-05-29 14:30:03.033253+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'fa73865dc11c'
down_revision = '1145efa88414'
branch_labels = None
depends_on = None
def upg... | 687 | Python | .py | 20 | 31.75 | 86 | 0.719272 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,307 | 1d328f7bf643_planner_model.py | infobyte_faraday/faraday/migrations/versions/1d328f7bf643_planner_model.py | """Planner model
Revision ID: 1d328f7bf643
Revises: 06c48492f587
Create Date: 2022-01-27 11:52:57.282622+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '1d328f7bf643'
down_revision = '06c48492f587'
branch_labels = None
depends_on = None
def upgrade():
... | 4,346 | Python | .py | 85 | 46.694118 | 123 | 0.668704 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,308 | 384784872dc1_add_weight_column_in_role.py | infobyte_faraday/faraday/migrations/versions/384784872dc1_add_weight_column_in_role.py | """Add weight column in role
Revision ID: 384784872dc1
Revises: 905261860ad0
Create Date: 2022-06-08 19:16:46.442418+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '384784872dc1'
down_revision = '905261860ad0'
branch_labels = None
depends_on = None
def ... | 1,038 | Python | .py | 25 | 38.48 | 83 | 0.720676 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,309 | 84f266a05be3_add_tool_column_to_vuln.py | infobyte_faraday/faraday/migrations/versions/84f266a05be3_add_tool_column_to_vuln.py | """add tool column to vuln
Revision ID: 84f266a05be3
Revises: 2a0de6132377
Create Date: 2019-11-28 15:19:31.097481+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '84f266a05be3'
down_revision = 'a39a3a6e3f99'
branch_labels = None
depends_on = None
def up... | 928 | Python | .py | 28 | 29.25 | 177 | 0.707727 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,310 | 97a9348d0406_add_fields_to_report.py | infobyte_faraday/faraday/migrations/versions/97a9348d0406_add_fields_to_report.py | """add fields to report
Revision ID: 97a9348d0406
Revises: f0439bf6688a
Create Date: 2021-06-03 18:36:28.695990+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.sql import expression
# revision identifiers, used by Alembic.
revision = '97a9348d0406'
down_revision = 'f0439bf6688a'
branch_labe... | 1,001 | Python | .py | 24 | 37.041667 | 113 | 0.696594 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,311 | 47e0c8f9856d_add_cvss4_columns.py | infobyte_faraday/faraday/migrations/versions/47e0c8f9856d_add_cvss4_columns.py | """add cvss4 columns
Revision ID: 47e0c8f9856d
Revises: 907c72c8d391
Create Date: 2024-08-17 21:43:12.666824+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '47e0c8f9856d'
down_revision = '907c72c8d391'
branch_labels = None
depends_on = None
def upgrade... | 6,864 | Python | .py | 88 | 73.545455 | 130 | 0.746454 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,312 | f0a507afabd4_adding_fs_uniquifier_to_user_model.py | infobyte_faraday/faraday/migrations/versions/f0a507afabd4_adding_fs_uniquifier_to_user_model.py | """adding fs uniquifier to user model
Revision ID: f0a507afabd4
Revises: a4def820a5bb
Create Date: 2021-02-24 22:08:24.237037+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f0a507afabd4'
down_revision = 'a4def820a5bb'
branch_labels = None
depends_on = N... | 1,139 | Python | .py | 29 | 34.689655 | 116 | 0.697273 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,313 | 0d216660da28_add_notification_table.py | infobyte_faraday/faraday/migrations/versions/0d216660da28_add_notification_table.py | """add notification table
Revision ID: 0d216660da28
Revises: 1b2533cc16fe
Create Date: 2019-04-26 20:17:48.639684+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '0d216660da28'
down_revision = '1b2533cc16fe'
branch_labels = None
depends_on = None
OBJECT_T... | 1,922 | Python | .py | 59 | 25.915254 | 84 | 0.62871 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,314 | 20f3d0c2f71f_alter_table_executive_report_add_.py | infobyte_faraday/faraday/migrations/versions/20f3d0c2f71f_alter_table_executive_report_add_.py | """Alter table executive_report add advanced_filter_parsed field
Revision ID: 20f3d0c2f71f
Revises: 08d02214aedc
Create Date: 2020-10-04 15:42:43.511069+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '20f3d0c2f71f'
down_revision = '08d02214aedc'
branch_la... | 722 | Python | .py | 23 | 23.565217 | 64 | 0.624277 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,315 | 1e95dde5b9c8_cascade_on_kb.py | infobyte_faraday/faraday/migrations/versions/1e95dde5b9c8_cascade_on_kb.py | """cascade on KB
Revision ID: 1e95dde5b9c8
Revises: f20aa8756612
Create Date: 2023-02-01 21:46:36.071681+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '1e95dde5b9c8'
down_revision = 'f20aa8756612'
branch_labels = None
depends_on = None
def upgrade():
op.execute('ALTER TA... | 1,897 | Python | .py | 21 | 87.333333 | 248 | 0.834941 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,316 | 9c678c44aa61_add_enabled_field_to_rule.py | infobyte_faraday/faraday/migrations/versions/9c678c44aa61_add_enabled_field_to_rule.py | """add enabled field to rule
Revision ID: 9c678c44aa61
Revises: 282ac9b6569f
Create Date: 2020-04-08 18:11:04.761114+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '9c678c44aa61'
down_revision = 'b1d15a55556d'
branch_labels = None
depends_on = None
def... | 502 | Python | .py | 16 | 29.375 | 112 | 0.763598 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,317 | 526aa91cac98_vulnerability_merge_model.py | infobyte_faraday/faraday/migrations/versions/526aa91cac98_vulnerability_merge_model.py | """Vulnerability merge model
Revision ID: 526aa91cac98
Revises: 2db31733fb78
Create Date: 2019-07-01 19:19:10.166057+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '526aa91cac98'
down_revision = '085188e0a016'
branch_labels = None
depends_on = None
def ... | 3,706 | Python | .py | 92 | 29.097826 | 115 | 0.587761 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,318 | 1574fbcf72f5_disable_several_notifications_and_add_event_enabled_flag.py | infobyte_faraday/faraday/migrations/versions/1574fbcf72f5_disable_several_notifications_and_add_event_enabled_flag.py | """disable several notifications and add event enabled flag
Revision ID: 1574fbcf72f5
Revises: 89115e133f0a
Create Date: 2021-09-21 13:46:08.382496+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
from faraday.server.models import NotificationSubscription, EventType,... | 1,677 | Python | .py | 37 | 41 | 119 | 0.769231 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,319 | f0a32e2753f6_new_one_to_one_reference_table.py | infobyte_faraday/faraday/migrations/versions/f0a32e2753f6_new_one_to_one_reference_table.py | """new one to one reference table
Revision ID: f0a32e2753f6
Revises: 182832ed9733
Create Date: 2023-09-01 16:11:53.865663+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f0a32e2753f6'
down_revision = '182832ed9733'
branch_labels = None
depends_on = None
... | 2,035 | Python | .py | 43 | 40.627907 | 120 | 0.656077 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,320 | 85aeb4185f98_refactor_cvss.py | infobyte_faraday/faraday/migrations/versions/85aeb4185f98_refactor_cvss.py | """remove old cvss model and add a new one
Revision ID: 0ed0dab44def
Revises: 4d7a8fdd94e4
Create Date: 2022-07-22 15:51:22.639999+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '85aeb4185f98'
down_revision = '0e... | 13,765 | Python | .py | 180 | 71.755556 | 138 | 0.726208 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,321 | e9a3ba96ea46_cloud_agent_scheduler_and_scheduler_.py | infobyte_faraday/faraday/migrations/versions/e9a3ba96ea46_cloud_agent_scheduler_and_scheduler_.py | """cloud_agent_scheduler_and_scheduler_token
Revision ID: e9a3ba96ea46
Revises: 47e0c8f9856d
Create Date: 2024-09-17 18:54:47.529304+00:00
"""
from alembic import op
import sqlalchemy as sa
from faraday.server.models import UserToken
# revision identifiers, used by Alembic.
revision = 'e9a3ba96ea46'
down_revision = ... | 2,802 | Python | .py | 54 | 46.185185 | 151 | 0.68654 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,322 | b5065f401599_report_template_object_type.py | infobyte_faraday/faraday/migrations/versions/b5065f401599_report_template_object_type.py | """report_template object type
Revision ID: b5065f401599
Revises: 1e95dde5b9c8
Create Date: 2023-03-23 12:47:14.125405+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = 'b5065f401599'
down_revision = '1e95dde5b9c8'
branch_labels = None
depends_on = None
def upgrade():
with o... | 536 | Python | .py | 16 | 31 | 87 | 0.761719 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,323 | 443a136bb5f2_severities_histogram_constraint.py | infobyte_faraday/faraday/migrations/versions/443a136bb5f2_severities_histogram_constraint.py | """severities histogram constraint
Revision ID: 443a136bb5f2
Revises: 33094e577642
Create Date: 2023-12-01 17:39:24.284436+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '443a136bb5f2'
down_revision = '33094e577642'
branch_labels = None
depends_on = None
def upgrade():
# #... | 1,680 | Python | .py | 39 | 34.487179 | 114 | 0.595471 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,324 | 5d7a930c439e_cve_many_to_many.py | infobyte_faraday/faraday/migrations/versions/5d7a930c439e_cve_many_to_many.py | """cve_many_to_many
Revision ID: 5d7a930c439e
Revises: 18891ca61db6
Create Date: 2021-06-02 19:27:34.373988+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5d7a930c439e'
down_revision = '247a90b029f2'
branch_labels = None
depends_on = None
def upgrade()... | 1,119 | Python | .py | 33 | 30.393939 | 73 | 0.684893 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,325 | 38bb251889e6_bulks.py | infobyte_faraday/faraday/migrations/versions/38bb251889e6_bulks.py | """empty message
Revision ID: 38bb251889e6
Revises: 15d70093d262
Create Date: 2021-07-30 02:12:00.706416+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '38bb251889e6'
down_revision = '15d70093d262'
branch_labels = None
depends_on = None
def upgrade():
# Agent table
op... | 7,804 | Python | .py | 206 | 30.834951 | 88 | 0.633038 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,326 | aa56852fa76d_update_rule_fields.py | infobyte_faraday/faraday/migrations/versions/aa56852fa76d_update_rule_fields.py | """update rule fields
Revision ID: aa56852fa76d
Revises: f0a507afabd4
Create Date: 2021-04-12 19:53:48.615218+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.sql import text
# revision identifiers, used by Alembic.
revision = 'aa56852fa76d'
down_revision = 'f0a507afabd4'
branch_labels = None... | 3,297 | Python | .py | 75 | 37.12 | 126 | 0.640586 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,327 | 5cf9660bba80_policyviolationvulnerabilityassociation_.py | infobyte_faraday/faraday/migrations/versions/5cf9660bba80_policyviolationvulnerabilityassociation_.py | """PolicyViolationVulnerabilityAssociation FK ondelete action
Revision ID: 5cf9660bba80
Revises: 7dea3a6caf51
Create Date: 2021-12-01 16:09:40.318964+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5cf9660bba80'
down_revision = '7dea3a6caf51'
branch_labe... | 1,910 | Python | .py | 38 | 43.052632 | 155 | 0.685086 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,328 | 6471033046cb_added_delete_on_cascade_to_schedule.py | infobyte_faraday/faraday/migrations/versions/6471033046cb_added_delete_on_cascade_to_schedule.py | """Added delete on cascade to schedule
Revision ID: 6471033046cb
Revises: d3afdb4e0b11
Create Date: 2021-02-09 13:19:45.393841+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '6471033046cb'
down_revision = 'd3afdb4e0b11'
branch_labels = None
depends_on = None
def upgrade():
... | 1,213 | Python | .py | 39 | 25.692308 | 75 | 0.648021 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,329 | b87b1de2f348_add_delete_workspace_missing_cascades.py | infobyte_faraday/faraday/migrations/versions/b87b1de2f348_add_delete_workspace_missing_cascades.py | """add delete workspace missing cascades
Revision ID: b87b1de2f348
Revises: d0a6105fdef1
Create Date: 2023-10-18 19:30:09.640602+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = 'b87b1de2f348'
down_revision = 'd0a6105fdef1'
branch_labels = None
depends_on = None
def upgrade():
... | 8,514 | Python | .py | 75 | 109.106667 | 206 | 0.803489 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,330 | 2a0de6132377_add_searchfilter_table.py | infobyte_faraday/faraday/migrations/versions/2a0de6132377_add_searchfilter_table.py | """add searchfilter table
Revision ID: 2a0de6132377
Revises: 1dbe9e8e4247
Create Date: 2019-10-16 19:58:25.709347+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '2a0de6132377'
down_revision = '3f771124f0a2'
branch_labels = None
depends_on = None
def up... | 1,163 | Python | .py | 29 | 36.758621 | 90 | 0.706927 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,331 | 877dd088c8cb_comment_ws_not_mandatory.py | infobyte_faraday/faraday/migrations/versions/877dd088c8cb_comment_ws_not_mandatory.py | """comment ws not mandatory
Revision ID: 877dd088c8cb
Revises: 1d328f7bf643
Create Date: 2022-03-22 16:23:59.091968+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '877dd088c8cb'
down_revision = '1d328f7bf643'
branch_labels = None
depends_on = None
def upgrade():
if not op... | 743 | Python | .py | 20 | 33.95 | 80 | 0.742657 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,332 | 1145efa88414_add_warnings_to_command_model.py | infobyte_faraday/faraday/migrations/versions/1145efa88414_add_warnings_to_command_model.py | """Add warnings to command model
Revision ID: 1145efa88414
Revises: b5065f401599
Create Date: 2023-03-30 19:49:28.651868+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '1145efa88414'
down_revision = 'b5065f401599'
branch_labels = None
depends_on = None
... | 689 | Python | .py | 20 | 31.85 | 89 | 0.720121 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,333 | 282ac9b6569f_add_agent_as_import_source_to_command.py | infobyte_faraday/faraday/migrations/versions/282ac9b6569f_add_agent_as_import_source_to_command.py | """empty message
Revision ID: 282ac9b6569f
Revises: 84f266a05be3
Create Date: 2020-03-27 05:37:11.000671+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '282ac9b6569f'
down_revision = '84f266a05be3'
branch_labels = None
depends_on = None
IMPORT_SOURCE = [... | 2,152 | Python | .py | 48 | 39.8125 | 88 | 0.700908 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,334 | cb25cf42bda7_remove_knowledge_base_aka_pasta_base.py | infobyte_faraday/faraday/migrations/versions/cb25cf42bda7_remove_knowledge_base_aka_pasta_base.py | """Remove knowledge base aka pasta base
Revision ID: cb25cf42bda7
Revises: abb7ed8c56b4
Create Date: 2021-11-18 17:58:12.182704+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'cb25cf42bda7'
down_revision = 'abb7ed8c56b4'
branch_labels = None
depends_on =... | 1,839 | Python | .py | 34 | 50.5 | 144 | 0.733445 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,335 | 73854f804a8d_cascade_kb_2.py | infobyte_faraday/faraday/migrations/versions/73854f804a8d_cascade_kb_2.py | """cascade KB 2
Revision ID: 73854f804a8d
Revises: 61ded0c8fbf6
Create Date: 2023-08-31 17:16:51.813227+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '73854f804a8d'
down_revision = '61ded0c8fbf6'
branch_labels = None
depends_on = None
def upgrade():
op.execute('ALTER TAB... | 1,896 | Python | .py | 21 | 87.285714 | 248 | 0.834853 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,336 | 4423dd3f90be_clear_preferences.py | infobyte_faraday/faraday/migrations/versions/4423dd3f90be_clear_preferences.py | """clear preferences
Revision ID: 4423dd3f90be
Revises: e9a3ba96ea46
Create Date: 2024-10-17 14:18:03.830337+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '4423dd3f90be'
down_revision = 'e9a3ba96ea46'
branch_labels = None
depends_on = None
def upgrade():
op.execute("UPDA... | 390 | Python | .py | 15 | 23.933333 | 61 | 0.776567 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,337 | a9fcf8444c79_add_notification_event_and_subscription_.py | infobyte_faraday/faraday/migrations/versions/a9fcf8444c79_add_notification_event_and_subscription_.py | """add_notification_event_and_subscription_model
Revision ID: a9fcf8444c79
Revises: a4def820a5bb
Create Date: 2021-05-28 15:47:13.781453+00:00
"""
from alembic import op
import sqlalchemy as sa
from faraday.server.fields import JSONType
# Added manually for inserts
from sqlalchemy import orm
from faraday.server.mode... | 15,209 | Python | .py | 248 | 55.487903 | 173 | 0.691407 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,338 | 1dbe9e8e4247_add_rule_execution_start_and_end_fields.py | infobyte_faraday/faraday/migrations/versions/1dbe9e8e4247_add_rule_execution_start_and_end_fields.py | """Add missing start and end columns to rule_execution
Revision ID: 1dbe9e8e4247
Revises: 526aa91cac98
Create Date: 2019-10-03 15:58:56.814375+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '1dbe9e8e4247'
down_revision = 'f8a44acd0e41'
branch_labels = Non... | 838 | Python | .py | 28 | 21.107143 | 54 | 0.570361 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,339 | 0409e696eeec_workspace_important_flag_and_risk_.py | infobyte_faraday/faraday/migrations/versions/0409e696eeec_workspace_important_flag_and_risk_.py | """workspace important flag and risk constraint
Revision ID: 0409e696eeec
Revises: f6edb9a16479
Create Date: 2022-09-01 17:05:05.344298+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '0409e696eeec'
down_revision = 'f6edb9a16479'
branch_labels = None
depends_on = None
def upgra... | 650 | Python | .py | 19 | 31.578947 | 94 | 0.730769 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,340 | 97e308761de2_add_risk_history.py | infobyte_faraday/faraday/migrations/versions/97e308761de2_add_risk_history.py | """add risk history
Revision ID: 97e308761de2
Revises: 44e7fc2b6223
Create Date: 2023-10-23 18:56:22.503518+00:00
"""
from alembic import op
import sqlalchemy as sa
from datetime import date, timedelta
import json
# revision identifiers, used by Alembic.
revision = '97e308761de2'
down_revision = '44e7fc2b6223'
branc... | 1,444 | Python | .py | 33 | 31.363636 | 86 | 0.558971 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,341 | f82a9136c408_remove_ws_from_agents_and_make_schedule_.py | infobyte_faraday/faraday/migrations/versions/f82a9136c408_remove_ws_from_agents_and_make_schedule_.py | """remove ws from agents and make schedule multiworkspaces
Revision ID: f82a9136c408
Revises: 384784872dc1
Create Date: 2022-06-15 13:14:49.442283+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f82a9136c408'
down_revision = '384784872dc1'
branch_labels ... | 2,380 | Python | .py | 42 | 52.809524 | 137 | 0.723605 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,342 | 581121b181d8_add_owasp_model.py | infobyte_faraday/faraday/migrations/versions/581121b181d8_add_owasp_model.py | """add owasp model
Revision ID: 581121b181d8
Revises: 47e53ddc0308
Create Date: 2022-08-04 17:40:48.253598+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '581121b181d8'
down_revision = '47e53ddc0308'
branch_labels = None
depends_on = None
def upgrade():... | 1,593 | Python | .py | 38 | 38.210526 | 91 | 0.695736 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,343 | 077b7c925ded_add_last_run_to_executors.py | infobyte_faraday/faraday/migrations/versions/077b7c925ded_add_last_run_to_executors.py | """add last_run to executors
Revision ID: 077b7c925ded
Revises: 6471033046cb
Create Date: 2021-02-26 15:17:31.824177+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '077b7c925ded'
down_revision = '6471033046cb'
branch_labels = None
depends_on = None
def... | 477 | Python | .py | 16 | 27.8125 | 82 | 0.761589 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,344 | d3afdb4e0b11_add_enum_to_comment_model.py | infobyte_faraday/faraday/migrations/versions/d3afdb4e0b11_add_enum_to_comment_model.py | """add enum to comment model
Revision ID: d3afdb4e0b11
Revises: 5658775e113f
Create Date: 2021-02-01 14:43:49.849647+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'd3afdb4e0b11'
down_revision = '5658775e113f'
branch_labels = None
depends_on = None
def... | 712 | Python | .py | 23 | 27.173913 | 69 | 0.701909 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,345 | d8f0b32a5c0e_cvss_model.py | infobyte_faraday/faraday/migrations/versions/d8f0b32a5c0e_cvss_model.py | """cvss_model
Revision ID: d8f0b32a5c0e
Revises: f28eae25416b
Create Date: 2021-09-01 10:30:06.693843+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'd8f0b32a5c0e'
down_revision = 'f28eae25416b'
branch_labels = None
depends_on = None
def upgrade():
... | 4,134 | Python | .py | 73 | 45.684932 | 110 | 0.583313 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,346 | 5658775e113f_add_command_id_to_agent_execution.py | infobyte_faraday/faraday/migrations/versions/5658775e113f_add_command_id_to_agent_execution.py | """Add command_id to Agent Execution
Revision ID: 5658775e113f
Revises: e03a13c41a67
Create Date: 2020-12-07 22:21:28.005670+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5658775e113f'
down_revision = 'e03a13c41a67'
branch_labels = None
depends_on = No... | 747 | Python | .py | 27 | 23.407407 | 76 | 0.686798 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,347 | e03a13c41a67_check_important_host.py | infobyte_faraday/faraday/migrations/versions/e03a13c41a67_check_important_host.py | """check important host
Revision ID: e03a13c41a67
Revises: 20f3d0c2f71f
Create Date: 2020-10-06 02:03:17.966397+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'e03a13c41a67'
down_revision = '20f3d0c2f71f'
branch_labels = None
depends_on = None
def upgr... | 490 | Python | .py | 16 | 28.625 | 103 | 0.763948 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,348 | 06c48492f587_reformat_jira_issue_fields_value.py | infobyte_faraday/faraday/migrations/versions/06c48492f587_reformat_jira_issue_fields_value.py | """reformat jira issue fields value
Revision ID: 06c48492f587
Revises: 4bb882a7f9b5
Create Date: 2022-03-31 18:46:21.552568+00:00
"""
from alembic import op
import sqlalchemy as sa
from faraday.server.models import Configuration
# revision identifiers, used by Alembic.
revision = '06c48492f587'
down_revision = '4b... | 2,109 | Python | .py | 38 | 44.894737 | 162 | 0.591174 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,349 | f20aa8756612_change_executivereport_field_to_text.py | infobyte_faraday/faraday/migrations/versions/f20aa8756612_change_executivereport_field_to_text.py | """change executivereport field to text
Revision ID: f20aa8756612
Revises: 699402156cf4
Create Date: 2022-11-17 20:56:30.646510+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f20aa8756612'
down_revision = '699402156cf4'
branch_labels = None
depends_on =... | 746 | Python | .py | 28 | 21.928571 | 45 | 0.694366 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,350 | 4bb882a7f9b5_enable_notifications_for_v3.py | infobyte_faraday/faraday/migrations/versions/4bb882a7f9b5_enable_notifications_for_v3.py | """enable notifications for v3
Revision ID: 4bb882a7f9b5
Revises: 5cf9660bba80
Create Date: 2022-02-25 14:24:20.027512+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '4bb882a7f9b5'
down_revision = 'cb25cf42bda7'
branch_labels = None
depends_on = None
def upgrade():
op.exec... | 492 | Python | .py | 16 | 28.5625 | 113 | 0.761194 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,351 | 2db31733fb78_unique_field_name_in_customfield.py | infobyte_faraday/faraday/migrations/versions/2db31733fb78_unique_field_name_in_customfield.py | """unique field_name in CustomField
Revision ID: 2db31733fb78
Revises: 0d216660da28
Create Date: 2019-05-15 18:48:41.909650+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '2db31733fb78'
down_revision = '0d216660da28'
branch_labels = None
depends_on = None
def upgrade():
c... | 567 | Python | .py | 17 | 30.941176 | 105 | 0.765683 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,352 | f0439bf6688a_updating_to_a_role_model_to_use_faraday_.py | infobyte_faraday/faraday/migrations/versions/f0439bf6688a_updating_to_a_role_model_to_use_faraday_.py | """Updating to a Role model to use faraday security RBAC
Revision ID: f0439bf6688a
Revises: 18891ca61db6
Create Date: 2021-05-26 18:38:23.267138+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = 'f0439bf6688a'
down_... | 3,494 | Python | .py | 83 | 33.626506 | 114 | 0.603657 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,353 | 27d7eff884e7_divide_open_for_days.py | infobyte_faraday/faraday/migrations/versions/27d7eff884e7_divide_open_for_days.py | """divide open for days
Revision ID: 27d7eff884e7
Revises: 34468fcfd92e
Create Date: 2024-04-29 16:35:30.590225+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '27d7eff884e7'
down_revision = '34468fcfd92e'
branch_labels = None
depends_on = None
def upgr... | 6,568 | Python | .py | 68 | 92.294118 | 171 | 0.740296 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,354 | b1d15a55556d_remove_ticketing_tools_credentials.py | infobyte_faraday/faraday/migrations/versions/b1d15a55556d_remove_ticketing_tools_credentials.py | """remove ticketing tools credentials
Revision ID: b1d15a55556d
Revises: f00247a92a14
Create Date: 2020-04-02 20:41:41.083048+00:00
"""
from faraday.server.config import LOCAL_CONFIG_FILE
from configparser import ConfigParser, NoSectionError
# revision identifiers, used by Alembic.
revision = 'b1d15a55556d'
down_r... | 772 | Python | .py | 24 | 27.75 | 63 | 0.734417 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,355 | f00247a92a14_add_agent_execution_data.py | infobyte_faraday/faraday/migrations/versions/f00247a92a14_add_agent_execution_data.py | """Add Agent execution data
Revision ID: f00247a92a14
Revises: 282ac9b6569f
Create Date: 2020-04-01 18:51:29.071191+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f00247a92a14'
down_revision = '282ac9b6569f'
branch_labels = None
depends_on = None
def ... | 657 | Python | .py | 28 | 18.035714 | 45 | 0.634461 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,356 | 4d7a8fdd94e4_rename_not_active_users.py | infobyte_faraday/faraday/migrations/versions/4d7a8fdd94e4_rename_not_active_users.py | """rename not active users
Revision ID: 4d7a8fdd94e4
Revises: 905261860ad0
Create Date: 2022-06-10 20:04:02.729956+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4d7a8fdd94e4'
down_revision = '99a740945c44'
branch_labels = None
depends_on = None
def u... | 907 | Python | .py | 26 | 26.153846 | 114 | 0.588978 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,357 | 907c72c8d391_user_session_id.py | infobyte_faraday/faraday/migrations/versions/907c72c8d391_user_session_id.py | """user session_id
Revision ID: 907c72c8d391
Revises: ad29e4bcf2cf
Create Date: 2024-09-18 13:34:52.883133+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '907c72c8d391'
down_revision = 'ad29e4bcf2cf'
branch_labels = None
depends_on = None
def upgrade():... | 485 | Python | .py | 16 | 28.375 | 95 | 0.764069 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,358 | 08d02214aedc_add_advanced_filter_to_executive_report_table.py | infobyte_faraday/faraday/migrations/versions/08d02214aedc_add_advanced_filter_to_executive_report_table.py | """alter executive_report table
Revision ID: 08d02214aedc
Revises: b49d8efbd0c2
Create Date: 2020-09-21 20:42:57.190002+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '08d02214aedc'
down_revision = 'b49d8efbd0c2'
branch_labels = None
depends_on = None
... | 534 | Python | .py | 16 | 31.375 | 121 | 0.77451 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,359 | e61afb450465_add_custom_fields.py | infobyte_faraday/faraday/migrations/versions/e61afb450465_add_custom_fields.py | """Add custom fields
Revision ID: e61afb450465
Revises:
Create Date: 2018-10-23 15:43:52.612619+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = 'e61afb450465'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
conn = op.get_bind()
conn.execute('... | 1,023 | Python | .py | 28 | 29.857143 | 85 | 0.670719 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,360 | 9c4091d1a09b_create_agent_table.py | infobyte_faraday/faraday/migrations/versions/9c4091d1a09b_create_agent_table.py | """create agent table
Revision ID: 9c4091d1a09b
Revises: 0d216660da28
Create Date: 2019-05-22 19:17:31.444968+00:00
"""
from alembic import op
import sqlalchemy as sa
revision = '9c4091d1a09b'
down_revision = 'be89aa03e35e'
branch_labels = None
depends_on = None
def upgrade():
op.create_table(
'agent'... | 2,280 | Python | .py | 68 | 26.794118 | 65 | 0.60919 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,361 | d0a6105fdef1_modify_analytics_type_enum.py | infobyte_faraday/faraday/migrations/versions/d0a6105fdef1_modify_analytics_type_enum.py | """modify analytics type enum
Revision ID: d0a6105fdef1
Revises: 443a136bb5f2
Create Date: 2023-11-14 20:48:56.645881+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = 'd0a6105fdef1'
down_revision = '443a136bb5f2'
branch_labels = None
depends_on = None
def upgrade():
# add e... | 619 | Python | .py | 18 | 31.611111 | 104 | 0.762226 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,362 | 3eb96406e88d_rename_important_with_importance_and_remove_check_constraint.py | infobyte_faraday/faraday/migrations/versions/3eb96406e88d_rename_important_with_importance_and_remove_check_constraint.py | """rename important with importance and remove check constraint
Revision ID: 3eb96406e88d
Revises: 0409e696eeec
Create Date: 2022-09-30 19:15:05.214519+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '3eb96406e88d'
down_revision = '0409e696eeec'
branch_lab... | 1,947 | Python | .py | 35 | 51.228571 | 116 | 0.734908 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,363 | 3f771124f0a2_add_metadata_to_cf_schema.py | infobyte_faraday/faraday/migrations/versions/3f771124f0a2_add_metadata_to_cf_schema.py | """add metadata to cf schema
Revision ID: 3f771124f0a2
Revises: 1dbe9e8e4247
Create Date: 2019-10-24 14:47:47.177057+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '3f771124f0a2'
down_revision = '1dbe9e8e4247'
branch_labels = None
depends_on = None
def... | 507 | Python | .py | 16 | 29.6875 | 94 | 0.772257 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,364 | 699402156cf4_update_risk_value.py | infobyte_faraday/faraday/migrations/versions/699402156cf4_update_risk_value.py | """Update risk value
Revision ID: 699402156cf4
Revises: 3eb96406e88d
Create Date: 2022-11-15 19:09:54.669437+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '699402156cf4'
down_revision = '3eb96406e88d'
branch_labels = None
depends_on = None
def upgrade():
conn = op.get_bin... | 1,041 | Python | .py | 27 | 35.222222 | 122 | 0.715988 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,365 | 9f826327658a_cloud_agents.py | infobyte_faraday/faraday/migrations/versions/9f826327658a_cloud_agents.py | """cloud_agents
Revision ID: 9f826327658a
Revises: 11560f56f480
Create Date: 2022-05-10 13:45:50.704145+00:00
"""
from alembic import op
import sqlalchemy as sa
from faraday.server.fields import JSONType
# revision identifiers, used by Alembic.
revision = '9f826327658a'
down_revision = '11560f56f480'
branch_labels ... | 3,847 | Python | .py | 70 | 50.428571 | 127 | 0.69939 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,366 | a4def820a5bb_alter_otp_secret_length_in_user.py | infobyte_faraday/faraday/migrations/versions/a4def820a5bb_alter_otp_secret_length_in_user.py | """alter otp secret length in user
Revision ID: a4def820a5bb
Revises: 077b7c925ded
Create Date: 2021-03-17 20:23:03.864089+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'a4def820a5bb'
down_revision = 'fa12b8322112'
branch_labels = None
depends_on = None... | 1,504 | Python | .py | 40 | 29.175 | 113 | 0.599724 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,367 | 5272b3f5a820_add_markdown_column_to_exectuive_reports.py | infobyte_faraday/faraday/migrations/versions/5272b3f5a820_add_markdown_column_to_exectuive_reports.py | """add markdown column to exectuive reports
Revision ID: 5272b3f5a820
Revises: 2ca03a8feef5
Create Date: 2019-03-27 19:26:28.354078+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5272b3f5a820'
down_revision = '2ca03a8feef5'
branch_labels = None
depends_... | 532 | Python | .py | 16 | 31.25 | 114 | 0.773622 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,368 | abb7ed8c56b4_add_workflow_models.py | infobyte_faraday/faraday/migrations/versions/abb7ed8c56b4_add_workflow_models.py | """Add workflow models
Revision ID: abb7ed8c56b4
Revises: 116891265c3a
Create Date: 2021-09-28 19:02:00.067155+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.engine.reflection import Inspector
# revision identifiers, used by Alembic.
revision = 'abb7ed8c56b4'
down_revision = '5cf9660bba80'
... | 8,670 | Python | .py | 140 | 47.135714 | 115 | 0.568443 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,369 | fa12b8322112_update_workflow_modules.py | infobyte_faraday/faraday/migrations/versions/fa12b8322112_update_workflow_modules.py | """update_workflow_modules
Revision ID: fa12b8322112
Revises: 077b7c925ded
Create Date: 2021-03-12 20:42:03.286727+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = 'fa12b8322112'
down_revision = '077b7c925ded'
bran... | 2,836 | Python | .py | 65 | 38.384615 | 113 | 0.654723 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,370 | 905261860ad0_user_types_enum.py | infobyte_faraday/faraday/migrations/versions/905261860ad0_user_types_enum.py | """user_types_enum
Revision ID: 905261860ad0
Revises: b31fa447f00c
Create Date: 2022-05-13 15:19:34.717313+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '905261860ad0'
down_revision = 'b31fa447f00c'
branch_labels = None
depends_on = None
def upgrade()... | 1,234 | Python | .py | 27 | 41.555556 | 109 | 0.69141 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,371 | 085188e0a016_create_rules_tables.py | infobyte_faraday/faraday/migrations/versions/085188e0a016_create_rules_tables.py | """create searcher's tables
Revision ID: 085188e0a016
Revises: 2db31733fb78
Create Date: 2019-06-18 18:07:41.834191+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '085188e0a016'
down_revision = '9c4091d1a09b'
branch_labels = None
depends_on = None
def ... | 5,283 | Python | .py | 157 | 26.401274 | 90 | 0.588385 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,372 | 15d70093d262_severities_histogram_model.py | infobyte_faraday/faraday/migrations/versions/15d70093d262_severities_histogram_model.py | """Severities histogram model
Revision ID: 15d70093d262
Revises: d8f0b32a5c0e
Create Date: 2021-11-08 13:57:28.099487+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
# from sqlalchemy import func, case
# from faraday.server.models import VulnerabilityGeneric, Sever... | 3,406 | Python | .py | 64 | 49.046875 | 143 | 0.656259 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,373 | b31fa447f00c_add_analytics_monthly_graphs_model.py | infobyte_faraday/faraday/migrations/versions/b31fa447f00c_add_analytics_monthly_graphs_model.py | """add analytics monthly graphs model
Revision ID: b31fa447f00c
Revises: be1f942eba28
Create Date: 2022-03-17 17:42:11.963768+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'b31fa447f00c'
down_revision = 'be1f942eba28'
branch_labels = None
depends_on = N... | 3,532 | Python | .py | 60 | 54.666667 | 127 | 0.718245 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,374 | 47e53ddc0308_add_cwe.py | infobyte_faraday/faraday/migrations/versions/47e53ddc0308_add_cwe.py | """add cwe
Revision ID: 47e53ddc0308
Revises: 85aeb4185f98
Create Date: 2022-07-25 15:10:39.333211+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '47e53ddc0308'
down_revision = '85aeb4185f98'
branch_labels = None
depends_on = None
def upgrade():
# #... | 1,571 | Python | .py | 38 | 37.631579 | 91 | 0.692005 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,375 | 59bed5515407_vuln_external_id.py | infobyte_faraday/faraday/migrations/versions/59bed5515407_vuln_external_id.py | """Vuln external id
Revision ID: 59bed5515407
Revises: 0305c9db7c32
Create Date: 2019-06-18 15:38:31.879725+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '59bed5515407'
down_revision = '2db31733fb78'
branch_labels = None
depends_on = None
def upgrade():
conn = op.get_bi... | 675 | Python | .py | 19 | 32.789474 | 82 | 0.771252 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,376 | 99a740945c44_add_index_into_vulnerability.py | infobyte_faraday/faraday/migrations/versions/99a740945c44_add_index_into_vulnerability.py | """add index into vulnerability
Revision ID: 99a740945c44
Revises: f82a9136c408
Create Date: 2022-07-25 20:17:02.992056+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '99a740945c44'
down_revision = 'f82a9136c408'
branch_labels = None
depends_on = None
def upgrade():
# ### ... | 1,157 | Python | .py | 23 | 47.26087 | 135 | 0.733807 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,377 | 2ca03a8feef5_workspace_readonly.py | infobyte_faraday/faraday/migrations/versions/2ca03a8feef5_workspace_readonly.py | """empty message
Revision ID: 2ca03a8feef5
Revises: 8a10ff3926a5
Create Date: 2019-01-15 13:02:21.000699+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '2ca03a8feef5'
down_revision = '8a10ff3926a5'
branch_labels = None
depends_on = None
def upgrade():
... | 491 | Python | .py | 16 | 28.6875 | 107 | 0.766595 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,378 | a39a3a6e3f99_create_user_preferences_column.py | infobyte_faraday/faraday/migrations/versions/a39a3a6e3f99_create_user_preferences_column.py | """create user preferences column
Revision ID: a39a3a6e3f99
Revises: 904a517a2f0c
Create Date: 2020-02-04 15:28:09.796949+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = 'a39a3a6e3f99'
down_revision = '904a517a2f0c'
branch_labels = None
depends_on = None
def upgrade():
con... | 556 | Python | .py | 17 | 30.294118 | 102 | 0.758945 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,379 | f8a44acd0e41_add_new_user_role.py | infobyte_faraday/faraday/migrations/versions/f8a44acd0e41_add_new_user_role.py | """add new user role
Revision ID: f8a44acd0e41
Revises: 526aa91cac98
Create Date: 2019-10-01 14:04:02.769564+00:00
"""
from alembic import op
import sqlalchemy as sa
revision = 'f8a44acd0e41'
down_revision = '526aa91cac98'
branch_labels = None
depends_on = None
ROLES = ['admin', 'pentester', 'client']
def upgrad... | 2,198 | Python | .py | 48 | 40.083333 | 78 | 0.671978 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,380 | 247a90b029f2_fix_severities_ordering.py | infobyte_faraday/faraday/migrations/versions/247a90b029f2_fix_severities_ordering.py | """Fix severities ordering
Revision ID: 247a90b029f2
Revises: a9fcf8444c79
Create Date: 2021-08-02 12:52:34.453541+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '247a90b029f2'
down_revision = 'a9fcf8444c79'
branch_labels = None
depends_on = None
def upgrade():
op.execute(... | 1,553 | Python | .py | 29 | 47.827586 | 95 | 0.736981 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,381 | 904a517a2f0c_create_executor_table.py | infobyte_faraday/faraday/migrations/versions/904a517a2f0c_create_executor_table.py | """Create Executor table
Revision ID: 904a517a2f0c
Revises: 1dbe9e8e4247
Create Date: 2019-11-05 16:31:27.186749+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '904a517a2f0c'
down_revision = '2a0de6132377'
branch_labels = None
depends_on = None
def upg... | 3,400 | Python | .py | 97 | 28.360825 | 97 | 0.618641 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,382 | ed403da439d4_agents_with_multiple_workspaces.py | infobyte_faraday/faraday/migrations/versions/ed403da439d4_agents_with_multiple_workspaces.py | """Agents with multiple workspaces
Revision ID: ed403da439d4
Revises: 9c678c44aa61
Create Date: 2020-07-01 22:12:46.001776+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ed403da439d4'
down_revision = '9c678c44aa61'
branch_labels = None
depends_on = None... | 2,585 | Python | .py | 88 | 23.443182 | 79 | 0.643001 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,383 | 901344f297fb_change_object_type_of_custom_logos_to_.py | infobyte_faraday/faraday/migrations/versions/901344f297fb_change_object_type_of_custom_logos_to_.py | """change object_type of custom logos to report_logo
Revision ID: 901344f297fb
Revises: 73854f804a8d
Create Date: 2023-07-13 17:38:32.651676+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '901344f297fb'
down_revision = '73854f804a8d'
branch_labels = None
depends_on = None
def... | 733 | Python | .py | 17 | 40.470588 | 125 | 0.747175 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,384 | 0ed0dab44def_add_tags_arguments_for_agent_schedule.py | infobyte_faraday/faraday/migrations/versions/0ed0dab44def_add_tags_arguments_for_agent_schedule.py | """add_tags_arguments_for_agent_schedule
Revision ID: 0ed0dab44def
Revises: 4d7a8fdd94e4
Create Date: 2022-07-19 13:31:17.646914+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '0ed0dab44def'
down_revision = '4d7a8fdd94e4'
branch_labels = None
depends_on ... | 979 | Python | .py | 24 | 37.791667 | 89 | 0.709609 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,385 | 8a10ff3926a5_2fa_columns.py | infobyte_faraday/faraday/migrations/versions/8a10ff3926a5_2fa_columns.py | """empty message
Revision ID: 8a10ff3926a5
Revises:
Create Date: 2018-11-29 16:34:44.081899+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '8a10ff3926a5'
down_revision = 'e61afb450465'
branch_labels = None
depends_on = None
def upgrade():
op.add_co... | 840 | Python | .py | 24 | 31.333333 | 91 | 0.70297 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,386 | be89aa03e35e_add_severities_column_to_executive_.py | infobyte_faraday/faraday/migrations/versions/be89aa03e35e_add_severities_column_to_executive_.py | """Add severities column to executive reports
Revision ID: be89aa03e35e
Revises: 0d216660da28
Create Date: 2019-05-14 18:12:52.724079+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = 'be89aa03e35e'
down_revision = '59bed5515407'
branch_labels = None
depends_on = None
def upgra... | 536 | Python | .py | 17 | 29.058824 | 72 | 0.768627 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,387 | 257f6d0ad43f_add_fields_to_kb.py | infobyte_faraday/faraday/migrations/versions/257f6d0ad43f_add_fields_to_kb.py | """add fields to KB
Revision ID: 257f6d0ad43f
Revises: b87b1de2f348
Create Date: 2023-11-10 21:47:36.973846+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '257f6d0ad43f'
down_revision = 'b87b1de2f348'
branch_labels = None
depends_on = None
def upgrade(... | 977 | Python | .py | 23 | 37.73913 | 109 | 0.698732 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,388 | 18891ca61db6_add_cascade_delete_from_workspace.py | infobyte_faraday/faraday/migrations/versions/18891ca61db6_add_cascade_delete_from_workspace.py | """add cascade delete from workspace
Revision ID: 18891ca61db6
Revises: aa56852fa76d
Create Date: 2021-04-08 12:09:04.182543+00:00
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '18891ca61db6'
down_revision = 'aa56852fa76d'
branch_labels = None
depends_on = None
def upgrade():
#... | 2,735 | Python | .py | 39 | 66.282051 | 136 | 0.702492 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,389 | f6edb9a16479_add_type_to_reference_model.py | infobyte_faraday/faraday/migrations/versions/f6edb9a16479_add_type_to_reference_model.py | """add type to reference model
Revision ID: f6edb9a16479
Revises: 581121b181d8
Create Date: 2022-08-05 19:10:54.482312+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f6edb9a16479'
down_revision = '581121b181d8'
branch_labels = None
depends_on = None
de... | 1,090 | Python | .py | 26 | 32.692308 | 114 | 0.59508 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,390 | f7ca45632cce_add_advanced_notifs_to_model.py | infobyte_faraday/faraday/migrations/versions/f7ca45632cce_add_advanced_notifs_to_model.py | """Add advanced notifs to model
Revision ID: f7ca45632cce
Revises: 51e533d41312
Create Date: 2023-08-07 21:32:24.180236+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f7ca45632cce'
down_revision = '51e533d41312'
branch_labels = None
depends_on = None
d... | 4,194 | Python | .py | 58 | 64.793103 | 156 | 0.690984 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,391 | 11560f56f480_add_target_to_action.py | infobyte_faraday/faraday/migrations/versions/11560f56f480_add_target_to_action.py | """add target to action
Revision ID: 11560f56f480
Revises: f7ca45632cce
Create Date: 2024-04-05 18:38:29.002319+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '11560f56f480'
down_revision = 'f7ca45632cce'
branch_labels = None
depends_on = None
def upgr... | 505 | Python | .py | 18 | 25.5 | 94 | 0.741127 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,392 | 44e7fc2b6223_host_risk.py | infobyte_faraday/faraday/migrations/versions/44e7fc2b6223_host_risk.py | """Host risk
Revision ID: 44e7fc2b6223
Revises: 27d7eff884e7
Create Date: 2024-01-03 14:05:02.910346+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '44e7fc2b6223'
down_revision = '27d7eff884e7'
branch_labels = None
depends_on = None
def upgrade():
... | 646 | Python | .py | 20 | 29.7 | 73 | 0.70712 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,393 | be1f942eba28_add_analytics_saved_graphics_model.py | infobyte_faraday/faraday/migrations/versions/be1f942eba28_add_analytics_saved_graphics_model.py | """add analytics model
Revision ID: be1f942eba28
Revises: 877dd088c8cb
Create Date: 2022-03-17 18:50:15.961217+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'be1f942eba28'
down_revision = '877dd088c8cb'
branch_labels = None
depends_on = None
def upgrad... | 1,883 | Python | .py | 39 | 40.692308 | 108 | 0.640719 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,394 | 61ded0c8fbf6_notification_center.py | infobyte_faraday/faraday/migrations/versions/61ded0c8fbf6_notification_center.py | """notification center
Revision ID: 61ded0c8fbf6
Revises: f20aa8756612
Create Date: 2023-01-11 19:24:20.511853+00:00
"""
from alembic import op
import sqlalchemy as sa
import faraday
# revision identifiers, used by Alembic.
revision = '61ded0c8fbf6'
down_revision = 'dd3181b9b3e9'
branch_labels = None
depends_on = N... | 7,152 | Python | .py | 127 | 51.724409 | 105 | 0.691464 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,395 | ad29e4bcf2cf_user_token.py | infobyte_faraday/faraday/migrations/versions/ad29e4bcf2cf_user_token.py | """user token
Revision ID: ad29e4bcf2cf
Revises: 97e308761de2
Create Date: 2024-07-23 20:15:17.676850+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ad29e4bcf2cf'
down_revision = '97e308761de2'
branch_labels = None
depends_on = None
def upgrade():
... | 1,644 | Python | .py | 37 | 40.756757 | 91 | 0.69375 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,396 | 33094e577642_add__tmp_id_for_on_conflict_inserts.py | infobyte_faraday/faraday/migrations/versions/33094e577642_add__tmp_id_for_on_conflict_inserts.py | """add _tmp_id for on_conflict inserts
Revision ID: 33094e577642
Revises: f0a32e2753f6
Create Date: 2023-09-03 13:41:31.137705+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '33094e577642'
down_revision = 'f0a32e2753f6'
branch_labels = None
depends_on = ... | 696 | Python | .py | 20 | 32.2 | 85 | 0.714072 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,397 | 1b2533cc16fe_fix_custom_fields_display_name_was_used_.py | infobyte_faraday/faraday/migrations/versions/1b2533cc16fe_fix_custom_fields_display_name_was_used_.py | """Fix custom fields. display name was used in the key of the json. field_name is expected on the key
Revision ID: 1b2533cc16fe
Revises: 5272b3f5a820
Create Date: 2019-04-05 16:19:11.216571+00:00
"""
import json
from alembic import op
from sqlalchemy.sql import text
# revision identifiers, used by Alembic.
revision... | 2,794 | Python | .py | 61 | 32.704918 | 116 | 0.571166 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,398 | 34468fcfd92e_make_reports_multiworkspaces.py | infobyte_faraday/faraday/migrations/versions/34468fcfd92e_make_reports_multiworkspaces.py | """make reports multiworkspaces
Revision ID: 34468fcfd92e
Revises: 9f826327658a
Create Date: 2023-09-25 18:19:45.271406+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '34468fcfd92e'
down_revision = '9f826327658a'
branch_labels = None
depends_on = None
d... | 2,246 | Python | .py | 42 | 49.357143 | 155 | 0.71097 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |
32,399 | 89115e133f0a_add_hosts_notifications.py | infobyte_faraday/faraday/migrations/versions/89115e133f0a_add_hosts_notifications.py | """Add hosts notifications
Revision ID: 89115e133f0a
Revises: 5d7a930c439e
Create Date: 2021-07-26 17:18:43.521015+00:00
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
from faraday.server.models import NotificationSubscription, NotificationSubscriptionWebSocketConfig, Use... | 4,212 | Python | .py | 83 | 36.987952 | 106 | 0.56837 | infobyte/faraday | 4,852 | 893 | 45 | GPL-3.0 | 9/5/2024, 5:14:38 PM (Europe/Amsterdam) |