<?php

class PolicyConditionExport extends BaseComplianceExport
{
    public function export()
    {
        return [
            "filter-by" => $this->rule->policyConditions['filterBy'] ?? null,
            "value" => $this->rule->policyConditions['filterItemName'] ?? null,
            "promise-handle" => $this->rule->policyConditions['promisehandle'] ?? null,
            "promise-status" => $this->rule->policyConditions['promiseoutcome'] ?? null
        ];
    }
}
