src/Audit/Service/AuditService.php
public function getProperties(Auditable $entity)
    {
        $reflection = new ReflectionObject($entity);
        $properties = [];

        foreach ($reflection->getProperties() as $key => $property) {
            if (!$this->annotationReader->getPropertyAnnotation($property, AuditAnnotation::class)) {
                continue;
            }

            $properties[] = $property->name;
        }

        return $properties;
    }
public function getProperties(Auditable $entity)
    {
        $reflection = new ReflectionObject($entity);
        $properties = [];

        foreach ($reflection->getProperties() as $key => $property) {
            if (!$this->annotationReader->getPropertyAnnotation($property, AuditAnnotation::class)) {
                continue;
            }

            $properties[] = $property->name;
        }

        return $properties;
    }
Get properties with Audit annotation

@param \Ds\Component\Audit\Model\Type\Auditable $entity
@return array