namespace winPEAS._3rdParty.Watson
{
    public class Vulnerability
    {
        public string Identification { get; }
        public string[] KnownExploits { get; }
        public bool Vulnerable { get; private set; }

        public Vulnerability(string id, string[] exploits)
        {
            Identification = id;
            KnownExploits = exploits;
        }

        public void SetAsVulnerable()
            => Vulnerable = true;
    }
}
