Class ArbitraryFSAccessThroughSMsConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.ArbitraryFSAccessThroughSMsConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ArbitraryFSAccessThroughSMsConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ArbitraryFSAccessThroughSMsConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<ArbitraryFSAccessThroughSMsConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ArbitraryFSAccessThroughSMsConfig enables users to configure, whether a service monitor selected by the Prometheus instance is allowed to use arbitrary files on the file system of the Prometheus container. This is the case when e.g. a service monitor specifies a BearerTokenFile in an endpoint. A malicious user could create a service monitor selecting arbitrary secret files in the Prometheus container. Those secrets would then be sent with a scrape request by Prometheus to a malicious target. Denying the above would prevent the attack, users can instead use the BearerTokenSecret field.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArbitraryFSAccessThroughSMsConfig()No args constructor for use in serializationArbitraryFSAccessThroughSMsConfig(Boolean deny)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArbitraryFSAccessThroughSMsConfigBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetDeny()ArbitraryFSAccessThroughSMsConfig enables users to configure, whether a service monitor selected by the Prometheus instance is allowed to use arbitrary files on the file system of the Prometheus container.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDeny(Boolean deny)ArbitraryFSAccessThroughSMsConfig enables users to configure, whether a service monitor selected by the Prometheus instance is allowed to use arbitrary files on the file system of the Prometheus container.ArbitraryFSAccessThroughSMsConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
ArbitraryFSAccessThroughSMsConfig
public ArbitraryFSAccessThroughSMsConfig()
No args constructor for use in serialization
-
ArbitraryFSAccessThroughSMsConfig
public ArbitraryFSAccessThroughSMsConfig(Boolean deny)
-
-
Method Detail
-
getDeny
public Boolean getDeny()
ArbitraryFSAccessThroughSMsConfig enables users to configure, whether a service monitor selected by the Prometheus instance is allowed to use arbitrary files on the file system of the Prometheus container. This is the case when e.g. a service monitor specifies a BearerTokenFile in an endpoint. A malicious user could create a service monitor selecting arbitrary secret files in the Prometheus container. Those secrets would then be sent with a scrape request by Prometheus to a malicious target. Denying the above would prevent the attack, users can instead use the BearerTokenSecret field.
-
setDeny
public void setDeny(Boolean deny)
ArbitraryFSAccessThroughSMsConfig enables users to configure, whether a service monitor selected by the Prometheus instance is allowed to use arbitrary files on the file system of the Prometheus container. This is the case when e.g. a service monitor specifies a BearerTokenFile in an endpoint. A malicious user could create a service monitor selecting arbitrary secret files in the Prometheus container. Those secrets would then be sent with a scrape request by Prometheus to a malicious target. Denying the above would prevent the attack, users can instead use the BearerTokenSecret field.
-
edit
public ArbitraryFSAccessThroughSMsConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ArbitraryFSAccessThroughSMsConfigBuilder>
-
toBuilder
public ArbitraryFSAccessThroughSMsConfigBuilder toBuilder()
-
-