<?php

class AuditLogActions
{
    public const CREATE = 'Created';
    public const UPDATE = 'Updated';
    public const DELETE = 'Deleted';
    public const DEPLOY = 'Deployed';
    public const PUSHED = 'Pushed';
    public const MODULE_ADDED = 'Module added';
    public const MODULE_DELETED = 'Module deleted';
    public const MODULE_UPDATED = 'Module updated';
    public const MODULE_INPUT_UPDATED = 'Module input updated';
    public const CMDB_UPDATED = 'Data updated';
    public const CMDB_DELETED = 'Data deleted';
    public const CMDB_CREATED = 'Data created';
    public const RBAC_UPDATED = 'RBAC updated';

    public const ALLOWED_ACTIONS = [
        self::CREATE,
        self::UPDATE,
        self::DELETE,
        self::DEPLOY,
        self::PUSHED,
        self::MODULE_ADDED,
        self::MODULE_DELETED,
        self::MODULE_UPDATED,
        self::MODULE_INPUT_UPDATED,
        self::CMDB_UPDATED,
        self::CMDB_DELETED,
        self::CMDB_CREATED,
        self::RBAC_UPDATED,
    ];
}
