{"resources":{"ollama":{"id":"ollama","name":"ollama","fields":{"account":{"name":"account","type":"\u001bollama.account","title":"Ollama Cloud account","desc":"Account an Ollama instance is signed in to, identifying who owns the cloud-side usage the instance can drive and which subscription plan backs it.","is_private":true,"provider":"go.mondoo.com/mql/providers/ollama","is_implicit_resource":true},"asset":{"name":"asset","type":"\u001basset","title":"Asset this root belongs to","desc":"Platform, version, identity and labels of the asset this root describes.","provider":"go.mondoo.com/mql/providers/ollama","is_implicit_resource":true},"authenticationRequired":{"name":"authenticationRequired","type":"\u0004","title":"Whether the API rejects unauthenticated read requests","desc":"Determined by re-issuing a read-only request with the authorization header removed. False means any client that can reach the host can list models and read their metadata without credentials. It says nothing about writes, which writeAuthenticationRequired reports separately. Ollama does not require authentication by default.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"cloudAccount":{"name":"cloudAccount","type":"\u001bollama.account","title":"Ollama Cloud account the instance is signed in to","desc":"Null when the instance is not signed in, in which case it cannot reach cloud-hosted models or the account behind them.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"cloudEnabled":{"name":"cloudEnabled","type":"\u0004","title":"Whether the instance may offload inference to Ollama Cloud","desc":"When enabled, prompts and completions for cloud-hosted models leave the instance and are processed by Ollama Cloud. Null on instances that do not report a cloud status.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"host":{"name":"host","type":"\u0007","title":"Host address of the Ollama instance","provider":"go.mondoo.com/mql/providers/ollama"},"isLocal":{"name":"isLocal","type":"\u0004","title":"Whether the instance is served from a loopback address","desc":"True when the configured host is a loopback address, so the API is only reachable from the machine running the server. False means the API accepts connections from other hosts, and authenticationRequired and tls decide who can reach it and on what terms.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"model":{"name":"model","type":"\u001bollama.model","title":"Ollama model","desc":"Installed Ollama model, including its family, parameter size, quantization level, and license. The `info` field exposes structured GGUF metadata from the model's configuration and `modelfile` returns the Modelfile used to create or pull this model.","provider":"go.mondoo.com/mql/providers/ollama","is_implicit_resource":true},"models":{"name":"models","type":"\u0019\u001bollama.model","title":"Installed models","provider":"go.mondoo.com/mql/providers/ollama"},"runningModel":{"name":"runningModel","type":"\u001bollama.runningModel","title":"Ollama model loaded in memory","desc":"Model currently resident on the Ollama instance, along with its VRAM footprint, active context window, and the time it will be unloaded from memory. Useful for auditing which models are live and how much GPU memory they consume. The `model` field resolves to the installed `ollama.model` for full metadata such as license, capabilities, and GGUF info.","provider":"go.mondoo.com/mql/providers/ollama","is_implicit_resource":true},"runningModels":{"name":"runningModels","type":"\u0019\u001bollama.runningModel","title":"Currently running models loaded in memory","provider":"go.mondoo.com/mql/providers/ollama"},"tls":{"name":"tls","type":"\u0004","title":"Whether the connection to the instance is encrypted","desc":"False when the API is served over plain HTTP, in which case prompts, completions, and any API token sent to the instance travel in the clear.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"version":{"name":"version","type":"\u0007","title":"Ollama server version","desc":"Version reported by the instance, for example \"0.12.6\". Matches the instance against published Ollama advisories.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"writeAuthenticationRequired":{"name":"writeAuthenticationRequired","type":"\u0004","title":"Whether the API rejects unauthenticated write requests","desc":"Determined by sending a deliberately unparseable body to the model creation endpoint with no authorization header. The body cannot be decoded, so nothing is created, pulled, or deleted whatever the answer. A refusal for lack of credentials reports true. A rejection of the body alone reports false, meaning any client that can reach the host can create, pull, and delete models without credentials, and so can replace the weights this instance serves. An instance can gate reads and still leave writes open, so this is checked apart from authenticationRequired.","min_provider_version":"13.1.4","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama instance","desc":"Ollama server hosting large language models, exposing the models installed on the instance and the models currently loaded in memory for inference. Works against both a local Ollama server and Ollama Cloud, selected by the configured host and optional API token authentication.  The server version, transport encryption, whether the address is reachable beyond the local machine, whether unauthenticated callers may read and whether they may write, and whether inference may be offloaded to Ollama Cloud are all queryable, so an instance can be audited for exposure and for the advisories that apply to the version it runs.","min_provider_version":"13.0.0","defaults":"host version","provider":"go.mondoo.com/mql/providers/ollama","root":true},"ollama.account":{"id":"ollama.account","name":"ollama.account","fields":{"email":{"name":"email","type":"\u0007","is_mandatory":true,"title":"Account email address","provider":"go.mondoo.com/mql/providers/ollama"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Account identifier","provider":"go.mondoo.com/mql/providers/ollama"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Account display name","provider":"go.mondoo.com/mql/providers/ollama"},"plan":{"name":"plan","type":"\u0007","is_mandatory":true,"title":"Subscription plan backing the account","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama Cloud account","desc":"Account an Ollama instance is signed in to, identifying who owns the cloud-side usage the instance can drive and which subscription plan backs it.","private":true,"min_provider_version":"13.0.13","defaults":"email name plan","provider":"go.mondoo.com/mql/providers/ollama"},"ollama.model":{"id":"ollama.model","name":"ollama.model","fields":{"adapters":{"name":"adapters","type":"\u0019\u0007","title":"Adapters applied on top of the base model","desc":"Targets of the ADAPTER instructions in the Modelfile, each a path or model reference. An adapter changes how the base model behaves, including the alignment and refusal behavior it shipped with.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"capabilities":{"name":"capabilities","type":"\u0019\u0007","title":"Model capabilities","desc":"For example completion, tools, vision, or thinking.","provider":"go.mondoo.com/mql/providers/ollama"},"digest":{"name":"digest","type":"\u0007","is_mandatory":true,"title":"Content digest (SHA-256)","provider":"go.mondoo.com/mql/providers/ollama"},"families":{"name":"families","type":"\u0019\u0007","is_mandatory":true,"title":"All model families","provider":"go.mondoo.com/mql/providers/ollama"},"family":{"name":"family","type":"\u0007","is_mandatory":true,"title":"Primary model family","desc":"For example llama, gemma, or phi3.","provider":"go.mondoo.com/mql/providers/ollama"},"format":{"name":"format","type":"\u0007","is_mandatory":true,"title":"Model format","desc":"For example gguf.","provider":"go.mondoo.com/mql/providers/ollama"},"info":{"name":"info","type":"\u001bollama.model.info","title":"Structured GGUF metadata extracted from the model's configuration","provider":"go.mondoo.com/mql/providers/ollama"},"license":{"name":"license","type":"\u0007","title":"License text","provider":"go.mondoo.com/mql/providers/ollama"},"model":{"name":"model","type":"\u0007","is_mandatory":true,"title":"Canonical model identifier","desc":"Deprecated in favor of name, which always carries the same value. The Ollama server assigns both from the model's shortest display name, so the two fields never differ.","provider":"go.mondoo.com/mql/providers/ollama","maturity":"deprecated"},"modelfile":{"name":"modelfile","type":"\u0007","title":"Raw Modelfile content","provider":"go.mondoo.com/mql/providers/ollama"},"modifiedAt":{"name":"modifiedAt","type":"\t","is_mandatory":true,"title":"Last modification time","provider":"go.mondoo.com/mql/providers/ollama"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Model name (e.g., \"llama3.1:latest\")","provider":"go.mondoo.com/mql/providers/ollama"},"namespace":{"name":"namespace","type":"\u0007","is_mandatory":true,"title":"Namespace within the registry","desc":"For example library for the curated Ollama catalog, or a user or organization name for community-published models.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"parameterSize":{"name":"parameterSize","type":"\u0007","is_mandatory":true,"title":"Human-readable parameter count","desc":"For example \"8.0B\", \"70.6B\".","provider":"go.mondoo.com/mql/providers/ollama"},"parameters":{"name":"parameters","type":"\u0007","title":"Runtime parameters baked into the model","desc":"The PARAMETER block of the model's Modelfile verbatim, the defaults the server applies to every request for this model. Covers settings such as num_ctx, temperature, and the stop sequences that terminate generation. Empty for a model whose Modelfile sets no parameters.","min_provider_version":"13.1.4","provider":"go.mondoo.com/mql/providers/ollama"},"parentModel":{"name":"parentModel","type":"\u0007","is_mandatory":true,"title":"Parent model this was derived from","provider":"go.mondoo.com/mql/providers/ollama"},"parser":{"name":"parser","type":"\u0007","title":"Built-in parser that reads the model's output","desc":"Names the server-side parser that interprets what the model emits, including tool calls and thinking segments, for example harmony. Empty for a model whose output needs no parsing beyond plain text.","min_provider_version":"13.1.4","provider":"go.mondoo.com/mql/providers/ollama"},"quantizationLevel":{"name":"quantizationLevel","type":"\u0007","is_mandatory":true,"title":"Quantization level","desc":"For example Q4_0, Q8_0.","provider":"go.mondoo.com/mql/providers/ollama"},"registry":{"name":"registry","type":"\u0007","is_mandatory":true,"title":"Registry the model name resolves to","desc":"For example registry.ollama.ai for the default Ollama registry. A model pulled from any other registry carries the trust assumptions of whoever operates that registry, including the contents of the model weights.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"remoteHost":{"name":"remoteHost","type":"\u0007","is_mandatory":true,"title":"Host that inference for this model is forwarded to","desc":"Set when the model does not execute on this instance, in which case prompts and completions for it leave the instance and are processed by the named host. Empty for models that execute locally.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"remoteModel":{"name":"remoteModel","type":"\u0007","is_mandatory":true,"title":"Model on a remote instance that inference is forwarded to","desc":"Set when the model does not execute on this instance. Empty for models that execute locally.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"renderer":{"name":"renderer","type":"\u0007","title":"Built-in renderer that formats messages for the model","desc":"Names the server-side renderer that turns a request into the model's prompt format, for example qwen3-coder. Empty for a model that is rendered by its chat template instead.","min_provider_version":"13.1.4","provider":"go.mondoo.com/mql/providers/ollama"},"repository":{"name":"repository","type":"\u0007","is_mandatory":true,"title":"Repository name within the namespace","desc":"For example llama3.1, the model name without its registry, namespace, or tag.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"size":{"name":"size","type":"\u0005","is_mandatory":true,"title":"Total size in bytes","provider":"go.mondoo.com/mql/providers/ollama"},"system":{"name":"system","type":"\u0007","title":"System prompt","provider":"go.mondoo.com/mql/providers/ollama"},"tag":{"name":"tag","type":"\u0007","is_mandatory":true,"title":"Tag identifying which build of the repository is installed","desc":"For example latest or 8b. Tags are mutable, so the same tag can resolve to different content over time. The digest field identifies the exact content that is installed.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"template":{"name":"template","type":"\u0007","title":"Chat template","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama model","desc":"Installed Ollama model, including its family, parameter size, quantization level, and license. The `info` field exposes structured GGUF metadata from the model's configuration and `modelfile` returns the Modelfile used to create or pull this model.","min_provider_version":"13.0.0","defaults":"name family parameterSize","provider":"go.mondoo.com/mql/providers/ollama"},"ollama.model.info":{"id":"ollama.model.info","name":"ollama.model.info","fields":{"architecture":{"name":"architecture","type":"\u0007","is_mandatory":true,"title":"Model architecture","desc":"For example llama, gemma, qwen2, phi3, or mistral.","provider":"go.mondoo.com/mql/providers/ollama"},"author":{"name":"author","type":"\u0007","is_mandatory":true,"title":"Model author or organization","provider":"go.mondoo.com/mql/providers/ollama"},"basename":{"name":"basename","type":"\u0007","is_mandatory":true,"title":"Base model name before fine-tuning","provider":"go.mondoo.com/mql/providers/ollama"},"blockCount":{"name":"blockCount","type":"\u0005","is_mandatory":true,"title":"Number of transformer blocks (layers)","provider":"go.mondoo.com/mql/providers/ollama"},"contextLength":{"name":"contextLength","type":"\u0005","is_mandatory":true,"title":"Context window length in tokens","provider":"go.mondoo.com/mql/providers/ollama"},"datasets":{"name":"datasets","type":"\u0019\u0007","is_mandatory":true,"title":"Training datasets","provider":"go.mondoo.com/mql/providers/ollama"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Model description","provider":"go.mondoo.com/mql/providers/ollama"},"embeddingLength":{"name":"embeddingLength","type":"\u0005","is_mandatory":true,"title":"Token embedding dimension","provider":"go.mondoo.com/mql/providers/ollama"},"expertCount":{"name":"expertCount","type":"\u0005","is_mandatory":true,"title":"Number of experts (for MoE models, 0 otherwise)","provider":"go.mondoo.com/mql/providers/ollama"},"expertUsedCount":{"name":"expertUsedCount","type":"\u0005","is_mandatory":true,"title":"Number of active experts per token (for MoE models, 0 otherwise)","provider":"go.mondoo.com/mql/providers/ollama"},"feedForwardLength":{"name":"feedForwardLength","type":"\u0005","is_mandatory":true,"title":"Feed-forward network hidden dimension","provider":"go.mondoo.com/mql/providers/ollama"},"finetune":{"name":"finetune","type":"\u0007","is_mandatory":true,"title":"Fine-tune variant","desc":"For example Instruct, Chat, or Code.","provider":"go.mondoo.com/mql/providers/ollama"},"headCount":{"name":"headCount","type":"\u0005","is_mandatory":true,"title":"Number of attention heads","provider":"go.mondoo.com/mql/providers/ollama"},"headCountKv":{"name":"headCountKv","type":"\u0005","is_mandatory":true,"title":"Number of key-value attention heads (for GQA)","provider":"go.mondoo.com/mql/providers/ollama"},"languages":{"name":"languages","type":"\u0019\u0007","is_mandatory":true,"title":"Training or supported languages","provider":"go.mondoo.com/mql/providers/ollama"},"license":{"name":"license","type":"\u0007","is_mandatory":true,"title":"GGUF-embedded license identifier","provider":"go.mondoo.com/mql/providers/ollama"},"parameterCount":{"name":"parameterCount","type":"\u0005","is_mandatory":true,"title":"Total parameter count","provider":"go.mondoo.com/mql/providers/ollama"},"sizeLabel":{"name":"sizeLabel","type":"\u0007","is_mandatory":true,"title":"Human-readable size label","desc":"For example 8B, 70B.","provider":"go.mondoo.com/mql/providers/ollama"},"tags":{"name":"tags","type":"\u0019\u0007","is_mandatory":true,"title":"Model tags","provider":"go.mondoo.com/mql/providers/ollama"},"tokenizerModel":{"name":"tokenizerModel","type":"\u0007","is_mandatory":true,"title":"Tokenizer model type","desc":"For example gpt2, llama, or sentencepiece.","provider":"go.mondoo.com/mql/providers/ollama"},"vocabSize":{"name":"vocabSize","type":"\u0005","is_mandatory":true,"title":"Vocabulary size","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama model GGUF metadata","desc":"Structured metadata from the GGUF model file, including architecture details, training datasets, context window size, and layer configuration. Fields are extracted from standardized GGUF keys and normalized across architectures so that `contextLength` works regardless of whether the underlying key is `llama.context_length` or `qwen2.context_length`.","private":true,"min_provider_version":"13.0.0","defaults":"architecture parameterCount sizeLabel","provider":"go.mondoo.com/mql/providers/ollama"},"ollama.runningModel":{"id":"ollama.runningModel","name":"ollama.runningModel","fields":{"contextLength":{"name":"contextLength","type":"\u0005","is_mandatory":true,"title":"Active context window length in tokens","provider":"go.mondoo.com/mql/providers/ollama"},"digest":{"name":"digest","type":"\u0007","is_mandatory":true,"title":"Content digest (SHA-256) of the model loaded in memory","desc":"Comparing this against the digest of the installed model of the same name detects content that was replaced under the same tag after the model was loaded.","min_provider_version":"13.0.13","provider":"go.mondoo.com/mql/providers/ollama"},"expiresAt":{"name":"expiresAt","type":"\t","is_mandatory":true,"title":"Time when the model will be unloaded from memory","provider":"go.mondoo.com/mql/providers/ollama"},"model":{"name":"model","type":"\u001bollama.model","title":"Installed model with full metadata","provider":"go.mondoo.com/mql/providers/ollama"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Model name (e.g., \"llama3.1:latest\")","provider":"go.mondoo.com/mql/providers/ollama"},"sizeVram":{"name":"sizeVram","type":"\u0005","is_mandatory":true,"title":"VRAM usage in bytes","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama model loaded in memory","desc":"Model currently resident on the Ollama instance, along with its VRAM footprint, active context window, and the time it will be unloaded from memory. Useful for auditing which models are live and how much GPU memory they consume. The `model` field resolves to the installed `ollama.model` for full metadata such as license, capabilities, and GGUF info.","min_provider_version":"13.0.0","defaults":"name","provider":"go.mondoo.com/mql/providers/ollama"}},"dependencies":{"core":{"id":"go.mondoo.com/mql/providers/core","name":"core"}},"provider_roots":{"go.mondoo.com/mql/providers/ollama":"ollama"}}