{"id":15406948,"url":"https://github.com/raphink/config-augeas-validator","last_synced_at":"2026-01-25T00:01:38.254Z","repository":{"id":141344648,"uuid":"2260256","full_name":"raphink/config-augeas-validator","owner":"raphink","description":"Config::Augeas::Validator","archived":false,"fork":false,"pushed_at":"2020-05-24T20:59:09.000Z","size":84,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T01:48:11.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Augeas","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphink.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["raphink"]}},"created_at":"2011-08-24T07:44:46.000Z","updated_at":"2020-05-24T20:59:12.000Z","dependencies_parsed_at":"2023-05-04T08:01:41.524Z","dependency_job_id":null,"html_url":"https://github.com/raphink/config-augeas-validator","commit_stats":{"total_commits":106,"total_committers":3,"mean_commits":"35.333333333333336","dds":"0.018867924528301883","last_synced_commit":"c8155dc0c07b24c57de02a94144f657ff71412f6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raphink/config-augeas-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphink%2Fconfig-augeas-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphink%2Fconfig-augeas-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphink%2Fconfig-augeas-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphink%2Fconfig-augeas-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphink","download_url":"https://codeload.github.com/raphink/config-augeas-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphink%2Fconfig-augeas-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T16:26:21.681Z","updated_at":"2026-01-25T00:01:38.218Z","avatar_url":"https://github.com/raphink.png","language":"Augeas","funding_links":["https://github.com/sponsors/raphink"],"categories":[],"sub_categories":[],"readme":"NAME\n       Config::Augeas::Validator - A generic configuration validator API\n\nSYNOPSIS\n       use Config::Augeas::Validator;\n\n       # Initialize\n       my $validator = Config::Augeas::Validator-\u003enew(rulesdir =\u003e $rulesdir);\n\n       $validator-\u003eplay(@files);\n       exit $validator-\u003e{err};\n\nCONFIGURATION\n    The Config::Augeas::Validator configuration files are INI files.\n\n  DEFAULT SECTION\n    The DEFAULT section is mandatory. It contains the following variables:\n\n    lens    The name of the lens to use, for example:\n\n            \"lens=Httpd\"\n\n    err_code\n            The exit code to return when a test fails. This parameter is\n            optional. Example:\n\n            \"err_code=3\"\n\n  RULES\n    Each section apart from the DEFAULT section defines a rule, as listed in\n    the rules variable of the DEFAULT section. Each rule contains several\n    parameters.\n\n    name    The rule description, for example:\n\n            \"name=Application Type\"\n\n    explanation\n            The explanation for the rule, for example:\n\n            \"explanation=Check that application type is FOO or BAR\"\n\n    type    The type of rule. For now, Config::Augeas::Validator only\n            supports the count type, which returns the count nodes matching\n            expr. Example:\n\n            \"type=count\"\n\n    expr    The Augeas expression for the rule. The $file variable is the\n            path to the file in the Augeas tree. Example:\n\n            \"expr=$file/VirtualHost[#comment =~ regexp(\"^1#\n            +((AI|BO)\\+?|DR)$\")]\"\n\n    value   The value expected for the test. For example, if using the count\n            type, the number of matches expected for the expression.\n            Example:\n\n            \"value=1\"\n\n    level   The importance level of the test. Possible values are 'error'\n            (default) and 'warning'. When set to 'error', a failed test will\n            interrupt the processing and set the return code. When set to\n            'warning', a failed test will display a warning, continue, and\n            have no effect on the return code. When set to 'ignore', the\n            test is ignored and never run.\n\n            \"level=warning\"\n\nSEE ALSO\n    Config::Augeas\n\nFILES\n    /etc/augeas-validator/rules.d The default rules directory for\n    Config::Augeas::Validator.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphink%2Fconfig-augeas-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphink%2Fconfig-augeas-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphink%2Fconfig-augeas-validator/lists"}