package com.hiveops.aria.repository;

import com.hiveops.aria.entity.DeviceSecurityPosture;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface DeviceSecurityPostureRepository extends JpaRepository<DeviceSecurityPosture, Long> {

    Optional<DeviceSecurityPosture> findByDeviceAgentId(String deviceAgentId);
}
