An open API service indexing awesome lists of open source software.

https://github.com/hrbrmstr/securitytxt

🔐 Identify and Parse Web Security Policies Files in R
https://github.com/hrbrmstr/securitytxt

r r-cyber rstats securitytxt

Last synced: about 1 year ago
JSON representation

🔐 Identify and Parse Web Security Policies Files in R

Awesome Lists containing this project

README

          

---
output:
rmarkdown::github_document:
df_print: kable
editor_options:
chunk_output_type: console
---
```{r pkg-knitr-opts, include=FALSE}
hrbrpkghelpr::global_opts()
```

```{r badges, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::stinking_badges()
```

```{r description, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::yank_title_and_description()
```

- [IETF Draft](https://tools.ietf.org/html/draft-foudil-securitytxt-00)
- [Information hub](https://securitytxt.org/)
- [GitHub Organization](https://github.com/securitytxt)

## What's Inside The Tin

The following functions are implemented:

```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::describe_ingredients()
```

## Installation

```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::install_block()
```

## Usage

```{r message=FALSE, warning=FALSE, error=FALSE}
library(securitytxt)

# current verison
packageVersion("securitytxt")

# built-in example
x <- sectxt(readLines(system.file("extdata", "security.txt", package="securitytxt")))
sectxt_info(x)

# "live" example
(xurl <- sectxt_url("https://securitytxt.org"))
x <- sectxt(url(xurl))
sectxt_info(x)
sectxt_validate(x)
x

# another "live" example
(xurl <- sectxt_url("https://rud.is/b"))
x <- sectxt(url(xurl))
sectxt_info(x)
sectxt_validate(x)
x
```

## Code of Conduct

Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms.