1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
// OpenVPN 3 Linux client -- Next generation OpenVPN client
//
// SPDX-License-Identifier: AGPL-3.0-only
//
// Copyright (C) 2017- OpenVPN Inc <sales@openvpn.net>
// Copyright (C) 2024- Răzvan Cojocaru <razvan.cojocaru@openvpn.com>
//
#pragma once
#include <string>
#include "module-interface.hpp"
namespace DevPosture {
class PlatformModule : public Module
{
public:
// Methods
Dictionary Run(const Dictionary &input) override;
// Properties
std::string name() const override
{
return "platform";
}
std::string type() const override
{
return "hostinfo";
}
uint16_t version() const override
{
return 1;
}
};
} // namespace DevPosture
|