|
|
@ -1,12 +1,13 @@
|
|
|
|
# Generated by Django 3.2.14 on 2022-12-28 10:03
|
|
|
|
# Generated by Django 3.2.14 on 2022-12-28 10:03
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import uuid
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import django.db.models.deletion
|
|
|
|
import private_storage.fields
|
|
|
|
import private_storage.fields
|
|
|
|
import private_storage.storage.files
|
|
|
|
import private_storage.storage.files
|
|
|
|
|
|
|
|
import simple_history.models
|
|
|
|
from django.conf import settings
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
import simple_history.models
|
|
|
|
|
|
|
|
import uuid
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
class Migration(migrations.Migration):
|
|
|
@ -70,8 +71,9 @@ class Migration(migrations.Migration):
|
|
|
|
default='shell', max_length=128, null=True, verbose_name='Module')),
|
|
|
|
default='shell', max_length=128, null=True, verbose_name='Module')),
|
|
|
|
('chdir', models.CharField(blank=True, default='', max_length=1024, null=True, verbose_name='Chdir')),
|
|
|
|
('chdir', models.CharField(blank=True, default='', max_length=1024, null=True, verbose_name='Chdir')),
|
|
|
|
('timeout', models.IntegerField(default=-1, verbose_name='Timeout (Seconds)')),
|
|
|
|
('timeout', models.IntegerField(default=-1, verbose_name='Timeout (Seconds)')),
|
|
|
|
('type', models.CharField(choices=[('adhoc', 'Adhoc'), ('playbook', 'Playbook')], default='adhoc',
|
|
|
|
('type', models.CharField(
|
|
|
|
max_length=128, verbose_name='Type')),
|
|
|
|
choices=[('adhoc', 'Adhoc'), ('playbook', 'Playbook'), ('upload_file', 'Upload File')],
|
|
|
|
|
|
|
|
default='adhoc', max_length=128, verbose_name='Type')),
|
|
|
|
('runas', models.CharField(default='root', max_length=128, verbose_name='Runas')),
|
|
|
|
('runas', models.CharField(default='root', max_length=128, verbose_name='Runas')),
|
|
|
|
('runas_policy', models.CharField(
|
|
|
|
('runas_policy', models.CharField(
|
|
|
|
choices=[('privileged_only', 'Privileged Only'), ('privileged_first', 'Privileged First'),
|
|
|
|
choices=[('privileged_only', 'Privileged Only'), ('privileged_first', 'Privileged First'),
|
|
|
@ -173,8 +175,9 @@ class Migration(migrations.Migration):
|
|
|
|
default='shell', max_length=128, null=True, verbose_name='Module')),
|
|
|
|
default='shell', max_length=128, null=True, verbose_name='Module')),
|
|
|
|
('chdir', models.CharField(blank=True, default='', max_length=1024, null=True, verbose_name='Chdir')),
|
|
|
|
('chdir', models.CharField(blank=True, default='', max_length=1024, null=True, verbose_name='Chdir')),
|
|
|
|
('timeout', models.IntegerField(default=-1, verbose_name='Timeout (Seconds)')),
|
|
|
|
('timeout', models.IntegerField(default=-1, verbose_name='Timeout (Seconds)')),
|
|
|
|
('type', models.CharField(choices=[('adhoc', 'Adhoc'), ('playbook', 'Playbook')], default='adhoc',
|
|
|
|
('type', models.CharField(
|
|
|
|
max_length=128, verbose_name='Type')),
|
|
|
|
choices=[('adhoc', 'Adhoc'), ('playbook', 'Playbook'), ('upload_file', 'Upload File')],
|
|
|
|
|
|
|
|
default='adhoc', max_length=128, verbose_name='Type')),
|
|
|
|
('runas', models.CharField(default='root', max_length=128, verbose_name='Runas')),
|
|
|
|
('runas', models.CharField(default='root', max_length=128, verbose_name='Runas')),
|
|
|
|
('runas_policy', models.CharField(
|
|
|
|
('runas_policy', models.CharField(
|
|
|
|
choices=[('privileged_only', 'Privileged Only'), ('privileged_first', 'Privileged First'),
|
|
|
|
choices=[('privileged_only', 'Privileged Only'), ('privileged_first', 'Privileged First'),
|
|
|
|