public sealed class NonCompliantFile : IMessage<NonCompliantFile>, IEquatable<NonCompliantFile>, IDeepCloneable<NonCompliantFile>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class NonCompliantFile.
Details about files that caused a compliance check to fail.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation and code samples for the \u003ccode\u003eNonCompliantFile\u003c/code\u003e class within the Grafeas v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNonCompliantFile\u003c/code\u003e class details information about files that failed a compliance check.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is 3.7.0, with several previous versions also accessible, ranging back to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNonCompliantFile\u003c/code\u003e class includes properties such as \u003ccode\u003eDisplayCommand\u003c/code\u003e, \u003ccode\u003ePath\u003c/code\u003e, and \u003ccode\u003eReason\u003c/code\u003e to describe the non-compliant files, providing details on the command to display them, the file path, and the explanation for non-compliance.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be implemented with IMessage, IEquatable, IDeepCloneable, and IBufferMessage, alongside using object inheritance, and has a constructor with an optional parameter.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class NonCompliantFile (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.NonCompliantFile)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.NonCompliantFile)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.NonCompliantFile)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.NonCompliantFile)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.NonCompliantFile)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.NonCompliantFile)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.NonCompliantFile)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.NonCompliantFile)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.NonCompliantFile)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.NonCompliantFile)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.NonCompliantFile)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.NonCompliantFile)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.NonCompliantFile) \n\n public sealed class NonCompliantFile : IMessage\u003cNonCompliantFile\u003e, IEquatable\u003cNonCompliantFile\u003e, IDeepCloneable\u003cNonCompliantFile\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Grafeas v1 API class NonCompliantFile.\n\nDetails about files that caused a compliance check to fail. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NonCompliantFile \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NonCompliantFile](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.NonCompliantFile), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NonCompliantFile](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.NonCompliantFile), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NonCompliantFile](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.NonCompliantFile), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grafeas.V1](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)\n\nAssembly\n--------\n\nGrafeas.V1.dll\n\nConstructors\n------------\n\n### NonCompliantFile()\n\n public NonCompliantFile()\n\n### NonCompliantFile(NonCompliantFile)\n\n public NonCompliantFile(NonCompliantFile other)\n\nProperties\n----------\n\n### DisplayCommand\n\n public string DisplayCommand { get; set; }\n\nCommand to display the non-compliant files.\n\n### Path\n\n public string Path { get; set; }\n\nEmpty if `display_command` is set.\n\n### Reason\n\n public string Reason { get; set; }\n\nExplains why a file is non compliant for a CIS check."]]