def delete(trace_id, security_check_webhook_id, create_at):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {
        "SecurityCheckWebhookID": security_check_webhook_id,
        "CreatedAt": create_at
    }
    DB_utils.delete(trace_id, Tables.PM_SECURITY_CHECK_WEBHOOK_CALL_HISTORY,
                    key)
def delete(trace_id, check_result_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"CheckResultID": check_result_id}
    DB_utils.delete(trace_id, Tables.PM_CHECK_RESULTS, key)
def delete(trace_id, security_check_webhook_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"SecurityCheckWebhookID": security_check_webhook_id}
    DB_utils.delete(trace_id, Tables.PM_SECURITY_CHECK_WEBHOOK, key)
def delete_awscoops(trace_id, coop_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"CoopID": coop_id}
    DB_utils.delete(trace_id, Tables.PM_AWSACCOUNTCOOPS, key)
def delete(user_id):
    common_utils.begin_logger(user_id, __name__, inspect.currentframe())
    key = {"UserID": user_id}
    DB_utils.delete(user_id, Tables.PM_USER_ATTRIBUTE, key)
def delete_affiliation(user_id, organization_id):
    common_utils.begin_logger(user_id, __name__, inspect.currentframe())
    key = {"UserID": user_id, "OrganizationID": organization_id}
    DB_utils.delete(user_id, Tables.PM_AFFILIATION, key)
def delete(trace_id, organization_id, notify_code):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"NotifyCode": notify_code, "OrganizationID": organization_id}
    DB_utils.delete(trace_id, Tables.PM_ORG_NOTIFY_MAIL_DESTINATIONS, key)
def delete(trace_id, check_history_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"CheckHistoryID": check_history_id}
    DB_utils.delete(trace_id, Tables.PM_CHECK_HISTORY, key)
Beispiel #9
0
def delete(trace_id, exclusion_item_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"ExclusionItemID": exclusion_item_id}
    DB_utils.delete(trace_id, Tables.PM_EXCLUSION_ITEMS, key)
Beispiel #10
0
def delete_projects(trace_id, project_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"ProjectID": project_id}
    DB_utils.delete(trace_id, Tables.PM_PROJECTS, key)
def delete(trace_id, exclusion_resource_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"ExclusionResourceID": exclusion_resource_id}
    DB_utils.delete(trace_id, Tables.PM_EXCLUSION_RESOURCES, key)
Beispiel #12
0
def delete(trace_id, apply_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"ApplyID": apply_id}
    DB_utils.delete(trace_id, Tables.PM_EMAIL_CHANGE_APPLY, key)
Beispiel #13
0
def delete(trace_id, assessment_item_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"AssessmentItemID": assessment_item_id}
    DB_utils.delete(trace_id, Tables.PM_ASSESSMENT_ITEMS, key)
def delete(trace_id, task_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"TaskID": task_id}
    DB_utils.delete(trace_id, Tables.PM_ORGANIZATION_TASKS, key)
Beispiel #15
0
def delete(trace_id, organization_id, project_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"OrganizationID": organization_id, "ProjectID": project_id}
    DB_utils.delete(trace_id, Tables.PM_LATEST_CHECK_RESULT, key)
Beispiel #16
0
def delete_report_job_def(trace_id, code):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"Code": code}
    DB_utils.delete(trace_id, Tables.PM_BATCH_JOB_DEFS, key)
def delete_organization(trace_id, organization_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"OrganizationID": organization_id}
    DB_utils.delete(trace_id, Tables.PM_ORGANIZATIONS, key)
Beispiel #18
0
def delete_reports(trace_id, report_id):
    common_utils.begin_logger(trace_id, __name__, inspect.currentframe())
    key = {"ReportID": report_id}
    DB_utils.delete(trace_id, Tables.PM_REPORTS, key)