<?php

class SoftwareupdateConditionSetter extends BaseComplianceSetter
{
    public function setCondition(array &$condition, array $data = [])
    {
        $rule = $condition['rules'];
        $condition['softwareUpdateConditions'] = [
            'condition' => $rule['condition'],
            'patchname' => $rule['package-name'],
            'patcharchitecture' => $rule['architecture'],
        ];
    }
}
