@@ -75,7 +75,8 @@ var osProfileSchema = `
7575		"existingCvesURL": { "type": ["string", "null"] }, 
7676		"fixedCvesURL": { "type": ["string", "null"] }, 
7777        "securityFeature": { "type": "string" }, 
78-         "platformBundle": { "type": ["string", "null"] } 
78+         "platformBundle": { "type": ["string", "null"] }, 
79+ 		"tlsCaCert": { "type": ["string", "null"] } 
7980      }, 
8081      "required": [ 
8182        "name", "type", "provider", "architecture", "profileName", 
@@ -102,6 +103,7 @@ type OSProfileSpec struct {
102103	PlatformBundle     string  `yaml:"platformBundle"` 
103104	OsExistingCvesURL  string  `yaml:"osExistingCvesURL"` 
104105	OsFixedCvesURL     string  `yaml:"osFixedCvesURL"` 
106+ 	TLSCaCert          string  `yaml:"tlsCaCert"` 
105107}
106108
107109type  NestedSpec  struct  {
@@ -148,6 +150,10 @@ func printOSProfile(writer io.Writer, OSProfile *infra.OperatingSystemResource)
148150	_ , _  =  fmt .Fprintf (writer , "Created: \t %v\n " , OSProfile .Timestamps .CreatedAt )
149151	_ , _  =  fmt .Fprintf (writer , "Updated: \t %v\n " , OSProfile .Timestamps .UpdatedAt )
150152
153+ 	if  OSProfile .TlsCaCert  !=  nil  {
154+ 		_ , _  =  fmt .Fprintf (writer , "TLS CA Cert: \t %v\n " , * OSProfile .TlsCaCert )
155+ 	}
156+ 
151157	if  OSProfile .ExistingCves  !=  nil  &&  OSProfile .FixedCves  !=  nil  {
152158
153159		if  * OSProfile .ExistingCves  !=  ""  {
0 commit comments