{"id":20445875,"url":"https://github.com/rapid7/r7insight_java","last_synced_at":"2025-10-14T19:13:26.019Z","repository":{"id":33812270,"uuid":"86796573","full_name":"rapid7/r7insight_java","owner":"rapid7","description":"Java logging support for InsightOps","archived":false,"fork":false,"pushed_at":"2025-03-05T10:42:32.000Z","size":144,"stargazers_count":8,"open_issues_count":1,"forks_count":14,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-09-12T08:54:25.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rapid7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2017-03-31T08:29:11.000Z","updated_at":"2025-03-05T10:42:36.000Z","dependencies_parsed_at":"2022-08-07T23:15:21.381Z","dependency_job_id":"918fd3b3-7e2b-4de5-b2ac-e89ebcd45eca","html_url":"https://github.com/rapid7/r7insight_java","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/rapid7/r7insight_java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Fr7insight_java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Fr7insight_java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Fr7insight_java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Fr7insight_java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapid7","download_url":"https://codeload.github.com/rapid7/r7insight_java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Fr7insight_java/sbom","scorecard":{"id":762066,"data":{"date":"2025-08-11","repo":{"name":"github.com/rapid7/r7insight_java","commit":"85e289f7f2b41ef8aec875767955f08f8b69f12b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 8/21 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T23:44:03.611Z","repository_id":33812270,"created_at":"2025-08-22T23:44:03.612Z","updated_at":"2025-08-22T23:44:03.612Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020649,"owners_count":26086895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-15T10:15:10.525Z","updated_at":"2025-10-14T19:13:26.004Z","avatar_url":"https://github.com/rapid7.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Please see our documentation page for usage information](https://insightops.help.rapid7.com/docs/libraries)\n-------\n\nLogging To InsightOps from Java\n==============================\n\nInsightOps currently supports logging from Java using the following logging libraries:\n\n* [Log4J2](https://insightops.help.rapid7.com/docs/log4j-log4j2)\n* [Logback](https://insightops.help.rapid7.com/docs/logback)\n* [Java Util Logging](https://insightops.help.rapid7.com/docs/java-util-logging)\n\n\n-------\n\nMaximum Log Length\n==================\n\nCurrently logs which exceed 65536 characters in length, including any patterns and timestamps you may include, will be split and sent as multiple logs.\n\n-------\n\nConfigure Java Util Logging with multiple handlers\n==================\nThis library allows you to set up different loggers (java.util.logging.Logger) each of them with a different \nLogentries handler configuration (e.g. to support different tokens). \n\n1. Add to logging.properties the following props:\n    - Log configuration class:\n    ```\n    config=com.rapid7.jul.MultipleLogentriesHandlerConfig\n    ```\n\n    - List all the handler names you need:\n    ```\n    logentries.handler.names=logger1,logger2\n    ```\n\n    - Configure each handler using the handler name specified before as prefix:\n\n    ```\n    logger1.com.rapid7.jul.LogentriesHandler.token=4ff1cb0a-beea-4616-b647-1c113de8e7bb\n    logger1.com.rapid7.jul.LogentriesHandler.region=eu\n    logger1.com.rapid7.jul.LogentriesHandler.formatter=java.util.logging.SimpleFormatter\n    \n    logger2.com.rapid7.jul.LogentriesHandler.token=a70d9089-576c-4668-9641-14995d493a62\n    logger2.com.rapid7.jul.LogentriesHandler.region=eu\n    logger2.com.rapid7.jul.LogentriesHandler.formatter=java.util.logging.SimpleFormatter\n    ```\n\n2. Get the LogManager and configure it with the property file:\n    ```\n    LogManager logManager = LogManager.getLogManager();\n    InputStream is = new FileInputStream(\"src/main/resources/logging.properties\");\n    logManager.readConfiguration(is); \n    ```\n\n3.  Get the loggers:\n    ```\n    Logger logger1 = Logger.getLogger(\"logger1\");\n    Logger logger2 = Logger.getLogger(\"logger2\");\n    ```\n-------\n\nLogback Access Events\n==================\nThis library allows you to setup logback access events, as part of the standard logback distribution, with Servlet \ncontainers such as Jetty or Tomcat to provide HTTP-access log functionality.\n\nInstructions to setup logback access events can be found in the [Official logback-access documentation](https://logback.qos.ch/access.html)\n\nAfter downloading the latest r7insight_java distribution, depending on your servlet container, place the r7insight_java-VERSION.jar under either :\n\n* **$TOMCAT_HOME/lib/** directory, where $TOMCAT_HOME is the folder where you have installed Tomcat.\n* **$JETTY_HOME/lib** directory, where $JETTY_HOME is the folder where you have installed Jetty.\n\nRefer to the sample logback-access.xml template provided and place the file according to the instructions in the logback-access documentation.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapid7%2Fr7insight_java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapid7%2Fr7insight_java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapid7%2Fr7insight_java/lists"}