Patent attributes
Embodiments are directed to declaring network policies using natural language. A policy statement for the management of the network resources may be generated based on a statement. A prompt dataset may be generated for large language models based on the policy statement and a prompt template. In response to providing the prompt dataset to train the large language models further actions may be performed, including: generating a candidate configuration profile based on information provided by the trained large language models such that the candidate configuration profile may include field names or field values that may be associated with providing the management of the network resources; in response to validation of the candidate configuration profile for the management of the network resources, the validated candidate configuration profile may be provided to an infrastructure security computer (ISC) such that the ISC updates network policies based on the validated candidate configuration profile.