CoreService

<back to all web services

QueryResourceVulnerabilities

Resource - CRUD

Returns vulnerabilities

Requires Authentication
Required role:TenantReader
The following routes are available for this service:
GET/api/resources/vulnerabilitiesSearch for vulnerabilities
GET/resources/vulnerabilitiesSearch for vulnerabilities
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    /**
    * Returns vulnerabilities
    */
    @Api(Description="Returns vulnerabilities")
    @ApiResponse(Description="The request ended successfully", IsDefaultResponse=true, ResponseType=0, Culture=neutral, PublicKeyToken=null]].class, StatusCode=200)
    public static class QueryResourceVulnerabilities extends QueryDb<ResourceVulnerability> implements IHasTenantName, IGet, IGroupable
    {
        @ApiMember(DataType="string", IsRequired=true, ParameterType="header")
        @Validate(Validator="NotEmpty")
        public String tenantName = null;

        /**
        * The property, the data will be grouped on
        */
        @ApiMember(Description="The property, the data will be grouped on", ParameterType="query")
        public String groupBy = null;

        /**
        * The property, used for aggregation
        */
        @ApiMember(Description="The property, used for aggregation", ParameterType="query")
        public String aggregateOn = null;

        /**
        * The aggregation function to use
        */
        @ApiMember(Description="The aggregation function to use", ParameterType="query")
        public Aggregations aggregation = null;

        /**
        * Returns all referenced object
        */
        @ApiMember(Description="Returns all referenced object", ParameterType="query")
        public Boolean includeReferencedObjects = null;
        
        public String getTenantName() { return tenantName; }
        public QueryResourceVulnerabilities setTenantName(String value) { this.tenantName = value; return this; }
        public String getGroupBy() { return groupBy; }
        public QueryResourceVulnerabilities setGroupBy(String value) { this.groupBy = value; return this; }
        public String getAggregateOn() { return aggregateOn; }
        public QueryResourceVulnerabilities setAggregateOn(String value) { this.aggregateOn = value; return this; }
        public Aggregations getAggregation() { return aggregation; }
        public QueryResourceVulnerabilities setAggregation(Aggregations value) { this.aggregation = value; return this; }
        public Boolean isIncludeReferencedObjects() { return includeReferencedObjects; }
        public QueryResourceVulnerabilities setIncludeReferencedObjects(Boolean value) { this.includeReferencedObjects = value; return this; }
    }

    public static class QueryDb<T> extends QueryBase
    {
        
    }

    @DataContract
    public static class QueryBase
    {
        @DataMember(Order=1)
        public Integer skip = null;

        @DataMember(Order=2)
        public Integer take = null;

        @DataMember(Order=3)
        public String orderBy = null;

        @DataMember(Order=4)
        public String orderByDesc = null;

        @DataMember(Order=5)
        public String include = null;

        @DataMember(Order=6)
        public String fields = null;

        @DataMember(Order=7)
        public HashMap<String,String> meta = null;
        
        public Integer getSkip() { return skip; }
        public QueryBase setSkip(Integer value) { this.skip = value; return this; }
        public Integer getTake() { return take; }
        public QueryBase setTake(Integer value) { this.take = value; return this; }
        public String getOrderBy() { return orderBy; }
        public QueryBase setOrderBy(String value) { this.orderBy = value; return this; }
        public String getOrderByDesc() { return orderByDesc; }
        public QueryBase setOrderByDesc(String value) { this.orderByDesc = value; return this; }
        public String getInclude() { return include; }
        public QueryBase setInclude(String value) { this.include = value; return this; }
        public String getFields() { return fields; }
        public QueryBase setFields(String value) { this.fields = value; return this; }
        public HashMap<String,String> getMeta() { return meta; }
        public QueryBase setMeta(HashMap<String,String> value) { this.meta = value; return this; }
    }

    public static class ResourceVulnerability implements INotSoftDeletable
    {
        public UUID id = null;
        @References(Type=Resource.class)
        public UUID resourceId = null;

        public Resource resource = null;
        public String source = null;
        public VulnerabilitySeverities severity = null;
        public Date firstFound = null;
        public Date lastFound = null;
        public String category = null;
        public String subCategory = null;
        public String title = null;
        public Boolean isPatchable = null;
        public String diagnosis = null;
        public String consequence = null;
        public String solution = null;
        public String cvss = null;
        public String cvssBase = null;
        public String cvssVersion = null;
        public ArrayList<Cve> cveList = new ArrayList<Cve>();
        public ArrayList<String> softwareList = new ArrayList<String>();
        
        public UUID getId() { return id; }
        public ResourceVulnerability setId(UUID value) { this.id = value; return this; }
        public UUID getResourceId() { return resourceId; }
        public ResourceVulnerability setResourceId(UUID value) { this.resourceId = value; return this; }
        public Resource getResource() { return resource; }
        public ResourceVulnerability setResource(Resource value) { this.resource = value; return this; }
        public String getSource() { return source; }
        public ResourceVulnerability setSource(String value) { this.source = value; return this; }
        public VulnerabilitySeverities getSeverity() { return severity; }
        public ResourceVulnerability setSeverity(VulnerabilitySeverities value) { this.severity = value; return this; }
        public Date getFirstFound() { return firstFound; }
        public ResourceVulnerability setFirstFound(Date value) { this.firstFound = value; return this; }
        public Date getLastFound() { return lastFound; }
        public ResourceVulnerability setLastFound(Date value) { this.lastFound = value; return this; }
        public String getCategory() { return category; }
        public ResourceVulnerability setCategory(String value) { this.category = value; return this; }
        public String getSubCategory() { return subCategory; }
        public ResourceVulnerability setSubCategory(String value) { this.subCategory = value; return this; }
        public String getTitle() { return title; }
        public ResourceVulnerability setTitle(String value) { this.title = value; return this; }
        public Boolean getIsPatchable() { return isPatchable; }
        public ResourceVulnerability setIsPatchable(Boolean value) { this.isPatchable = value; return this; }
        public String getDiagnosis() { return diagnosis; }
        public ResourceVulnerability setDiagnosis(String value) { this.diagnosis = value; return this; }
        public String getConsequence() { return consequence; }
        public ResourceVulnerability setConsequence(String value) { this.consequence = value; return this; }
        public String getSolution() { return solution; }
        public ResourceVulnerability setSolution(String value) { this.solution = value; return this; }
        public String getCvss() { return cvss; }
        public ResourceVulnerability setCvss(String value) { this.cvss = value; return this; }
        public String getCvssBase() { return cvssBase; }
        public ResourceVulnerability setCvssBase(String value) { this.cvssBase = value; return this; }
        public String getCvssVersion() { return cvssVersion; }
        public ResourceVulnerability setCvssVersion(String value) { this.cvssVersion = value; return this; }
        public ArrayList<Cve> getCveList() { return cveList; }
        public ResourceVulnerability setCveList(ArrayList<Cve> value) { this.cveList = value; return this; }
        public ArrayList<String> getSoftwareList() { return softwareList; }
        public ResourceVulnerability setSoftwareList(ArrayList<String> value) { this.softwareList = value; return this; }
    }

    public static class Resource extends ConfigItem implements IHasTenantId, IHasVariables, IEnvironmentSpecific
    {
        @Required()
        public UUID tenantId = null;

        @StringLength(MaximumLength=350)
        public String extId = null;

        @StringLength(MaximumLength=350)
        public String extType = null;

        @StringLength(MaximumLength=350)
        public String extName = null;

        @Required()
        @StringLength(MaximumLength=50)
        public String name = null;

        @Required()
        public ObjectTypes objectType = null;

        @Required()
        public String selfLink = null;

        @Required()
        @References(Type=ResourceGroup.class)
        public UUID parentId = null;

        public ResourceGroup parent = null;
        @Required()
        @References(Type=Deployment.class)
        public UUID deploymentId = null;

        public Deployment deployment = null;
        @Required()
        @References(Type=DeploymentCollection.class)
        public UUID collectionId = null;

        public DeploymentCollection collection = null;
        @Required()
        @References(Type=ResourceProvider.class)
        public UUID resourceProviderId = null;

        public ResourceProvider resourceProvider = null;
        @Required()
        public OperationalStates state = null;

        @Required()
        public Environments environment = null;

        @Required()
        public IList<Variable> variables = null;

        @StringLength(MaximumLength=350)
        public String location = null;

        public Date lastSeen = null;
        public Date lastPatchDate = null;
        public Date nextPatchDate = null;
        public Date lastBackupDate = null;
        @Required()
        public Boolean isForeign = null;

        @Required()
        public Boolean isAlerting = null;

        @StringLength(MaximumLength=200)
        public String alertingDisabledId = null;

        @StringLength(MaximumLength=1000)
        public String alertingDisabledReason = null;

        @Required()
        public Boolean isVulnerable = null;

        @StringLength(MaximumLength=1000)
        public String vulnerabilityReason = null;

        public Date vulnerableSince = null;
        @Required()
        public Boolean isMissingOnProvider = null;

        @Required()
        public Boolean supportsStartStop = null;

        public BigDecimal costCurrentMonth = null;
        public BigDecimal costLastMonth = null;
        public String costCurrency = null;
        @Required()
        public HashMap<String,Object> config = new HashMap<String,Object>();
        
        public UUID getTenantId() { return tenantId; }
        public Resource setTenantId(UUID value) { this.tenantId = value; return this; }
        public String getExtId() { return extId; }
        public Resource setExtId(String value) { this.extId = value; return this; }
        public String getExtType() { return extType; }
        public Resource setExtType(String value) { this.extType = value; return this; }
        public String getExtName() { return extName; }
        public Resource setExtName(String value) { this.extName = value; return this; }
        public String getName() { return name; }
        public Resource setName(String value) { this.name = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public Resource setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public String getSelfLink() { return selfLink; }
        public Resource setSelfLink(String value) { this.selfLink = value; return this; }
        public UUID getParentId() { return parentId; }
        public Resource setParentId(UUID value) { this.parentId = value; return this; }
        public ResourceGroup getParent() { return parent; }
        public Resource setParent(ResourceGroup value) { this.parent = value; return this; }
        public UUID getDeploymentId() { return deploymentId; }
        public Resource setDeploymentId(UUID value) { this.deploymentId = value; return this; }
        public Deployment getDeployment() { return deployment; }
        public Resource setDeployment(Deployment value) { this.deployment = value; return this; }
        public UUID getCollectionId() { return collectionId; }
        public Resource setCollectionId(UUID value) { this.collectionId = value; return this; }
        public DeploymentCollection getCollection() { return collection; }
        public Resource setCollection(DeploymentCollection value) { this.collection = value; return this; }
        public UUID getResourceProviderId() { return resourceProviderId; }
        public Resource setResourceProviderId(UUID value) { this.resourceProviderId = value; return this; }
        public ResourceProvider getResourceProvider() { return resourceProvider; }
        public Resource setResourceProvider(ResourceProvider value) { this.resourceProvider = value; return this; }
        public OperationalStates getState() { return state; }
        public Resource setState(OperationalStates value) { this.state = value; return this; }
        public Environments getEnvironment() { return environment; }
        public Resource setEnvironment(Environments value) { this.environment = value; return this; }
        public IList<Variable> getVariables() { return variables; }
        public Resource setVariables(IList<Variable> value) { this.variables = value; return this; }
        public String getLocation() { return location; }
        public Resource setLocation(String value) { this.location = value; return this; }
        public Date getLastSeen() { return lastSeen; }
        public Resource setLastSeen(Date value) { this.lastSeen = value; return this; }
        public Date getLastPatchDate() { return lastPatchDate; }
        public Resource setLastPatchDate(Date value) { this.lastPatchDate = value; return this; }
        public Date getNextPatchDate() { return nextPatchDate; }
        public Resource setNextPatchDate(Date value) { this.nextPatchDate = value; return this; }
        public Date getLastBackupDate() { return lastBackupDate; }
        public Resource setLastBackupDate(Date value) { this.lastBackupDate = value; return this; }
        public Boolean getIsForeign() { return isForeign; }
        public Resource setIsForeign(Boolean value) { this.isForeign = value; return this; }
        public Boolean getIsAlerting() { return isAlerting; }
        public Resource setIsAlerting(Boolean value) { this.isAlerting = value; return this; }
        public String getAlertingDisabledId() { return alertingDisabledId; }
        public Resource setAlertingDisabledId(String value) { this.alertingDisabledId = value; return this; }
        public String getAlertingDisabledReason() { return alertingDisabledReason; }
        public Resource setAlertingDisabledReason(String value) { this.alertingDisabledReason = value; return this; }
        public Boolean getIsVulnerable() { return isVulnerable; }
        public Resource setIsVulnerable(Boolean value) { this.isVulnerable = value; return this; }
        public String getVulnerabilityReason() { return vulnerabilityReason; }
        public Resource setVulnerabilityReason(String value) { this.vulnerabilityReason = value; return this; }
        public Date getVulnerableSince() { return vulnerableSince; }
        public Resource setVulnerableSince(Date value) { this.vulnerableSince = value; return this; }
        public Boolean getIsMissingOnProvider() { return isMissingOnProvider; }
        public Resource setIsMissingOnProvider(Boolean value) { this.isMissingOnProvider = value; return this; }
        public Boolean isSupportsStartStop() { return supportsStartStop; }
        public Resource setSupportsStartStop(Boolean value) { this.supportsStartStop = value; return this; }
        public BigDecimal getCostCurrentMonth() { return costCurrentMonth; }
        public Resource setCostCurrentMonth(BigDecimal value) { this.costCurrentMonth = value; return this; }
        public BigDecimal getCostLastMonth() { return costLastMonth; }
        public Resource setCostLastMonth(BigDecimal value) { this.costLastMonth = value; return this; }
        public String getCostCurrency() { return costCurrency; }
        public Resource setCostCurrency(String value) { this.costCurrency = value; return this; }
        public HashMap<String,Object> getConfig() { return config; }
        public Resource setConfig(HashMap<String,Object> value) { this.config = value; return this; }
    }

    public static class ConfigItem extends Auditable implements IConfigItem
    {
        public UUID id = null;
        @Required()
        public String name = null;

        @Required()
        @StringLength(MaximumLength=250)
        public String displayName = null;

        @StringLength(MaximumLength=8000)
        public String description = null;

        public ObjectTypes objectType = null;
        @Ignore()
        public String selfLink = null;

        @Required()
        public IList<Tag> tags = null;

        @Required()
        public IList<PathItem> path = null;
        
        public UUID getId() { return id; }
        public ConfigItem setId(UUID value) { this.id = value; return this; }
        public String getName() { return name; }
        public ConfigItem setName(String value) { this.name = value; return this; }
        public String getDisplayName() { return displayName; }
        public ConfigItem setDisplayName(String value) { this.displayName = value; return this; }
        public String getDescription() { return description; }
        public ConfigItem setDescription(String value) { this.description = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public ConfigItem setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public String getSelfLink() { return selfLink; }
        public ConfigItem setSelfLink(String value) { this.selfLink = value; return this; }
        public IList<Tag> getTags() { return tags; }
        public ConfigItem setTags(IList<Tag> value) { this.tags = value; return this; }
        public IList<PathItem> getPath() { return path; }
        public ConfigItem setPath(IList<PathItem> value) { this.path = value; return this; }
    }

    public static class Auditable implements IAuditable
    {
        @Required()
        public Date created = null;

        @Required()
        public String createUser = null;

        @Required()
        public String createUserId = null;

        @Required()
        public Date modified = null;

        @Required()
        public String modifyUser = null;

        @Required()
        public String modifyUserId = null;

        @Required()
        public Boolean isDeleted = null;

        public Date deleted = null;
        public String deleteUser = null;
        public String deleteUserId = null;
        
        public Date getCreated() { return created; }
        public Auditable setCreated(Date value) { this.created = value; return this; }
        public String getCreateUser() { return createUser; }
        public Auditable setCreateUser(String value) { this.createUser = value; return this; }
        public String getCreateUserId() { return createUserId; }
        public Auditable setCreateUserId(String value) { this.createUserId = value; return this; }
        public Date getModified() { return modified; }
        public Auditable setModified(Date value) { this.modified = value; return this; }
        public String getModifyUser() { return modifyUser; }
        public Auditable setModifyUser(String value) { this.modifyUser = value; return this; }
        public String getModifyUserId() { return modifyUserId; }
        public Auditable setModifyUserId(String value) { this.modifyUserId = value; return this; }
        public Boolean getIsDeleted() { return isDeleted; }
        public Auditable setIsDeleted(Boolean value) { this.isDeleted = value; return this; }
        public Date getDeleted() { return deleted; }
        public Auditable setDeleted(Date value) { this.deleted = value; return this; }
        public String getDeleteUser() { return deleteUser; }
        public Auditable setDeleteUser(String value) { this.deleteUser = value; return this; }
        public String getDeleteUserId() { return deleteUserId; }
        public Auditable setDeleteUserId(String value) { this.deleteUserId = value; return this; }
    }

    public static enum ObjectTypes
    {
        None,
        ConfigItem,
        Tenant,
        Collection,
        Resource,
        ComputeNode,
        VirtualMachine,
        PhysicalMachine,
        Disk,
        Subnet,
        IpAddress,
        Job,
        JobEvent,
        FreezePeriod,
        ResourceGroup,
        Deployment,
        ResourceGroupTemplate,
        DeploymentTemplate,
        ResourceProvider,
        GenericResource,
        Role,
        Permission,
        User,
        PatchingWindow,
        Update,
        ReportDefinition,
        TimeSeries,
        DataPoint,
        Action,
        ActionAssignment,
        UserNote;
    }

    public static class Tag
    {
        public String name = null;
        public String value = null;
        public Boolean isProtected = null;
        
        public String getName() { return name; }
        public Tag setName(String value) { this.name = value; return this; }
        public String getValue() { return value; }
        public Tag setValue(String value) { this.value = value; return this; }
        public Boolean getIsProtected() { return isProtected; }
        public Tag setIsProtected(Boolean value) { this.isProtected = value; return this; }
    }

    public static class PathItem
    {
        public String label = null;
        public String link = null;
        public ObjectTypes objectType = null;
        public UUID objectId = null;
        
        public String getLabel() { return label; }
        public PathItem setLabel(String value) { this.label = value; return this; }
        public String getLink() { return link; }
        public PathItem setLink(String value) { this.link = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public PathItem setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public UUID getObjectId() { return objectId; }
        public PathItem setObjectId(UUID value) { this.objectId = value; return this; }
    }

    public static class ResourceGroup extends ConfigItem implements IHasTenantId, IHasVariables, IEnvironmentSpecific, IHasSequence
    {
        @Required()
        public String shortId = null;

        @Required()
        public UUID tenantId = null;

        @Required()
        @StringLength(MaximumLength=50)
        public String name = null;

        @Required()
        public ObjectTypes objectType = null;

        @Ignore()
        public String selfLink = null;

        @Required()
        public Environments environment = null;

        @Required()
        public LifecycleStates state = null;

        @Required()
        @References(Type=Deployment.class)
        public UUID parentId = null;

        public Deployment parent = null;
        public UUID templateId = null;
        @Required()
        public IList<Parameter> parameters = null;

        @Required()
        public IList<Variable> variables = null;

        public Date nextPatchDate = null;
        public ResourceCompositions composition = null;
        
        public String getShortId() { return shortId; }
        public ResourceGroup setShortId(String value) { this.shortId = value; return this; }
        public UUID getTenantId() { return tenantId; }
        public ResourceGroup setTenantId(UUID value) { this.tenantId = value; return this; }
        public String getName() { return name; }
        public ResourceGroup setName(String value) { this.name = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public ResourceGroup setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public String getSelfLink() { return selfLink; }
        public ResourceGroup setSelfLink(String value) { this.selfLink = value; return this; }
        public Environments getEnvironment() { return environment; }
        public ResourceGroup setEnvironment(Environments value) { this.environment = value; return this; }
        public LifecycleStates getState() { return state; }
        public ResourceGroup setState(LifecycleStates value) { this.state = value; return this; }
        public UUID getParentId() { return parentId; }
        public ResourceGroup setParentId(UUID value) { this.parentId = value; return this; }
        public Deployment getParent() { return parent; }
        public ResourceGroup setParent(Deployment value) { this.parent = value; return this; }
        public UUID getTemplateId() { return templateId; }
        public ResourceGroup setTemplateId(UUID value) { this.templateId = value; return this; }
        public IList<Parameter> getParameters() { return parameters; }
        public ResourceGroup setParameters(IList<Parameter> value) { this.parameters = value; return this; }
        public IList<Variable> getVariables() { return variables; }
        public ResourceGroup setVariables(IList<Variable> value) { this.variables = value; return this; }
        public Date getNextPatchDate() { return nextPatchDate; }
        public ResourceGroup setNextPatchDate(Date value) { this.nextPatchDate = value; return this; }
        public ResourceCompositions getComposition() { return composition; }
        public ResourceGroup setComposition(ResourceCompositions value) { this.composition = value; return this; }
    }

    public static enum Environments
    {
        Lab,
        Poc,
        Dev,
        Test,
        Int,
        Uat,
        Prod;
    }

    public static enum LifecycleStates
    {
        New,
        Deploying,
        Deployed,
        Removing,
        Removed,
        Failure,
        Imported;
    }

    public static class Deployment extends ConfigItem implements IHasTenantId, IHasVariables, IEnvironmentSpecific, IHasSequence
    {
        @Required()
        public String shortId = null;

        @Required()
        public UUID tenantId = null;

        @Required()
        @StringLength(MaximumLength=100)
        public String name = null;

        @Required()
        public String nameUserDefinedPart = null;

        @Required()
        public ObjectTypes objectType = null;

        @Ignore()
        public String selfLink = null;

        @Required()
        public LifecycleStates state = null;

        @Required()
        public Environments environment = null;

        public UUID templateId = null;
        @Required()
        public IList<Parameter> parameters = null;

        @Required()
        public IList<Variable> variables = null;

        @Required()
        public IList<Variable> variablesSnapshot = null;

        @Required()
        @References(Type=DeploymentCollection.class)
        public UUID parentId = null;

        public DeploymentCollection parent = null;
        @Required()
        public Date validFrom = null;

        public Date validUntil = null;
        @Required()
        public Boolean isNeverExpiring = null;

        public Date nextPatchDate = null;
        @Required()
        public UUID defaultResourceProviderId = null;

        @Required()
        public Boolean needsAttention = null;

        public ResourceCompositions composition = null;
        public BigDecimal monthlyBudget = null;
        public Boolean sendBudgetNotificationMails = null;
        public Integer budgetWarningThresholdPercent = null;
        public OperationalStates operationalState = null;
        public Integer resourcesRunning = null;
        public Integer resourcesTotal = null;
        
        public String getShortId() { return shortId; }
        public Deployment setShortId(String value) { this.shortId = value; return this; }
        public UUID getTenantId() { return tenantId; }
        public Deployment setTenantId(UUID value) { this.tenantId = value; return this; }
        public String getName() { return name; }
        public Deployment setName(String value) { this.name = value; return this; }
        public String getNameUserDefinedPart() { return nameUserDefinedPart; }
        public Deployment setNameUserDefinedPart(String value) { this.nameUserDefinedPart = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public Deployment setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public String getSelfLink() { return selfLink; }
        public Deployment setSelfLink(String value) { this.selfLink = value; return this; }
        public LifecycleStates getState() { return state; }
        public Deployment setState(LifecycleStates value) { this.state = value; return this; }
        public Environments getEnvironment() { return environment; }
        public Deployment setEnvironment(Environments value) { this.environment = value; return this; }
        public UUID getTemplateId() { return templateId; }
        public Deployment setTemplateId(UUID value) { this.templateId = value; return this; }
        public IList<Parameter> getParameters() { return parameters; }
        public Deployment setParameters(IList<Parameter> value) { this.parameters = value; return this; }
        public IList<Variable> getVariables() { return variables; }
        public Deployment setVariables(IList<Variable> value) { this.variables = value; return this; }
        public IList<Variable> getVariablesSnapshot() { return variablesSnapshot; }
        public Deployment setVariablesSnapshot(IList<Variable> value) { this.variablesSnapshot = value; return this; }
        public UUID getParentId() { return parentId; }
        public Deployment setParentId(UUID value) { this.parentId = value; return this; }
        public DeploymentCollection getParent() { return parent; }
        public Deployment setParent(DeploymentCollection value) { this.parent = value; return this; }
        public Date getValidFrom() { return validFrom; }
        public Deployment setValidFrom(Date value) { this.validFrom = value; return this; }
        public Date getValidUntil() { return validUntil; }
        public Deployment setValidUntil(Date value) { this.validUntil = value; return this; }
        public Boolean getIsNeverExpiring() { return isNeverExpiring; }
        public Deployment setIsNeverExpiring(Boolean value) { this.isNeverExpiring = value; return this; }
        public Date getNextPatchDate() { return nextPatchDate; }
        public Deployment setNextPatchDate(Date value) { this.nextPatchDate = value; return this; }
        public UUID getDefaultResourceProviderId() { return defaultResourceProviderId; }
        public Deployment setDefaultResourceProviderId(UUID value) { this.defaultResourceProviderId = value; return this; }
        public Boolean isNeedsAttention() { return needsAttention; }
        public Deployment setNeedsAttention(Boolean value) { this.needsAttention = value; return this; }
        public ResourceCompositions getComposition() { return composition; }
        public Deployment setComposition(ResourceCompositions value) { this.composition = value; return this; }
        public BigDecimal getMonthlyBudget() { return monthlyBudget; }
        public Deployment setMonthlyBudget(BigDecimal value) { this.monthlyBudget = value; return this; }
        public Boolean isSendBudgetNotificationMails() { return sendBudgetNotificationMails; }
        public Deployment setSendBudgetNotificationMails(Boolean value) { this.sendBudgetNotificationMails = value; return this; }
        public Integer getBudgetWarningThresholdPercent() { return budgetWarningThresholdPercent; }
        public Deployment setBudgetWarningThresholdPercent(Integer value) { this.budgetWarningThresholdPercent = value; return this; }
        public OperationalStates getOperationalState() { return operationalState; }
        public Deployment setOperationalState(OperationalStates value) { this.operationalState = value; return this; }
        public Integer getResourcesRunning() { return resourcesRunning; }
        public Deployment setResourcesRunning(Integer value) { this.resourcesRunning = value; return this; }
        public Integer getResourcesTotal() { return resourcesTotal; }
        public Deployment setResourcesTotal(Integer value) { this.resourcesTotal = value; return this; }
    }

    public static class Parameter
    {
        public String name = null;
        public String description = null;
        public String value = null;
        @SerializedName("default") public String Default = null;
        public Boolean optional = null;
        public ParameterValueType type = null;
        public String validation = null;
        
        public String getName() { return name; }
        public Parameter setName(String value) { this.name = value; return this; }
        public String getDescription() { return description; }
        public Parameter setDescription(String value) { this.description = value; return this; }
        public String getValue() { return value; }
        public Parameter setValue(String value) { this.value = value; return this; }
        public String getDefault() { return Default; }
        public Parameter setDefault(String value) { this.Default = value; return this; }
        public Boolean isOptional() { return optional; }
        public Parameter setOptional(Boolean value) { this.optional = value; return this; }
        public ParameterValueType getType() { return type; }
        public Parameter setType(ParameterValueType value) { this.type = value; return this; }
        public String getValidation() { return validation; }
        public Parameter setValidation(String value) { this.validation = value; return this; }
    }

    public static enum ParameterValueType
    {
        String,
        Number,
        Boolean,
        SecureString;
    }

    public static class Variable
    {
        public String name = null;
        public String value = null;
        public ValueDataType type = null;
        public String description = null;
        public Boolean isInherited = null;
        public Environments environment = null;
        
        public String getName() { return name; }
        public Variable setName(String value) { this.name = value; return this; }
        public String getValue() { return value; }
        public Variable setValue(String value) { this.value = value; return this; }
        public ValueDataType getType() { return type; }
        public Variable setType(ValueDataType value) { this.type = value; return this; }
        public String getDescription() { return description; }
        public Variable setDescription(String value) { this.description = value; return this; }
        public Boolean getIsInherited() { return isInherited; }
        public Variable setIsInherited(Boolean value) { this.isInherited = value; return this; }
        public Environments getEnvironment() { return environment; }
        public Variable setEnvironment(Environments value) { this.environment = value; return this; }
    }

    public static enum ValueDataType
    {
        String,
        Number,
        Boolean,
        List;
    }

    public static class DeploymentCollection extends ConfigItem implements IHasTenantId, IHasVariables
    {
        @Required()
        public UUID tenantId = null;

        @Required()
        @StringLength(MaximumLength=50)
        public String name = null;

        @Required()
        public ObjectTypes objectType = null;

        @Ignore()
        public String selfLink = null;

        @Required()
        public IList<Variable> variables = null;

        @Required()
        public Boolean isLostAndFound = null;

        public BigDecimal monthlyBudget = null;
        public Boolean sendBudgetNotificationMails = null;
        public Integer budgetWarningThresholdPercent = null;
        
        public UUID getTenantId() { return tenantId; }
        public DeploymentCollection setTenantId(UUID value) { this.tenantId = value; return this; }
        public String getName() { return name; }
        public DeploymentCollection setName(String value) { this.name = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public DeploymentCollection setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public String getSelfLink() { return selfLink; }
        public DeploymentCollection setSelfLink(String value) { this.selfLink = value; return this; }
        public IList<Variable> getVariables() { return variables; }
        public DeploymentCollection setVariables(IList<Variable> value) { this.variables = value; return this; }
        public Boolean getIsLostAndFound() { return isLostAndFound; }
        public DeploymentCollection setIsLostAndFound(Boolean value) { this.isLostAndFound = value; return this; }
        public BigDecimal getMonthlyBudget() { return monthlyBudget; }
        public DeploymentCollection setMonthlyBudget(BigDecimal value) { this.monthlyBudget = value; return this; }
        public Boolean isSendBudgetNotificationMails() { return sendBudgetNotificationMails; }
        public DeploymentCollection setSendBudgetNotificationMails(Boolean value) { this.sendBudgetNotificationMails = value; return this; }
        public Integer getBudgetWarningThresholdPercent() { return budgetWarningThresholdPercent; }
        public DeploymentCollection setBudgetWarningThresholdPercent(Integer value) { this.budgetWarningThresholdPercent = value; return this; }
    }

    public static enum ResourceCompositions
    {
        Native,
        Foreign,
        Mixed;
    }

    public static enum OperationalStates
    {
        None,
        Starting,
        Running,
        Stopping,
        Stopped,
        Restarting,
        Deleting,
        Unknown;
    }

    public static class ResourceProvider extends ConfigItem implements IHasTenantId
    {
        @Required()
        public UUID tenantId = null;

        @Required()
        @StringLength(MaximumLength=50)
        public String name = null;

        @Required()
        public Environments defaultEnvironment = null;

        @Required()
        public IList<Environments> allowedEnvironments = null;

        @Required()
        public ObjectTypes objectType = null;

        @Required()
        public ResourceProviderTypes type = null;

        @Ignore()
        public String selfLink = null;

        @Required()
        public IList<ProviderConfigEntry> config = null;

        @Required()
        public Boolean isDisabled = null;

        @Required()
        public Boolean isReadyForDeployments = null;

        public BigDecimal costCurrentMonth = null;
        public BigDecimal costLastMonth = null;
        public String costCurrency = null;
        
        public UUID getTenantId() { return tenantId; }
        public ResourceProvider setTenantId(UUID value) { this.tenantId = value; return this; }
        public String getName() { return name; }
        public ResourceProvider setName(String value) { this.name = value; return this; }
        public Environments getDefaultEnvironment() { return defaultEnvironment; }
        public ResourceProvider setDefaultEnvironment(Environments value) { this.defaultEnvironment = value; return this; }
        public IList<Environments> getAllowedEnvironments() { return allowedEnvironments; }
        public ResourceProvider setAllowedEnvironments(IList<Environments> value) { this.allowedEnvironments = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public ResourceProvider setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public ResourceProviderTypes getType() { return type; }
        public ResourceProvider setType(ResourceProviderTypes value) { this.type = value; return this; }
        public String getSelfLink() { return selfLink; }
        public ResourceProvider setSelfLink(String value) { this.selfLink = value; return this; }
        public IList<ProviderConfigEntry> getConfig() { return config; }
        public ResourceProvider setConfig(IList<ProviderConfigEntry> value) { this.config = value; return this; }
        public Boolean getIsDisabled() { return isDisabled; }
        public ResourceProvider setIsDisabled(Boolean value) { this.isDisabled = value; return this; }
        public Boolean getIsReadyForDeployments() { return isReadyForDeployments; }
        public ResourceProvider setIsReadyForDeployments(Boolean value) { this.isReadyForDeployments = value; return this; }
        public BigDecimal getCostCurrentMonth() { return costCurrentMonth; }
        public ResourceProvider setCostCurrentMonth(BigDecimal value) { this.costCurrentMonth = value; return this; }
        public BigDecimal getCostLastMonth() { return costLastMonth; }
        public ResourceProvider setCostLastMonth(BigDecimal value) { this.costLastMonth = value; return this; }
        public String getCostCurrency() { return costCurrency; }
        public ResourceProvider setCostCurrency(String value) { this.costCurrency = value; return this; }
    }

    public static enum ResourceProviderTypes
    {
        Azure,
        AmazonWebServices,
        GoogleCloudPlatform,
        ActiveDirectoryServices,
        DomainNameSystem,
        SwisscomESC,
        AzureKeyVault;
    }

    public static class ProviderConfigEntry
    {
        public String name = null;
        public String value = null;
        public Boolean isSecure = null;
        
        public String getName() { return name; }
        public ProviderConfigEntry setName(String value) { this.name = value; return this; }
        public String getValue() { return value; }
        public ProviderConfigEntry setValue(String value) { this.value = value; return this; }
        public Boolean getIsSecure() { return isSecure; }
        public ProviderConfigEntry setIsSecure(Boolean value) { this.isSecure = value; return this; }
    }

    public static enum VulnerabilitySeverities
    {
        None,
        Low,
        Medium,
        High;
    }

    public static class Cve
    {
        public String id = null;
        public String url = null;
        
        public String getId() { return id; }
        public Cve setId(String value) { this.id = value; return this; }
        public String getUrl() { return url; }
        public Cve setUrl(String value) { this.url = value; return this; }
    }

    public static enum Aggregations
    {
        None,
        Count,
        DistinctCount,
        Sum,
        Min,
        Max,
        Avg,
        First;
    }

    @DataContract
    public static class QueryResponse<T>
    {
        @DataMember(Order=1)
        public Integer offset = null;

        @DataMember(Order=2)
        public Integer total = null;

        @DataMember(Order=3)
        public ArrayList<TimeSeriesDefinition> results = new ArrayList<TimeSeriesDefinition>();

        @DataMember(Order=4)
        public HashMap<String,String> meta = null;

        @DataMember(Order=5)
        public ResponseStatus responseStatus = null;
        
        public Integer getOffset() { return offset; }
        public QueryResponse<T> setOffset(Integer value) { this.offset = value; return this; }
        public Integer getTotal() { return total; }
        public QueryResponse<T> setTotal(Integer value) { this.total = value; return this; }
        public ArrayList<TimeSeriesDefinition> getResults() { return results; }
        public QueryResponse<T> setResults(ArrayList<TimeSeriesDefinition> value) { this.results = value; return this; }
        public HashMap<String,String> getMeta() { return meta; }
        public QueryResponse<T> setMeta(HashMap<String,String> value) { this.meta = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public QueryResponse<T> setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

    public static class TimeSeriesDefinition extends Auditable implements IHasIdName, IHasTenantId, IHasObjectType
    {
        public UUID id = null;
        @References(Type=Tenant.class)
        public UUID tenantId = null;

        public Tenant tenant = null;
        public String name = null;
        public String displayName = null;
        @Ignore()
        public String selfLink = null;

        @Required()
        public ObjectTypes objectType = null;

        public String description = null;
        public ObjectTypes sourceType = null;
        public Boolean autoCollection = null;
        public String autoCollectionQuery = null;
        public Integer autoCollectionInterval = null;
        public IntervalUnits autoCollectionIntervalUnit = null;
        public TimeSpan autoCollectionTime = null;
        public Date lastAutoCollected = null;
        public Integer retentionTimeMonths = null;
        
        public UUID getId() { return id; }
        public TimeSeriesDefinition setId(UUID value) { this.id = value; return this; }
        public UUID getTenantId() { return tenantId; }
        public TimeSeriesDefinition setTenantId(UUID value) { this.tenantId = value; return this; }
        public Tenant getTenant() { return tenant; }
        public TimeSeriesDefinition setTenant(Tenant value) { this.tenant = value; return this; }
        public String getName() { return name; }
        public TimeSeriesDefinition setName(String value) { this.name = value; return this; }
        public String getDisplayName() { return displayName; }
        public TimeSeriesDefinition setDisplayName(String value) { this.displayName = value; return this; }
        public String getSelfLink() { return selfLink; }
        public TimeSeriesDefinition setSelfLink(String value) { this.selfLink = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public TimeSeriesDefinition setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public String getDescription() { return description; }
        public TimeSeriesDefinition setDescription(String value) { this.description = value; return this; }
        public ObjectTypes getSourceType() { return sourceType; }
        public TimeSeriesDefinition setSourceType(ObjectTypes value) { this.sourceType = value; return this; }
        public Boolean isAutoCollection() { return autoCollection; }
        public TimeSeriesDefinition setAutoCollection(Boolean value) { this.autoCollection = value; return this; }
        public String getAutoCollectionQuery() { return autoCollectionQuery; }
        public TimeSeriesDefinition setAutoCollectionQuery(String value) { this.autoCollectionQuery = value; return this; }
        public Integer getAutoCollectionInterval() { return autoCollectionInterval; }
        public TimeSeriesDefinition setAutoCollectionInterval(Integer value) { this.autoCollectionInterval = value; return this; }
        public IntervalUnits getAutoCollectionIntervalUnit() { return autoCollectionIntervalUnit; }
        public TimeSeriesDefinition setAutoCollectionIntervalUnit(IntervalUnits value) { this.autoCollectionIntervalUnit = value; return this; }
        public TimeSpan getAutoCollectionTime() { return autoCollectionTime; }
        public TimeSeriesDefinition setAutoCollectionTime(TimeSpan value) { this.autoCollectionTime = value; return this; }
        public Date getLastAutoCollected() { return lastAutoCollected; }
        public TimeSeriesDefinition setLastAutoCollected(Date value) { this.lastAutoCollected = value; return this; }
        public Integer getRetentionTimeMonths() { return retentionTimeMonths; }
        public TimeSeriesDefinition setRetentionTimeMonths(Integer value) { this.retentionTimeMonths = value; return this; }
    }

    public static class Tenant extends ConfigItem implements IHasVariables
    {
        @Required()
        @StringLength(MaximumLength=10)
        public String name = null;

        @Required()
        public ObjectTypes objectType = null;

        @Ignore()
        public String selfLink = null;

        @Required()
        public IList<Variable> variables = null;

        @Required()
        public IList<String> allowedMailDomains = null;

        @Required()
        public IList<String> licensedModules = null;

        @Required()
        public Short defaultDeploymentLifetimeDays = null;

        @Required()
        public Short maxDeploymentLifetimeDays = null;

        @Required()
        public Short systemUnpatchedWarningDays = null;

        @Required()
        public Short systemBackupMissingWarningHours = null;

        @Required()
        public Short stopVulnerableResourceAfterDays = null;

        @Required()
        public Short deploymentExpirationWarningDays = null;

        @Required()
        public Short patchNotificationDays = null;

        @Required()
        public Boolean useCustomHostnames = null;

        @Required()
        public Short removeInactiveVulnerabilitiesAfterDays = null;
        
        public String getName() { return name; }
        public Tenant setName(String value) { this.name = value; return this; }
        public ObjectTypes getObjectType() { return objectType; }
        public Tenant setObjectType(ObjectTypes value) { this.objectType = value; return this; }
        public String getSelfLink() { return selfLink; }
        public Tenant setSelfLink(String value) { this.selfLink = value; return this; }
        public IList<Variable> getVariables() { return variables; }
        public Tenant setVariables(IList<Variable> value) { this.variables = value; return this; }
        public IList<String> getAllowedMailDomains() { return allowedMailDomains; }
        public Tenant setAllowedMailDomains(IList<String> value) { this.allowedMailDomains = value; return this; }
        public IList<String> getLicensedModules() { return licensedModules; }
        public Tenant setLicensedModules(IList<String> value) { this.licensedModules = value; return this; }
        public Short getDefaultDeploymentLifetimeDays() { return defaultDeploymentLifetimeDays; }
        public Tenant setDefaultDeploymentLifetimeDays(Short value) { this.defaultDeploymentLifetimeDays = value; return this; }
        public Short getMaxDeploymentLifetimeDays() { return maxDeploymentLifetimeDays; }
        public Tenant setMaxDeploymentLifetimeDays(Short value) { this.maxDeploymentLifetimeDays = value; return this; }
        public Short getSystemUnpatchedWarningDays() { return systemUnpatchedWarningDays; }
        public Tenant setSystemUnpatchedWarningDays(Short value) { this.systemUnpatchedWarningDays = value; return this; }
        public Short getSystemBackupMissingWarningHours() { return systemBackupMissingWarningHours; }
        public Tenant setSystemBackupMissingWarningHours(Short value) { this.systemBackupMissingWarningHours = value; return this; }
        public Short getStopVulnerableResourceAfterDays() { return stopVulnerableResourceAfterDays; }
        public Tenant setStopVulnerableResourceAfterDays(Short value) { this.stopVulnerableResourceAfterDays = value; return this; }
        public Short getDeploymentExpirationWarningDays() { return deploymentExpirationWarningDays; }
        public Tenant setDeploymentExpirationWarningDays(Short value) { this.deploymentExpirationWarningDays = value; return this; }
        public Short getPatchNotificationDays() { return patchNotificationDays; }
        public Tenant setPatchNotificationDays(Short value) { this.patchNotificationDays = value; return this; }
        public Boolean isUseCustomHostnames() { return useCustomHostnames; }
        public Tenant setUseCustomHostnames(Boolean value) { this.useCustomHostnames = value; return this; }
        public Short getRemoveInactiveVulnerabilitiesAfterDays() { return removeInactiveVulnerabilitiesAfterDays; }
        public Tenant setRemoveInactiveVulnerabilitiesAfterDays(Short value) { this.removeInactiveVulnerabilitiesAfterDays = value; return this; }
    }

    public static enum IntervalUnits
    {
        Second,
        Minute,
        Hour,
        Day,
        Week,
        Month,
        Year;
    }

}

Java QueryResourceVulnerabilities DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/resources/vulnerabilities HTTP/1.1 
Host: core.starburst.svc 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"offset":0,"total":0,"results":[{"id":"00000000-0000-0000-0000-000000000000","resourceId":"00000000-0000-0000-0000-000000000000","resource":{"tenantId":"00000000-0000-0000-0000-000000000000","extId":"String","extType":"String","extName":"String","name":"String","objectType":"None","selfLink":"String","parentId":"00000000-0000-0000-0000-000000000000","parent":{"shortId":"String","tenantId":"00000000-0000-0000-0000-000000000000","name":"String","objectType":"ResourceGroup","selfLink":"/resourcegroups/00000000-0000-0000-0000-000000000000","environment":"Lab","state":"New","parentId":"00000000-0000-0000-0000-000000000000","parent":{"shortId":"String","tenantId":"00000000-0000-0000-0000-000000000000","name":"String","nameUserDefinedPart":"String","objectType":"Deployment","selfLink":"/deployments/00000000-0000-0000-0000-000000000000","state":"New","environment":"Lab","templateId":"00000000-0000-0000-0000-000000000000","parameters":null,"variables":null,"variablesSnapshot":null,"parentId":"00000000-0000-0000-0000-000000000000","parent":{"tenantId":"00000000-0000-0000-0000-000000000000","name":"String","objectType":"Collection","selfLink":"/collections/00000000-0000-0000-0000-000000000000","variables":null,"isLostAndFound":false,"monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"validFrom":"0001-01-01T00:00:00.0000000Z","validUntil":"0001-01-01T00:00:00.0000000Z","isNeverExpiring":false,"nextPatchDate":"0001-01-01T00:00:00.0000000Z","defaultResourceProviderId":"00000000-0000-0000-0000-000000000000","needsAttention":false,"composition":"Native","monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"operationalState":"None","resourcesRunning":0,"resourcesTotal":0,"id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"templateId":"00000000-0000-0000-0000-000000000000","parameters":null,"variables":null,"nextPatchDate":"0001-01-01T00:00:00.0000000Z","composition":"Native","id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"deploymentId":"00000000-0000-0000-0000-000000000000","deployment":{"shortId":"String","tenantId":"00000000-0000-0000-0000-000000000000","name":"String","nameUserDefinedPart":"String","objectType":"Deployment","selfLink":"/deployments/00000000-0000-0000-0000-000000000000","state":"New","environment":"Lab","templateId":"00000000-0000-0000-0000-000000000000","parameters":null,"variables":null,"variablesSnapshot":null,"parentId":"00000000-0000-0000-0000-000000000000","parent":{"tenantId":"00000000-0000-0000-0000-000000000000","name":"String","objectType":"Collection","selfLink":"/collections/00000000-0000-0000-0000-000000000000","variables":null,"isLostAndFound":false,"monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"validFrom":"0001-01-01T00:00:00.0000000Z","validUntil":"0001-01-01T00:00:00.0000000Z","isNeverExpiring":false,"nextPatchDate":"0001-01-01T00:00:00.0000000Z","defaultResourceProviderId":"00000000-0000-0000-0000-000000000000","needsAttention":false,"composition":"Native","monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"operationalState":"None","resourcesRunning":0,"resourcesTotal":0,"id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"collectionId":"00000000-0000-0000-0000-000000000000","collection":{"tenantId":"00000000-0000-0000-0000-000000000000","name":"String","objectType":"Collection","selfLink":"/collections/00000000-0000-0000-0000-000000000000","variables":null,"isLostAndFound":false,"monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"resourceProviderId":"00000000-0000-0000-0000-000000000000","resourceProvider":{"tenantId":"00000000-0000-0000-0000-000000000000","name":"String","defaultEnvironment":"Lab","allowedEnvironments":null,"objectType":"ResourceProvider","type":"Azure","selfLink":"/resourceproviders/00000000-0000-0000-0000-000000000000","config":null,"isDisabled":false,"isReadyForDeployments":false,"costCurrentMonth":0,"costLastMonth":0,"costCurrency":"String","id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"state":"None","environment":"Lab","variables":null,"location":"String","lastSeen":"0001-01-01T00:00:00.0000000Z","lastPatchDate":"0001-01-01T00:00:00.0000000Z","nextPatchDate":"0001-01-01T00:00:00.0000000Z","lastBackupDate":"0001-01-01T00:00:00.0000000Z","isForeign":false,"isAlerting":false,"alertingDisabledId":"String","alertingDisabledReason":"String","isVulnerable":false,"vulnerabilityReason":"String","vulnerableSince":"0001-01-01T00:00:00.0000000Z","isMissingOnProvider":false,"supportsStartStop":false,"costCurrentMonth":0,"costLastMonth":0,"costCurrency":"String","config":{"String":{}},"id":"00000000-0000-0000-0000-000000000000","displayName":"String","description":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"source":"String","severity":"None","firstFound":"0001-01-01T00:00:00.0000000Z","lastFound":"0001-01-01T00:00:00.0000000Z","category":"String","subCategory":"String","title":"String","isPatchable":false,"diagnosis":"String","consequence":"String","solution":"String","cvss":"String","cvssBase":"String","cvssVersion":"String","cveList":[{"id":"String","url":"String"}],"softwareList":["String"]}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}