Skip to content

Ontology: The restricted_ports field should be an array of strings #327

Description

@lebogg

In line 2415, the restricted_ports should be a repeated field of strings, right?

// L3Firewall is an entity class in our ontology. It can be instantiated and contains all of its properties as well of its implemented interfaces.
message L3Firewall {
option (resource_type_names) = "L3Firewall";
option (resource_type_names) = "Firewall";
option (resource_type_names) = "AccessRestriction";
option (resource_type_names) = "Authorization";
option (resource_type_names) = "SecurityFeature";
bool enabled = 9476;
bool inbound = 1000;
string restricted_ports = 7341;
}

I assume the metric L3FirewallRestrictedPorts would not work correctly at the moment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions