Thank you for the input.
I’m aware of the standard functions and 3rd generation policies in Github with common functions. Where can I find out the source code (Github URL ?) to read more on import “ports”, import “strings” etc…?
As I mentioned in my original post, we do not have a module for working with ports.
I created the ports module for you on the fly as a means of helping you get started. You can copy the source code from the example mock I have provided and create your own module that you can reuse in your policies.
We welcome contributions so if you would like to give back to the community, please raise a PR on the terraform-sentinel-policies repository.
Regarding the strings import, you can read more about the Sentinel standard import library in the Sentinel imports documentation