{"type":"api","title":"Count object types for dashboard","meta":{"id":"/apps/pubhub/media/cisco-cyber-vision/c0cd14e5fea40ab3226a4b108db61ca3f0980faf/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"description":"RESTful API to manage the resources of Cisco Cyber Vision centers.","title":"Cisco Cyber Vision center v3 API.","version":"3.0.0"},"security":[{"token":[]}],"tags":[{"description":"Activities are an aggregation of flows between components.","name":"Activities"},{"description":"A baseline is used for monitor mode. They represent a snapshot of the network.","name":"Baselines"},{"description":"In monitor mode, these routes allow to retrieve and review differences between the actual network activity and the baseline description.","name":"BaselineDifferences"},{"description":"Components are logical nodes of the network.","name":"Components"},{"description":"Routes to manage network organization.","name":"CustomNetwork"},{"description":"Routes to manage custom properties that can be added to components or groups.","name":"CustomProperties"},{"description":"Routes to retrieve statistics and dashboard information. ","name":"Dashboard"},{"description":"A Device is a physical device that host a software that communicates on the network","name":"Devices"},{"description":"Routes to retrieve about external communications.","name":"ExternalCommunication"},{"description":"Flows represent a network interaction between two components.","name":"Flows"},{"description":"Routes to get a graphical representation of the components, activities, etc.","name":"Graph"},{"description":"Groups are a logical way to organize components.","name":"Groups"},{"description":"Various routes to get more information about a center.","name":"Misc"},{"description":"Routes to access the application parameters such as security options and allow to manage custom parameters.","name":"Parameters"},{"description":"Routes to retrieve information about pcap files replayed.","name":"PcapReplays"},{"description":"Presets are a way to filter data and prepare visualizations.","name":"Presets"},{"description":"Preset Based Reports","name":"Reports"},{"description":"Routes to access the configuration of the risk scores.","name":"RiskScores"},{"description":"Routes to retrieve information about the enrolled sensors.","name":"Sensors"},{"description":"Routes to browse sensor folders.","name":"SensorExplorer"},{"description":"Tags are meaningful labels applied to components and activities to describe network behaviors and device properties.","name":"Tags"},{"description":"Vulnerabilities are known security threats that could allow an attacker to gain unauthorized privileges.","name":"Vulnerabilities"},{"description":"Routes to configure the Active Discovery mode.","name":"ActiveDiscovery"},{"description":"Routes to retrieve information about the global credentials.","name":"GlobalCredentials"}],"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/api/3.0/","schemes":["https"],"securityDefinitions":{"token":{"description":"API token created in the Cyber Vision administration UI","type":"apiKey","name":"x-token-id","in":"header"}}},"spec":{"description":"Count object types for dashboard.","tags":["Dashboard"],"summary":"Count object types for dashboard.","operationId":"getDashboardCount","parameters":[{"type":"string","description":"start of the period of the query, in ms since January 1, 1970 UTC","name":"from","in":"query"},{"type":"string","description":"end of the period of the query, in ms since January 1, 1970 UTC","name":"to","in":"query"}],"responses":{"200":{"description":"object successful","schema":{"description":"JSON representation for counters","type":"object","properties":{"activity":{"description":"JSON representation for count","type":"object","properties":{"active":{"type":"integer","format":"int64","x-go-name":"Active"},"created":{"type":"integer","format":"int64","x-go-name":"Created"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/ActivityCountResult"},"credential":{"type":"object","properties":{"active":{"type":"integer","format":"int64","x-go-name":"Active"},"created":{"type":"integer","format":"int64","x-go-name":"Created"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/CredentialCountResult"},"device":{"type":"object","properties":{"active":{"type":"integer","format":"int64","x-go-name":"Active"},"created":{"type":"integer","format":"int64","x-go-name":"Created"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/DeviceCountResult"},"differences":{"type":"object","properties":{"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/TotalDifferences"},"event":{"type":"object","properties":{"created":{"type":"object","properties":{"critical":{"type":"integer","format":"int64","x-go-name":"Critical"},"high":{"type":"integer","format":"int64","x-go-name":"High"},"low":{"type":"integer","format":"int64","x-go-name":"Low"},"medium":{"type":"integer","format":"int64","x-go-name":"Medium"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/EventCountBySeverity"},"total":{"type":"object","properties":{"critical":{"type":"integer","format":"int64","x-go-name":"Critical"},"high":{"type":"integer","format":"int64","x-go-name":"High"},"low":{"type":"integer","format":"int64","x-go-name":"Low"},"medium":{"type":"integer","format":"int64","x-go-name":"Medium"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/EventCountBySeverity"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/EventCounts"},"group":{"description":"JSON representation for count","type":"object","properties":{"active":{"type":"integer","format":"int64","x-go-name":"Active"},"created":{"type":"integer","format":"int64","x-go-name":"Created"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/GroupCountResult"},"orphanComponent":{"description":"JSON representation for count","type":"object","properties":{"active":{"type":"integer","format":"int64","x-go-name":"Active"},"created":{"type":"integer","format":"int64","x-go-name":"Created"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/OrphanComponentCountResult"},"plc":{"description":"JSON representation for count","type":"object","properties":{"created":{"type":"integer","format":"int64","x-go-name":"Created"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/ProgramDownloadsCountResult"},"riskScoreStats":{"type":"object","properties":{"median":{"type":"number","format":"double","x-go-name":"Median"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/RiskScoreStatsResult"},"tag":{"type":"array","items":{"description":"DetailedTag detailed tag serialization","type":"object","properties":{"category":{"description":"Category json representation","type":"object","properties":{"id":{"type":"string","x-go-name":"Id"},"label":{"type":"string","x-go-name":"Label"},"priority_order":{"type":"integer","format":"int64","x-go-name":"PriorityOrder"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/Category"},"description":{"type":"string","x-go-name":"Description"},"difference":{"type":"object","properties":{"detection":{"type":"integer","format":"int64","x-go-name":"DetectionTime"},"id":{"description":"A UUID is a 128 bit (16 byte) Universal Unique IDentifier as defined in RFC\n4122.","type":"array","items":{"type":"integer","format":"uint8"},"x-go-package":"code.google.com/p/go-uuid/uuid","$$ref":"#/definitions/UUID"},"key":{"type":"string","x-go-name":"Key"},"oldValue":{"type":"string","x-go-name":"OldValue"},"type":{"type":"string","x-go-name":"Type"},"value":{"type":"string","x-go-name":"Value"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/Difference"},"domain":{"type":"string","x-go-name":"Domain"},"id":{"type":"string","x-go-name":"Id"},"important":{"type":"boolean","x-go-name":"Important"},"label":{"type":"string","x-go-name":"Label"},"nbOccurences":{"type":"integer","format":"int64","x-go-name":"NbOccurences"},"riskScoreDescription":{"type":"string","x-go-name":"RiskscoreDescription"},"type":{"type":"string","x-go-name":"Type"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/DetailedTag"},"x-go-name":"Tag"},"variable":{"description":"JSON representation for count","type":"object","properties":{"active":{"type":"integer","format":"int64","x-go-name":"Active"},"created":{"type":"integer","format":"int64","x-go-name":"Created"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/VariableCountResult"},"vulnerability":{"description":"JSON representation for count","type":"object","properties":{"active":{"type":"integer","format":"int64","x-go-name":"Active"},"created":{"type":"integer","format":"int64","x-go-name":"Created"},"deviceCount":{"type":"integer","format":"int64","x-go-name":"DeviceCount"},"orphanComponentCount":{"type":"integer","format":"int64","x-go-name":"OrphanComponentCount"},"total":{"type":"integer","format":"int64","x-go-name":"Total"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/VulnerabilityCountResult"}},"x-go-package":"cv-gitlab.cisco.com/sentryo-labs/ccv-go/backend/serialization/v3","$$ref":"#/definitions/AllCounters"}},"400":{"description":"bad request (for instance wrong format in dates)"},"401":{"description":"incorrect token"},"default":{"description":"unexpected error"}},"__originalOperationId":"getDashboardCount","consumes":["application/json"],"produces":["application/json"],"security":[{"token":[]}],"method":"get","path":"/homepage/dashboard"}}