{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/9d37d008417d562ab46d4b67547a68457ce288d2/b36b2683-243e-3edc-8c84-85b5f4140afd","info":{"version":"1.0.1","title":"Cisco Secure Access Network and Service Objects API","description":"Manage the Network and Service Objects in the organization.","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"Network Objects","description":"Manage the Network Objects in the organization."},{"name":"Network Object Groups","description":"Manage the Network Object Groups in the organization."},{"name":"Service Objects","description":"Manage the Service Objects in the organization."},{"name":"Service Object Groups","description":"Manage the Service Object Groups in the organization."},{"name":"Unified Objects","description":"List the Objects and Object Groups in the organization."},{"name":"Secure Access"}],"x-parser-conf":{"overview":{"markdownPath":"secure-access/reference/policies/network-and-service-objects-overview.md","uri":"secure-access-api-reference-network-and-service-objects-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.sse.cisco.com/{basePath}","variables":{"basePath":{"default":"policies/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"Client credential flow.","flows":{"clientCredentials":{"tokenUrl":"https://api.sse.cisco.com/auth/v2/token","scopes":{"policies.objects.networkObjects:read":"Read the Network Object resources","policies.objects.networkObjectGroups:read":"Read the Network Object Group resources","policies.objects.networkObjects:write":"Write the Network Object resources","policies.objects.networkObjectGroups:write":"Write the Network Object Group resources","policies.objects.serviceObjects:read":"Read the Service Object resources","policies.objects.serviceObjectGroups:read":"Read the Service Object Groups resources","policies.objects.serviceObjects:write":"Write the Service Object resources","policies.objects.serviceObjectGroups:write":"Write the Service Object Group resources"}}}}}},"spec":{"type":"object","description":"The properties of the Service Object Group request body.","required":["name","objectIds","groupIds","values"],"properties":{"name":{"type":"string","description":"The name of the Service Object Group.","example":"mycompany service object group name","$$ref":"#/components/schemas/nameServiceObjectGroup"},"description":{"type":"string","description":"The description of the Service Object Group.","example":"mycompany service object group description","$$ref":"#/components/schemas/descriptionServiceObjectGroup"},"objectIds":{"type":"array","description":"The list of IDs for the Service Objects.","items":{"type":"integer","example":123456},"example":[123456]},"groupIds":{"type":"array","description":"The list of IDs for the Service Object Groups.","items":{"type":"integer","example":123455},"example":[123455]},"values":{"type":"array","description":"The list of values for the Service Object Group.","items":{"anyOf":[{"type":"object","description":"The properties of the Service.","required":["protocol","ports"],"properties":{"protocol":{"type":"string","description":"The protocol of the Service.","enum":["tcp","udp","icmp","any"],"example":"tcp"},"ports":{"type":"array","description":"The list of ports or port ranges for the Service.","items":{"type":"string","description":"A string that specifies a port number.","example":"4567"},"example":["9090","8000"]}},"example":{"protocol":"tcp","ports":["6589"]},"$$ref":"#/components/schemas/ServiceValueType"}]},"$$ref":"#/components/schemas/valuesServiceObjectGroup"}},"example":{"name":"new service object group five","description":"description for service object group five","objectIds":[15906],"groupIds":[],"values":[{"protocol":"tcp","ports":["9780"]},{"protocol":"icmp","ports":[]}]},"$$ref":"#/components/schemas/ServiceObjectGroupRequestSchema","title":"ServiceObjectGroupRequestSchema"}}