Automated online policy generation for zero-trust architectures
Architectures and techniques are described that can automatically (as opposed to manually) generate a new policy in a zero trust architecture (ZTA) or environment, for instance, when it is determined that a current network activity does not have a suitable policy that can be applied, which can be determined by a policy enforcement point (PEP) of a ZTA. To comply with ZTA principles, the new policy can be determined based on data-driven analytics of network activities and can therefore be suitable for online use.
1 . An online platform employing a zero trust architecture for cyber security, comprising:
at least one processor; and
at least one memory that stores executable instructions that, when executed by the at least one processor, facilitate performance of operations, comprising:
determining, by a policy enforcement point of the zero trust architecture, that new activity data describing a new activity attempting to be performed on the online platform does not have an existing trust policy to apply to the new activity; and
prior to allowing the new activity to be performed on the online platform:
generating, by a graph-based machine learning model, a new embedding of the new activity data, wherein the new embedding conforms to a learned embedding space of an activity knowledge graph comprising known embeddings of known activities, wherein each embedding of the known embeddings is based on a triple comprising a subject of an activity, a predicate of the activity, and an object of the activity, wherein nodes of the activity knowledge graph represent the subjects and the objects, and wherein edges of the activity knowledge graph represent the predicates;
determining linked entity pairs indicative of respective links between the new activity and the known activities;
determining respective probabilities of the linked pairs, wherein the respective probability of the linked pair is based on at least one of:
a first probability of the subject of the new activity and the predicate of the known activity of the linked pair, or
a second probability of the object of the new activity and the predicate of the known activity of the linked pair;
adding a predefined quantity of the linked pairs having highest probabilities to a first order set of top linked pairs;
based on the top linked pairs of the first order set, generating, using a defined process on the activity knowledge graph, a high order set comprising relational path tuples for the known activities of the top linked pairs, wherein each relational path tuple comprises:
the subject of the known activity associated with the relational path tuple,
the object of the known activity associated with the relational path tuple, and
a predicate path comprising a plurality of predicates on a relational path between the subject and the object of the known activity associated with the relational path tuple;
merging the first order set and the high order set to generate a linked entity set;
mapping the linked entity set to candidate trust policies based on known relationships between the activity knowledge graph and clauses of a policy database;
based on one or more clauses of the candidate trust policies, generating a new trust policy for the new activity in compliance with the zero trust architecture; and
enforcing the new trust policy on the new activity attempting to be performed on the online platform.
2 . The online platform of claim 1 , wherein the new activity data is formatted as the triple of the new activity.
3 . The online platform of claim 1 , wherein the learned embedding space is a result of training of the graph-based machine learning model on the activity knowledge graph.
4 . The online platform of claim 3 , wherein the operations further comprise adding the new trust policy to the policy database.
5 . The online platform of claim 1 , wherein the respective probability of the linked pair is further based on a function of a distance between the new activity and the known activity of the linked pair.
6 . The device online platform of claim 1 , wherein the operations further enforcing the new trust policy comprises temporarily employing the new trust policy while the new trust policy is being verified.
7 . The online platform of claim 6 , wherein temporarily employing the new trust policy comprises selectively applying the new trust policy based on a sensitivity of the new activity.
8 . A non-transitory computer-readable medium comprising instructions that, in response to execution, cause an online platform employing a zero trust architecture for cyber security and comprising at least one processor to perform operations, comprising:
determining, by a policy enforcement point of the zero trust architecture, that new activity data describing a new activity attempting to be performed on the online platform does not have an existing trust policy to apply to the new activity; and
prior to allowing the new activity to be performed on the online platform:
generating, by a graph-based machine learning model, a new embedding of the new activity data, wherein the new embedding conforms to a learned embedding space of an activity knowledge graph comprising known embeddings of known activities, wherein each embedding is based on a triple comprising a subject of an activity, a predicate of the activity, and an object of the activity, wherein nodes of the activity knowledge graph represent the subjects and the objects, and wherein edges of the activity knowledge graph represent the predicates;
determining a linked entity group indicative of a group of linked entity pairs indicative of respective links between the new activity and the known activities;
determining respective probabilities of the linked pairs, wherein the respective probability of the linked pair is based on at least one of:
a first probability of the subject of the new activity and the predicate of the known activity of the linked pair, or
a second probability of the object of the new activity and the predicate of the known activity of the linked pair;
adding a predefined quantity of the linked pairs having highest probabilities to a first order set of top linked pairs;
based on the top linked pairs of the first order set, generating, using a defined process on the activity knowledge graph, a high order set comprising relational path tuples for the known activities of the top linked pairs, wherein each relational path tuple comprises:
the subject of the known activity associated with the relational path tuple,
the object of the known activity associated with the relational path tuple, and
a predicate path comprising a plurality of predicates on a relational path between the subject and the object of the known activity associated with the relational path tuple;
merging the first order set and the high order set to generate a linked entity set;
mapping the linked entity set to candidate trust policies based on known relationships between the activity knowledge graph and clauses of a policy database;
based on one or more clauses of the candidate trust policies, generating a new trust policy for the new activity in compliance with the zero trust architecture; and
enforcing the new trust policy on the new activity attempting to be performed on the online platform.
9 . The non-transitory computer-readable medium of claim 8 , wherein the new activity data is formatted as the triple of the new activity.
10 . The non-transitory computer-readable medium of claim 8 , wherein the learned embedding space results from training the graph-based machine learning model on the activity knowledge graph.
11 . The non-transitory computer-readable medium of claim 10 , wherein the operations further comprise adding the new trust policy to the policy database.
12 . The non-transitory computer-readable medium of claim 8 , wherein the respective probability of the linked e pair is further based on a function of a distance between the new activity and the known activity of the linked pair.
13 . The non-transitory computer-readable medium of claim 8 , wherein enforcing the new trust policy comprises temporarily employing the new trust policy while the new trust policy is being verified.
14 . A method, comprising:
determining, by an online platform employing a zero trust architecture for cyber security and comprising at least one processor, that new activity data describing a new activity attempting to be performed on the online platform does not have an existing trust policy to apply to the new activity;
prior to allowing the new activity to be performed on the online platform:
generating, by the online platform, using a graph-based machine learning model, a new embedding of the new activity data, wherein the new embedding conforms to a learned embedding space of an activity knowledge graph comprising known embeddings of a known activities, wherein each embedding is based on a triple comprising a subject of an activity, a predicate of the activity, and an object of the activity, wherein nodes of the activity knowledge graph represent the subjects and the objects, and wherein edges of the activity knowledge graph represent the predicates;
determining, by the online platform, linked pairs indicative of respective links between the new activity and the known activities;
determining, by the online platform, respective probabilities of the linked pairs, wherein the respective probability of the linked pair is based on at least one of:
a first probability of the subject of the new activity and the predicate of the known activity of the linked pair, or
a second probability of the object of the new activity and the predicate of the known activity of the linked pair;
adding, by the online platform, a predefined quantity of the linked pairs having highest probabilities to a first order set of top linked pairs;
based on the top linked pairs of the first order set, generating, by the online platform, using a defined process on the activity knowledge graph, a high order set comprising relational path tuples for the known activities of the top linked pairs, wherein each relational path tuple comprises:
the subject of the known activity associated with the relational path tuple,
the object of the known activity associated with the relational path tuple, and
a predicate path comprising a plurality of predicates on a relational path between the subject and the object of the known activity associated with the relational path tuple;
merging the first order set and the high order set to generate a linked entity set;
mapping, by the online platform, the linked entity set to candidate trust policies based on known relationships between the activity knowledge graph and clauses of a policy database;
based on one or more clauses of the candidate trust policies, generating, by the online platform, a new trust policy for the new activity in compliance with the zero trust architecture; and
enforcing, by the online platform, the new trust policy on the new activity attempting to be performed on the online platform.
15 . The method of claim 14 , wherein the new activity data is formatted as the triple of the new activity.
16 . The method of claim 14 , wherein the learned embedding space is a result of training of the graph-based machine learning model on the activity knowledge graph.
17 . The method of claim 14 , further comprising adding, by the online platform, the new trust policy to the policy database.
18 . The method of claim 14 , wherein the respective probability of the linked pair is further based on a function of a distance between the new activity and the known activity of the linked pair.
19 . The method of claim 14 , wherein enforcing the new trust policy comprises temporarily employing the new trust policy while the new trust policy is being verified.
20 . The method of claim 19 , wherein temporarily employing the new trust policy comprises selectively applying the new trust policy based on a sensitivity of the new activity.